This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I was thinking, currently the plugin allows you to choose if you want to base the player's funds off of a database or just have the database as a backup of what is changed in game. Shouldn't there be an option where it does both?
It will make no sense.
Example with your option:
OR
@wruczek: Go
I apologize for not being clearer. What I mean is if the player is offline and were to have their database money amount changed but then logged onto the server with the plugin installed and did business (say, bought an apple for $10 in-game currency), and went offline the next time they came online it would be as if they never bought that apple and their account would not be down $10 in-game currency if they used the UPDATE_PLAYER_BALANCE option. If they used the UPDATE_DATABASE option the cost of the apple would be deducted from their in game account however the change they made (probably through a web form on the internet for the sake of argument) to their in-game currency funds would not be reflected. I am suggesting that a system where they could both edit the database and have it reflected in game as well as play in-game, have their amount changed, and have it stored in the database for the next time they log in. As I stated before, basically combining the functions of the current two options.
If you need another scenario to point out the relevance of my idea:
Say a player legitimately made in-game currency through signing up on your website (which is free and open to anyone to join). The next time they logged in the change would not be reflected and the player would not get their balance updated if they were to purchase something in game with the in-game currency they just made for signing up to your website. If the two systems were combined the player could somehow (for the sake of argument it doesn't matter how) edit their amount via your website and have the change reflected in the database. At the same time they could log onto the server (with the updated balance reflected) and go spend some of that in-game currency on your server all while having the changes reflected in the database. This is currently not possible and current settings are a one way street, either it is set from the database and strictly the database (nothing changed in game will be reflected) or via the game and strictly the game (nothing changed in the database will be reflected).
Does my idea make some sense now?
Im now working on other issue because its about money duplication.
Im gonna take look at this issue later.
okay, thanks for the response
To post a comment, please login or register a new account.