RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Help With Multi Servers

Help With Multi Servers

Ok i was trying out papasmurfs multi server listing thing / serverList and if i type GameOverProject.info Port: 2593 Both servers come up ML Project And TC Project.... So i clicked ML Project everything signed in great so then i went back and clicked TC Project and signed in but it was still ML Project Server and Characters.... So now
I went and put GameOverProject.info Port 2594 .......... Now Both Servers Come Up Again i click TC Project and it sent me to ML Project again so i click back and go to ML Project and it took me to TC Project... LOL....so i guess 2593 it stays on the 2593 server and if you go to 2594 it works fine just server names are swapped so could come one help me with this please and thanks?

http://www.runuo.com/forums/faq-for...f-single-host-machine-1-login.html#post817135
http://www.runuo.com/forums/faq-for...f-single-host-machine-1-login.html#post817135
 

FingersMcSteal

Sorceror
:) Why-o-why do you want 2 shards on the same list :)

Ok i messed around a long time ago with a version of that serverlist 2.0 when it first popped up on the forums a few years ago and discovered this...

Server A

Holds the account details for anyone making an account (very first login)
Can display 2 shards (if setup correctly)
Can login to the correct shard (from server A)

Server B

Will sit quite happy accepting connections, From server A *** Server A holds the accounts ***.
Server A goes down, server B is 'hard coded' with the serverlist 2.0 as well, the other way around.
Because server B is NOT where you send new players (your advertised IP & PORT number) server B doesn't have any account information for players (so it's a new account setup when server B's contacted by a user)

RunUO handles the account setup's and then the game login's.
Normally this would be 2 seperate servers... one a login server holding all account info for players, the other a game server, IP & PORT would normally come from the login server, which might have 2 or 3 shards IP's & PORT's, so at 1st login / connection you'd get your shardlist.

The ONLY way it ever worked for me... Give server B the account info from server A, now you have 2 servers using the same files (spot where this is gona go titsup), plus IF server A goes down you effectivly loose your advertised login server (IP & PORT) you give to people who want to connect.

Solution...

Write your own login server (Console application) which holds all your account information in one place, although you'd also have to re-write alot of the RunUO code for accounts i'd imagine too. Maybe a SQL database which the RunUO side can access as well as the login app.

Alternative's...

By all means run 2 shards (on different ports of course) and just advertise both shards somewhere, it'd be a whole lot eaiser.

I own and run the ListUO.Com site and i had asked this question...

http://www.runuo.com/forums/general-discussion/98978-uo-client-serverlist-question.html

I thought about a login server app for the site, kind of a 1 IP & PORT for all user's to login and select shards from the site. Basically not worth the hassle, theres too many different shards all using different client versions etc etc etc... just not worth the effort to try.

The current owner of Age of Valor (The guy who currently owns UOGateway.Com) has a forum with some information about what happens when you very first login, he posted the packets too...

[root@borg uocli]# ./uocli
===============================================================================
Ultima Online Command Line [uocli] - By Red Squirrel
===============================================================================
Enter server address [ravager.loc]:
Enter server port [1337]:
Enter username [test]:
Enter password[****]:
Enter Char Slot number (0-5) [0]:
Debug packets(Y/N)? [y]:
Connecting...
packet: 21 bytes
-------------------------------------------------------------------------------
ef 0a 01 01 14 00 00 00 01 00 00 00 03 00 00 00 03 00 00 00 07
. . . . . . . . . . . . . . . . . . . . .
-------------------------------------------------------------------------------

Authenticating...
first login packet: 62 bytes
-------------------------------------------------------------------------------
80 74 65 73 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. t e s t . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 74 65 73 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . t e s t . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 5d
. . . . . . . . . ]
-------------------------------------------------------------------------------

Received Packet: 2 bytes
-------------------------------------------------------------------------------
a8 00
. .
-------------------------------------------------------------------------------

