Jump to content


Photo

Gearswap error


21 replies to this topic

#1 Sabishii Kouen

Sabishii Kouen

    Advanced Member

  • Members
  • PipPipPip
  • 33 posts

    Posted 30 April 2014 - 02:29 AM

    Getting an error whenever I try to cast a spell/ability.  I haven't changed anything in my LUA, and it seems to be an issue with gearswap itself after that big update that I had to download today to play with windower.

     

    "Gearswap: Lua error (runtime) - . . . /Windower4//addons/GearSwap/helper_functions.lua.673: attempt to index field '?' (a nil value)"

     

    Overwriting windower with the dev build did not help.  Closing the game out or trying to updateresources or anything doesn't help either.



    #2 Babypooh

    Babypooh

      Newbie

    • Members
    • Pip
    • 5 posts

      Posted 30 April 2014 - 03:59 AM

      I got same problem too

      GearSwap: Lua error (runtime) - ...x86)/Windower4//addons/GearSwap/helper_functions.lua:673: attempt to index field "?" (a nil value) 



      #3 Byrth

      Byrth

        Advanced Member

      • Members
      • PipPipPip
      • 85 posts

        Posted 30 April 2014 - 06:25 AM

        We're pushing a resources update that should fix this problem. There wasn't an elemental entry for "Physical" in the resources.



        #4 Babypooh

        Babypooh

          Newbie

        • Members
        • Pip
        • 5 posts

          Posted 30 April 2014 - 12:07 PM

          Still has error when casting Blue magic spells (Physical Spells)



          #5 Sabishii Kouen

          Sabishii Kouen

            Advanced Member

          • Members
          • PipPipPip
          • 33 posts

            Posted 30 April 2014 - 03:39 PM

            Works now, thank you!



            #6 Babypooh

            Babypooh

              Newbie

            • Members
            • Pip
            • 5 posts

              Posted 01 May 2014 - 08:49 AM

              Everything work fine but blue physical spells still error



              #7 Icara

              Icara

                Newbie

              • Members
              • Pip
              • 1 posts

                Posted 05 May 2014 - 04:10 AM

                Copying elements.lua from "..\res" to "addons\libs\res" fixed blue magic for me.



                #8 Arcon

                Arcon

                  Advanced Member

                • Windower Staff
                • 1189 posts
                • LocationMunich, Germany

                Posted 05 May 2014 - 04:14 AM

                That's strange... it means your addons are out of date. The Windower/addons/libs/res/ folder shouldn't even exist anymore. Did you try restarting Windower?



                #9 Babypooh

                Babypooh

                  Newbie

                • Members
                • Pip
                • 5 posts

                  Posted 05 May 2014 - 08:38 PM

                  Works after update resources, Thanks!



                  #10 Sabishii Kouen

                  Sabishii Kouen

                    Advanced Member

                  • Members
                  • PipPipPip
                  • 33 posts

                    Posted 10 May 2014 - 05:08 PM

                    Getting another gearswap error now after some resource update, "LUA error runtime . . . /addons/gearswap/refresh.lua:178 attempt to index field '?' (a null value)"  It pops up 3 times when I log in, and pops up everytime I hit a JA on Samurai (and when I swap into BLU).



                    #11 Arcon

                    Arcon

                      Advanced Member

                    • Windower Staff
                    • 1189 posts
                    • LocationMunich, Germany

                    Posted 10 May 2014 - 05:28 PM

                    Probably an error in your file. Recently skills changed from "EnhancingMagic" to "Enhancing Magic" (same for other skills), could that be the case?

                    Either way, we'll need to see your file to see what this is about.



                    #12 Sabishii Kouen

                    Sabishii Kouen

                      Advanced Member

                    • Members
                    • PipPipPip
                    • 33 posts

                      Posted 10 May 2014 - 05:46 PM

                      line 178 in refresh.lua says  "player.status = res.statuses[player.status][language]"

                       

                      Doesn't look like anything to do with enhancing magic



                      #13 Arcon

                      Arcon

                        Advanced Member

                      • Windower Staff
                      • 1189 posts
                      • LocationMunich, Germany

                      Posted 10 May 2014 - 05:58 PM

                      Enhancing was an example, it holds for all skills, but you're right, in this case it isn't. I didn't know you were on the -dev version, we timed our updates on there poorly, I'll adjust it in a bit.



                      #14 Sabishii Kouen

                      Sabishii Kouen

                        Advanced Member

                      • Members
                      • PipPipPip
                      • 33 posts

                        Posted 10 May 2014 - 06:18 PM

                        My apologies for not mentioning the dev version thing, I forgot I installed it, and I wasn't sure how to revert back to the normal version of windower lol uninstalling it/reinstalling seems to keep some of the dev versions of files intact.



                        #15 Arcon

                        Arcon

                          Advanced Member

                        • Windower Staff
                        • 1189 posts
                        • LocationMunich, Germany

                        Posted 10 May 2014 - 07:00 PM

                        It should be fixed now anyway. There is no neat way to "revert" to the non-dev version. You should have the dev and non-dev versions in separate folders, neither can easily be converted to the other.



                        #16 cnv

                        cnv

                          Newbie

                        • Members
                        • Pip
                        • 1 posts

                          Posted 31 May 2014 - 10:16 PM

                          Im getting an error today when i preform any action, "Gearswap: Lua error (runtime) - ...x86)/windower4//addons/gearswap/equip_processing.lua:276: attempt to index field '?' (a nil value)



                          #17 bentzzilla

                          bentzzilla

                            Newbie

                          • Members
                          • Pip
                          • 3 posts

                            Posted 10 June 2014 - 01:35 AM

                            I'm a returning player, and I'm trying out GearSwap for the first time. I'm using War.lua which I got from here:

                             

                            https://github.com/toioiz/gearswap

                             

                            I tested it out without modification. I engaed and un-engaged a monster, and my gear changed as expected. However, when I did it a second time it didn't work, and then after a third time I got this error:

                             

                            GearSwap: Lua error (runtime) - gearswap/flow.lua:316

                            GearSwap has detected an error in the user function status_change:

                            ...sktopWindower4/addons/gearswap/data/Name_War.lua:156 attempt  to index field 'Razorfury' (a nil value)

                             

                             

                            This seemed related to this thread.. Can someone please help me out? Here's the code around 156:

                             

                             

                            if (buffactive['march'] == 2 and buffactive['haste']) or (buffactive['march'] and buffactive['embrava'] and buffactive['haste']) then
                            sets.TP.Razorfury = sets.TP.Razorfury.High
                            else
                            (156) sets.TP.Razorfury = sets.TP.Razorfury.Normal
                            end    
                            sets.TP.DD = sets.TP.Razorfury

                             



                            #18 bentzzilla

                            bentzzilla

                              Newbie

                            • Members
                            • Pip
                            • 3 posts

                              Posted 10 June 2014 - 02:14 AM

                              I got it to work by removing the if statements I posted above, so this is probably a simple syntax issue.



                              #19 Arcon

                              Arcon

                                Advanced Member

                              • Windower Staff
                              • 1189 posts
                              • LocationMunich, Germany

                              Posted 10 June 2014 - 04:50 AM

                              I don't know where the error is there, but that shouldn't work for another reason...



                              #20 bentzzilla

                              bentzzilla

                                Newbie

                              • Members
                              • Pip
                              • 3 posts

                                Posted 11 June 2014 - 12:46 AM

                                What's the other reason? I added the (156) to show where line 156 is.






                                1 user(s) are reading this topic

                                0 members, 1 guests, 0 anonymous users