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. |
Quote:
|
Thanks Hyoss, found the comment under Waypoint. I have installed the patch and it works. Bit (ok I am) of a newbie, I can send you the (Waypoint.lua) changed file, but now familiar on how to post or patch yet.
|
Not familar
|
I uploaded that patch for Waypoint, it is waiting for mod approval. As soon as that happens it will be available here: https://www.lotrointerface.com/downl...fo.php?id=1089
On most plugin's pages, you will find two tiny links under the Download button - they are Add Patch and Add Addon. Not all have it, I think it depends on the author to allow these? Also not sure what Add Addon does. This is how I created the patch page though. |
Again , thanks Hyoss-- I tried the pop-up and uploaded a Zip file with instructions, pictures and Waypoint.lua file to copy & paste. But was locked out.... signed out and recvd message"you are not Authorized to upload this category"
Guess i.m still on watch list or not Authenticated yet..... just joined the forum..... again thanks.... will watch and learn.... <smiles>
|
You added a patch for RTPlugin - nice, thank you :-)
|
U27.2 patchnotes mention now that:
Quote:
|
In all honesty, i do not see how is this change beneficial - as it still requires user input to trigger the /loc command.
|
Quote:
|
Quote:
|
The only way it will benefit my plugins (currently only Reminders cares about the server name) is that I'll be able to add a "Detect" button next to the pulldown menu for server name.
Also, currently on Bullroarer the French and German clients have the same old output for the /emp and /pos commands (respectively). Unless that changes, the plugin won't be able to support the feature on those clients. |
Quote:
We just happen to use it in plugins as well to get the same info in the most straightforward manner available. |
Quote:
Quote:
Sorry for my second sarcastic comment, I understand how Customer Support is related to /loc command, but that seemed a little bit out of topic here. |
I created a plugin data file:
Code:
"D:\Users\Me\Documents\The Lord of the Rings Online\PluginData\MyName\Arkenstone\AllCharacters\ServerInfo.plugindata" Code:
return |
Im doing the same except mine is called ServerName.plugindata and its just
Code:
return "Evernight" |
Quote:
|
Server Name
Looks like changes made again to /loc.... Moorsmap… TerrainMap… RTPlugins..Waypoint... probably just a few, but Alias/Loc not working to show where you.re at.... I played around a bit and found that you need added info in phrase "you are on <Crickhollow> server <server number> at " ……………………………………..
The new info is (ServerName or World) and( ServerNumber). I can manually get plugins Terrainmap, RTplugins and Waypoint to work by adding info.... .. Terrainmap works without needing the ServerNumber, but you still have to add the ServerName/World info. ..I was able to have Waypoint work by reverting back to Hyoss's old patchU26.2.2(not deprecated anymore). Nudge me if this the wrong location to continue previous posts. I will add comments to each plugin above but wondering if above plugin data file would help. |
Unfortunately, I have no power or internet atm so updates to MoorMap and TerrainMap will be delayed. Terrain updates to TerrainMap may take longer.
|
Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 01:07 PM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI