Working on Trady, related questions
#8
Storing: hashtable during runtime + file for long-term storage.
Transactions: really simple, increase one value in hashtable, decrease another.
Sending money: I haven't decided yet. I would like to make two options: barter economy and money economy. With barter you trade some items (by default - gold nuggets), with money you trade, you know, money Smile In "barter" way you just drop nuggets to another player
Real money trading (aka "donations"): No. The simpliest way I could imagine it would requie a php script that will take real money payments and will store them in "to process" file, and then plugin will hooks to that file and proceed payments. And I'm not interested in web scripting Smile Besides, taking payments isn't what I would call "easy deal".

As for integrated "money"... Wouldn't it be wiser to have an option on shared plugins data? So we could make even more crazy stuff. This has been discussed several times, but still no implementation.
Why it can't be safe through plugin? Smile I bet it can. Chances that server will accudently shut down in between "take money from A" and "give money to B" are same for plugin code and for source code. Besides, in both cases it will lead only to aborting operation (remember, server have had no time to save data about new player A balance).
The only way I could imagine plugin implementation of money to be unsecure is the case when hacker has a root access to server's FS. And that's a doomsday anyway, so why bother?
Reply
Thanks given by:


Messages In This Thread
RE: Working on Trady, related questions - by xoft - 09-14-2012, 11:00 PM
RE: Working on Trady, related questions - by xoft - 09-24-2012, 05:35 AM
RE: Working on Trady, related questions - by Taugeshtu - 09-24-2012, 07:22 AM
RE: Working on Trady, related questions - by xoft - 09-24-2012, 07:32 AM
RE: Working on Trady, related questions - by xoft - 11-08-2012, 07:09 PM



Users browsing this thread: 2 Guest(s)