VioneT

joined 1 year ago
MODERATOR OF
[–] VioneT 3 points 3 months ago* (last edited 3 months ago)

The dragon keyword seems to be triggering the 'Furry' Model and there seems to be a precedence in which model would be used.

You can try using draconic, draco, wyvern, fire drake etc.

[–] VioneT 2 points 3 months ago

Nice! You could probably have the wikipedia url static, then just change the last part of the URL depending on the people :)

[–] VioneT 3 points 3 months ago (2 children)

I think this is because Perchance has a built in filter for NSFW and gore. I would recommend possibly using a paid service for little to no limitations in generation OR create your own stable diffusion setup on your local device.

[–] VioneT 1 points 3 months ago* (last edited 3 months ago) (1 children)

The // comment comments only work on the Lists Panel. Or on the <script> tag on the HTML panel. Or within square brackets.

You need to use standard <!-- Comment --> for the HTML panel.

[
  a = 'hello'
  // test
  // last output on square brackets should always output something displayable (text)
  b = 'world'
  'a text'
]
<br>
[
  a+b
]

This works on the HTML panel.

[–] VioneT 3 points 3 months ago

Please ask for prompting help on the Casual Perchance Community!

[–] VioneT 2 points 3 months ago (1 children)
[–] VioneT 1 points 3 months ago (1 children)

You could get the hash with:

new URL(window.location.href).hash

That includes the # so you can also .slice(1) to remove it.

You may also want to use decodeURI to fix the %20 or other URL encoded characters.

[–] VioneT 1 points 3 months ago

I was testing if the variable name changed and forgot to put it back 😅.

[–] VioneT 3 points 3 months ago (4 children)

do lorebook’s not work on guest character’s or am i just doing something wrong because every time i pull a character in they just seem to not work, if not is there someway to get them to work?

I do think (upon limited testing) that the lorebooks of the 'guest' character, when composing a reply message, doesn't work, it only uses the lorebook of the main character. Having both characters have the same lorebook could help with this.

is there anywhere to see some long lorebook’s for referance, i would like to see the way others write it makes things easier, or can someone post there’s?

You can check chub.ai's lorebooks (just a warning that some contents are very NSFW), then you can convert them to Perchance format with this lorebook converter

does the Generate Expression Images after Every Chat code still work, because i copied and pasted the code from https://rentry.org/i7usm into the character java script box and all that happens is it says running code then just does nothing?
is there a example for how the Generate Expression Images after Every Chat is supose to work?

It seems that the oc.textToImage() currently doesn't work properly. It currently returns the dataUrl to be undefined. @[email protected] pinging dev! Here is a simple character with that code, however it doesn't currently work due to the problem with the text to image.

[–] VioneT 1 points 4 months ago (1 children)

Sorry if I misunderstood the question but now I get what you mean. I usually just use the console.log for debugging, but probably a possible use for the Tester panel is for logs appear on that little window instead of opening up the DevTools. @perchance maybeeee

[–] VioneT 1 points 4 months ago

Using the $output seems to evaluate the expression first before displaying it on the HTML.

You can try, instead of using $output, to use a variable like b, then use it like [a.b] or remove it from the list and just a separate variable [b] and it would not display the evaluated item, but escaped brackets.

If you were to use $output, you can try to double escape it like \\\[a.html\\\] and it should output the same as using the b method.

[–] VioneT 1 points 4 months ago (1 children)

What I mean is after [a] has been called, the [a.add(...)] is called immediately after, without waiting for [a] to finish placing the element, in which the add(...) cannot call the a_elem since it hasn't loaded yet.

view more: ‹ prev next ›