![]() |
findofflineplayer()
I'm looking for a command to modify an offline player's attributes via script. Would it be possible to get added?
|
Very doubtful, but it would definitely be handy.
|
Quote:
|
Not really. The server would have to store the data for that player and update it when that account logged on.
but wait! isn't the player's attribs stored on the server anyways? ;) yen: at present you can accomplish this by making a db to store all changes made when the account is offline. when players log on, check for any changes from onactionplayeronline in the cnpc |
Quote:
|
Quote:
|
Quote:
Of course; if one scripts anything entirely from scratch, the potential to do anything with it because as flexable as the code permits it. In other words: The rainbow's your limit. But... I think he wanted a much more pre-made way. |
Quote:
|
Theoretically it is possible to make a function for loading a player account. We must make sure it's not breaking things though and that it is deleting correctly afterwards, may be similar to TStaticVar. One problem right now is that only the gserver is loading the player account, while the npcserver is only modifying variables and sending updates, but never touching the account itself.
|
Quote:
|
Then cant you make it so that when the gserver loads the player when it first logs on, it loads any changed made to the player while he/she was gone?
|
| All times are GMT +2. The time now is 03:38 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.