Guide to making the U2XMP server browser work

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

GreatEmerald

Khnumhotep
Jan 20, 2008
4,042
1
0
Lithuania
Yea, I know some might already figured out (Tak led us the right way), but I'll give a more detailed step-by-step instructions on how to make it work (as it still took me some time to figure that out exactly).

~º^º~º^º~Getting the U2XMP Master Server List to work~º^º~º^º~

CURRENT STATUS: The Master server is UP. Use the Method #1.


Method #1 (when the master server is operable):
  1. Make sure you have the Community U2XMP or the master server patch (see the master server sticky).
  2. Open U2XMP and go to Options -> Game -> Master server addresses: Change -> WebUpdate. Wait for it to finish.
  3. Doesn't crash, but you can't see any servers? Make sure all the boxes near filters (Dead, Pswd etc.) are CHECKED.
  4. It works! Hooray! Happy gaming! :D

Method #2 (when the master server is down):
  1. Make sure you have the Community U2XMP (strongly recommended) or the master server patch (see the master server sticky).
  2. Open U2XMP and go to Options -> Game -> Master server addresses: Change -> WebUpdate. Wait for it to finish.
  3. Basically your U2XMP installation won't query anything yet, as (if you're reading this) the master server is offline again. To make it query, in your MyU2XMP.ini file, find the heading [U2.BrowserMonkey] and add these lines there:
    Code:
    PendingServers=(Favorite="x",Passworded="",Listen="",Name="Chaptor 1 ~ XMP",Ping=199.000000,Map="XMP-AMP-Zenith-Beta2",Players=0.000000,MaxPlayers=16.000000,IP="69.28.221.44",Port=7777.000000,QueryPort=7778.00000 0,Index=4.000000)
    PendingServers=(Favorite="x",Passworded="",Listen="",Name="Survivor U2XMP Server",Ping=85.000000,Map="XMP-Lowlands",Players=0.000000,MaxPlayers=14.000000,IP="62.149.198.77",Port=7779.000000,QueryPort=7780.0 00000,Index=5.000000)
    PendingServers=(Favorite="x",Passworded="",Listen="",Name="EQ's UK U2XMP Server",Ping=66.000000,Map="XMP-Alcazar",Players=0.000000,MaxPlayers=24.000000,IP="77.74.192.60",Port=7777.000000,QueryPort=7778.000 000,Index=2.000000)
    PendingServers=(Favorite="x",Passworded="",Listen="",Name="BBF - :)",Ping=201.000000,Map="XMP-Alcazar",Players=0.000000,MaxPlayers=16.000000,IP="67.19.202.230",Port=7777.000000,QueryPort=7778.00 0000,Index=3.000000)
    PendingServers=(Favorite="x",Passworded="",Listen="",Name="Survivor2 U2XMP Server",Ping=9999.000000,Map="XMP-Garden",Players=0.000000,MaxPlayers=16.000000,IP="91.121.132.22",Port=7777.000000,QueryPort=7778.000000,Index=2.000000)
    PendingServers=(Favorite="x",Passworded="",Listen="",Name="GE's Mod Test Server",Ping=103.000000,Map="XMP-Lowlands",Players=0.000000,MaxPlayers=16.000000,IP="78.59.179.221",Port=7777.000000,QueryPort=7778.0 00000,Index=16.000000)
    Favorites=(Favorite="x",Passworded="",Listen="",Name="BBF - :)",Ping=170.000000,Map="XMP-CBP-Emerald",Players=0.000000,MaxPlayers=16.000000,IP="67.19.202.230",Port=7777.000000,QueryPort=7778.00 0000,Index=0.000000)
    Favorites=(Favorite="x",Passworded="",Listen="",Name="Chaptor 1 ~ XMP",Ping=169.000000,Map="XMP-aftermath",Players=0.000000,MaxPlayers=16.000000,IP="69.28.221.44",Port=7777.000000,QueryPort=7778.0 00000,Index=1.000000)
    Favorites=(Favorite="x",Passworded="",Listen="",Name="EQ's UK U2XMP Server",Ping=86.000000,Map="XMP-SunsetBeach",Players=0.000000,MaxPlayers=24.000000,IP="77.74.192.60",Port=7777.000000,QueryPort=7778 .000000,Index=2.000000)
    Favorites=(Favorite="x",Passworded="",Listen="",Name="Survivor U2XMP Server",Ping=86.000000,Map="XMP-Garden",Players=0.000000,MaxPlayers=14.000000,IP="62.149.198.77",Port=7779.000000,QueryPort=7780.000000,Index=3.000000)
    Favorites=(Favorite="x",Passworded="",Listen="",Name="Survivor2 U2XMP Server",Ping=100.000000,Map="XMP-Rampant",Players=3.000000,MaxPlayers=16.000000,IP="91.121.132.22",Port=7777.000000,QueryPort=7778.000000,Index=2.000000)
    Favorites=(Favorite="x",Passworded="",Listen="",Name="GE's Mod Test Server",Ping=132.000000,Map="XMP-Rampant",Players=0.000000,MaxPlayers=16.000000,IP="78.59.179.221",Port=7777.000000,QueryPort=7778.000000,Index=3.000000)
  4. Now go to Play Online, when you get the message, click "Ignore".
  5. You should see the servers listed now; if not, click "Reping" at the left or open the "Favs" tab at the bottom of the screen.
  6. Finally, make sure all the boxes near filters at the left (Dead, Pswd etc.) are CHECKED.

