Nvault won't save or load
This is my nvault code
PHP Code:
|
Re: Nvault won't save or load
Because parse() is used to parsed parameter-like strings. "1" "2" "3" and not 1#2#3. You tried to fix this but in wrong place:
replace_all(szData, 255, "#", " ") This should be executed before calling parse(), or you should save your data in proper format. |
Re: Nvault won't save or load
Quote:
|
Re: Nvault won't save or load
try formating your szKey OUTSIDE of the for-loop, and initializing Level[], XP[], and Points[] BEFORE you parse into them.
Code:
new Level[32], XP[32], Points[32] // placed here |
Re: Nvault won't save or load
nothing.. :(
|
Re: Nvault won't save or load
Your code is totally wrong, I will fix when I get a minute.
|
Re: Nvault won't save or load
It would be better to provide your constants\vars\enums, since I didn't have these I created dummies.
PHP Code:
|
Re: Nvault won't save or load
PHP Code:
PHP Code:
|
Re: Nvault won't save or load
Quote:
|
Re: Nvault won't save or load
Remove "None" or change MaxRaces to 5 and that will work.
|
| All times are GMT -4. The time now is 00:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.