lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > General Discussion & Support > Interface Requests (L)

Reply
Thread Tools Display Modes
  #1  
Unread 01-27-2019, 11:03 AM
TheStormKing TheStormKing is offline
The Wary
 
Join Date: Jun 2010
Posts: 2
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?
Reply With Quote
  #2  
Unread 01-27-2019, 12:28 PM
Thurallor's Avatar
Thurallor Thurallor is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2013
Posts: 202
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.)

Last edited by Thurallor : 01-27-2019 at 12:32 PM.
Reply With Quote
  #3  
Unread 01-27-2019, 12:30 PM
glafria's Avatar
glafria glafria is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Dec 2015
Location: Germany , Wiesbaden
Posts: 33
Send a message via ICQ to glafria Send a message via MSN to glafria Send a message via Skype™ to glafria
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
__________________
Glafria, an old old human healing minestrel.
She is a member of an Legion on Gwaihir


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Glafria, eine alte heilende Menschenfrau.

Sie ist ein ehrbares Mitglied einer Allianz auf Gwaihir.
Reply With Quote
  #4  
Unread 06-16-2020, 01:10 PM
Thurallor's Avatar
Thurallor Thurallor is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2013
Posts: 202
Starting tomorrow, there will be a reliable way to identify the server:

Quote:
Originally Posted by Cordovan
The /loc command has been modified to include the player's server ID and timestamp. Including this information with GM correspondence could help us expedite your request.
(Update 26.2.2 Release Notes)

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.
Reply With Quote
  #5  
Unread 06-16-2020, 03:05 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 340
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.
Reply With Quote
  #6  
Unread 06-17-2020, 06:59 AM
Hyoss's Avatar
Hyoss Hyoss is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Jan 2011
Posts: 150
Quote:
Originally Posted by Garan
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.
I can think of Reminders, Roving Threat Plugin as well. Might be time for some community patches.
Reply With Quote
  #7  
Unread 06-17-2020, 08:33 AM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 340
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.
It turns out the server number is for the actual physical server within a cluster and does not have a 1:1 relationship to the World. For instance, three different characters simultaneously logged into Landroval had server numbers 64, 65, and 67 (they were in different regions) - heh just going through the door from ouside Erebor to inside Erebor moved me from server 64 to 52. Depending on their architecture, it may even be possible for one server to host regions from two different worlds (although probably only US or EU, not a combination due to database isssues). Since the physical servers that make up a cluster can be reallocated any time the servers are taken down for maintenance (and depending on their architecture possibly even while live), I suspect this value to be useless to Lua developers. I can see why SSG would want this for debugging purposes in case one physical server out of a cluster is causing trouble it will be much easier to pinpoint the affected server.

Last edited by Garan : 06-19-2020 at 02:11 PM.
Reply With Quote
  #8  
Unread 06-17-2020, 09:36 AM
Thurallor's Avatar
Thurallor Thurallor is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2013
Posts: 202
Ugh...
Reply With Quote
  #9  
Unread 06-17-2020, 09:53 AM
Thurallor's Avatar
Thurallor Thurallor is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2013
Posts: 202
Quote:
Originally Posted by Hyoss
I can think of Reminders, Roving Threat Plugin as well. Might be time for some community patches.
Reminders actually will be OK, because it uses ";loc", not "/loc".
Reply With Quote
  #10  
Unread 06-19-2020, 08:54 AM
DLevel DLevel is offline
The Undefeated
Interface Author - Click to view interfaces
 
Join Date: Jun 2020
Posts: 5
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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem to register for the test server? Weezl Preview Server (L) 0 07-03-2007 07:10 AM
the test server? Ylva Chit Chat 1 05-29-2007 06:02 PM
Turbine Opens a Preview Server Cairenn News 0 05-26-2007 12:40 PM
Well The Server is Down, Random Conversation anyone? Bigleon Chit Chat 10 03-01-2007 12:39 PM


All times are GMT -5. The time now is 06:00 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui