• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows PHP mySQL updating playstorage from gesior aac

Kyran

Member
Joined
Jan 17, 2009
Messages
68
Reaction score
5
Hello everyone.

I've made an offline trading system for players on my ot. The thing is basically:
You 'give' the item to a NPC
The NPC update the database with the new item
Other players can now buy the item from my website
Money is taken from their bank account and the seller recieve the money

And here is my problem. When players buy the item the PHP script is told to access the db and change the playerstorage for the bank account. This works if players are offline. However, if players are online the playerstorage key wont update.

I could of course change the bank db from playerstorage to another part of the db, but that would meen alot of extra work for me.

I am a total newb when it comes to PHP scripting, so I'm hoping someone else with a bit more knowledge could help me out.

I'm using TFS 028 if it matters
 
Back
Top