[Question] Need help Launching Dedicated Server

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

omniconsumer

Active member
Jul 5, 2011
434
32
28
discord.gg
Actually, still got problems. This is not for our main server. This is for a smaller privately ranked server that I have to set up. Our technical expertise person is the busiest man on the planet so I could use some help from the awesome ro2 community if possible. Thanks!

Windows 7 Home Premium 64 bit, 3.0 GHZ dual core, 6 gigs of ram.

My command line:

C:\ro\ro2server.bat RO\ROGame TE-Apartments?minplayers=0 -seekfreeloadingserver -multihome=71.190.224.70 -port=7777 -log=MyServerLog.log

My Log file:


Log: Log file open, 11/25/11 14:11:57
Init: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
Init: Version: 7258
Init: Epic Internal: 0
Init: Compiled (32-bit): Nov 18 2011 14:16:14
Init: Changelist: 641002
Init: Command line: SERVER TE-Apartments?minplayers=0 -seekfreeloadingserver
Init: Base directory: C:\ro\Binaries\win32\
[0000.11] Init: Computer: OMNI-PC
[0000.11] Init: User: omni
[0000.11] Init: CPU Page size=4096, Processors=2
[0000.11] Init: High frequency timer resolution =2.932675 MHz
[0000.11] Init: Memory total: Physical=6.0GB Pagefile=12.0GB Virtual=4.0GB
[0000.32] Log: STEAMWORKS initialized 1
[0000.32] Init: Presizing for 132448 objects not considered by GC, pre-allocating 0 bytes.
[0000.33] Init: Object subsystem initialized
[0000.39] Log: Shader platform (RHI): PC-D3D-SM3
[0000.45] Log: PhysX GPU Support: ENABLED
[0021.32] Warning: Warning, Failed to load Outer for resource 'ReturnValue': Function OnlineSubsystemSteamworks.OnlineSubsystemSteamworks:RegisterLocalTalker
[0021.34] Warning: Warning, Failed to load Outer for resource 'ReturnValue': Function OnlineSubsystemSteamworks.OnlineSubsystemSteamworks:ResetStats
[0021.57] Warning: Warning, Failed to load Outer for resource 'ReturnValue': Function OnlineSubsystemSteamworks.OnlineSubsystemSteamworks:GetNumberOfCurrentPlayers
[0021.97] Warning: Warning, Failed to load Outer for resource 'ReturnValue': Function OnlineSubsystemSteamworks.OnlineSubsystemSteamworks:GetCurrentVOIPLevel
[0022.29] Warning: Warning, Failed to load Outer for resource 'ReturnValue': Function OnlineSubsystemSteamworks.OnlineSubsystemSteamworks:HasRO1License
[0022.29] Warning: Warning, Failed to load Outer for resource 'ReturnValue': Function OnlineSubsystemSteamworks.OnlineSubsystemSteamworks:HasRO2Preorder
[0022.29] Warning: Warning, Failed to load Outer for resource 'ReturnValue': Function OnlineSubsystemSteamworks.OnlineSubsystemSteamworks:HasRO1License
[0022.30] Warning: Warning, Failed to load Outer for resource 'ReturnValue': Function OnlineSubsystemSteamworks.OnlineSubsystemSteamworks:HasRO2Preorder
[0024.81] Warning: Invalid movie stream data for TextureMovie ui_videos.german_sp_loop
[0024.81] Warning: Invalid movie stream data for TextureMovie ui_videos.LoadScreen_Community
[0024.81] Warning: Invalid movie stream data for TextureMovie ui_videos.MainMenu1
[0024.81] Warning: Invalid movie stream data for TextureMovie ui_videos.soviet_sp_loop
[0025.41] Log: 124510 objects as part of root set at end of initial load.
[0025.41] Log: 0 out of 0 bytes used by permanent object pool.
[0025.56] Log: Executing Class Engine.ServerCommandlet
[0025.56] Log: Initializing Game Engine...
[0025.56] Warning: Warning, Failed to load 'Texture2D EngineMaterials.RandomMirrorDisc': Failed to find object 'Texture2D EngineMaterials.RandomMirrorDisc'
[0025.60] Log: Looking for DLC...
[0025.62] Log: Initializing Steamworks
[0025.62] Log: Logged in as 'Omniconsumer|LMC|'
[0025.63] Log: LoadMap: TE-Apartments?Name=Player?Team=255?minplayers=0
[0026.19] Log: Game class is 'ROGameInfoTerritories'
[0026.31] Log: NetMode is now 1
[0026.35] Log: Primary PhysX scene will be in software.
[0026.35] Log: Creating Primary PhysX Scene.
[0026.35] Log: Bringing World TE-Apartments.TheWorld up for play (20) at 2011.11.25-14.12.23
[0027.53] Log: Initializing Steam game server (Server ID is steam.90071992547409920)
[0032.39] WebAdmin: Starting Red Orchestra 2 WebAdmin...
[0032.39] WebAdmin: Creating IWebAdminAuth instance from: BasicWebAdminAuth
[0032.39] WebAdmin: BasicWebAdminAuth does not support hash algorithm sha1
[0032.39] WebAdmin: Creating ISessionHandler instance from: SessionHandler
[0032.40] WebAdmin: Updating news...
[0032.40] WebAdmin: No OnlineNewsInterface; news desk is unavailable
[0032.40] Log: Bringing up level for play took: 6.081504
[0032.40] Log: Flushing async loaders.
[0033.58] Log: Terrain::postLoad> CachedMaterial failed to compile? Forcing re-compilation of materal TerrainMaterialResource:TMAT_cracked_concrete_M+TMAT_M_FOC_Dirt_DirtBase01
[0033.58] Log: Terrain::postLoad> CachedMaterial failed to compile? Forcing re-compilation of materal TerrainMaterialResource:TMAT_Leaves_and_garbage_M+TMAT_cracked_concrete_M+TMAT_M_FOC_Dirt_DirtBase01
[0033.58] Log: Terrain::postLoad> CachedMaterial failed to compile? Forcing re-compilation of materal TerrainMaterialResource:TMAT_Leaves_and_garbage_M+TMAT_artillery_hole_01_M+TMAT_cracked_concrete_M+TMAT_M_FOC_Dirt_DirtBase01
[0033.58] Log: Terrain::postLoad> CachedMaterial failed to compile? Forcing re-compilation of materal TerrainMaterialResource:TMAT_artillery_hole_01_M+TMAT_cracked_concrete_M+TMAT_M_FOC_Dirt_DirtBase01
[0038.10] Log: ########### Finished loading level: 12.469701 seconds
[0038.10] Log: Initializing Game Engine Completed
[0038.23] Log: PunkBuster Server: ROGame.ROGameInfo PunkbusterServerProfile ROGame.ini = 2
[0038.23] Log: PunkBuster Server: pb_sv_SsNext = 594674 (0 to 999999)
[0038.23] Log: PunkBuster Server: pb_sv_LogNext = 32 (1 to 999999)
[0038.23] Log: PunkBuster Server: PB Log File C:\ro\Binaries\win32\pb\svlogs\00000032.log Opened for HOS (w)
[0038.23] Log: PunkBuster Server: 0 Power Players loaded from C:\ro\Binaries\win32\pb\pbpower.dat
[0038.23] Log: PunkBuster Server: 0 PB Rcon Filters loaded from C:\ro\Binaries\win32\pb\pbrcon.dat
[0038.24] Log: PunkBuster Server: 0 Map lines loaded from C:\ro\Binaries\win32\pb\pbsvmaps.cfg
[0038.24] Log: PunkBuster Server: Attempting to resolve master8.evenbalance.com
[0038.24] Log: PunkBuster Server: Resolved to [66.180.170.20]
[0038.26] Log: PunkBuster Server: PunkBuster Server for HOS (v1.837 | A1372 C2.278) Enabled
[0038.27] OfficialGameServer: Initializing game server ranking
[0038.27] WebAdmin: Creating team chat proxies
[0038.51] Log: PunkBuster Server: Game Version [7258]
[0038.61] OfficialGameServer: Making Ranked: IP is within CIDR Range (1203691590)
[0043.02] Log:
[0043.02] Log: Success - 0 error(s), 0 warning(s)
[0043.02] Log:
Execution of commandlet took: 4.92 seconds
[0043.16] Exit: Preparing to exit.
[0044.51] Exit: Game engine shut down
[0044.53] Exit: TcpNetDriver_0 shut down
[0044.91] Exit: Object subsystem successfully closed.
[0044.92] Exit: Exiting.
[0044.92] Log: Log file closed, 11/25/11 14:12:42
 
