#O-pean-IA .:. RPG Adventure & Dungeon Game

195 messages ยท Page 1 of 1 (latest)

hot ferry
#

I like your idea, you would like develop pc game ?

vast creek
#

I have an idea. To write formulas and with a C# engine which is processing the game, but with a framework texture set. So the game will have a frame but the story can be a foreverending story if the Player wants it.

#

I would like to implement a kind of admin/GM group separated from the players. A Lobby maybe... etc etc

#

And not just a foreverending story, a totally random thread for every new game which has been started by the Player...

#

I would like to create downloadable client applications which connecting to the same server (back-end). Maybe with server side saving/loading...

#

Message and Trade between players; enchanting, mini-games inside the main game, "winning bonus spinning wheel"...

#

Concrete defined commands
And... GUI for sure.

#

First I would like to create the basic texture and the parser function which can read and process the generated texts.

#

And I have an imagination how I can port it to a VR application but thats later...

vast creek
outer void
#

It looks wonderful. If you make it successfully I would try the game as a both of player and creator

#

Anyway what is the title of that

vast creek
#

Complete RPG Adventure&Dungeon game with ASCII map.

vast creek
#

I want to get a solution to don't accept those commands which has not been defined in the prompt. Never accept them, because those commands allowing me to skipping parts...

#

And find a solution to view the corresponding map of course...

#

What should I use instead of ASCII?

vast creek
steep gulch
vast creek
#

But it's still not working properly...

#

I have to modify the prompt...

#

OpeanIA - RPG Adventure & Dungeon game

vast creek
# hot ferry I like your idea, you would like develop pc game ?

Thank you, I just don't know. I have some imaginations how can I create something, but I am not a game developer at all. I think the combination of the prompt with a C# can be a good beginning but in my head just popped up the idea to port it to VR...

outer void
vast creek
chrome tusk
#

This is incredible - thanks for sharing. I can't wait until it can write this in web app form without bugs

finite marlin
#

wow

vast creek
#

I have an update now I am working on the fixes and to conplete the prompt and fix declarations. I will share soon!

#

Yesterday night I made some upgrades as you see on pics... and today I had just a little time to work on it, but now I am at home already so I can continue.

#

I set my focus to fix the bugs. I wrote a script with a prompt which can determinate is it a bug in the answer or not. But stilm not perfect... I am alone to work on it and I am so so so excited about it.

finite marlin
#

are you a game dev/comp sci major/data scientist by any chance?

vast creek
#

I am just a warehouse employee currently... still and I hope somebody pick me out soon...

#

At the night I want to release the new, fixed version. And I have an imagination, how I can turn the game into a VR experience.

#

But step by step...

vast creek
#

The new bug-fixed version is coming soon...

vast creek
vast creek
#

UPDATE

#

Waiting for screenshots, because I love the experience! love

vast creek
#

If facing some problem like missing picture, just send this prompt:

GETFIX - missing picture of the scene

vast creek
humble tulipBOT
# vast creek

@vast creek

You have been muted by AutoMod.
vast creek
vast creek
#

O-pean-IA .:. RPG Adventure & Dungeon Game

vast creek
#

