Page 1 of 1

Spells LUA Errors

Posted: Mon Feb 01, 2010 12:18 pm
by John Adams
Here's something that needs to just get fixed, hopefully not by hiding the output messages ;)

I saw a player login, do some stuff, and log out with no issues. But the next player in caused this error to start looping, one repetition every second, until the zone finally shut down 5 minutes after they logged off.

Code: Select all

[20100201 11:46:22] [Error] Error LUA spell ''
[20100201 11:46:22] [Error] Error LUA spell '.lua'
.
.
.
[20100201 11:55:33] [Error] Error LUA spell ''
[20100201 11:55:33] [Error] Error LUA spell '.lua'
I doubt it's hurting anything, but I'd really like to see all these issues with Spells, LUA, scripting and whatever, resolved before we start something new. All NPC Spells have been removed, so this is not caused by an NPC trying to cast a spell. I am not sure what GetSpell() function does, but maybe it's the newly created player receiving their spells for their level, and one just does not yet have a LUA script assigned (guessing).

From an old request of mine - that i thought we implemented a year ago - I'd like to NOT give players spells that are incomplete or not working (is_active flag). Whatever I have to do to get this to happen, let me know.

TIA



edit: it appears to be every spell cast(ed)!! by the player. I'm watching a guardian right now just trying to Provoke, Overpower, and Shield Bash. None of the scripts or data look bad, so no idea what's going on.

Re: Spells LUA Errors

Posted: Mon Feb 01, 2010 10:22 pm
by Zcoretri
Have you migrated data to TessEQ2 already?

If so, spells scripts are not really ready for prime time yet :mrgreen:

Re: Spells LUA Errors

Posted: Tue Feb 02, 2010 6:42 am
by John Adams
Zcoretri wrote:Have you migrated data to TessEQ2 already?

If so, spells scripts are not really ready for prime time yet :mrgreen:
Yes, Tess has the latest data as of Sunday. Did you read the bug? Or just the title? :P

This cannot possibly be mis-interpreted as bad scripting -

Code: Select all

    [20100201 11:46:22] [Error] Error LUA spell ''
    [20100201 11:46:22] [Error] Error LUA spell '.lua'
    .
    .
    .
    [20100201 11:55:33] [Error] Error LUA spell ''
    [20100201 11:55:33] [Error] Error LUA spell '.lua'
The name is missing, plain and simple.

So this bug is not about your leet data entry skillz; it's about World apparently not loading '' or '.lua' properly since the change. Obviously something is missing, because the spell has lua_script data, yet world is not parsing the path properly. These also used to "work" (specifically meaning the server could FIND the script and load it, not that the spell functioned 100%) before we implemented the new storage method.

That more clear?

Re: Spells LUA Errors

Posted: Tue Feb 02, 2010 7:13 am
by Zcoretri
Oh yeah, more clear :D , did not 2+2 together that it was an empty string.

Doing a lot of overtime is good and bad. You get a nice paycheck, but your mind gets a wee bit overloaded :shock:

Re: Spells LUA Errors

Posted: Tue Feb 02, 2010 7:41 am
by John Adams
Not to mention you're probably still recovering from the creepin cruds ;)

:shock: