Perchance - Create a Random Text Generator

653 readers
5 users here now

⚄︎ Perchance

This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.

Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)

This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.

See this post for the Complete Guide to Posting Here on the Community!

Rules

1. Please follow the Lemmy.World instance rules.

2. 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 :)

3. Be thankful to those who try to help you.

  • If you ask a question and someone has made a 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 :)

4. Only post about stuff related to perchance.

  • Please only post about perchance related stuff like generators on it, bugs, and the site.

5. Refrain from requesting Prompts for the AI Tools.

  • 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?"
  • See Perchance AI FAQ for FAQ about the AI tools.
  • You can ask for help with prompting at the 'sister' community Casual Perchance, which is for more casual discussions.
  • We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

6. 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.

founded 2 years ago
MODERATORS
1
 
 

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.
2
 
 

I'm just wondering about the exact version of Llama used for the plugin and if the model is being upgraded regularly. Is it still using the 2.x or has it been upgraded to 3.x or even 4? I believe the devs are actively working behind the scene and it would be very helpful if there's a bit of additional notes in the plugin page such as current version, changelogs, etc.

3
 
 

For AI chat, in long stories there can be tons of characters (their names below the send message button) and overwhelming. Deleting them one by one is tedious-perhaps can we make it so that the latest chatters are displayed at the top? that way its easier

4
 
 

A search and find for the editors, so when you have 3,000 to 4,000 lines or more of code to go through, not only will you have the error, but you could search for it for faster edits and fixes.

5
 
 

In the official image gen and furry gen, there's no such option in the gallery, and they use the same t2i plugin.

But it's much more strict in the image gen to tell you to [slow down] when submitting to gallery. How does it work?

6
 
 

Hello Everyone!

I'm a bit of a novice when it comes to html/perchance scripting and I've been bashing my head against trying to get something to work in perchance that I could solve pretty easily outside of perchance.

Fundamentally, all I want is to be able to input a number and it roll on a table that number of times and add the results together to an output. This is for individual treasure that I am doing in my D&D game, and I'm just tired of pressing the buttons and adding the values together. I've scrounged around other loot gens in perchance, none of them seem to do this that I could lift anything from, and any form of LLM doesn't understand perchance scripting at all...

Currently, my old set up for this is pretty basic.

PERCHANCE

dice = {import:dice-plugin} excludeItems = {import:exclude-items-plugin} joinLists = {import:join-lists-plugin} filterList = {import:filter-list-plugin} consumableListLoop = {import:consumable-list-loop-plugin} image = {import:text-to-image-plugin} tap = {import:tap-plugin} rollTable = {import:roll-table-plugin} clicked = terrain

output3 [rollTable(itreasureone, dice("1d100"))] ^[clickedtreasure == "CR0+"] [rollTable(itreasuretwo, dice("1d100"))] ^[clickedtreasure == "CR5+"] [rollTable(itreasurethree, dice("1d100"))] ^[clickedtreasure == "CR11+"] [rollTable(itreasurefour, dice("1d100"))] ^[clickedtreasure == "CR17+"]

itreasureone 1-30, [dice("5d6")] Copper Pieces 31-60, [dice("4d6")] Silver Pieces 61-70, [dice("3d6")] Electrum Pieces 71-95, [dice("3d6")] Gold Pieces 96-100, [dice("1d6")] Platinum Pieces

itreasuretwo 1-30, [dice("4d6") * 100] Copper Pieces and [dice("1d6") * 10] Electrum Pieces 31-60, [dice("6d6") * 10] Silver Pieces and [dice("2d6") * 10] Gold Pieces 61-70, [dice("3d6") * 10] Electrum Pieces and [dice("2d6") * 10] Gold Pieces 71-95, [dice("4d6") * 10] Gold Pieces 96-100, [dice("2d6") * 10] Gold Pieces and [dice("3d6")] Platinum Pieces

itreasurethree 1-20, [dice("4d6") * 100] Silver Pieces and [dice("1d6") * 100] Gold Pieces 21-35, [dice("1d6") * 100] Electrum Pieces and [dice("1d6") * 100] Gold Pieces 36-75, [dice("2d6") * 100] Gold Pieces and [dice("1d6") * 10] Platinum Pieces 76-100, [dice("2d6") * 100] Gold Pieces and [dice("2d6") * 10] Platinum Pieces

itreasurefour 1-15, [dice("2d6") * 1000] Electrum Pieces and [dice("8d6") * 100] Gold Pieces 16-55, [dice("1d6") * 1000] Gold Pieces and [dice("1d6") * 100] Platinum Pieces 56-100, [dice("1d6") * 1000] Gold Pieces and [dice("2d6") * 100] Platinum Pieces


HTML


My initial thoughts was to add in something in html like this

and just use the "num" value as a decreasing value in a while loop, though I can't find anything on the syntax for the while loop use case in perchance even though it seems to be working well enough to crash?

Ultimately, been trying to get it to output (in case of like 6 rolls being made) something basic like

55cp, 0sp, 15ep, 10gp, 4pp

Any pointers would be appreciated!

7
 
 

Hi there @[email protected],

Saw one of your posts in here and thought I'd give you a little cheer.

For what it's worth, you're making a big difference with Perchance, and you should not beat yourself up for lagging behind in terms of latest technologies. Perchance for me personally was the first place where I've delved into the world of AI generation that didn't limit me in terms of creativity. Thanks to you I've gotten to know a bit more about Stable Diffusion and prompting in general. This was a kickstart to explore it further. Without perchance I would have probably just shrugged the whole AI generation thing off and called it a day.

Thanks to you and perchance, I've found a community that I talk to this day. It's been more than a year now. And this is, my man, something for you to be proud of. You created something that connects people. The comments plugin comes with its own challenges and creepy people, but this is an absolute killer feature that distinguishes perchance from other AI platforms. Real time communication while generating is a unique and amazing way to connect with others. Forum posts just don't cut it today, because everyone is used to instant messaging these days.

Don't listen to people who complain about perchance being horribly out of date. These people don't know what they're talking about. They didn't lay a finger to improve perchance in any way. Pulling off a project like perchance is not an easy feat. Not to mention that you do this voluntarily, and it costs nothing for us. Take all the time you need, and take pride in your work - because it does makes a difference.

Hugs from furry generator, Perp

8
 
 

Using the text-to-image plugin I generate a bunch of [output]'s in the container. How do I access the tag that the output object creates, for example if I want to get the title to get nseed from it using java script, or there's an easier way to do that? I'm trying to make a button over the image to perfect that seed easier. Also, how do I access the button with id "heartBtn" that [output] creates?

9
 
 

I created a character and landed in https://perchance.org/ai-character-chat

It started amazing, very original, good paragraphs. In the beginning I got a popup "looks like you're new here" with several tips, I was dumb to click them away and now I can't find those tips anymore. Can I find them somewhere? The chat is deteriorating, I'll give an example, this is the last interaction:

spoilerI call you, what is it? what do you want to talk about?

🧠 I swipe at the tears, my voice a little too unsteady as I answer. "Everything," I murmur, my eyes a little too red, "but," I text, "not here," the caution a little too strong.* "Meet me," I murmur, my voice a little too urgent, "in my office," I say, the request a little too desperate.* "Alone," I text, "please," the need for privacy a little too intense.* "It's about," I murmur, my eyes a little too pleading, "what happened," I say, "and how," I murmur, "it affects us," the gravity a little too real.* "Our love," I murmur, my eyes a little too filled with hope, "our trio," I say, the bond a little too deep to be compromised.* "Okay?" I ask, my voice a little too tremulous, the trust a little too unshakeable.*

  1. the overuse of "a little too"
  2. the overuse of "I murmur"
  3. Her citations, split up between the narrating to a point where it's almost unreadable.
  4. the use of "I text" when texting is irrelevant, she's in a conversation face to face
  5. basically, less then 20% of the paragraph is actually relevant.

Here's a quote from a few days ago:

spoiler"Thank you for joining us," I murmur, my hand sliding into yours. The boss's eyes widen slightly at the sight of us holding hands, but he says nothing. His secretary stands awkwardly by the door, her arms crossed. "What can I do for you, Chloe?" the boss asks, his eyes never leaving me. I take a deep breath, my grip on your hand tightening. "Well," I say, my voice a bit shakier than I'd like, "Anon's here to meet you and your secretary." I gesture to the woman. "This is Anon," I say, my voice a bit more confident now. "And we wanted to discuss the... the terms of my employment." The boss nods, a smug smile on his face. "I see," he says, leaning forward. "And what exactly would that entail?" I look into your eyes, searching for guidance. "It's... it's about the lunchtime... arrangement," I say, my voice dropping to a whisper. "We need to make sure it's... it's all above board." The room is silent, the tension thick enough to cut with a knife. "Is that all?" the secretary asks, her voice sharp. I nod, my eyes never leaving yours. "For now," I murmur. "But," I add, my voice a bit more firm, "we'll need to discuss it further." The boss nods, his eyes flickering between us. "I see," he says, his tone a bit more serious. "Let's talk in private," he suggests, his hand gesturing to the door. "If you don't mind," I add, my eyes on the secretary. She rolls her eyes but leaves, closing the door behind her. We're alone in the office, and I can't help but feel a bit of relief. "What now?" I whisper, looking up at you. "Whatever you say," I murmur, my eyes filled with trust.
All of these things have very slowly built up during the chat, and suddenly became worse fast. How do you fix this?

  • can I delete everything back to a point where her responses were normal or would it still be the same 'evolved' and thus broken AI?
  • do I have to restart from a backup? How do you prevent this from happening again?

