[Beta] Scenario Scripting Engine

Forum Forums Discussion [Beta] Scenario Scripting Engine

This topic contains 123 replies, has 52 voices, and was last updated by Miqobot Miqobot 3 years, 6 months ago.

Viewing 15 posts - 76 through 90 (of 124 total)
  • Author
    Posts
  • #5401

    piyoko
    Participant
    0

    It seems that function recipe() doesn’t work well in Japanese client.

    This scripts didn’t work.(please see gif animation)

    job(Armorer)
    recipe(ブロンズインゴット, 2)
    craft(2)
    [Error code]
    (14:58:50) 	Chapter: 1
    (14:58:51) I am 'Armorer' now! :3
    (14:58:51) Crafting started.
    (14:58:52) I want to craft! Where is your Crafting Log?
    (14:59:03) Hmm I can't find any recipes that match 'ブロンズインゴット, 2'. Sorry :(
    (14:59:03) Crafting stopped.
    (14:59:05) (SCENARIO) Chapter 1 complete.

    On the contrary I switched to English and this worked fine.

    job(Armorer)
    recipe(Bronze Ingot, 2)
    craft(2)
    

    Some string like “食塩” works fine but others,like “ブロンズインゴット”, don’t.
    Anyone know a solution for this?

    Attachments:
    You must be logged in to view attached files.
    #5403
    Lyfox
    Lyfox
    Participant
    0

    Probably a locale issue. I remember it was causing garbled characters in some other features. Try this: https://miqobot.com/forum/wp-content/uploads/2016/09/change_system_locale.jpg

    #5464

    keastes
    Participant
    0

    as of the 4.1 hotpatch, “TeleportIf(Estate Hall)” is returning a an excecution error. I would imagine this is related to my estate being located in Shirogane, but i lack a second location to test.

    (01:02:38) (SCENARIO) Started:
    (01:02:38) 	'New Scenario'
    (01:02:38) 	Chapter: 2
    (01:02:41) Sorry, I don't see a teleport to 'Estate Hall' :/
    (01:02:42) ERROR (Chapter 2, Line 1): Execution error
    

    let me know if there is anything else you need.

    #5465
    Miqobot
    Miqobot
    Keymaster
    0

    Indeed, Estate Halls in Shirogane are not supported yet.
    They did not exist when we released this version, therefore Miqobot is not able to teleport there yet.

    Please wait until Stormblood Upgrade Stage 2.

    #5466

    keastes
    Participant
    0

    that’s about what i figured. just wanted to make sure you were aware. any known work-arounds for the time being?

    #5467
    Miqobot
    Miqobot
    Keymaster
    0

    You can use sendKey() function to make a sequence of commands which will imitate teleport() behaviour.
    But you will have to stop using mouse or minimize the game window, as explained here:
    Miqobot v1.2.4 – Known Issues

    This method is very unstable, so please use it only if absolutely needed right now.

    #6011

    smaller
    Participant
    0

    is there a way how to make sure collective are active for spear fishing? atm there is only “setCraftCollect” exsist and its not work for spearfishing. 🙁

    #6012
    Miqobot
    Miqobot
    Keymaster
    1+

    Yes, please use sendIcon() function to activate “Collect”. For example, if you have “Collect” icon on hotbar 2 slot 7, you can write:

    sendIcon(2, 7, 1.0)
    

    Where 1.0 is the delay in seconds.
    In order to make sure that “Collect” is not accidentally deactivated, switch to another non-gathering job and then back to fisher.

    job(CRP)
    job(FSH)
    sendIcon(2, 7, 1.0)
    #6013

    smaller
    Participant
    0

    hmm ok i am using atm key() function which works, but as you says its dosent check if its already on or not so thats basicly my problem when i start it and i am currently FSH job with active collectiv what basicly happen to me sometimes its will fail… only can be avoid atm by double switching jobs to make sure its will be always off but its kind of dirty way

    • This reply was modified 7 years ago by  smaller.
    #6015
    Miqobot
    Miqobot
    Keymaster
    2+

    A cleaner way will be available in the next version 🙂

    In addition, special scenario functions will allow you to change gig heads and switch presets on the fly.
    – (Spearfishing scenario support is scheduled for release in Upgrade Stage 3.)

    Thank you for your feedback!

    #6190
    Miqobot
    Miqobot
    Keymaster
    3+

    New functions for Scenario Engine are implemented:

    1. changeGig() – Equip new gig for spearfishing.
    2. deliverCollectables() – Deliver collectables to the closest NPC.
    3. addGatherRotationIfGP() – Add gathering rotation to GP-based selector.
    4. repeatChapterFor() – Repeat current chapter for amount of time.
    5. repeatChapterUntil() – Repeat current chapter until specified time.
    6. koCheckpoint() – Set the current chapter and line as KO checkpoint.
    7. koSetCatchUp() – Mark the current chapter as catch-up chapter.
    8. koResetCatchUp() – Forget the previously marked catch-up chapter.
    #6199
    Carl Arbogast
    Carl Arbogast
    Participant
    0

    The repeatChapterFor() and repeatChapterUntil() are a bless, no more guessing on the number of time to repeat a chapter for things like Ephemeral, it’s perfect, thank you!!!

    I’m updating all my FSH scenarios with changeGig(), the number of time I forgot to select the right one manually XD

    Great update, plenty of useful new possibilities.

    #6615
    Animalis
    Animalis
    Participant
    0

    Hi Everyone! ^^ /
    This is my first post here so i hope i landet in the right thread.
    I would like to request a pause button which stops the scenario a short while to , for example chat with your gild mates.
    While doing some simple gathering, mining or Fishing it is not really a problem because you can simply finish the gathering, reply in chat and restart with the lowered amount.
    but with the more elaborate Scenarios it is quite difficult to do.

    #6630
    Arc
    Arc
    Moderator
    0

    I would like to request a pause button which stops the scenario a short while to , for example chat with your gild mates.

    It’s already planned for I think the next upgrade.

    #7274
    prinny
    prinny
    Participant
    1+

    Is there a script to reattempt purchasing a house every 5 minutes or so yet?

Viewing 15 posts - 76 through 90 (of 124 total)

The topic ‘[Beta] Scenario Scripting Engine’ is closed to new replies.