[-] [email protected] 2 points 1 hour ago* (last edited 1 hour ago)

Well, the purpose of the showFeedback property is to 'show' the actual comments sent on the feedback comments section, not to 'hide' the button. On the fork that you mentioned, the feedback button is deliberately commented out, which is why it is hidden.

[-] [email protected] 1 points 1 hour ago

You can have each of the suits into a single list, then control that parent list. E.g.

Uniform
  https://user.uploads.dev/file/53321b33603b8f9f386fb870db73ad65.png
  [Top] ^[camera.includes("top") && actor != "dryad"]
  [Mid] ^[camera.includes("mid") && actor != "angel"]
  [Low] ^[camera.includes("low") && !["mermaid", "minotaur"].includes(actor)]
  [Rear] ^[camera.includes("rear") && actor != "angel"]
  [TopMidLow] ^[["top", "mid", "low"].some(a => camera.includes(a))]


Top
  batman mask ^[specificCostume == "batman"]
  ...

Mid
  batman suit with batman logo on the chest, batman gloves, batman belt ^[specificCostume == "batman"]
  ...
[-] [email protected] 1 points 1 hour ago

If you are using HTML inputs, you can easily access their values like checkbox.checked for checkboxes and radio buttons, textinput.value for input values and select dropdowns, in which you can also set their default values for each one natively, unless the function that you've made is for 'resetting' to default values.

I would also go with the way that you have a single global object for all of your variables, just for organizing and ease of access.

[-] [email protected] 2 points 5 hours ago* (last edited 4 hours ago)

You should select the actor first, to filter the clothes that it can wear. Then, select the camera to further filter the clothes that would be displayed that depends on the framing.

EDIT: Here is a test gen for it: https://perchance.org/ho5e2n0vwt

[-] [email protected] 2 points 5 hours ago

I think I see the idea you have. What is the scope of the variable you are trying to set it to? You currently have it as:

  for (const [key, value] of Object.entries(variablesMapping)) {
    if (this[key] === undefined || this[key] === null) {
      this[key] = value;
    }
  }

You are using this, which refers to the function. It should probably be set into what you have your initial variables, e.g. if you have your variables as properties in a variable called inputs, then it should be:

  for (const [key, value] of Object.entries(variablesMapping)) {
    if (inputs[key] === undefined || inputs[key] === null) {
      inputs[key] = value;
    }
  }

So that if you use it like inputs.charNum, it would be set to the default that you have set with the defining() method.

[-] [email protected] 4 points 3 weeks ago

Best way is to set up the image generation locally. You can use Automatic1111 since it was the basis of the API before, where (( tag )) emphasis syntax is based on.

[-] [email protected] 4 points 1 month ago* (last edited 1 month ago)

Okay, so since you used a 'Style', it would essentially add additional text/prompt to your input prompt to 'steer' the image to the selected style.

Here is how the prompt is set up using the 'Fantasy Portrait' style on the t2i-framework-plugin generators like ai-text-to-image-generator:

, d&d, fantasy, highly detailed, digital painting, artstation, sharp focus, fantasy art, character art, illustration, 8k, art by artgerm and greg rutkowski. It's an absolute world-class masterpiece artwork. It's an aesthetically pleasing artwork with impeccable attention to detail and impressive composition.

So, with the prompt adding 'greg rutkowski' (and artstation) it would add some kind of signature (or watermark) with it. You can view what the styles are adding on this styles import page.

[-] [email protected] 4 points 1 month ago

Thanks for the heads-up 💯

[-] [email protected] 4 points 1 month ago

If you have any questions regarding the AI, a lot of it has been answered here: https://rentry.org/perchance-ai-faq

You can also just ask the questions here if it is related on the platform itself, unless it is regarding on how the server is set up and such.

[-] [email protected] 4 points 1 month ago
[-] [email protected] 4 points 4 months ago* (last edited 4 months ago)

@[email protected] pinging dev. The problem is in the line 3269 on setting the usageStats.