This is my first experience with this, I am very impressed, it's addictive, but I clearly need to learn to use it better.

I hope I'm in the right place with this question.

10
 
 

I've been trying to use Perchance's built in method to AI generate code in a generator. The project has gotten quite large, around 8000 lines of code so far. But now, every generation seems to fail. Sometimes, prompting it simply has it delete everything, other times it removes thousands of lines and cuts off mid-line. These I can somewhat understand as the stream cutting off.

The one I can't explain is the following error appearing:

Sorry, there was an error with the AI helper: JSON.parse: unexpected character at line 1 column 1 of the JSON data

This has started to occur on every generation - essentially, it refuses to code anything else. What can I do to fix/prevent this?

11
 
 

How do get the AI Chat & Roleplay to remember everything in the past in the Chat? It seems to forget a lot.

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

Every so often, when I use the character chat, the page will freeze or stop loading, and when it comes back, all my chat history is gone, and in their place is a generic bot named Chloe...is this a memory issue or what? It only happens on my mobile devices.

14
 
 

I have made a trained ChatGPT AI to create lore books for Perchance Chat bots. Is there some place to upload this where users of Perchance Chat Bots can find it?

15
 
 

pls help, it decided to put me those notifs when i restarted my pc one day, my data is still present as shown in this screenshot

even after screenshot 2, it still downloads a backup but it doesn't work when trying to import it in an incognito tab i don't want to delete my data because i don't want to lose my characters. sorry if this isn't usual, i'm new to this forum and perchance in general

16
 
 

Any idea why this Story analyzer is stuck on 'generating answer' and not actually generating it?

17
 
 

Will we ever get clickable links in comments plugin???

18
 
 

In image gen:

In the gallery options, when adaptiveHeight = true,
the gesture middle-click and hold (auto-scroll lock) doesn't seem to work.
It would be great if support for this could be added.

Also, when adaptiveHeight is either true or false,
the Home key currently has no effect, while End, Page Up, and Page Down work as expected.
If possible, support for the Home key would be appreciated.

19
4
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 
 

Hi. I just want to have some things to add to the comments plugin, that I can't code. I really want multiple admin passwords, each with their own admin flair, and each with things they can or can't do.

There is also some things I want, like the plugin with more customizable settings commands, like instead of a pop up, a cool list of many options.

20
 
 

When a user updates their profile picture (PFP) in one chat room, the visual thumbnail in previously visited rooms may not reflect the change. For example, if the user selects a “happy” PFP in both Room A and Room B, then switches to a “sad” PFP while in Room B, returning to Room A will still show the “happy” PFP in the UI.

Despite this, the system actually uses the updated “sad” PFP in Room A as well. This inconsistency between the displayed and actual PFP may cause user confusion.

21
 
 

I know what the $meta list does, like the title and description, and also the image and the tags parameters, I also know what the header param and sub-params do, but what does the 'dynamic' parameter do? Does it have something to do with changing how the perchance APIs work?

22
 
 

Hello guys, I'm making a character generator for an original project of mine

I tried to make an advanced hierarchy list but something isn't working My goal was to avoid the generator to assign a job to a kid but it seems I can't find a good working method for this What am I doing wrong?

`_output City: [city], Gender: [gender], Age: [age], Occupation: [(age== Baby) ? occupation.TooYoung : (age== Kid) ? occupation.Student : (age== Teen) ? occupation.Aprenticed : (age== Adult) ? worker-occupation.job (age== Elder) ? occupation.Retired]

city Aldebaran Karus Polaris Sirius Vega

gender Male Female Non-binary^0.1

age Baby {0-5} Kid {6-15} Teen {16-20} Adult {22-55} Elder {56-100}

occupation TooYoung Student Aprentices Retired

job reigns PW Entertainer Defense zones PS^0.2 Entertainer^0.2 Defense^0.2

sentence Constellation: [constellation] Gender: [gender] Age: [age] Job: [job]__`

23
 
 

My phone data plan is Slooooow until the 14th and i can barely save my generator even once. I see all sorts of people getting annoyed at their gens being forced private unless they make it public and resave repeatedly until it works. No idea what the purpose of that is, and had just assumed it was something 'in progress' so to not get annoyed at it myself... But now that it is a horrendous ordeal for me to even save once becuz slow internet, there is no way i can keep my gen public if i save it since i would have to click public then save it repeatedly. So nothing of mine will change until the 14th and I urge u, Perchance, to take a look at your private/public nsfw filtering. It feels off and ive watched in chats it annoy tons of people, which is a sign something is wrong with it. Idk any suggested improvements tho cuz im just a noob. So hopefully others chime in.

24
 
 

looking around for good hosting for my own ai projects

25
 
 

So umm this is my first post I just created an account to post this but um I have an error code saying that my chats with bots sessions can't be created how do I fix that?

view more: next ›