2 Char On Dif Servers With The Same Name

Language: JP EN DE FR
users online
Forum » Windower » General » 2 char on dif servers with the same name
2 char on dif servers with the same name
 Bismarck.Seiver
Offline
Server: Bismarck
Game: FFXI
user: Seiver
Posts: 103
By Bismarck.Seiver 2024-01-13 18:23:48
Link | Quote | Reply
 
is there anyway to tell GS what server you are on. i have 2 char in different servers with the same name and i want to have different swaps.
 Bismarck.Radec
Offline
Server: Bismarck
Game: FFXI
user: Radec
Posts: 146
By Bismarck.Radec 2024-01-13 21:34:15
Link | Quote | Reply
 
There doesn't appear to be anything setup by default, ie no "Name_Server_Job.lua" system to autoload based on server.

You could do it on a per-file basis yourself, like so

Seiver_BLM.lua:
Code
...
add this somewhere that runs on file load, like job_setup()
...
if windower.ffxi.get_info()['server'] == OTHER_SERVER_ID then
    windower.send_command("gs load Seiver_BLM_OtherServerName")
end


Server IDs can be found in windower/res/servers.lua
Code
    [2] = {id=2,en="Undine"},
    [4] = {id=4,en="Bahamut"},
    [5] = {id=5,en="Shiva"},
    [8] = {id=8,en="Phoenix"},
    [9] = {id=9,en="Carbuncle"},
    [10] = {id=10,en="Fenrir"},
    [11] = {id=11,en="Sylph"},
    [12] = {id=12,en="Valefor"},
    [14] = {id=14,en="Leviathan"},
    [15] = {id=15,en="Odin"},
    [19] = {id=19,en="Quetzalcoatl"},
    [20] = {id=20,en="Siren"},
    [23] = {id=23,en="Ragnarok"},
    [26] = {id=26,en="Cerberus"},
    [28] = {id=28,en="Bismarck"},
    [30] = {id=30,en="Lakshmi"},
    [31] = {id=31,en="Asura"},
[+]
 Bismarck.Seiver
Offline
Server: Bismarck
Game: FFXI
user: Seiver
Posts: 103
By Bismarck.Seiver 2024-01-14 10:54:16
Link | Quote | Reply
 
You sir are a saint. Worked like a charm.
[+]
Log in to post.