Thread Tools Display Modes
12/17/20, 06:57 PM   #1
LivingSuSpence
Join Date: Dec 2020
Posts: 6
Switch TTC Server in-game???

I started an EU account to play with some over-seas friends. I know I can change the server on the website, but the addon in-game is still showing me NA price suggestions and I can't figure out how to change it anywhere in the settings or online. PLEASE HELP
  Reply With Quote
12/17/20, 08:20 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,913
Please ask the author in the addon's comments.
https://www.esoui.com/downloads/info....html#comments

Afai can see the PriceTable.lua file will be downloaded via the client.exe file and it automatically detects which server you are playing on. So this can only be answered by the dev of the client.exe file then.
Or maybe it contains both data, EU and NA.

For ingame the addon detects which server you play on via function
Code:
function TamrielTradeCentre:GetCurrentServerRegion()
	local serverRegion = nil
	local lastPlatform = GetCVar("LastPlatform")
	local lastRealm = GetCVar("LastRealm")
	if (lastPlatform == "Live") then
		serverRegion = "NA"
	elseif (lastPlatform == "Live-EU") then
		serverRegion = "EU"
	elseif (lastRealm:find("^NA") ~= nil) then
		serverRegion = "NA"
	elseif (lastRealm:find("^EU") ~= nil) then
		serverRegion = "EU"
	end

	return serverRegion
end
Perhaps the detection functions are not working properly, ask the author why he isn't simply using "GetWorldName()" ingame to detect the server.
It returns "NA Megaserver" or "EU Megaserver" and he could simply strip the " Megaserver" instead of checking for CVAR values of the last chosen realm and platform etc.
Maybe LastPlatform is not returning live-EU anymore and only returns live,a nd thus the addon thinks you are on the NA server.

But perhaps he got reasons for this code to be used instead of GetWorldName()

Last edited by Baertram : 12/17/20 at 08:26 PM.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Switch TTC Server in-game???

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