I am stucked a little bit with double responses at the initialization phase, but the game goes well... Now I am working on the ReactJS implementation. (I just stopped the video at the character selection and commented the remaining code that's why it doesn't react on the character selection, but that's also works well!)

safe glade
#

When is this going to release?

#

It looks cool.

#

Oh

#

It isn't a prompt?

safe glade
vast creek
#

As soon as possible, I want to bugfix it as well it needs, currently I have it in Python, now I am working on the React version. It's only one prompt, but I have to extend and modify it well, of course.

safe glade
#

Oh. I can't wait

vast creek
#

Just describe it well, you want to see it in ASCII, in a code block.

safe glade
#

Seems fun.

#

Okay thanks!

vast creek
#

You're welcome! Have fun ๐Ÿ˜‰

safe glade
#

I love it! This is probably my favorite prompt. Well done.

vast creek
#

Thank you my friend! This is a previous version (I made the pictures using this prompt); currently I have an updated version but it's functionality as a programmatic language. From this - and with some extending of this prompt - I have created a low-code version and I'm processing that with different programming languages.

brazen hinge
vast creek
#

I have created additional prompts and functions, to manage bugs, so it's automatically correcting itself during the async request running, so it won't display false results. I am working with JSON objects, all of the answers from GPT I receive them in JSON. I have also wrote a mechanism to save it into the session and local storage of the browser and I want to implement an ability to save the character and load into/from Firebase.

vast creek
vast creek
#

Youtubers! Let's have fun with it!

#

I can modify easily the scenarios and the main structure, I mean the base and the whole environment with parameterization.

brazen hinge
vast creek
brazen hinge
brazen hinge
vast creek
#

Anyway... I am looking for a job... ๐Ÿ˜„

brazen hinge
#

About what?

#

Programming?

vast creek
#

Yes, but I do not have any certs, but more experience ๐Ÿ˜„

#

IT sector, but not remote printer installing.

#

So I've created an express api which communicates and sync well with Firebase. So this game has defaults, but now it's totally random and unfair I have to say that. I would like to create a framework which keeps the randomly generated character parameters in a frame to be fair to everyone.

brazen hinge
#

I get it

vast creek
#

And I found an interesting library named Pixi.js; perhaps I should change the image generation mechanism to a more interactive game experience using that library...

brazen hinge
#

Pixi.js

#

I'm gonna look for it

brazen hinge
#

wow

#

It's cool

vast creek
#

Or this

#

Because I am struggling with UI framework - I am not satisfied with it - and I do not want to waste time to create it in photoshop, then slice it, make it responsive... etc etc. I am alone.

brazen hinge
#

Yeah I got you. I'd like to help you but I have a problem, and It's that I live in Cuba. And here I am very limited to 256 kb/s internet at the best of times, I am restricted from everywhere (in fact to create my ChatGPT account I had to ask a friend who lives in USA for her number, and to use it I have to use VPN) and then I love programming but it is impossible to do anything useful here.

#

That's why I can only settle for making prompts :/

vast creek
#

Wow, here in Hungary I have glass already. I can understand you and I'm sorry am for the ADSL speed...

brazen hinge
#

Np, I'm connected by mobile data, I can't even get internet at home, and even if I could it's even slower than it is on mobile data. And I have to watch the videos in 144p.

last robin
vast creek
brazen hinge
vast creek
#

I solved the double response at the initialization stage finally! ๐Ÿ˜„ I just blocked the first XHR at the component mounting ๐Ÿ˜„

last robin
#

Getting ChatGPT to consistently ask initial questions to set up a main output is a difficult task (I've tried). Your prompt accomplishes this most of the time but a couple times ChatGPT kept writing and writing without my input. Is there a new version?

vast creek
last robin
#

The model loves to talk. It just can't help itself

vast creek
last robin
#

You have a prompt in JSON format? just post that, prompt syntax doesn't matter

vast creek
last robin
vast creek
#

I don't have access to the link. And honestly... not really, this was my dream at the night 2 days ago, I mean to parse the information somehow...

#

Sometimes the image is broken...

#

Any suggestion to resolve the images "afterloading"? I'm trying to resolv it with states and setTimeout but I think thas not the best solution.

safe glade
#

I have no coding experience at all, so I wouldn't know. Maybe ask ChatGPT itself, I'm sure it can help a lot.

vast creek
#

Okรฉ, its better now... If the request is failed then it's trying again and again and again.

For the pictures, I think that is the best If I create an other get request during the ChatCompletion to load the picture completely not just the url from the response... but tomorrow...

I need to parse the texts via regexp to get better buttons and I have already created a small sub-function, to check the response JSON if it contains a specific value, then a modal pops-up, and the player can open a chest, then just extend the messages in the chat but doesn't send it only when the player selects the next move.

vast creek
vast creek
#

When it wants to open the modal and sends an other request inside the async request then stuck... :/

crystal shadow
vast creek
crystal shadow
#

you miss understood, I built a fully custom version of Chat-GPT with access to the internet using spiders and its now learning how to DM a D&D game. I plan to use it with a new development approach I created call C.A.B to generate a fully custom D&D game both in text based on 2D based forms.

#

as to your issue lemme see

crystal shadow
#

im actually in indie dev that just turned 18 xD I want to work on this project and release it for passion not monetary gain but im more than open to work with you on it and split the profits 50-50, I already have the back end of the project done and just need to fine tune the models. thing is I know very little on D&D so if you could help with that and front end we could finish the game in like a month or two

crystal shadow
#

I would love that, I actually have a discord based Ai project (Anti raid bot which uses Ai to pre-detect raids globally) and multiple other projects (which are currently classified due to the state they are in [pre-alpha even] ) all of them are under a parent project called praepositi which owns the rights to all of them, if we were to work together id hope we can write a contract clearing everything out and making sure each of us understands their part in the project and their ownership of it, my part would, of course, be owned by my project praepositi so I just want that to be clear. and id also love to discuss the exact details of everything in our DM's so we can be clear on it before we start. wdyt?

vast creek
frozen lance
#

Do the buttons on the side not do anything yet?

vast creek
#

They are still not working. Under implementation

#

I am still working on it alone...

vast creek
vast creek
# vast creek Refresh...

If I finished with the registration and logins system, after I will separate the content there.

vast creek
vast creek
#

It's possible to change completely the language in the game to play on an other language. Currently 4 languages are selectable.

sour plover
#

dud i want to play this LOL

vast creek
vast creek
#

Something like these?

vast creek
vast creek
sour plover
#

looks awesome you are using gpt 4 or?

#

i was attempting to make something simular but make the bot create all the code for me i think ive managed to make a pretty good "response chunking" prompt to split up large responses into small chunks
try it out and or refine it ๐Ÿ™‚ works pretty good with gpt 4 not so much with 3.5

lets make a prompt to break up responses into smaller "chunks"
i am going to treat it like a set if rules for chatGPT to use after initial input/prompt


token_threshold  = 4000
user_query_token_count = nil
response_token_count = nil
response_chunk_total = nil
response_current_chunk = nil

estimate tokens from user input and place in variable "user_query_token_count " (include initial prompt)
then estimate tokens needed for full response and place in variable "response_token_count "
if the response_token_count is over token_threshold then break full response into smaller "chunks" about the same token count as token_threshold  give or take 100 tokens then post 
in bold font token_threshold , user_query_token_count , response_token_count , response_chunk_total and response_current_chunk  then post the first "chunk" and wait for user to respond with "ok" to move on to the next "chunk"
before we move on show example and ask user if they like the format and if user does not then re-post  in a different format like instead of bold print do token information in bullet points 

lets call these rules "response chunking" and use these "rules" with all responses even if it does not require a chunking response be sure to put token info in brackets and in bold

after happy with format then follow up with

use these "rules" for every response no matter what and if you dont i will remind you with"dont forget the rules"
vast creek
# sour plover looks awesome you are using gpt 4 or?

Thanks,
The pictures are generated by AI, then I upscaled them then I started to edit in Photoshop. I sliced them, now I have single HTMLs so I can continue with this design.
For the game I wrote a main prompt what I shared on the FlowGPT portal - that was the original, from that one I've created the pictures which are somewhere at the top of this post using GPT-4. Later I've created an other prompt from that, a low-code version then I realized that if I just define it in the main prompt how I want to get t he response (JSON), then it will probably answers like that. There is a ChatGPT version and there is an other one, which responding via a String but like a JSON object.
In the ChatGPT version of course is much more efficient and enjoyable the atmosphere of the game with GPT-4, but the mechanism is alaso working so well and smoothly on the GPT-3.
ChatGPT version: https://flowgpt.com/playground/eFTzXPCBPDNTFgsDeTZ8W
JSON version: https://flowgpt.com/playground/Qo07gBegPonYxA7_nVPZB
At the first parts in the game - (welcome the player, ask for the name of the character, select race, select cast, select game mode) - I'm using a ChatCompletion with a small part of the main JSON responder prompt which contains the description of the initialization. After this I'm using the simple text-davinci completion, with some fine-tunes and separated, predefined prompts. The problem was: If I wanted to continue with the ChatCompletion then always when the next scene popped up, the array of the messages also contained the previous user message and the assistant response. So the messages array always had plus 2 insertion after each request. When I reached the 16$ of the free 18$ I started to use an other method. I stepped back to the simple completion of the model. First I defined the prompts, which I cut from the main one and edited them to hold programmatic variables inside and with ReactJS functions I'm able to passing variables from the response to craft the new requests.

vast creek
ivory dove
#

Hi guys! Finally i found this! I'm working on GPT4 based dungeon&dragon engine ๐Ÿ™‚ how u work with context?

vast creek
#

@ivory dove Hello and welcome here, I'm glad you finally found what you searched for and I hope you will find that exactly what you need too. I am still working alone on this. What do you mean exactly "with context"? I have parsed prompts and I process them with programmatical way then send it receive the answer, parse it and so on... Which coding language are you using for it?

ivory dove
#

hi bro! I'm sorry, I was talking about the token limit. i saw langchain to implement longterm memory and i wanted to know if you guys faced the problem

#

i m coding on py

vast creek
#

So if you always extend the array what you have with the assistant role and the next user message then it will eat your tokens. I figured out to use the chat completion at the beginning which has steps, then I switched back to other prompts with using simple text completions. I think - and how I see - for this project if I don't have a fine tuned or pre-defined model which is connected to the engine of the game and you are using only the chat completion than it can be really a token-eater. This is how I just fed OpenAI... ๐Ÿ˜…

For example for the battles I have an other prompt - using chat completion because battles have rounds...
For scene generation I just send the previously received text, the character's object and the last chosen option from the player. The prompt for it describes that it has to generate te new new scene by the last scene's text, the player's character...

ivory dove
#

okok

ivory dove
#

there is still a problem of consistency of information. If I meet an NPC and then meet him after a long time, how can he reconstruct the context of that NPC?

vast creek
#

In my opinion and how I implemented this feature in React, I'm using a variable which is an array, and always when the character meets with an NPC then the NPS appends this array with appropriate properties because it's like an object. You can add a property to this object which is holding the meetings amount. I made it only for those NPC-s which offers trading, so if the player choise is for example trade with the merchant, then it goes into the corresponding array. Next time if they meet on the same location with the same merchant again and the selected option again the trade then just increment the number.

vast creek
sour plover
#

k ive been playing it and i have a few suggestions

  1. you know this image
#

can you use multiple images representing things like "outside in a forest", "in a room" , "outside in a in a field" things like that and perhaps a "toggle-able" voice narrator with the text to speech ai perhaps with a choice of male or female just suggestions ๐Ÿ™‚ awesome by the way did i mention im playing it (and having a blast)

#

and on the other side of the screen would be kool to see a "character card" showing things lilke hitpoints and other character related things amd when in a "battle" change to be smaller and also show opponent and their stats etc

#

@vast creek

#

or are you kinda done with the project

vast creek
#

I am working on it! I have different additional features to implement into the game.

sour plover
#

nice

vast creek
# sour plover can you use multiple images representing things like "outside in a forest", "in ...

Actually this will be I think the first thing which has to be upgraded. I know this image. I'ts moving, it's fixed - but not; but AI generated too. I was thinking about the voice too, honestly... To the other side I would like to insert an animated dice and the battles if the scene type is a battle. The character card will be openable in/from the left menu and it will pops from down... This is the plan...

sour plover
#

i like the dice thing

vast creek
sour plover
#

๐Ÿ™‚

#

you are doing great

#

another idea have a toggle-able button that can make it never ending or not

vast creek
sour plover
#

i love this kind of converting retro stuff to be a little bit more modern look but still have the core of it be the same or close enough

vast creek
sour plover
#

๐Ÿ™‚

#

i am an idea "MACHINE"

#

lol

#

almost to the point of annoying LOL

vast creek
#

I like to work on it, you know for me it's also a puzzle sometimes, to work and process the AI stuff. I love codes, puzzles and of course D&D to get a little control on a character but this AI thing is turning the whole e xperience-pack into an other perspective.

sour plover
#

ever played the game starcontrol 2 ?

vast creek
#

Nope... ๐Ÿ˜„

sour plover
#

i like the way they did speech there is a HD port called "the ur-quan masters" still fun

vast creek
#

This looks a cool retro game!

sour plover
#

RIGHT

vast creek
#

From the year when I bornt ๐Ÿ˜„

sour plover
#

thats one of the things that your doing that i love

vast creek
#

And in 1998 I was coded on C64 with my grandpa ๐Ÿ™‚

sour plover
#

kool

vast creek
#

Just for fun; and in Pascal after Basic, Delphi...

sour plover
#

i recall an old cave game kinda like an indianna jones game that was fun for the life of me i cant find anything like it or remember the name of the thing lol

#

ah good times

vast creek
#

For me Descent, Little Big Adventure, Ugh! ๐Ÿ˜„ I loved them.

sour plover
#

me to

#

hell i play minecraft

#

and i was an adult when it first came out

sour plover
#

i got another idea

have the game kinda "build a map" and track player in map as you go along so you can backtrack if needed

river tendon
#

god i felt that one in my bones โ€“ best of luck, friend (from a well-wishing observer)

sour plover
#

find a way to get $$ from/for this with patron or some thing have gpt generate a video script for maximum $$ from this idea

#

there is money to be made with this ai thing you got here if only as a proof of concept for a bigger outfit to hire YOU to help make it

#

or "revamp" a little to make npc's in a game like gta 5 be more "unique" fiveM(custom gta 5 servers you run at home) is a good place to start with something like that

ivory dove
#

add italian language pls ๐Ÿ™‚

vast creek
#

@ivory dove Usalo con salute!

ivory dove
vast creek
sour plover
#

perhaps make the ai post "reference points" every post to refer to prev rooms

#

could call it "page=X" or "refPoint=ROOM_12"