RDM Gearswap Error

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » Windower » Support » RDM Gearswap Error
RDM Gearswap Error
 Shiva.Silversean
Offline
Serveur: Shiva
Game: FFXI
Posts: 14
By Shiva.Silversean 2015-03-26 19:38:28
Link | Citer | R
 
First time using Gearswap, I saved my file as Silversean_RDM.lua and placed it in the data folder under gearswap. I load it and get the following error GearSwap: Lua runtime error: gearswap/equip_processing.lua:258: attempt to index field '?' (a nil value.

Paste of my Gearswap code: http://pastebin.com/K5F6witF
 Odin.Quixacotl
Offline
Serveur: Odin
Game: FFXI
user: Quixacotl
Posts: 170
By Odin.Quixacotl 2015-03-27 01:39:03
Link | Citer | R
 
There's nothing wrong with your lua as far as I can tell.

Did you also download Kinematics include files and paste them into the data folder as well? There are 7 .lua library-files you need for it to work.

The update broke GS and it's since been fixed around the time you posted this. It should be working now if you didn't catch the updates.
 Valefor.Caivian
Offline
Serveur: Valefor
Game: FFXI
user: Caivian
Posts: 21
By Valefor.Caivian 2015-03-27 02:32:08
Link | Citer | R
 
This was an error earlier in the day caused by the game update. After running windower again and letting it update some files, it should be fixed.
 Asura.Celoria
Offline
Serveur: Asura
Game: FFXI
user: celoria
Posts: 224
By Asura.Celoria 2015-03-27 02:41:15
Link | Citer | R
 
Instead of posting a new thread, can someone explain to me in full retard how to update gearswap, I have read some of the guides, but I am just not getting it
 Odin.Quixacotl
Offline
Serveur: Odin
Game: FFXI
user: Quixacotl
Posts: 170
By Odin.Quixacotl 2015-03-27 02:51:21
Link | Citer | R
 
Asura.Celoria said: »
Instead of posting a new thread, can someone explain to me in full retard how to update gearswap, I have read some of the guides, but I am just not getting it
1. Close Windower.
2. Open Windower and watch the download bars flash from left to right. Those are the updates.

Edit: If you don't see any download bars then don't panic. It just means your Windower is up to date.
 Asura.Celoria
Offline
Serveur: Asura
Game: FFXI
user: celoria
Posts: 224
By Asura.Celoria 2015-03-27 03:17:37
Link | Citer | R
 
No I mean my something or another when I load the files in the game are out of date

edit:

Job flie is out of date. Please update to the latest repository baseline.
Then sends me to kinematics website, which I tried following but ended up nowhere.
 Odin.Quixacotl
Offline
Serveur: Odin
Game: FFXI
user: Quixacotl
Posts: 170
By Odin.Quixacotl 2015-03-27 13:41:01
Link | Citer | R
 
This means your JOB.lua is incompatible with your includes files. Kinematics revamped his entire system to version 2. In layman's terms, he took an electric golfcart and put in a Corvette engine. So now you need to manually update your own files.

Step 1: Download the new version 2 includes-files here and paste them into the data folder. There are 7 .lua files and you need them all for it to work.

Step 2: Then you need to copy a new JOB.lua file here and paste it with the rest of the files. At this point your JOB.lua is compatible with your includes files.

Step 3: Finally you need to add-in your own gear. Fortunately you don't need to edit-in every single piece of gear which could take you days to do. Just copy everything within "function init_gear_sets()" from your old file and paste that into the new JOB.lua and you're done.

Again, Copy everything between these lines and paste it into the new file without butchering the rules.
Code
-- Define sets and vars used by this job file.
function init_gear_sets()
    sets.whatever = {}
end

A more technical explanation of the changes and how to update can be found on this page.
 Asura.Celoria
Offline
Serveur: Asura
Game: FFXI
user: celoria
Posts: 224
By Asura.Celoria 2015-03-27 14:03:19
Link | Citer | R
 
Das ist wunderbar danke!
 Shiva.Silversean
Offline
Serveur: Shiva
Game: FFXI
Posts: 14
By Shiva.Silversean 2015-03-28 18:50:18
Link | Citer | R
 
I have:

1. Put the 7 other files in the data folder
2. Updated the files in the lib folder
3. Closed Windower, relaunched, no update
4. Uninstalled Gearswap, reinstalled, relaunched, no update
5. Tested code online, it works
6. Talked to a friend who writes code and he walked me through troubleshooting for hours, he didn't know why it wasn't working.
7. Tried a different job file, didn't work.


I've pretty much done everything possible.
 Odin.Quixacotl
Offline
Serveur: Odin
Game: FFXI
user: Quixacotl
Posts: 170
By Odin.Quixacotl 2015-03-29 14:48:42
Link | Citer | R
 
I'm curious as to why you un-installed Gearswap after you pasted the 7 includes-files in the data folder. You may have deleted them.

Step 2, There is no folder named lib. I'm hoping you meant the data folder.

You should have at least 1 folder and 8 luas in your GearSwap/data folder: An export folder, those 7 includes files from here and a file named Silversean_RDM.lua based on this lua.
 Shiva.Silversean
Offline
Serveur: Shiva
Game: FFXI
Posts: 14
By Shiva.Silversean 2015-04-01 20:55:44
Link | Citer | R
 
I have Gearswap working, except for RDM Empyrean. It won't swap it, if I attempt an action (casting, idling too long, etc.) wearing Empyrean reforged I get an error. //gs export won't work and provides me with an error.

Let me be clear of all that I have done to rectify this:
1. Delete GS
2. Reinstall GS
3. Update GS
4. Update Windower
5. Use the updated RDM file
6. Use the updated 7 necessary files
7. Ran my lua code through a code-tester, no problems
8. You all and a friend who writes his own code looked at it, no problems.
9. Downloaded another copy of Kinematics RDM, used it, nothing
10. Named it Silversean_RDM.lua, Silversean_RDM.all files types, nothing.
11. Tried //gs export to see how GS recognized the gear, error
12. Examined the line of code that the error provided, nothing.
13. Asked both Linkshells who on Vent walked me through troubleshooting, nothing.
14. Manually, from my main inventory equipped Empyrean and tried //gs export, error
15. Manually, from wardrobe equipped Empyrean, error
16. Unloaded all addons/plugins, reloaded GS, error.
17. Made sure other plugins weren't eating my Windower memory and retried, error
18. Used "Lethargy" and "Leth." as it appears on some pieces in the menu of XI, same error.
19. Double, Triple, Quadruple checked every line of code making sure everything was spelled correctly, had quotations, and ending brackets, reloaded GS, error.
20. Tried running GS on Windows through Parallels, error
21. Tried running GS on Windows through Bootcamp, error.
22. Asked LS members and they have had no problems with Empyrean and GS.



I don't even want to kill myself.
 Shiva.Silversean
Offline
Serveur: Shiva
Game: FFXI
Posts: 14
By Shiva.Silversean 2015-04-01 21:15:27
Link | Citer | R
 
My plugins in Windower


My Gearswap Folder

GearSwap/data

GearSwap/data/rev1


I thought I'd post this because maybe I have my folders and files mixed up.
 Shiva.Silversean
Offline
Serveur: Shiva
Game: FFXI
Posts: 14
By Shiva.Silversean 2015-04-01 21:36:15
Link | Citer | R
 
Update: A LS member told me that it is a problem within GearSwap. Apparently, GearSwap doesn't recognize Lethargy gear as being gear and/or the IDs are messed up. So it's a problem for everyone using Lethargy gear.

Thanks for your suggestions and help though.
 Lakshmi.Byrth
VIP
Offline
Serveur: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2015-04-01 21:43:35
Link | Citer | R
 
No, it's actually a problem with windower launcher failing to download updated resources for you. If you use this file to replace ../windower/res/items.lua then gearswap will work with your lethargy gear:
https://www.dropbox.com/s/6418of6s5zbcllv/items.lua?dl=0
 Odin.Quixacotl
Offline
Serveur: Odin
Game: FFXI
user: Quixacotl
Posts: 170
By Odin.Quixacotl 2015-04-01 21:45:00
Link | Citer | R
 
Odin.Quixacotl said: »
You should have at least 1 folder and 8 luas in your GearSwap/data folder: An export folder, those 7 includes files from here and a file named Silversean_RDM.lua
Rename the file, Silversean_RDM to Silversean_RDM.lua

You're Welcome.

Edit: Oops nvm I see that you have an issue downloading res updates.
 Shiva.Silversean
Offline
Serveur: Shiva
Game: FFXI
Posts: 14
By Shiva.Silversean 2015-04-01 22:27:01
Link | Citer | R
 
Yeah I tried Silversean_RDM.lua and that didn't work with any gear so I was told to save it as all types and it appears as Silversean_RDM (without a file type) and that worked except for Lethargy.
 Shiva.Silversean
Offline
Serveur: Shiva
Game: FFXI
Posts: 14
By Shiva.Silversean 2015-04-01 22:47:31
Link | Citer | R
 
Well.

It works perfectly now, there are some minor hiccups gear wise, but I think I just need to double-check the gear I have in my code.

Thank you so much, everyone!!