06.05.2011, 15:50
(
Last edited by Phanto90; 06/05/2011 at 04:36 PM.
)
Nice. Yesterday i tried to make a registration system for a simple gamemode.
Writing and reading actually works good.
The problem is when updating an existing file. I thought function ad INI_WriteInt would update (or if not existing add) a voice to a existing ini but when I do it it create a new voice. Where I'm wrong?
Quickly:
Player register -> Creating the file
Player login -> Reading the file (tested both and working)
Player disconnect -> Updating the file (Creating new voices)
Edit: Resolved, I forgot that I used TAG in registration and on update I don't mind it and saved without specifying TAGs. However nice tutorial
Writing and reading actually works good.
The problem is when updating an existing file. I thought function ad INI_WriteInt would update (or if not existing add) a voice to a existing ini but when I do it it create a new voice. Where I'm wrong?
Quickly:
Player register -> Creating the file
Player login -> Reading the file (tested both and working)
Player disconnect -> Updating the file (Creating new voices)
Edit: Resolved, I forgot that I used TAG in registration and on update I don't mind it and saved without specifying TAGs. However nice tutorial