Giving money with mysql query has no effect
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
mysql_tquery needs a callback to call the cache functions there otherwise using it directly will results in warnings for no active cache.

I can't understand the purpose of your code though. Why don't you simply give the money once when the login?

@F1N4L: You should store the cache result id and at the end to delete it to avoid memory leaks. Non-threaded queries are not very recommended either.
Well, I want a live update on my server. So if the money gets updated from an external way (from a website by example) it should automatically change ingame as well. Don't want the player to have to logout first.
Reply


Messages In This Thread
Giving money with mysql query has no effect - by bartje01 - 13.06.2016, 13:15
Re: Giving money with mysql query has no effect - by F1N4L - 13.06.2016, 13:18
Re: Giving money with mysql query has no effect - by bartje01 - 13.06.2016, 13:23
Re: Giving money with mysql query has no effect - by Konstantinos - 13.06.2016, 13:28
Re: Giving money with mysql query has no effect - by F1N4L - 13.06.2016, 13:32
Re: Giving money with mysql query has no effect - by Konstantinos - 13.06.2016, 13:36
Re: Giving money with mysql query has no effect - by bartje01 - 13.06.2016, 13:36

Forum Jump:


Users browsing this thread: 1 Guest(s)