Try using the new code I just updated in the initial post (wich I have personally tested, and are using ;).
My guess is that the problem is due to $return now handling strings as well.
So when the key asks for key 1, it wont find it cause in the ini file its added as 1.00. Or its the other way around, I cant remember :p
When the script was originally made $return only handled integers.
Basically all that has been changed from the original version to the current version, is the added $ini() around all places where it is writing or reading to or from the ini file.
You could try and paste a line from the ini file here on the thred, should say something like:
Code: Select all
[color=red]1[/color]=- 0008781-00001-00001-00001-00001-0000135081543Twisted Twig Charm -
The important part is that the key (what I highlighted with red) MUST be an integer (a whole number, ie "1" and not "1.00").
Anyway, I'm writing too much babble right now, time for bed ;)