Mysql save wrong variables - mixing pSpawn and pSkin
#18

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
So.. We have never to do SavePlayerStats(playerid) for example? On my filterscript, I'm doing it only when I unload it. I need it at least one time or I'm doing it wrong?
Said with easier words; when you change something as it updates - lets say someone gives a player $1000 - Instead of just saving this into his variables, you update the database straight away.

If you update the database frequently, whenever (mostly) when something changes, you avoid the server being overloaded by saving EVERYTHING once in a while. It's way more demanding and issues may occur. This is also referred to as Load Balancing. Wikipedia page here.

So - it's highly recommended
Reply


Messages In This Thread
Mysql save wrong variables - mixing pSpawn and pSkin - by Saddin - 14.05.2017, 13:08
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Abagail - 14.05.2017, 13:15
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Saddin - 14.05.2017, 13:17
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Saddin - 14.05.2017, 16:47
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Vince - 14.05.2017, 16:59
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Saddin - 14.05.2017, 17:12
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by coool - 14.05.2017, 17:16
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Dayrion - 14.05.2017, 18:29
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by GoldenLion - 14.05.2017, 18:53
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Saddin - 14.05.2017, 19:22
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by GoldenLion - 14.05.2017, 19:33
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Saddin - 14.05.2017, 19:55
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by GoldenLion - 14.05.2017, 20:03
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Saddin - 14.05.2017, 20:09
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Dayrion - 14.05.2017, 23:00
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by GoldenLion - 15.05.2017, 05:34
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Gammix - 15.05.2017, 06:36
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Tord - 15.05.2017, 10:17
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by coool - 15.05.2017, 10:25
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Tord - 15.05.2017, 10:30
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Logic_ - 15.05.2017, 10:33
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by GoldenLion - 15.05.2017, 11:41
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Gammix - 15.05.2017, 15:05
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Dayrion - 15.05.2017, 15:37
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Tord - 15.05.2017, 15:45
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Saddin - 15.05.2017, 22:01
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Tord - 16.05.2017, 00:20
Re: Mysql save wrong variables - mixing pSpawn and pSkin - by Saddin - 16.05.2017, 09:45

Forum Jump:


Users browsing this thread: 2 Guest(s)