Method #3 (when the master server sends corrupt data):
(To Be Added if the server ever does that again.)

Thanks Tak, Smot and Dusty for various things :D
 
Last edited:

takwu

cXp coder Tak®
Feb 5, 2004
614
0
0
www.mif.vu.lt
You're welcome :)

I believe Survivor not showing may have something to do with running Raptor Race.

It's not EQ's fault tho; XMP's server list always had this problem with showing servers running a different gametype than XMPGame. That is the reason why they made a mutator for FreeFall and stopped using AsteroidGame.

Same problem for all gametypes, including the ones in cXp :(
 

Dusty

New Member
Jun 3, 2008
18
0
0
lol to see Survivor in the list of the servers it is necessary to put all the text in the same line.

Code:
PendingServers=(Favorite="x",Passworded="",Listen="",Name="Chaptor 1 ~ XMP",Ping=203.000000,Map="XMP-AMP-Zenith-Beta2",Players=0.000000,MaxPlayers=16.000000,IP="69.28.221.44",Port=7777.000000,QueryPort=7778.000000,Index=4.000000)
PendingServers=(Favorite="x",Passworded="",Listen="",Name="Survivor U2XMP Server",Ping=85.000000,Map="XMP-Lowlands",Players=0.000000,MaxPlayers=14.000000,IP="62.149.198.77",Port=7779.000000,QueryPort=7780.000000,Index=5.000000)
PendingServers=(Favorite="x",Passworded="",Listen="",Name="EQ's UK U2XMP Server",Ping=119.000000,Map="XMP-Alcazar",Players=0.000000,MaxPlayers=24.000000,IP="77.74.192.60",Port=7777.000000,QueryPort=7778.000000,Index=2.000000)
PendingServers=(Favorite="x",Passworded="",Listen="",Name="BBF - :)",Ping=9999.000000,Map="XMP-Alcazar",Players=0.000000,MaxPlayers=16.000000,IP="67.19.202.230",Port=7777.000000,QueryPort=7778.000000,Index=3.000000)
Favorites=(Favorite="x",Passworded="",Listen="",Name="BBF - :)",Ping=9999.000000,Map="XMP-CBP-Emerald",Players=0.000000,MaxPlayers=16.000000,IP="67.19.202.230",Port=7777.000000,QueryPort=7778.000000,Index=0.000000)
Favorites=(Favorite="x",Passworded="",Listen="",Name="Chaptor 1 ~ XMP",Ping=201.000000,Map="XMP-APv2-RGB",Players=0.000000,MaxPlayers=16.000000,IP="69.28.221.44",Port=7777.000000,QueryPort=7778.000000,Index=1.000000)
Favorites=(Favorite="x",Passworded="",Listen="",Name="EQ's UK U2XMP Server",Ping=84.000000,Map="XMP-Alcazar",Players=0.000000,MaxPlayers=24.000000,IP="77.74.192.60",Port=7777.000000,QueryPort=7778.000000,Index=2.000000)
Favorites=(Favorite="x",Passworded="",Listen="",Name="Survivor U2XMP Server",Ping=84.000000,Map="XMP-CBP-Kaminari",Players=0.000000,MaxPlayers=14.000000,IP="62.149.198.77",Port=7779.000000,QueryPort=7780.000000,Index=3.000000)
 

GreatEmerald

Khnumhotep
Jan 20, 2008
4,042
1
0
Lithuania
Uhh, now how did that happen :( But I rewrote it as I've done a bit more research. Basically it crashes if it pings an empty server line. If you leave no empty lines, it works! It even shows survivor that way!
 
Last edited:

GreatEmerald

Khnumhotep
Jan 20, 2008
4,042
1
0
Lithuania
Aditionally: All you would need to do is click on WebUpdate, if the serverlist.txt on Aybab2u would be changed into:
Code:
#rev *INSERT NUMBER HERE*

# This is a list of available master servers for Unreal 2 Expanded Multiplayer
# it was last updated on *INSERT DATE HERE*

srv 0 ms2.aybab2u.com
prt 0 27900

srv 1 ms2.aybab2u.com
prt 1 27900

srv 2 ms2.aybab2u.com
prt 2 27900

srv 3 ms2.aybab2u.com
prt 3 27900

srv 4 ms2.aybab2u.com
prt 4 27900

#end master server list

As the "-" "0" servers are the ones conflicting. And seems that ms.aybab2u.com crshes clients too, but ms2 is perfect.
 
Last edited:

Bleeder

Co-Founder, U2XMP [Ч] Clan
Feb 26, 2004
803
0
16
teh Intarweb, duh
When trying ms2 I get the "Master Server Connection Failed", so then I click ok and up comes the list of servers. Is that how it's supposed to work? The list of servers doesn't show correct player counts..

Something is broked. It used to work perfectly fine for months and months. Whatever the problem is, these are only workarounds...
 

GreatEmerald

Khnumhotep
Jan 20, 2008
4,042
1
0
Lithuania
No, I don't get the Connection Failed. But you probably have your CurrentMasterServer set to 0, and U2XMP tends to reset it to master0.gamespy.com, which doesn't work. Change that to 1 and you won't get that warning. And yes, the player counts are borked.
And thanks, forgot to change that in the guide ;)
 

EQ²

Code Monkey
Oct 30, 2004
244
0
16
41
Near Birmingham, UK
www.teambse.co.uk
Hi all. Just to clear this up:

Sorry for not visiting this forum for ages, I've had a new job and a load of other stuff to deal with so not had much time for things. But hopefully should be able to set the record straight.

I removed Omen's server from the serverlist.txt when it went down a while ago, and I tried to get the master server code working on another dedibox so that we'd still have 2, but it doesn't seem to run any box other than the one it's on (ms.aybab2u.com). I'm guessing this is due to copy protection that Omen built in. ms2 doesn't do anything and I guess I should remove it but the worst that can happen is you get the "master server connection failed" mentioned by Bleeder.

The 1 remaining master server is a different story though. It seems to have this weird bug whereby it sometimes (okay seemingly most of the time) sends a response that crashes the game, possibly due to a bad header value in the reply that reports that there are more servers than there actually are in the list, so the game thinks it's getting a long list when it actually gets a short one. Regardless of what causes it, I can't track it down. Sometimes restarting the process works, sometimes that doesn't improve matters. All I can tell is that the number of connected servers seems to affect it, and that starting a bunch of "dummy" servers on a dedibox, then shutting them down seems to cure it for a time (it's working now for example).

