Thread Tools Display Modes
09/09/24, 01:49 PM   #1
lplpmc
Join Date: Jan 2021
Posts: 5
Question Gamserver Instance IP?

I skimmed through the API and I didn't find anything at first glance. Is there some sort of function that will return what instance/gameserver IP address my client is connected to when in a trial or dungeon?

Thanks,
  Reply With Quote
09/09/24, 01:59 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,190
For the IP: No, there is no such function (for good reasons I guess).
Why would you need that for any addon?

You can only get the info if your group members are in the same instance:
IsGroupMemberInRemoteRegion(groupUnitTag)
  Reply With Quote
09/10/24, 01:26 PM   #3
lplpmc
Join Date: Jan 2021
Posts: 5
There has been quite a few random disconnects on NA during primetime, especially in trial instances. I was looking for a way to see if there was any rhyme or reason to see why certain people are disconnecting versus others.

It seems that not everyone is connected to the same IP in an instance, so I wanted to see if people in the party experiencing lag/rubberbanding are on the same 'affected' address


Based off the command you gave me, this would just detect if there is one or more players in the party playing cross-region? i.e. EU vs NA?

/script d(GetGroupLeaderUnitTag()) -> group2
/script d(IsGroupMemberInRemoteRegion(group2)) -> false

Last edited by lplpmc : 09/10/24 at 01:48 PM.
  Reply With Quote
09/10/24, 02:05 PM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,190
No, this shows you if units in your group are in the same instance (in another instance on the same server -> got nothing to do with different servers!)
Inside the dungeon that should be always the same if they ported to the leader.

But outside it would show you if they are in another one.
Just if you can see them or if they are invisible (only group marker shown above their invisible bodies) because they are in the same zone but inside another instance.
  Reply With Quote
09/10/24, 02:21 PM   #5
lplpmc
Join Date: Jan 2021
Posts: 5
Originally Posted by Baertram View Post
No, this shows you if units in your group are in the same instance (in another instance on the same server -> got nothing to do with different servers!)
Inside the dungeon that should be always the same if they ported to the leader.

But outside it would show you if they are in another one.
Just if you can see them or if they are invisible (only group marker shown above their invisible bodies) because they are in the same zone but inside another instance.


gotcha, thanks
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Gamserver Instance IP?

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