Jump to content


Photo

command help


Best Answer sdahlka , 28 December 2015 - 08:25 AM

the only debug switches gearswap has are

gs debug_mode --Prints the function and gear not equipped because the gear is already equipped(mabe even the gear that your job cant equip).

gs show_swaps --Prints out each piece of gear that will be changed.

Go to the full post


    5 replies to this topic

    #1 Gukai

    Gukai

      Advanced Member

    • Members
    • PipPipPip
    • 95 posts

      Posted 28 December 2015 - 05:05 AM

      Hi, I searched but couldnt find some simple commands that i've forgotten in trying to debug a lua

       

      I know gs showswaps will display me the items being equipped... but I'm trying to find out when rules written are not being followed, so whats the best way to do this?  I'm using various print('blah') rules and I'm already not liking some stuff.  What other debug stuff can i do?  Showswaps only tells me the gear being equipped, is there any way to know the gear set names and such that the gear belongs to?



      #2 sdahlka

      sdahlka

        Advanced Member

      • Members
      • PipPipPip
      • 324 posts

        Posted 28 December 2015 - 05:41 AM

        it depends on what you want to display



        #3 Gukai

        Gukai

          Advanced Member

        • Members
        • PipPipPip
        • 95 posts

          Posted 28 December 2015 - 05:54 AM

          Does showswaps display what isnt being equipped even though it's in the gearset?  (maybe because i left the gear behind, for example)

           

          is there a command that displays the gearset name being equipped?  i notice gearswap only does 'precast', 'midcast', etc, and not the actual name of the set being eqiupped



          #4 sdahlka

          sdahlka

            Advanced Member

          • Members
          • PipPipPip
          • 324 posts

            Posted 28 December 2015 - 08:25 AM   Best Answer

            the only debug switches gearswap has are

            gs debug_mode --Prints the function and gear not equipped because the gear is already equipped(mabe even the gear that your job cant equip).

            gs show_swaps --Prints out each piece of gear that will be changed.



            #5 Gukai

            Gukai

              Advanced Member

            • Members
            • PipPipPip
            • 95 posts

              Posted 28 December 2015 - 03:26 PM

              cool, thanks!



              #6 agnosgnosia

              agnosgnosia

                Advanced Member

              • Members
              • PipPipPip
              • 30 posts

                Posted 30 December 2015 - 08:14 AM

                I recently having an issue trying to figure something out with sublimation in my sch lua. I did sort of a makeshift debugging 'tool' by just inserting a piece of gear that wasn't in the lua anywhere else but there. I had already narrowed it down some and when I found the alhazen hat show up I knew I found the right piece of code that was activating. 






                1 user(s) are reading this topic

                0 members, 1 guests, 0 anonymous users