Received Packet: 1 bytes
-------------------------------------------------------------------------------
56
V
-------------------------------------------------------------------------------
success, getting server list...
Received Packet: 83 bytes
-------------------------------------------------------------------------------
5d 00 02 00 00 41 67 65 20 6f 66 20 56 61 6c 6f 72 00 00 00 00 00 00 00 00 00
] . . . . A g e o f V a l o r . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 fb f2 a5 13 43 00 01 41 6f 56 20 54 43 31
. . . . . . . . . . . . . . . . C . . A o V T C 1
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
fb d4 4e 65 d0
. . N e .
-------------------------------------------------------------------------------

Available shards:
0: Age of Valor
1: AoV TC1
Enter shard number [1]:
unknown metric packet: 268 bytes
-------------------------------------------------------------------------------
d9 02 00 00 00 1c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00
. . . . . . . .
-------------------------------------------------------------------------------

server selection packet: 3 bytes
-------------------------------------------------------------------------------
a0 00 01
. . .
-------------------------------------------------------------------------------

Received Packet: 11 bytes
-------------------------------------------------------------------------------
8c d0 65 4e d4 05 39 d3 ff c5 d2
. . e N . . 9 . . . .
-------------------------------------------------------------------------------

Connecting to '208.101.78.212:1337'...
encryption key packet: 4 bytes
-------------------------------------------------------------------------------
d3 ff c5 d2
. . . .
-------------------------------------------------------------------------------

post login packet: 65 bytes
-------------------------------------------------------------------------------
91 d3 ff c5 d2 74 65 73 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . t e s t . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 74 65 73 74 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . t e s t . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . .
-------------------------------------------------------------------------------

Picking char...
char picker packet: 73 bytes
-------------------------------------------------------------------------------
5d ed ed ed ed 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
] . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d3 ff c5 d2
. . . . . . . . . . . . . . . . . . . . .
-------------------------------------------------------------------------------

Logged to world.

Bottom line...

Serverlist 2.0 worked for showing more than 1 shard at the start, other than that... i couldn't see the point, just run 2 seperate shards OR re-design the whole login and account side of RunUO ;)
 
but i mean it works fine but its swapped =( just check it out ..... GameOverProject.Info Port 2594 please... and they both have there seperate accounts just as they did before i used this serverlist
 
i read his faq also
he has the spots for the ports backwards to use for the name

1st server set up
porta should equal 2nd shards port
and lower down where it asks for the port again, set that one to the 1st one's port address

now in the 2nd one it gets tricky
it either has to be set up exactly the same with the names revered like he says
or
names revered AND ports reversed also
then of course you have to have the sockets file adjusted
 

FingersMcSteal

Sorceror
animalcrackers;817268 said:
but i mean it works fine but its swapped =( just check it out ..... GameOverProject.Info Port 2594 please... and they both have there seperate accounts just as they did before i used this serverlist

Stuck at login ;)
 

FingersMcSteal

Sorceror
Lord_Greywolf;817272 said:
i read his faq also
he has the spots for the ports backwards to use for the name

1st server set up
porta should equal 2nd shards port
and lower down where it asks for the port again, set that one to the 1st one's port address

now in the 2nd one it gets tricky
it either has to be set up exactly the same with the names revered like he says
or
names revered AND ports reversed also
then of course you have to have the sockets file adjusted

Yup...

Server A is xyz.Com on port 2593
Server B is xyz.Com on port 2594

and they advertise xyz.Com on port 2593 as a login (Server A), what happens when the login server (Server A) goes offline, remember Server A was where the account was made 1st time round. Server B would create a new account, but... did they advertise server B's IP & Port's ?
 

FingersMcSteal

Sorceror
animalcrackers;817268 said:
but i mean it works fine but its swapped =( just check it out ..... GameOverProject.Info Port 2594 please... and they both have there seperate accounts just as they did before i used this serverlist

This is what a login server would normally handle.
 
that is simple way - look through the script for the stuff i pointed out
and like i said, not sure which way on the 2nd one to set up
 

FingersMcSteal

Sorceror
The serverlist does allow multi servers to be displayed...



But :) ...

The other servers in that list don't have the account.XML that the main server has so it just freeze's once you select them.

If you've logged any of those other servers before with the same account name & password then each servers account.XML has your details and allows it.
 
Top