"Attempt to call a string value" (No line)
This error is the bane of my life. x.x
Worst Lua Error, EVER!!! |
||
Worst lua error, EVER!!!
"Attempt to call a string value" (No line)
This error is the bane of my life. x.x This was the error...
Code do_maneuvers = 'when_idle' RTFM
Not helpful, Q. And what are you doing not working?! Go to work woman! lol
And no quippy comebacks about jobs! lol Shiva.Malthar said: » "Attempt to call a string value" (No line) This error is the bane of my life. x.x Posts like this are the bane of ffxiah.com. Oh, I already solved the error. I was missing a comma in a table and used == for an assignment.
What I am complaining about is that the error is so ambiguous it doesn't even give a line number. It could be anything. This error makes me scared of making big edits. Imagine coding for hours then you load up your program then get "Attempt to call a string value..." It makes you want to pull your hair out! That is a legitimate Lua error code - the lack of a line number is what gets you. However, any editor or IDE with syntax checking will flag it.
My Ultra Edit doesn't parse lua, unfortunately. :-\
What do you use, Vow? Vim. :s But there are a lot of others.
http://lua-users.org/wiki/LuaEditorSupport http://lua-users.org/wiki/LuaIntegratedDevelopmentEnvironments Atom has a linter with Lua support, as well. https://atom.io/packages/linter |
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|