• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Thread stack overrun:

Sun

Knowledge is power - France is bacon
Joined
Jan 26, 2015
Messages
333
Solutions
22
Reaction score
244
I couldn't think of a better place to post this thread since this will probably be mostly searched for here in the support section.

There's a simple thing I advice everyone(at least the ones using uniform server) to do, since it can, and probably will, save you from headaches later.

locate UniServerZ->core->mysql->my.ini

and change "thread_stack = 128K" to 190K

if you get an error while creating a character such as:

Error occured!
Error ID: Cannot save ItemsList. Player ID not set.

or
MYSQL ERROR: Thread stack overrun:
Use 'mysqld --thread_stack=#' to specify a bigger stack.


This should fix it, and probably any other mysql queries that return errors because they exceed the thread stack limit.

Cheers! :D
 
Last edited:
Uniformserver XIII

Top menu > Mysql > Edit config file my.ini
should open in notepad. I set the following
thread_stack = 256K

Note you can not edit this while mysql is running and you need to just stop it before this option will be enabled.

Cheers
 
Back
Top