Anyway, will keep you posted. I may if I get some time spare just write the damn thing myself from scratch. I still have the pcaps that I gave to Omen for him to reverse-engineer the one we're using at the moment, and I could use them to write another. In the meantime, the web interface that it provides is at least a useful resource in its own right!

As far as editing MyU2XMP.ini goes, or setting all the master servers to ms2, it's only necessary to edit the ini file to manually set your favourites as GreatEmerald suggests. It is not necessary if you want to over-ride the master servers, that's what I wrote the GUI for!! All it does is essentially modify MyU2XMP.ini anyway, albeit in a slightly more user-friendly manner than using notepad.

You can set all your master servers to blank entries to stop it uplinking at all, or just set it to a dummy address like localhost so that the connection fails quickly.

GreatEmerald: the " - " entries in the serverlist.txt (heh, wondered how long it would take for someone to spot what was going on in the background, you could always substitute your own URL since you know the file format :D , the "rev" number just has to be different to the current one to force a refresh) just cause the webupdate module to override the server entries to blank ones (initially the purpose being to obsure the now defunct atari and legend servers). So a file with all " - " entries in it would clear the master servers entirely.

Anyway, that's the story so far. Sorry it's causing you guys a headache but I really just haven't had any time recently. I will look at it whenever I get a moment spare. Glad people are still playing though.
 

