Why Is Res Nil?

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » FFXI » General » Why is res nil?
Why is res nil?
 Shiva.Malthar
Offline
Server: Shiva
Game: FFXI
user: Malthar
Posts: 516
By Shiva.Malthar 2017-11-26 09:41:24
Link | Quote | Reply
 
Cair,

Help me out here. Why is res a boolean?

I have a file with just this:

require('luau')
windower.add_to_chat(5, "type res " .. type(res))

But res is type boolean and not table. It works in other files but not this one. What gives?

Wait... I think I know. Son-of-a-***! I have a file named resources.lua in the add directory.

Ok, nevermind. lol

Why even make this post? Well, I started with a problem but I figured out the problem before finishing the post. lol

File this one just in case someone else has the same problem.
[+]
 Fenrir.Ramzus
Offline
Server: Fenrir
Game: FFXI
user: Venomfury
Posts: 1387
By Fenrir.Ramzus 2017-11-26 13:19:41
Link | Quote | Reply
 
bst can't use resolution
[+]
 Asura.Cair
VIP
Offline
Server: Asura
Game: FFXI
user: Minjo
Posts: 246
By Asura.Cair 2017-11-26 13:21:36
Link | Quote | Reply
 
A "var = require('file')" being boolean indicates that the file does not return anything but the require ran successfully.
 Leviathan.Kaparu
Offline
Server: Leviathan
Game: FFXI
user: Tsuko
Posts: 949
By Leviathan.Kaparu 2017-11-26 13:22:03
Link | Quote | Reply
 
did you try unplugging and restarting your malthar
[+]
 Asura.Zanosan
Offline
Server: Asura
Game: FFXI
user: Kutsurabi
Posts: 111
By Asura.Zanosan 2017-11-26 13:24:16
Link | Quote | Reply
 
Res is actually physical with Fragmentation and Scission skillchain elements, not a boolean. The only boolean thing about it would be to check for Lionheart or not, which would give it Light element if true.
[+]
 Shiva.Malthar
Offline
Server: Shiva
Game: FFXI
user: Malthar
Posts: 516
By Shiva.Malthar 2017-11-26 19:55:24
Link | Quote | Reply
 
You guys are silly.
Log in to post.