03.01.2009, 09:52
I have a problem with xini 
after registering, the userfile looks like this:
and when I log in, "Logged" should change to "Yes"... it does, but than this happens:
This only happens when "Logged" changes, and not when something else (like HealthPacks) changes 
I've also tried to use 0 and 1 instead of Yes and No but than it's still the same
Is there something wrong with xini or with my code?
ps there is nothing wrong with "Password" (I just deleted it myself, it works fine)

after registering, the userfile looks like this:
Code:
[Info] Name=[WWG]Fallout Password IP=127.0.0.1 Online=Yes Logged=No [Vars] Money=2000 Score=0 HealthPacks=0 [Weapons] Slot0=0 AmmoSlot0=65535 Slot1=0 AmmoSlot1=0 Slot2=0 AmmoSlot2=0 Slot3=0 AmmoSlot3=0 Slot4=0 AmmoSlot4=0 Slot5=0 AmmoSlot5=0 Slot6=0 AmmoSlot6=0 Slot7=0 AmmoSlot7=0 Slot8=0 AmmoSlot8=0 Slot9=0 AmmoSlot9=0 Slot10=0 AmmoSlot10=0 Slot11=0 AmmoSlot11=0
Code:
[Info] Name=[WWG]Fallout Password IP=127.0.0.1 Online=Yes Logged=Yes[Vars] Money=2000 Score=0 HealthPacks=0 [Weapons] Slot0=0 AmmoSlot0=65535 Slot1=0 AmmoSlot1=0 Slot2=0 AmmoSlot2=0 Slot3=0 AmmoSlot3=0 Slot4=0 AmmoSlot4=0 Slot5=0 AmmoSlot5=0 Slot6=0 AmmoSlot6=0 Slot7=0 AmmoSlot7=0 Slot8=0 AmmoSlot8=0 Slot9=0 AmmoSlot9=0 Slot10=0 AmmoSlot10=0 Slot11=0 AmmoSlot11=0

I've also tried to use 0 and 1 instead of Yes and No but than it's still the same
Is there something wrong with xini or with my code?
ps there is nothing wrong with "Password" (I just deleted it myself, it works fine)