MySQL auto update or something.
#1

Hello.

I'm currently scripting a roleplay gamemode with SQL.
On my website you can for example buy or sell vehicles.
But the problem is that you should be out of game when you login at the website.
Because if I take $1000 away from a user on the website, and he is at that moment ingame, then when he logs off the money will be overwriten.

So I'm asking is there something to send a message to the server that his money has been go up or down?
And yea I can use a timer that checks every second if the user data has been changed, but that will fuckup my server traffic.
So maybe somebody know another way?

Greets KaleOtter
Reply


Messages In This Thread
MySQL auto update or something. - by KaleOtter - 17.05.2011, 16:41
Re: MySQL auto update or something. - by iGamer - 17.05.2011, 16:43
Re: MySQL auto update or something. - by KaleOtter - 17.05.2011, 16:46
Re: MySQL auto update or something. - by Raimis_R - 17.05.2011, 17:00
Re: MySQL auto update or something. - by KaleOtter - 17.05.2011, 18:47
Re: MySQL auto update or something. - by __ - 17.05.2011, 19:35
Re: MySQL auto update or something. - by KaleOtter - 18.05.2011, 10:16
Re: MySQL auto update or something. - by KaleOtter - 18.05.2011, 10:39
Re: MySQL auto update or something. - by __ - 18.05.2011, 12:49

Forum Jump:


Users browsing this thread: 2 Guest(s)