#Does FlowScript have network/http functions?

22 messages ยท Page 1 of 1 (latest)

warm cargo
#

Was wondering if anyone knows if FlowScript has HTTP functions?

Basically want to send info via http, and get a response back.

I know persona 5 royal has network functions built in, just not sure if there's a easy way to access them.

Thanks

glossy hound
#

There are flowscript functions that seem related to more specific network actions, at least going by their names... but there is certainly no general http get/request functionality in flowscript.

#

That sounds like stuff that would require exe patching.

warm cargo
#

Gotcha, yeah that's what I was thinking too. I wasn't sure if flowscript had a way since P5 has those network options

#

Got my work cut out for me then

cold nexus
# glossy hound That sounds like stuff that would require exe patching.

first thought off the top of my head was to make a custom function with like flowscript framework or something but idk if theres more youd have to do depending on what you actually need to make http requests for

GitHub

Flowscript Framework is a Reloaded-II mod that allows modders to easily add new flowscript functions without having to replace existing ones. - Secre-C/p5rpc.flowscriptframework

warm cargo
#

I just need to send and receive json and grab something out of it upon receiving

cold nexus
#

you prob could make a code mod for that i think, with some custom flow functions that prompt a particular network behavior, though im kinda wondering what for lol

warm cargo
#

Well, I want to see how far I can push an AI LLM. Ive made several "role-play" bots and indie game projects.

I want to see if I can pull off sending and receiving json data which contain strings of text through P5R. And if so, I want to see if I can make it to where you can "talk" to confidants. Not in the social link missions themselves, but as a side option

Ideally a menu through the IM/Phone. But if not there, through an action in game.

Type out a message, it sends to an http that detects the message and confidant you're talking too, it'd tell the AI to respond as that confidant with a good system prompt, then it'd receive the response and send it on over to the game. The game would then display it as that confidant talking in a chat bubble.

I mean, if I could just get send/receive, I can set the AI to even tell the game would image icons to use/possibly animations. Skies the limit at that point

#

I am just now getting a feel for the sentimate for AI in this modding community so I don't know how far I'll go with it. I'd likely train and host the AI myself, on the off chance I pull it off and released something ๐Ÿ˜…

An AI LLM that knows the whole plot and backstory/lore of the world and every character would be fun to talk too.
I already have a half finished indie project that lets you talk to persona characters in a persona like phone ๐Ÿ˜… its surprisingly fun. And I thought it'd be even crazier to put that in the game. I'm going to look into what you suggested

cold nexus
#

wouldnt this just be c.ai in p5 P3CopPain

warm cargo
#

Yes ! Sorry I over explained, but that's exactly basically it

#

But with a prompt modified to fit chat bubbles

#

Some coding would go into the http to split things up for multiple bubbles

glossy hound
#

Dynamic text in P5(R) is something others have tried and failed to get working, so that will honestly probably be the hardest part ๐Ÿ˜…

warm cargo
#

Wonder what their biggest roadblocks were

#

Ahhh you know what, nevermind. That actually makes sense why that would be a basically impossible challenge. Persona's scripting engine is so strict, probably has to do with the variable-length text.

#

Well shoot

#

Come to think of it even the network options in P5R have fixed text length, text isn't being pulled in and used I don't think

#

I guess that is a lost cause

glossy hound
#

Yeah, every text-related function they managed to find in the exe was still just looking at the BMD binaries and indexing into those, rather than working with extracted strings. Getting around that turned out to be super tedious (and I don't think they ever managed it).