02.07.2014, 10:33
(
Last edited by Awide; 02/07/2014 at 05:53 PM.
)
In my script the players are able to save up to five characters on the user account. When they spawn with their selected character Y_INI should load their values. The strings load well but my integers aren't.
Here's an example, printing a few values (Sorry for my native language): http://i.imgur.com/gJDTH9S.png
It's really weird because I didn't change much in the code since it's working well at the login part, it perfectly parses the user's file.
So the problem is, the program loads all the strings but it doesn't load the integers.
I probably missed something in Y_Less's parsefile tutorial really badly... Can you give me a helping hand?
Edit: Code: http://pastebin.com/DMLZFpsZ
Here's an example, printing a few values (Sorry for my native language): http://i.imgur.com/gJDTH9S.png
It's really weird because I didn't change much in the code since it's working well at the login part, it perfectly parses the user's file.
So the problem is, the program loads all the strings but it doesn't load the integers.
I probably missed something in Y_Less's parsefile tutorial really badly... Can you give me a helping hand?
Edit: Code: http://pastebin.com/DMLZFpsZ