PDA

View Full Version : Dedicated Server Problem



RSHQ
03-16-2004, 03:13 AM
I am running 2 dedicated server for this wounderful game .. http://ubbxforums.ubi.com/infopop/emoticons/icon_biggrin.gif
(RSHQ Servers)(http://raven-shield.servegame.com)
I have never had any problem what so ever with this until the new patches 1.54/1.55 ..
There must be something realy wrong with them because if i run them i cant connect to ubi.com master server. http://ubbxforums.ubi.com/images/smiley/crazy.gif http://ubbxforums.ubi.com/images/smiley/784.gif

I Know that there is noting wrong with my firewall or computer configuration because 1.53 works like a charm...

RSHQ
03-16-2004, 03:13 AM
I am running 2 dedicated server for this wounderful game .. http://ubbxforums.ubi.com/infopop/emoticons/icon_biggrin.gif
(RSHQ Servers)(http://raven-shield.servegame.com)
I have never had any problem what so ever with this until the new patches 1.54/1.55 ..
There must be something realy wrong with them because if i run them i cant connect to ubi.com master server. http://ubbxforums.ubi.com/images/smiley/crazy.gif http://ubbxforums.ubi.com/images/smiley/784.gif

I Know that there is noting wrong with my firewall or computer configuration because 1.53 works like a charm...

orfal
03-16-2004, 04:46 AM
Got the same problem since V1.55 - hadn't got any problems with V1.41. I spent some time reinstalling everything, up to V1.53 then to V1.55 etc...
Now it seems, after quite some frustrating time, I have speculated towards a solution:

When you connect to a server, that server has to authenticate you with the master ubisoft key server to make sure you bought the game.
In pre-V1.54 RavenShield this happened flawlessly:
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>1. I connect,
2. the server registers my name/UBI-ID,
3. the server goes to the master server and asks whether I'm authenticated,
4. the server allows me to play.
<HR></BLOCKQUOTE>
Between steps 3-4 lies the problem:
In pre-V1.54 the gameclient waited quite a long time for an answer from the server "yes you are allowed to play" (maybe 1 second or something). In V1.54+ it doesn't wait so long anymore (maybe 200 ms, who knows) and if the server needs too much time to authenticate, the client says the server couldn't connect to the ubisoft key server and throws you out.

Now what is the cause of this ?

Primarily ofcourse Ubisoft for decreasing this authentication time between steps 3 and 4: Let the client wait at least 2-5 seconds on the "yes you're authenticated" message from the server. I hope this will be fixed in V1.56 ...

Secondarily, and your only hope right now on a fix, the server is responsible: It simply takes too long to connect to ubisoft's game server. To work around the problem, we need to lower the time the server needs to authenticate with Ubisoft. On my own server, the bottleneck is DNS-lookup time.
If you check "gsrouters.dat" in "Ravenshield/System/", you will see various .ubisoft.com names. Try pinging one of them and see how long it takes from the time you press enter on the ping, till it actually starts to ping the IP-address.... So in essence the time from<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>
C:\Documents and Settings\Administrator&gt;ping gsrouter1.ubisoft.com ....<HR></BLOCKQUOTE> &lt;&lt;&lt; here
to...
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>
Pinging pluto.ubisoft.com [216.98.52.35] with 32 bytes of data: <HR></BLOCKQUOTE>&lt;&lt;&lt;&lt; here...

Takes long, longer than 1 second ? Then the DNS-lookup of "gsrouter1.ubisoft.com" or any other ".ubisoft.com" address takes way too long and we need to tune that down. We can, however, look up the name locally so things get quite a bit faster. To do this we need to edit our (dedicated) server's "hosts" file.
Under Windows get this file (or create it) in "c:\Winnt\system32\drivers\etc\hosts" or "C:\windows\hosts".
Under Linux get this file from "/etc/hosts".
Now add or enter the following to that file and save it:

<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>216.98.52.51 router2.gs.ubisoft.com
216.98.52.37 gsrouter2.ubisoft.com
216.98.52.30 gscdkey.ubisoft.com
216.98.52.35 gsrouter1.ubisoft.com
216.98.52.50 router1.gs.ubisoft.com
216.98.48.12 ladder.ubi.com gsconnect.ubisoft.com
216.98.48.5 secure.ubi.com
<HR></BLOCKQUOTE>
Now try pinging again... It should be pinging the host right away. If all is OK, this problem should be solved - temporarily at least. What I don't know is if this fixes all problems with &gt;V1.54. But it's a small step towards it I guess http://ubbxforums.ubi.com/infopop/emoticons/icon_smile.gif

Orfal

orfalsgrounds.rvsh.org:7777

orfal
03-16-2004, 08:20 AM
After testing, I have to say that the solution above is not a solution to the problem. It solves certain timeouts, but still the client gets thrown off the server... Even though I *can* connect from my own LAN, a connection via the internet goes dreaded wrong (I get in the game, then get thrown out and receive a black screen, logged as:
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>
Init: D3D Driver: CreateDevice: will use hardware transform and lighting.
Init: D3D Driver: CreateDevice: will use hardware vertex processing
Log: Allocating 16384 byte dynamic index buffer.
Log: Allocating 65536 byte dynamic vertex buffer.
DevNet: Level client received: SERVERPINGANSWER
Log: Possessed PlayerPawn: R6PlayerController Peaks.R6PlayerController0
Log: R6PlayerController0 setplayer WindowsViewport0
Log: Allocating 65536 byte dynamic vertex buffer.
Log: Allocating 16384 byte dynamic index buffer.
ScriptWarning: R6MenuMPAdvGearWidget Transient.R6MenuMPAdvGearWidget0 (Function R6Menu.R6MenuMPAdvGearWidget.GetGadgetTexture:01D7 ) Accessed None
ScriptLog: Resetting Level (total=12)
Log: Collecting garbage
Log: Purging garbage
Log: Garbage: objects: 44866-&gt;44726; refs: 549917
Log: Deleting destroyed actor
Log: Allocating 30528 byte dynamic index buffer.
Log: Allocating 30720 byte dynamic index buffer.
Log: Allocating 33600 byte dynamic index buffer.
Log: Allocating 33792 byte dynamic index buffer.
Log: Allocating 36672 byte dynamic index buffer.
ScriptLog: Simulation Action Create 0
Log: URL: Adding default option Name=Player
Log: URL: Adding default option team=255
Log: URL: Adding default option CLASS=R6Characters.R6RainbowMediumEuro
Log: URL: Adding default option Skin=
Log: URL: Adding default option Face=
Log: Browse: Entry.rsm?userdisconnect?Name=Player?team=255?CLAS S=R6Characters.R6RainbowMediumEuro?Skin=?Face=
Log: Failed; returning to Entry
Log: Spawning new actor for Viewport WindowsViewport0
ScriptLog: Team 255
ScriptLog: Login: Player
Log: Possessed PlayerPawn: PlayerController Entry.PlayerController4
Log: PlayerController4 got player WindowsViewport0
Log: Enter SetRes: 640x480 Fullscreen 1
Init: Best-match display mode: 640x480x32@60 (Error=0)
<HR></BLOCKQUOTE>
I am checking the packets and logfiles as of now, and comparing what could be wrong. If any of you knows the answer now, I am happy to hear this http://ubbxforums.ubi.com/infopop/emoticons/icon_smile.gif

orfal
03-16-2004, 08:24 AM
A quick comparison on logfiles reveals this little thingy when I connect through the internet, this error message is not here when I connect to the dedicated internet server through LAN:
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>
Warning: Property m_eGameTypeShown of Class Engine.LevelInfo not found
<HR></BLOCKQUOTE>

orfal
03-16-2004, 09:40 AM
No new hope it seems. V1.53 works flawlessly with the same configuration, yet V1.55 gives the above error and crashes back to desktop or gives a black screen or so. I hope Ubisoft reads this...

orfal
03-16-2004, 11:07 AM
Ok, final posting on my results, because there seems to be a succes, finally...

Somehow I got Dedicated Server V1.55 to work now. I did some tricks with copying over V1.53 then copying only the system/ directory from V1.55 again and trying. I could login over the internet, and wasn't thrown out. A comparison of the files between my V1.55 version and the actual V1.55 version leads to the following files being different somehow (note that they *can* be updated runtime by the game itself):
Original V1.55 (rs_win32_sa_server_155_update.zip) -&gt; My WORKING V1.55
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>
System/
Core.u -&gt; core.u
Editor.u -&gt; editor.u
Engine.u -&gt; engine.u
Fire.u -&gt; fire.u
IpDrv.u -&gt; ipdrv.u
UnrealEd.u -&gt; unrealed.u
<HR></BLOCKQUOTE>

... so that's all. As somebody else said in another post: case sensitivity is the major problem. Make sure these files are lower case, and the directory names are lower case (only "Save" is uppercase here) and it should work.

Good luck.

RevRaz
03-16-2004, 01:02 PM
When you went from 1.53 to 1.55, did you first install 1.54?

http://squadservers.com
http://bdcpaging.com/files/MapHelperv12.zip

orfal
03-16-2004, 01:05 PM
Nah I skipped that one. Apart from "UpgradeLauncher.exe" all the filenames are the same, so it doesn't matter really whether you do or don't: skip V1.54.

And while you're at it, try my server http://ubbxforums.ubi.com/infopop/emoticons/icon_smile.gif
orfalsgrounds.rvsh.org:7777

RevRaz
03-16-2004, 05:48 PM
Out of 15 servers we upgraded from 1.53 to 1.55 we didnt have any issues, but we did 1.54 so maybe it does matter.

http://squadservers.com
http://bdcpaging.com/files/MapHelperv12.zip

orfal
03-17-2004, 04:21 AM
Yes, but what I forgot to mention is that this server runs under Wine, not under Windows.

RSHQ
03-17-2004, 02:28 PM
The case sensitivity is NOT the major problem.
after i updated to 1.55 the they have stayed lower.
I have tried to install directly to 1.55 and -1.54 to 1.55 without any resault.

I have to point out that i run Win2k servers and have the UK version of the game..
for now it seems like i have to stick with 1.53
I hope this problem is solved before i install Athena Sword...