Y_INI doesn't save the stats anymore
#1

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 ;_;
Reply
#2

Can u see all variable names in ini file ? And ur problem is : it is not updating variable values ? M i right ?
Reply
#3

Quote:
Originally Posted by PrinceKumar
Посмотреть сообщение
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.
Reply
#4

edit:
k
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)