Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

RahiTuber

A lightweight yet highly customisable pngtuber app · By rahisaurus

Help with changing states after a certain amount of time once

A topic by めがねポリン created 17 days ago Views: 68 Replies: 5
Viewing posts 1 to 2

Is there a way to permanently enter a state after a set amount of time with no timeout locally?

I tried using the schedule option under the toggle trigger and attempted to set the timeout option longer than the interval as a way to get it to stick but then had another problem of the state changing immediately after setting the interval. Restarting the program kept the avatar in the changed state which does not work for what I need.

I haven't tried the HTTP option since I'm unclear about how it works and need the states to change locally rather than through an online automated bot. 

For reference, I am trying to permanently change the state of my avatar after a long period of time (about 15-20 minutes) automatically without the need of hotkeys. I did try to set the state to trigger on a button combination using a PyAutoGUI script that would run automatically as a scheduled task but RahiTuber wasn't able to detect the script automatically pressing buttons.

Is there any way to achieve this kind of effect?

Developer

Using the http trigger is the best way to do stuff like that at the moment - it doesn't have to be an online bot, all you need to do is make a http GET request to the url you can copy from the states menu. I'm pretty sure there's a python function to do that, and that way you can reuse your script!

Thanks for the response. I got it to work! 

For some reason, trying to make a  GET request using the name version of the URL didn't work but using the ID version worked perfectly fine.

Developer

Oh, that's odd. What was the name of the state? 

Glad it worked!

(2 edits)

The name of the state was DecayMinor. Renaming it to State1 yielded the same syntax error. I tried using both "" and `` to see if that was causing the syntax error but that didn't seem to be the case.

Developer

That's very strange, i use the named ones all the time and never had that. I'll look more into it