Thread: [INC] SQLVault
View Single Post
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 07-24-2012 , 13:44   Re: [INC] SQLVault
Reply With Quote #112

Player names dont show , It only shows when a player changes his name.
PHP Code:
new eTopDataMAX_TOP ][ SQLVaultEntryEx ]; 
^Gives stack error

Quote:
Originally Posted by Exolent[jNr] View Post
That is a very large variable. If you see the enum in the include file, the struct for vault entries contains large arrays.

To fix this, make the variable static so it isn't created and destroyed each time, thus always staying in the stack and not causing errors when out of memory.
EpicMonkey is offline