@VioneT@lemmy.world
@VioneT@lemmy.world avatar

VioneT

@VioneT@lemmy.world

Doing Perchance.org things…

Links

This profile is from a federated server and may be incomplete. Browse more on the original instance.

VioneT, (edited )
@VioneT@lemmy.world avatar

That issue happens when the <options> are procedurally generated i.e. is in a square bracket, in which case, when you use the update() function, it would update the square brackets that will generate the options, which will reset the selected option to the first item.

Here is a similar generator with a fix for the procedurally generated options, which reselects the previous item even upon update.

Another option is to target which items are the ones that would only need the update with update(someId).

EDIT: Here is a modified styles tester with the re-select upon update: perchance.org/fbtne307vo#edit

VioneT,
@VioneT@lemmy.world avatar

Images generated largely depend on the prompt that you are inputting. If you are using the t2i-framework-plugin-based generators, upon adding an ‘art style’ it would add additional text/prompt input to your base input behind the scenes, which is why it is a extreme change in an image since it has largely different keywords/words that were added to your base prompt.

You can view the additional text/prompts that are added to your base prompt (in t2i-framework-plugin-based generators e.g. ai-character-generator, ai-text-to-image-generator, etc.), on t2i-styles.

VioneT,
@VioneT@lemmy.world avatar

Should be fixed now. I always mistype it from casual -> causal xd

I've noticed some generators go private after a while

perchance.org/leaderboard-plugin-v2 stays public for a while after i set it to public, then goes private after a while without me doing anything. I had initially been paranoid thinking Perchance didn’t want my leaderboard up for some reason, but it’s clearly a thing to freely empower people and the ‘going private’...

VioneT,
@VioneT@lemmy.world avatar

By privating, it is setting itself private even if you ‘make it public’? There was an issue with it last time.

If it was not being showed in the ‘/generators’ then it is filtered out by the regex on that page.

Either way @perchance might be a database issue?

VioneT, (edited )
@VioneT@lemmy.world avatar

@Alllo Here is a t2i-framework-plugin-based generator with custom emojis: perchance.org/67kfzolpap

It is only applied when it is on property form i.e.:


<span style="color:#323232;">defaultCommentOptions
</span><span style="color:#323232;">  channel = lots-of-imported-emojis
</span><span style="color:#323232;">  width = 400
</span><span style="color:#323232;">  customEmojis = {import:big-emoji-pack}
</span><span style="color:#323232;">
</span><span style="color:#323232;">or
</span><span style="color:#323232;">
</span><span style="color:#323232;">defaultCommentOptions
</span><span style="color:#323232;">  channel = default-size-stuff
</span><span style="color:#323232;">  width = 400
</span><span style="color:#323232;">  customEmojiSize = 2
</span><span style="color:#323232;">  customEmojis = [emojis]
</span><span style="color:#323232;">    
</span><span style="color:#323232;">emojis
</span><span style="color:#323232;">  catjam (size:2) = https://user-uploads.perchance.org/file/a43d0b52d94c91dddb00cf157dd8c989.webp
</span><span style="color:#323232;">  crythumbsup = https://user-uploads.perchance.org/file/14c78e8fbd9767e69a6b86d26817bacb.png
</span><span style="color:#323232;">  donowall (tags:ignored, wall, talking to wall) = https://user-uploads.perchance.org/file/60cd2fc11d0cce3e6902338c562d31a7.webp
</span>

You can also change the emojis per channel:


<span style="color:#323232;">  ...
</span><span style="color:#323232;">  commentChannels
</span><span style="color:#323232;">    general
</span><span style="color:#323232;">      label = General
</span><span style="color:#323232;">      customEmojis = {import:big-emoji-pack}
</span><span style="color:#323232;">    ...
</span>
VioneT,
@VioneT@lemmy.world avatar

Here is a way to ‘delete’ or ‘recover’ the email used as recommended by the dev.

www.reddit.com/r/perchance/s/3k7JbAUd5Z

[Suggestion] Profile Picture In Comment's & Images

Dear Perchance Dev,I would like to make another request. It is about profile pictures and images. The process is simple, a user could be allowed to have a profile picture, this could be done via having a image uploaded to a CDN (Content Delivery Network) such as Perchance’s own, or through other image hosting platform....

VioneT,
@VioneT@lemmy.world avatar

I would also probably suggest that if you have a Perchance account, you would have a set tag (no longer changes based on the IP), also the tag can also be replaced by the custom avatar. This can also be useful to ban outright the user who has Perchance account, instead of just banning their connection IP (since if they change their IP they can still comment compared to banning their ‘account’ outright).

Not saying that it is the ‘absolute’ solution to bans, but it can also help the Dev to track mis-using users with accounts (or those who are inappropriately behaving in Perchance).

