Mote-include Problem

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » Windower » Support » Mote-include problem
Mote-include problem
 Lakshmi.Cherylin
Offline
Server: Lakshmi
Game: FFXI
user: Cherylinn
Posts: 27
By Lakshmi.Cherylin 2016-12-17 17:28:32
Link | Quote | Reply
 
I'm trying to use a BST lua that requires the mote files, which I have downloaded and put into the libs folder. I keep getting an error message that says:
Mote-Include.lua: line 497: attempt to index global 'areas' (a nil value).

Line 497 says:
elseif areas.Cities:contains(world.area) then
idleScope = 'Town'

Doesn't matter if I'm in town or not in town, the BST lua no worky. Sorry if this is your basic dummy question, but does anyone have any suggestions?

Thanks so much.
Administrator
Offline
Posts: 6510
By Rooks 2016-12-17 17:41:49
Link | Quote | Reply
 
areas is defined in Mote-Mappings. Is that in the lib folder?
 Lakshmi.Cherylin
Offline
Server: Lakshmi
Game: FFXI
user: Cherylinn
Posts: 27
By Lakshmi.Cherylin 2016-12-17 17:53:51
Link | Quote | Reply
 
The short answer is, yes.

Files in the libs folder are:
Modes.lua
Mote-documentation.txt
Mote-Global.lua
Mote-Include.lua
Mote-Mappings.lua
Mote-SelfCommands.lua
Mote-TreasureHunter.lua
Mote-Utility.lua
organizer-lib.lua

Don't think I downloaded all of that today, but I've spent about 4 hours on it so who knows at this point. Thanks for trying to help.

EDIT: There is also a folder called rev1...which seems to duplicates of some of those files in it, for some reason.
Administrator
Offline
Posts: 6510
By Rooks 2016-12-17 18:05:57
Link | Quote | Reply
 
Well, that's sort of weird.

As for rev1, it's just a previous version of the Mote files, and nothing you should need to worry about. If you pastebin or mail me your file I can have a deeper look.
 
Offline
Posts:
By 2016-12-17 19:03:50
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Lakshmi.Cherylin
Offline
Server: Lakshmi
Game: FFXI
user: Cherylinn
Posts: 27
By Lakshmi.Cherylin 2016-12-17 19:44:32
Link | Quote | Reply
 
That makes sense, Eslim...I'd have to figure out just how to do that, but thanks!

Hopefully the pastebin works:
http://pastebin.com/j9ka0ueg

Learning too many new things at once. :)

Again, thanks so much for any help. (PS: Just starting to work on the gear, so don't judge!!)
 
Offline
Posts:
By 2016-12-17 19:46:54
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
[+]
 
Offline
Posts:
By 2016-12-17 19:52:13
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Lakshmi.Cherylin
Offline
Server: Lakshmi
Game: FFXI
user: Cherylinn
Posts: 27
By Lakshmi.Cherylin 2016-12-17 20:04:51
Link | Quote | Reply
 
OK, I added the town gear but it still is giving me the same error message. The error starts out: "Gearswap has detected an error in the user function status_change." Then gives the location of the file and "Mote-Include.lua: line 497: attempt to index global 'areas' (a nil value)."

I didn't know if the first part of the message changed anything. Probably not.

Anyway, thanks again for trying!
And thanks, Josiah, for the words of encouragement.
Administrator
Offline
Posts: 6510
By Rooks 2016-12-17 21:20:25
Link | Quote | Reply
 
Lakshmi.Cherylin said: »
OK, I added the town gear but it still is giving me the same error message. The error starts out: "Gearswap has detected an error in the user function status_change." Then gives the location of the file and "Mote-Include.lua: line 497: attempt to index global 'areas' (a nil value)."

I didn't know if the first part of the message changed anything. Probably not.

Anyway, thanks again for trying!
And thanks, Josiah, for the words of encouragement.

Sounds a little silly, but can we see your Mote-Mappings and Mote-Include files?
 Lakshmi.Cherylin
Offline
Server: Lakshmi
Game: FFXI
user: Cherylinn
Posts: 27
By Lakshmi.Cherylin 2016-12-17 22:05:46
Link | Quote | Reply
 
Wow...well, you figured part of it out! The part with the error message! When I opened the mappings file to copy it to pastebin, it was actually a BST lua. So. I took the mappings file from the rev1 folder, slid it down into the main libs folder, and voila! No more error message. Gearswap loaded successfully, and your Cherylin_BST.lua loaded successfully.

Unfortunately, even without an error message, now no gear is swapping at all. I've unloaded and reloaded gearswap and double checked the BST lua.

Six hour into it now...I miss spellcast a lot.

In case you want to see the files as they are now:

Mote-include:
http://pastebin.com/pPDZ1x94

Mote-mappings:
http://pastebin.com/JdGXEnjg

And once again, thanks.
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 10481
By Ramuh.Austar 2016-12-17 23:00:39
Link | Quote | Reply
 
Gearswap won't show in log if you're swapping gear. Turn on debug mode and you'll see if it is or not.
 Lakshmi.Cherylin
Offline
Server: Lakshmi
Game: FFXI
user: Cherylinn
Posts: 27
By Lakshmi.Cherylin 2016-12-17 23:18:15
Link | Quote | Reply
 
Thank you all so much for your help and kindness.

Rooks actually figured it out (even though it still doesn't make sense to me), and it is working now! Took me all day; took him 20 minutes.

Anyway, can't tell you how much I appreciate your advice.
Offline
Posts: 7
By Minifas 2016-12-24 06:51:42
Link | Quote | Reply
 
i have the same issue how do I fix this please
Log in to post.