Spells LUA Errors

Old bugs stored here for reference.
Locked
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Spells LUA Errors

Post by John Adams » Mon Feb 01, 2010 12:18 pm

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.
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux

User avatar
Zcoretri
Team Member
Posts: 1642
Joined: Fri Jul 27, 2007 12:55 pm
Location: SoCal

Re: Spells LUA Errors

Post by Zcoretri » Mon Feb 01, 2010 10:22 pm

Have you migrated data to TessEQ2 already?

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

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Spells LUA Errors

Post by John Adams » Tue Feb 02, 2010 6:42 am

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?

User avatar
Zcoretri
Team Member
Posts: 1642
Joined: Fri Jul 27, 2007 12:55 pm
Location: SoCal

Re: Spells LUA Errors

Post by Zcoretri » Tue Feb 02, 2010 7:13 am

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:

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Spells LUA Errors

Post by John Adams » Tue Feb 02, 2010 7:41 am

Not to mention you're probably still recovering from the creepin cruds ;)

:shock:

Locked

Who is online

Users browsing this forum: No registered users and 0 guests