Forum › Forums › Discussion › [Beta] Scenario Scripting Engine
This topic contains 123 replies, has 52 voices, and was last updated by Miqobot 3 years, 5 months ago.
-
AuthorPosts
-
June 2, 2017 at 8:58 pm #3225June 2, 2017 at 9:07 pm #3226June 2, 2017 at 9:35 pm #3227
Here is a breakdown of a scenario that I’m working on… As this is the Gold Saucer event, it seems timely!
Go into Gold Saucer…
Teleport to minion square,
Move over by the mini games (I always start at a specific machine, I’m a miqo of habit!)
Use an item “Gold Saucer VIP Card” (Do this with a hot bar button press)
Start playing the games!
Now wait till 44 minutes after the hour real time (I see a few options to do this… not sure which one works best yet)
Navigate to the tele crystal in minion square
Teleport to event square,
navigate to GATE NPC, and talk to themNow here is where things get tricky….
If it is “Typhoon”… I want to join the gate! ExarchCoercer’s method works for selecting options, and I can use the navigation to get to the spot I want and wait for the gate to end…How do I get MiqoBot to detect if its going to be the Typhoon GATE? I want to just go back to minigames if it turns out to be one of the other gates. (I suck at that dancing one)
Anyone have any thoughts?
Hey i like this idea. It seems like you need a blacklist/whitelist of gates like they did with weather. SkipBadGates() or something. But i wonder what will happen if you just ignore this fact. It will fail the dancing gate and move on right? Worst case you lose 5 minutes.
With regards to time like X:44. The way i see it is to create 24 chapters then copypaste your script to all of them and in each one you do 0:44, 1:44, 2:44, and so on to 23:44. A bit redundant but you have to do it only once. On the bright side you can edit each hour a bit differently, hang out in different spots of gold saucer and stuff.
June 3, 2017 at 3:00 am #3237June 3, 2017 at 9:03 am #3240June 3, 2017 at 10:23 am #3243June 3, 2017 at 10:49 am #3244June 3, 2017 at 2:24 pm #3248June 3, 2017 at 7:44 pm #3249Alright, with a lot of playing around I gave up on my gold saucer idea for now…
Instead, I did get a blue scrip one working!
I have it set with 3 chapters
Fish
– Go to a random point on Thaliak River, and fish for Carp!
– Do this till about 11:00 ET
Botany
– Fly over to the area where the Morel will spawn.
– Change jobs on the way
– wait for morel to spawn and execute a rotation
Miner
– Same as Botany really…Then loop back to my fishing spots
This worked really really well… until I ran out of bait!
Other thoughts…
@miqobot a cool command would be to turn in all collectibles.
I can navigate to the NPC, and use the keypresses to get to where I need to be, but I can’t see a logic to determine how many times I would need to do it.
I would picture this something like TurnIn(botany) or TurnIn(Morel)
I’m thinking it would simply loop though and turn in all the items that matched. Similar to how Desynthesis works.
June 3, 2017 at 9:31 pm #3250June 4, 2017 at 12:50 am #3253Easy on this one. Create 2 presets for gathering, one for mythrite sand, one for ice crystals. And then a scenario with 2 chapters.
1:
gatherPreset(mythrite sand)
workFor(2:00)
gather(9999)2:
gatherPreset(ice crystal)
workFor(2:00)
gather(9999)From what ive seen by now, presets remember navgrids, rotations, gather by name, pretty much everything you need. So its pretty cool. Actually i think ill make and upload it if you dont mind.
June 4, 2017 at 1:29 am #3256There you go, super easy: https://miqobot.com/forum/forums/topic/cwh-mythrite-sand-ice-crystal-scenario/
June 4, 2017 at 2:11 am #3258I can navigate to the NPC, and use the keypresses to get to where I need to be, but I can’t see a logic to determine how many times I would need to do it.
Why not overdo it a little? If you expect to have 15-20 Morels by then you can overestimate to 20. It will show some errors yea but who cares nobody sees them anyway. Dunno about exact timings but something like:
key(num0, 0.5)
key(num*, 0.5)
key(num0, 0.5)
key(num0, 2)
repeatChapter(20)A function for that would be nice of course but its a good workaround until next update.
June 4, 2017 at 3:25 am #3260Omg i just had an awesome idea. @miqo could we get these 2 functions:
1. showPopup()
2. stopScenario()
1st will display a message box and freeze scenario until i click ok.
2nd will automatically stop at this exact point.This would tremendously help with custom actions which are not implemented yet. Like turning in collectables @anonuser mentioned. Im totally cool that Miqo cant do everything yet and im totally cool with doing it myself for a while. I just need a way to tell her “hey this is the part where you call me and let me take control”. So she would gather collectables, teleport to Idleshire, get to npc, show me a popup (to get me out of netflix) and go idle. Then i turn in things manually and click start on next chapter.
Itll be extremely helpful in Stormblood as there will be lots of new content which Miqo obviously cant do yet. And to be honest i dont want her to do new content, i want to try it myself first, like new harpoon fishing.. So she does some old boring gathering and when it comes to new gameplay she gives me control back.
I mean i can kinda do this already by splitting my scenario into several parts. But these 2 functions would make it much easier to organise. And sorry for the wall of text.
June 4, 2017 at 9:57 am #3272 -
AuthorPosts
The topic ‘[Beta] Scenario Scripting Engine’ is closed to new replies.