PDA

View Full Version : Y_INI doesn't save the stats anymore


Kyance
22/04/2014, 08:56 AM
Solved!

( I'm guessing ).. The problem was at the registration dialog, turns out i needed to add rest of the player info ( enums/variables ) there too ;_;

PrinceKumar
22/04/2014, 09:39 AM
Can u see all variable names in ini file ? And ur problem is : it is not updating variable values ? M i right ?

Kyance
22/04/2014, 09:46 AM
Can u see all variable names in ini file ? And ur problem is : it is not updating variable values ? M i right ?

1) Eh..
You mean these?
/Users/NewAccount.ini stats;

[data]
Password = 432866421
Cash = 0 This should be "15000$", due to an achievement
Admin = 0
Kills = 0
Deaths = 0
Score = 0 This should be "10", due to an achievement
Muted = 0
VIP = 0
Reward = 0
TempAdmin = 0
IP = 127.0.0.1
LoggedIn = 0
PilotLicense = 0
ValidAcc = 0 This should be "1"
TimesConnected = 0 This should be "1"
Minutes = 0
Hours = 0

Users/Achievements/NewAccount.ini;

FirstSpawn = 0 This should be "1"
GettingAddicted = 0
WastingTime = 0
Addicted = 0
CantStop = 0
ProSniper = 0
Promoted = 0
EpicMedic = 0
EpicSupporter = 0
Reporter = 0
BanHammer = 0

2) It only saves the password, nothing else gets saved..

-------------

Fixed.
I guess the problem was at the "case DIALOG_REGISTER", i added other information there, and now it works.
Well, thanks anyways i guess.

PrinceKumar
22/04/2014, 09:59 AM
edit:
k