Quote:
Originally Posted by freez00
What I did Proxy was put a SQL script to send items by mail every day players log in as reward. Anything you want to give a player in the user_character table requires the player to not be logged in. guesswho's example was to automatically give a player ppoints when they log out. Since the server exe has a hold on that database table when a player is logged in, ppoints can only be given by the server (DK Square or mobs that give ppoints when you kill them).
|
my example saves the additional PP in a column that is not affected by the session server at any point. its there to hold the data until they log out, then it gets applied.
giving PP by killing mobs defeats the purpose of giving stuff for staying online, it requires players to put some effort in it. he wants to have as many online (be it afk or not) players as possible and thats his way to convince them to do so.
as far as I know only mail and cash db can be updated in real time with the player online. Since he's unable to add item->PP exchanger, I believe the way I presented is the best since I also provided the queries.