Request/help call it w/e u want :P

10/24/2008 01:04 BlooD-BoY#1
umm hey guys, its me again lolz...so my question now is umm lets say...i got an int..i got it working a all, but the prob. is when i enter the game it starts to count right? it goes down....but when i dc and relog its still the same and it doesn't update it in "MySQL" umm and ideas why? thx =)
10/24/2008 01:08 tao4229#2
Send a query to teh database.
10/24/2008 01:09 BlooD-BoY#3
Quote:
Originally Posted by tao4229 View Post
Send a query to teh database.
the prob. is that it actually sends...O.O but doesnt update it O.O
10/24/2008 01:10 tao4229#4
Quote:
Originally Posted by BlooD-BoY View Post
the prob. is that it actually sends...O.O but doesnt update it O.O
Are you also reading the value when the character logs in?
10/24/2008 01:12 BlooD-BoY#5
Quote:
Originally Posted by tao4229 View Post
Are you also reading the value when the character logs in?
yeah it does, the prob. is that it doesn't change in MySQL it always stays the same even thought in the game it goes down O.O
10/24/2008 01:13 tao4229#6
You have to update mysql every time it changes, or just when you log off, to save the value. I'm no MySQL expert either, the source I'm working with (right now, as I said before, my LOTF-base is in Imitation's hands right now) is using .INI's.
10/24/2008 01:27 BlooD-BoY#7
Quote:
Originally Posted by tao4229 View Post
You have to update mysql every time it changes, or just when you log off, to save the value. I'm no MySQL expert either, the source I'm working with (right now, as I said before, my LOTF-base is in Imitation's hands right now) is using .INI's.
lolz kk, nvm i got it fixed thx for trying to help me =) it was a dumb problem just had to make a timer XD