VioneT,
@VioneT@lemmy.world avatar

It is only for those with accounts, those not logged in, without accounts, can still be banned with IP.

Probably the perks of having an account would be the custom avatars and consistent tags. You can still be anonymous if you logged out or use private windows.

VioneT,
@VioneT@lemmy.world avatar

A template is a ‘preset’ that you build/change upon.

You first need to have the template, then change it.

Not you when have a structure and you want to integrate the template to it, since if you just paste the template on your existing structure, it will definitely mess up your current structure (since templates have stylings that might not look good in your current structure).

I recommend starting with the template you like. Save it, then try to incorporate what you have already in your current structure into to template.

VioneT,
@VioneT@lemmy.world avatar

You could do something like this:


<span style="color:#323232;">tap = {import:tap-plugin}
</span><span style="color:#323232;">
</span><span style="color:#323232;">actionOut
</span><span style="color:#323232;">  You rolled [n = dice("1d100")] so your [rollTable(action, n)].
</span><span style="color:#323232;">...
</span>

You create a new list that was in your HTML. Then on your HTML:


<span style="color:#323232;">...
</span><span style="color:#323232;"><</span><span style="color:#63a35c;">h3</span><span style="color:#323232;">>The Action Table: 
</span><span style="color:#323232;"><</span><span style="color:#63a35c;">br</span><span style="color:#323232;">>When in doubt roll this!</</span><span style="color:#63a35c;">h3</span><span style="color:#323232;">>
</span><span style="color:#323232;">[tap(actionOut)]
</span><span style="color:#323232;"><</span><span style="color:#63a35c;">br</span><span style="color:#323232;">>
</span><span style="color:#323232;">...
</span>

It would make the text of bold, which means you can then now tap them.

VioneT,
@VioneT@lemmy.world avatar

If you mean saving them into the gallery, they are saved on the server itself, and not on your device.

If you are saving the images directly on your device, it should only be a couple of KBs and shouldn’t take much space on your device. Also, Perchance doesn’t automatically save images on your device.

Suggestions for the **Perchance Comments Plugin.**

I have noticed that the comments could be styled through the Perchance Panel, however I noticed that the style are not as comprehensive as using traditional CSS would be. It can be easily mitigated by using a CSS file and if there was a way to link the CSS file to the comments plugin. It can be easily achieved as well, if there...

VioneT,
@VioneT@lemmy.world avatar

Regarding the Dark Mode on the comments plugin, you could probably set up a list and change their values depending on your theme variable. So when the user clicks on your main theme switcher, it would also update the container of the comments plugin which would change the styles.

For example, on the comments here: perchance.org/question-this

I have a checkbox set up for the theme switch. On the comments option, I have


<span style="color:#323232;">...
</span><span style="color:#323232;">forceColorScheme
</span><span style="color:#323232;">    dark^[themeInput.checked]
</span><span style="color:#323232;">    light^[!themeInput.checked]
</span><span style="color:#323232;">...
</span>

which will ‘force’ the color scheme of the comments plugin depending on the theme of the page.

On the theme switch, I just essentially re-create the comments embed with commentsCon.innerHMTL = c(copts) to re-render the new options.

Since I was also using a remember-plugin so the input on the checkbox is saved.

[Help] Perchance Text-To-Image Ad Blocker

So I’m using the most current version of firefox (desktop) and have went round and round with this. Still get the error “TL;DR: Try turning off your ad blocker.” Even though I have been to many sites and followed their step. Disabled tracking feature (little shield top left corner) and made sure java was allowed. Could...

The Generative Background Template (perchance.org)

