26.01.2016, 20:50
I'm no expert in INI-parsers, but my guess would be that function is called everytime there is a parameter-entry in the file below the [data] block.
How many times does it run, and how many lines are usually stored in your playerfile?
Wouldn't such a function determine which parameter is read (name), along with it's value (value), so you can take appropriate action?
Try to add this in that function:
And see what it prints.
How many times does it run, and how many lines are usually stored in your playerfile?
Wouldn't such a function determine which parameter is read (name), along with it's value (value), so you can take appropriate action?
Try to add this in that function:
PHP код:
printf("Name = %s", name);
printf("Value = %s", value);