• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Odd Error

♠Spade♠

Enthusiast
So after just playing around on localhost with a few friends and such, this is a recent version, compiled last week.

It appears when 2 people log out at the same time, it crashes.




This is the error:

nizeG98.jpg




It also gives

Code:
PANIC: unprotected error in call to Lua API (bad argument #-1 (Player expected, got userdata))



No, I do not have any Lua scripts that have anything to do with Logouts. Any help would be appreciated!
 
Last edited:

Foereaper

Founder
Please provide a crash log, would also be appreciated if you could isolate what script is causing it and submit that as well
 

♠Spade♠

Enthusiast
Please provide a crash log, would also be appreciated if you could isolate what script is causing it and submit that as well

As I said on the main post. There is no script that effects logout, so I have no clue what's causing it. I don't have a crash log, but next time it crashes I'll be sure to try and get one.
 

yvoms

Exalted Member
Does this only happen when 2 players log out at the same time, Because to me it looks like it received playerdata instead of a creature.
So like.. its saving data to the wrong table or something.
Ill wait for the error, so i can see whats happening :)
 

♠Spade♠

Enthusiast
Does this only happen when 2 players log out at the same time, Because to me it looks like it received playerdata instead of a creature.
So like.. its saving data to the wrong table or something.
Ill wait for the error, so i can see whats happening :)

Not always. But the majority of the time it has to do with logging out. We're trying to get it to crash now, but it's not wanting to. :p
 

♠Spade♠

Enthusiast
Logging back into the character that caused the crash ended up causing a crash again.


iaI2rIb.jpg



Unfortunately I haven't had the time to compile in Debug mode, so that's all I can provide at the moment.
 

Tommy

Founder
♠Spade♠;29680 said:
No, I do not have any Lua scripts that have anything to do with Logouts. Any help would be appreciated!

Any custom C++ scripts associated with logging in or out, or custom modifications? Have you tried to update since last week to see if this error doesn't exist on a very recent commit?
 
Top