Jump to content


Photo

Writing First Script Questions About Progressing Through CS with Choices


    No replies to this topic

    #1 luxaflux

    luxaflux

      Newbie

    • Members
    • Pip
    • 1 posts

      Posted 21 August 2017 - 06:32 AM

      This is my first script, please take it easy on me.

       

      I am attempting to write code that allows the user to stand at their center Mog Garden Furrow and trade to all 3. I have gotten the trade_packet part down. However, after the trade is initiated I receive the cutscene and option to plant or not.

       

      I cannot figure out how to bypass the display of this choice. I think it is because I don't quite understand how outgoing packets work entirely. I have checked other code such as sparks.lua, maga.lua, etc. to get an idea, but I am not seeing where the choice is being made.

       

      Can anyone shed some light on this for me? I don't want to simulate keystrokes through send command because I feel like that is a dirty way to build this, and I am hoping by the time I am done maybe I can put this out there as a solution to get through their ranks while AFK. I plan on setting a 1 hour timer and looping through this code infinitely. I really just need to understand how the menu navigation works, or is skipped.

       

      Thank you!






      1 user(s) are reading this topic

      0 members, 1 guests, 0 anonymous users