Last edited:

puggy

FNG / Fresh Meat
Sep 2, 2011
151
10
0
www.brothersclan.co.uk
Do you see a console window when you run the game, like a dos command prompt window? Are you cancelling it or pressing CTRL c to kill it?

What folder are you running your command file from? Also check that your windows firewall is not killing the process.

What is the log file called? launch.log or MyServerLog.log?

Just noticed your PB versions are out of date, you might want to run hlds to update the server.
 
Last edited:
  • Like
Reactions: omniconsumer

omniconsumer

Active member
Jul 5, 2011
434
32
28
discord.gg
Do you see a console window when you run the game, like a dos command prompt window? Are you cancelling it or pressing CTRL c to kill it?

What folder are you running your command file from? Also check that your windows firewall is not killing the process.

What is the log file called? launch.log or MyServerLog.log?

Just noticed your PB versions are out of date, you might want to run hlds to update the server.

Yes, I see a dos command window come up. The log file is what I see on the window. At the end I ctrl-c to end it. The log files are called launch.log.

I'll have to update the server right now then. Doubt it will make a difference though.
 

omniconsumer

Active member
Jul 5, 2011
434
32
28
discord.gg
What is the actual problem? the server is running,the dos window IS the server, so why are you are shutting it down manually?

Well, the last line I see if the server being ranked under whatever CIDR notation or range or whatever it is. However, I can't pull up the server on any server list. It is not in the server browser, I can't connect to it, and it doesn't show up in HLSW. I close the server manually by ctrl-c because I am unaware of any other way of doing so.