GreatEmerald

Khnumhotep
Jan 20, 2008
4,042
1
0
Lithuania
Hey EQ2, nice you came back :D
Hmm, this is interesting, and yes, the error message suggests that it's a huge server list, while it really is... Well, 3 servers, lol.
The GUI is good, but I don't like it because you are in need for excessive alt-tabbing to copy and paste settings and there's no way to quickly import all the settings for different servers.

Also, any explanation on why the U2XMP server list shows the current player numbers wrongly?
 

GreatEmerald

Khnumhotep
Jan 20, 2008
4,042
1
0
Lithuania
Soooo... Are you going to check (and hopefully fix) this problem? It's not very good to be unable to see the player count and new servers...
 

GreatEmerald

Khnumhotep
Jan 20, 2008
4,042
1
0
Lithuania
Yeap, you're right, that config is only good because of the favourites list. Survivor2 showed this. So changed the first post accordingly.
Any updates yet? I've seen some changes recently, but only minor...
 

takwu

cXp coder Tak®
Feb 5, 2004
614
0
0
www.mif.vu.lt
What has changed? As of last Wednesday (January 28th, 2009) I did a clean install on a clean machine and I was crashing exactly the same way as before. i.e. It crashes as soon as I click "Play Online" (it never gets to the server browser screen). I did the Web Update too.

I haven't had time to test everything (or get that machine going using my method). Will see if I have time to try it this Wednesday or weekend.

Meanwhile, maybe I'm just sceptical, but please verify these "solutions" by trying clean installs. I recently had two people on YouTube asking me how to fix XMP. I can only assume that the Web Update didn't fix it for them.

*edit* ok nevermind, I saw the announcement now. Hopefully those two guys have it fixed. I will test it out myself and contact them if all goes well :)
 
Last edited:

GreatEmerald

Khnumhotep
Jan 20, 2008
4,042
1
0
Lithuania
Once again updated the first post. This now reflects what you have to do when the Master Server is up, and when the master server is down; I've added a status indication at the top, and which method should be used.
This time it will really be accurate and the steps are exactly what you need to take.

If you're wondering about the Method #3, I might add it if you'll ever get runaway crashes again. That method just changes your INI by removing all the defunct server addresses and adding a bunch of fakes ones.