Jump to content


Photo

Lua runtime error


    1 reply to this topic

    #1 samuel

    samuel

      Newbie

    • Members
    • Pip
    • 6 posts

      Posted 17 November 2017 - 02:26 PM

      Hey guys,

      Today I logged into the game and when GS returned me with this error I have no idea how to fix it. I tried downloading the whole GS folder and even repaired FFXI error files and still no luck. Would appreciate some advise thanks!  I've attached the equip_processing.lua if that helps.

       

      GearSwap: Lua runtime error: GearSwap/equip_processing.lua:158: "compare_augments" is not defined for booleans

       

       

       



      #2 samuel

      samuel

        Newbie

      • Members
      • Pip
      • 6 posts

        Posted 17 November 2017 - 02:29 PM

        Oops.  the attachment didn't work.  Here's line 158-167
         
                                            if res.items[item_tab.id].flags.Rare or extdata.compare_augments(augments,extdata.decode(item_tab).augments) then
                                            -- Check if the augments are right
                                            -- If the item is Rare, then even if the augments are wrong try to equip it anyway because you only have one
                                                equip_list[slot_name] = nil
                                                ret_list[slot_id] = {bag_id=bag.id,slot=item_tab.slot}
                                                used_list = ret_list[slot_id]
                                                break
                                            --else the piece specifies augments that don't match the current piece, so don't break and keep trying.
                                            end
                                        else





        1 user(s) are reading this topic

        0 members, 1 guests, 0 anonymous users