...
// line 3269
    if(result.exportUserData === "no") {
      json.data.data.find(d => d.tableName === "usageStats").rows = []; // Throws error here
    } else {
      let usageStats = json.data.data.find(d => d.tableName === "usageStats");
      if(usageStats) {
        usageStats.rows = usageStats.rows.filter(entry => keepThreadCheck(entry.threadId) && keepCharacterCheck(entry.characterId));
      }
    }
...

Seems like on the DB Schema (line 2813), usageStats is no longer used, so maybe just removing them in the export fixes them.

4
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]

Test your prompts in the different styles with ease! You can also import your own {import:styles} to test.

https://perchance.org/multiple-style-tester

1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

Just a suggestion for the links in the navbar to be a revamped on mobile since currently the navbar on mobile looks something like this:

In which we cannot access the 'community', 'tutorial', 'hub' or 'generators'. Maybe a dropdown upon clicking the 'perchance' button or a side menu popup. Thanks!

@[email protected]

11
submitted 2 years ago* (last edited 8 months ago) by [email protected] to c/[email protected]

Welcome to the Perchance Community!

Perchance.org is a platform for sharing and creating random text generators.

This Lemmy community is for:

  • Asking for help with problems, issues, or requests about generators in Perchance
  • Sharing and showcasing your created generators, templates, plugins, or pages in Perchance
  • Starting friendly discussions about topics related to Perchance
If it is your first time in using Lemmy, please check out this message from Lemmy.World and the Support Page from Lemmy.World to get started on using Lemmy.

Posting from Mastodon

Feel free to checkout this post to know how to post in this Lemmy Community through Mastodon.

Other Community Links

Rules

Here are some rules in this community:

  • Please follow the lemmy.world instance rules.
  • Be kind and friendly.
    • Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)
  • Be thankful to those who try to help you.
    • If you ask a question and someone has made an effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)
  • Only post about stuff related to perchance.
    • Please only post about perchance related stuff like generators on it, bugs, and the site.
  • Search through the Community Before Posting
    • Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.

Posting

Here are some optional tags to add in your title to categorize the posts. These are merely tags, you still need to title your post effectively.

  • [Bug] - if you think you find any bug in Perchance, use this tag.
  • [Question] or [Help] - this is to denote that your post is a question or requesting for help
  • [Suggestion] - for any suggestions in Perchance
  • [Feedback] or [Appreciation] - for any feedback or appreciation to any generator or to Perchance in general.
  • [{Generator Category}] - Used to share any generator with the specified category
    • Text, Image, Template, Hub, Plugin, Preprocessor, Community/RP, Game, Experiment, Useful Generator
  • [Fluff] or [Non-Generator] - Non-generator posts but about Perchance
  • [Tutorial] or [Guide] - for any Perchance related tutorials or guides to help others

AI Plugins Posts

Here is a FAQ for the AI tools in Perchance.

We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (text-to-image-plugin and ai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"

There are guides, tutorials, and resources on the internet that can be applied when prompting in the AI tools in Perchance.

We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

If you need help in prompting, please post on the 'sister' forum at Casual Perchance

Getting Started with Perchance

To get started with Perchance, check out the Perchance Tutorial or the Beginner Tutorial at the Perchance Hub Learn Tab to get to know the website.

Asking for help

Feel free to ask for help but please check out these tips on searching for an answer:

  • Check the following pages, to see if your question has already been answered or talked about or a plugin has been made for it. We recommend using the browser's search function (ctrl+f) and searching for similar keywords to your question/problem.
  • If you didn't find anything about your problem there, feel free to search through the posts/articles here:
  • If you can't still find anything related to your problem, feel free to post a thread here.
    • Please title your post effectively.
    • Please provide a link to your generator with your attempts of solving the problem.
    • Try to explain what you want it to do and what example output it should be doing.
1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

Feel free to use the Lemmy Community @ [email protected] like Reddit where you can ask for help, share your generators, and start friendly discussions at your leisure :)

view more: next ›

VioneT

0 post score
0 comment score
joined 2 years ago
MODERATOR OF