24.06.2012, 09:54
Hi everyone,
I am not sure what this has to do with, but maybe someone else knows...
So, let me try to explain the problem.
Example:
The player has to enter a description about himself while registering.
This is saved in the MYSQL database.
In the MYSQL database you now see: Description: I am testing
So now, the player disconnects, and everything is saved fine.
Now the player logs back in, and the string gets loaded into: PIno[playerid][PDesc]
This is also going fine.
Now, the player disconnects again, but now this is saved in the database: am testing.
It seems that the first letter has dissapeared.
Everytime the player joins and leaves, the string loses one letter.
Anyone ever seen this problem?
((String sizes shouldn't be the matter, since i increased them to a very high ammount))
I am not sure what this has to do with, but maybe someone else knows...
So, let me try to explain the problem.
Example:
The player has to enter a description about himself while registering.
This is saved in the MYSQL database.
In the MYSQL database you now see: Description: I am testing
So now, the player disconnects, and everything is saved fine.
Now the player logs back in, and the string gets loaded into: PIno[playerid][PDesc]
This is also going fine.
Now, the player disconnects again, but now this is saved in the database: am testing.
It seems that the first letter has dissapeared.
Everytime the player joins and leaves, the string loses one letter.
Anyone ever seen this problem?
((String sizes shouldn't be the matter, since i increased them to a very high ammount))