The problem is that it seems like the server is up and running, but it is nowhere to be found.
 

omniconsumer

Active member
Jul 5, 2011
434
32
28
discord.gg
This is my command path on the target line to the ro2server.bat file:

C:\ro\ro2server.bat RO\ROGame TE-Apartments?minplayers=0 -seekfreeloadingserver -multihome=71.190.224.70 -port=7777 -log=MyServerLog.log (does this look right?)


This is what comes up in the cmd server window:


[0010.35] Log: Executing Class Engine.ServerCommandlet
[0010.35] Log: Initializing Game Engine...
[0010.38] Warning: Warning, Failed to load 'Texture2D EngineMaterials.RandomMirrorDisc': Failed to find object 'Texture2D EngineMaterials.RandomMirrorDisc'
[0010.42] Log: Looking for DLC...
[0010.44] Log: Initializing Steamworks
[0010.44] Log: Logged in as 'Omniconsumer|LMC|'
[0010.45] Log: LoadMap: TE-Apartments?Name=Player?Team=255?minplayers=0
[0011.04] Log: Game class is 'ROGameInfoTerritories'
[0011.13] Log: NetMode is now 1
[0011.17] Log: Primary PhysX scene will be in software.
[0011.17] Log: Creating Primary PhysX Scene.
[0011.17] Log: Bringing World TE-Apartments.TheWorld up for play (20) at 2011.11.26-14.05.59
[0012.34] Log: Initializing Steam game server (Server ID is steam.90071992547409920)
[0014.91] WebAdmin: Starting Red Orchestra 2 WebAdmin...
[0014.91] WebAdmin: Creating IWebAdminAuth instance from: BasicWebAdminAuth
[0014.91] WebAdmin: BasicWebAdminAuth does not support hash algorithm sha1
[0014.91] WebAdmin: Creating ISessionHandler instance from: SessionHandler
[0014.91] WebAdmin: Updating news...
[0014.91] WebAdmin: No OnlineNewsInterface; news desk is unavailable
[0014.91] Log: Bringing up level for play took: 3.767688
[0014.91] Log: Flushing async loaders.
[0016.71] Log: Terrain::postLoad> CachedMaterial failed to compile? Forcing re-compilation of materal TerrainMaterialResource:TMAT_cracked_concrete_M+TMAT_M_FOC
_Dirt_DirtBase01
[0016.71] Log: Terrain::postLoad> CachedMaterial failed to compile? Forcing re-compilation of materal TerrainMaterialResource:TMAT_Leaves_and_garbage_M+TMAT_cra
cked_concrete_M+TMAT_M_FOC_Dirt_DirtBase01
[0016.71] Log: Terrain::postLoad> CachedMaterial failed to compile? Forcing re-compilation of materal TerrainMaterialResource:TMAT_Leaves_and_garbage_M+TMAT_art
illery_hole_01_M+TMAT_cracked_concrete_M+TMAT_M_FOC_Dirt_DirtBase01
[0016.72] Log: Terrain::postLoad> CachedMaterial failed to compile? Forcing re-compilation of materal TerrainMaterialResource:TMAT_artillery_hole_01_M+TMAT_crac
ked_concrete_M+TMAT_M_FOC_Dirt_DirtBase01
[0020.45] Log: ########### Finished loading level: 10.001502 seconds
[0020.45] Log: Initializing Game Engine Completed
[0020.69] Log: PunkBuster Server: ROGame.ROGameInfo PunkbusterServerProfile ROGame.ini = 2
[0020.69] Log: PunkBuster Server: pb_sv_SsNext = 594674 (0 to 999999)
[0020.70] Log: PunkBuster Server: pb_sv_LogNext = 38 (1 to 999999)
[0020.70] Log: PunkBuster Server: PB Log File C:\ro\Binaries\win32\pb\svlogs\00000038.log Opened for HOS (w)
[0020.70] Log: PunkBuster Server: 0 Power Players loaded from C:\ro\Binaries\win32\pb\pbpower.dat
[0020.70] Log: PunkBuster Server: 0 PB Rcon Filters loaded from C:\ro\Binaries\win32\pb\pbrcon.dat
[0020.70] Log: PunkBuster Server: 0 Map lines loaded from C:\ro\Binaries\win32\pb\pbsvmaps.cfg
[0020.71] Log: PunkBuster Server: Attempting to resolve master4.evenbalance.com
[0020.72] Log: PunkBuster Server: Resolved to [66.180.170.20]
[0020.75] Log: PunkBuster Server: PunkBuster Server for HOS (v1.837 | A1372 C2.278) Enabled
[0020.75] OfficialGameServer: Initializing game server ranking
[0020.75] WebAdmin: Creating team chat proxies
[0021.00] Log: PunkBuster Server: Game Version [7258]
[0021.10] OfficialGameServer: Making Ranked: IP is within CIDR Range (1203691590)
 
Last edited:

Major_Day

FNG / Fresh Meat
Feb 16, 2007
2,651
329
0
Glasgow, Scotland
"[0044.92] Log: Log file closed, 11/25/11 14:12:42"

The server was only running for 45 secs, when it was stopped, so how can you possibly expect to see it in the browser, it needs to be running a lot longer than that.
 
Last edited:

omniconsumer

Active member
Jul 5, 2011
434
32
28
discord.gg
"[0044.92] Log: Log file closed, 11/25/11 14:12:42"

The server was only running for 45 secs, when it was stopped, so how can you possibly expect to see it in the browser, it needs to be running a lot longer than that.


Oh yeah lol, for that particular one, but I've left it up for much longer.


If you have other servers running from this ip address, each server must use a different port, try changing the port number.

I've tried different ports. I'm not running any other servers on this IP.

I have also been trying to change the start up map level in the command line to load up with other maps, but it keep still loading up as apartments. Maybe that is related somehow? I don't know. Kind of frustrating.
 

Major_Day

FNG / Fresh Meat
Feb 16, 2007
2,651
329
0
Glasgow, Scotland
C:\ro\ro2server.bat RO\ROGame TE-Apartments?minplayers=0 -seekfreeloadingserver -multihome=71.190.224.70 -port=7777 -log=MyServerLog.log

should be:

start .\Binaries\win32\ROGame TE-Gumrak?minplayers=0 -seekfreeloadingserver -multihome=71.190.224.70 -port=7777 -log=MyServerLog.log


Make sure the ro2server.bat is in the ro2 folder (not \ro\ro2server.bat RO\
 

puggy

FNG / Fresh Meat
Sep 2, 2011
151
10
0
www.brothersclan.co.uk
Is this your on PC? I assume it is as you are running steam on it according to the logs. If it is your pc, is the ip (71.190.224.70) your external? If so do you have it nat'ed?

If you run the server, go into RO2 game on your PC and confirm that you can see the game server either in ranked, or else in lan. If you cannot, you may have to put in windows firewall exceptions for the server game port and query port, test this by temporarily disabling the windows firewall.

Most of this is explained in the sticky's at the top of this page.
 

omniconsumer

Active member
Jul 5, 2011
434
32
28
discord.gg
C:\ro\ro2server.bat RO\ROGame TE-Apartments?minplayers=0 -seekfreeloadingserver -multihome=71.190.224.70 -port=7777 -log=MyServerLog.log

should be:

start .\Binaries\win32\ROGame TE-Gumrak?minplayers=0 -seekfreeloadingserver -multihome=71.190.224.70 -port=7777 -log=MyServerLog.log


Make sure the ro2server.bat is in the ro2 folder (not \ro\ro2server.bat RO\


Ok, the ro2server.bat file is in the C:\RO2 directory. I have added the following to the desktop shortcut command line:

C:\ro2\ro2server.bat start .\Binaries\win32\ROGame TE-Apartments?minplayers=0 -seekfreeloadingserver -multihome=71.190.224.70 -port=7777 -log=MyServerLog.log

Is this your on PC? I assume it is as you are running steam on it according to the logs. If it is your pc, is the ip (71.190.224.70) your external? If so do you have it nat'ed?

If you run the server, go into RO2 game on your PC and confirm that you can see the game server either in ranked, or else in lan. If you cannot, you may have to put in windows firewall exceptions for the server game port and query port, test this by temporarily disabling the windows firewall.

Most of this is explained in the sticky's at the top of this page.

Perhaps I missed some information in the sticky. I will review it again to make sure, but on my initial review I didn't see anything regarding that. I probably missed it.
This is on a home PC soon to be stand alone box hopefully for the server. There is a router for which I forwarded the ports. I didn't know about NAT, so I think I "nat'ed" it ok in the following. I also disabled the windows firewall.




I'll let you guys know in a bit if it worked.
 

Major_Day

FNG / Fresh Meat
Feb 16, 2007
2,651
329
0
Glasgow, Scotland
Quote:
"Ok, the ro2server.bat file is in the C:\RO2 directory. I have added the following to the desktop shortcut command line:

C:\ro2\ro2server.bat start .\Binaries\win32\ROGame TE-Apartments?minplayers=0 -seekfreeloadingserver -multihome=71.190.224.70 -port=7777 -log=MyServerLog.log"


NO this is wrong. The commandline isn't on the desktop, its in the ro2server.bat

Go to the ro2server.bat in theRO2 folder, right click on it and select "edit" change it to read:
start .\Binaries\win32\ROGame TE-Apartments?minplayers=0 -seekfreeloadingserver -multihome=192.168.1.0 -port=7777 -log=MyServerLog.log

Close and save it, doubleclick on ro2server.bat and the server should start, and if it does, put a shortcut to it on the desktop.
If any thing needs to be changed in future (start map,adding bots, etc.) change it in ro2server.bat, not the desktop shortcut.

The network settings look ok, providing the internal ip address of your server is 192.168.1.0 but i would suggest adding port udp/tcp 27015 as well

ps. if you want some bots on the server change minplayers= :to whatever number of bots you want, this is a good way of testing the number of players your server can handle.

pps. if you want to play on this server, you must do so from another machine, and use the lan tab in the browser.
 
Last edited:

omniconsumer

Active member
Jul 5, 2011
434
32
28
discord.gg
It finally worked!! :) I had to change the IP to 192.168.1.2 and I opened the ports 27015 as well and now it comes up!

Thank you so much for your help Major_Day and Puggy. You guys have been so helpful and I wish nothing but great things for you and yours.

We need more good dudes like you around our site. Come check us out and say hello! http://www.lmcgaming.com
 

omniconsumer

Active member
Jul 5, 2011
434
32
28
discord.gg
I found this in regards to using certain cores for the dedicated server that you were talking about and thought others might find it useful as well.

It actually made a huge difference in my ping.

Everyone,

3) Final server setup notes

When testing the server on Windows Server 2008 R2, we discovered that when the CPU usage got close to peaking, that windows would start pushing the game around between cores. This actually made the game perform badly under heavy CPU load. To combat this we highly suggest you a commandline switch we created which will set the main game thread's affinity to a specified core, especially if you are going to have the game server running at a slot count on a machine where it might come close to peaking the CPU. Here is the commandline switch:

-PREFERPROCESSOR=x (where x=0,1,2, ...)

So for example:
-PREFERPROCESSOR=0
Would set the game thread's affinity to the first core.