This has been a fairly new template I’ve been creating for a very long time, since The Searchable Collection Template that came out over a year ago. And actually, this is the first ever AI-powered template I’ve ever made within the Power Generator Manager generator family (amongst other undiscovered ones in the entire...

VioneT,
@VioneT@lemmy.world avatar

I would add a note that it would add advertisements to their gen if they were to use this template 😉

VioneT,
@VioneT@lemmy.world avatar

If you mean the https://perchance.org/roll-table-plugin you need to add a comma AND a space after the range e.g.


<span style="color:#323232;">dice = {import:dice-plugin}
</span><span style="color:#323232;">rollTable = {import:roll-table-plugin}
</span><span style="color:#323232;">
</span><span style="color:#323232;">output
</span><span style="color:#323232;">  [rollTable(table, dice('d100'))]
</span><span style="color:#323232;">
</span><span style="color:#323232;">table
</span><span style="color:#323232;">  1-2, Character suffers a permanent flaw
</span><span style="color:#323232;">  3-5, Complete disaster - Action fails in the worst possible way
</span><span style="color:#323232;">  6-9, Character fails completely at the task.
</span><span style="color:#323232;">  10-14, Action fails and the character suffers a consequence of failure
</span><span style="color:#323232;">  ...
</span>

For it to properly work!

VioneT,
@VioneT@lemmy.world avatar

Hello, sorry for late reply!

If you want to access individual dice output from the plugin, you can do so with:


<span style="color:#323232;">[x = rIcon('2d6'), x.icons] [x.rolls[0].value] [x.rolls[1].value]
</span>

Where 0 is the first element in the rolls array returned by the plugin, and accessing its value with .value.

If you just want to add the same buffs to all of the individual dice, you can probably just do something like this:


<span style="color:#323232;">[x = rIcon(numDice+'d6', 'solid'), x.icons] [x.sum + (numDice * buffs) + (numDice * debuffs)] 
</span>

Where numDice is the number of dice. We then get the sum of all values in the rolls and then add the appropriate increase and decrease to the value by multiplying the increase and decrease based on the number of dice rolled and adding them to the sum of the rolls.

[Bug] `text-to-image-plugin` sometimes stuck on "Processing" until I hover over or scroll until the edge touches the image generation frame(s)

This is a problem that I’ve been encountered very often but not as inconvenient as the previous bugs I’ve been reported on this community. It was stuck on “Preparing” or “Preprocessing” even though console messages already told me that the image had already been generated successfully, and the only way to reveal the...

VioneT,
@VioneT@lemmy.world avatar

I would assume this is to require ‘activity’ from the user. Meaning, it requires a user interaction for it to work e.g. scrolling the frame into view, hovering the mouse to see the image, etc.

Advice on Warhammer Dice Roller

I wanted to try out using Perchance for one of my hobbies which is Warhammer. Wanted to try out making a dice roller. I got the user input on how much dice they are rolling, but after that I am a bit lost. Parts I need help on are how to make them roll like 10 different dice and show the individual values, how I can add...

VioneT,
@VioneT@lemmy.world avatar

I would recommend looking at the dice-plugin, which allows you to input dice notations: 2d6 and do arithmetic to it e.g. 2d6+3 etc. Unfortunately, you cannot get the individual dice values.

I would also like to plug my plugin: random-dice-icon-plugin which acts a little bit like the dice-plugin but you can access individual values, the sum of values, and it has icons (although it doesn’t support the arithmetic directly e.g. 2d6+3).

For locking the randomized values, I would recommend looking into the locker-plugin which can allow you to lock certain items from randomizing.

Feel free to send the link to your generator if you need help with it 🤗

VioneT,
@VioneT@lemmy.world avatar

I would always recommend making lists like so:


<span style="color:#323232;">output
</span><span style="color:#323232;">  (Content Here)
</span>

And not like output = (Content Here). This is because there is an advanced trick to create multiline templating with it (see Perchance Snippets - Joining Items in a List with $output). But you don’t have to change it right now, but for a future reference.

Next, I would recommend creating default values for each of your inputs to the plugins by adding them on your lists panel e.g.


<span style="color:#323232;">numDice = 0
</span><span style="color:#323232;">buffs = 0
</span><span style="color:#323232;">debuffs = 0
</span>

This would solve the NaN problem upon first opening the generator. Other than that, I think what you have set up should be working with the changes.

Another theme for ai-character-chat

I am not judging how default background looks, but for myself I want another more stylish and comfy (like this one perchance.org/dark-typography-template), preferable with dark theme. I only found this perchance.org/ai-chat-modern, but it’s for ai-chat and I’m in need for ai-character-chat interface....

VioneT,
@VioneT@lemmy.world avatar

There isn’t a theme right now but if you know CSS (Cascading Stylesheets) syntax, you can click the ‘edit’ button on the top, then on the bottom right panel, scroll down a little bit until you see:


<span style="color:#323232;">...
</span><span style="color:#323232;"><style>
</span><span style="color:#323232;">/* PERCHANCE EDIT */
</span><span style="color:#323232;">...
</span>

That should be the styles applied on the whole interface, you can try to change some of them to your liking and save it. Unfortunately I think your current characters would be lost in your edit since they are tied to the main ai-character-chat generator. Of course you can export them and import them to the new URL. But mind that if the main page updates, your copy wouldn’t!

VioneT,
@VioneT@lemmy.world avatar

From what I have read, if you are to generate an image of a Person, you could give the prompt the name of the Person, (first name only or with a last name) and it could give a unique and consistent character.

VioneT,
@VioneT@lemmy.world avatar

I would mention that having parenthesis as emphasis on the negative prompts still seems to mess it up. Probably a different grouping syntax? E.g. ##::: … ###, and the like that doesn’t use any parenthesis, brackets, or curly brackets.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines