Server Name?
I have a plugin that gets all character data, for offline website viewing.
I can't find a "servername" field I can use to determine what server the lua save method was run on. This is crucial to handle the same character name on different servers. Does a "server name" extract exist for use when saving data? |
Regrettably, no. And as far as I can tell, there is no "sneaky" way to tell, either. Some recent discussion here.
(However, if you're going to be parsing the .plugindata files using an external program, obviously that program will know which server the data was saved on, if it's saved with "Server" scope.) |
Hi,
yes the servername is used to save variables. There are folders for the servers. I didnīt find it in the lua, but you could read it by the folder where the data is saved. Greetz Glafria |
Starting tomorrow, there will be a reliable way to identify the server:
Quote:
It requires a click from the user, but it's a huge improvement over the options we had before! It will also probably break a lot of existing plugins that rely on the "/loc" command's output format. |
Yep, likely this will break Waypoint, MoorMap, TerrainMap, Anthology and a slew of other plugins but it's still a step in the right direction. Sort of. Anyway, thanks for the heads up I hadn't seen the release notes yet.
|
Quote:
|
Well, the first thing I noticed is it isn't implemented for the FR client.
EDIT: Not implemented in the DE client either. The EN client format looks like: Code:
You are on server 65 at r2 lx1212 ly1538 ox85.67 oy49.68 oz711.87 h180.0. Game timestamp 413530581.868. |
Ugh...
|
Quote:
|
Server Name?
Garan thank you for updating TerrainMap 1.27 and MoorMap 1.42.
have downloaded both and Alias /Loc now working. Thanks for pointing me to this forum for newest info on updates. Hoping Waypoint plugin (Lunarwater) will be updated soon as well. |
All times are GMT -5. The time now is 10:57 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI