August 12th, 2010 by naughtyloose
Since the update to the new Steam version players who want to host a Suicide Survival server with the “Team Fortress 2 Dedicated Server” tool are greeted with the following error message: SetupArrayProps_R: array prop ‘(null)’ is at index zero.
The reason for this is that the engine build used by the Orange Box DSes on Steam (one for TF2 and each of the Steamworks mods) differs from the one that Suicide Survival was built with (the 2007 SDK code). However there is a solution:
This is a step-by-step guide on how to host your own dedicated server. PS: this will probably also work for other mods with the same problem.
Download the HLDS Update Tool, which installs a standalone dedicated server. This doesn’t require Steam to be running, but also doesn’t read data that Steam has downloaded — meaning that it requires a separate install of the game your are running from, including all textures and sounds. If you don’t have 2.5GB free space on your hard drive you’re out of luck.
Once downloaded run the hlsdupdatetool.exe and choose a install directory on your hard drive.
Getting the necessary files to run the server:
a) Open a command prompt.
Go to Start, Run and type “cmd” (minus quotes) and press enter.
b) Change to the directory where the HLDS Update Tool is installed.
If you’re unfamiliar with the commands here is exactly what you’ll have to type:
> cd c:
> cd <the directory you installed the HLDS Update Tool>
usually its HLServer so type: cd hlserver
c) Run the HLDS Update Tool with the “update” command:
> hldsupdatetool.exe -command update -game hl2mp -dir .
<-dir> is the path where you want the files installed e.g. ” .” (for the current directory) or “c:hlserver”
d) After its done run the update command again for a different game:
> hldsupdatetool.exe -command update -game orangebox -dir .
d) Once it’s done downloading all the files go to step three.
For further info regarding the use of the hldsupdatetool.exe check the readme file inside the hlserver folder.
Copy the SuicideSurvival Folder into the orangebox directory you just created with the hldsupdatetool.exe.
In most cases this would be: c:hlserverorangeboxhlserver
Create a Server.cfg file. This file a simple text file which save config variables for the server. Here is a simple example config file:
hostname “the name of your server”
rcon_password “pick an admin password”
// Server Cvars
Copy and paste the above text into a textfile and save it as: “Server.cfg” inside the HLServerorangeboxSuicideSurvivalcfg directory.
If you want to know what each command does check this console command list from Valve.
Well you’re almost there. One final step to starting your server is to make a shortcut of it and pass some commands along when launching it:
a) go to the Orangebox directory: HLServerorangebox
b) Right-click on the “srcds.exe” and choose: “create a shortcut”
c) Right-Click on the shortcut file and choose: “settings”
d) In the field “target” add the following at the end of it: -game suicidesurvival
So it reads: C:HLServerorangeboxsrcds.exe -game suicidesurvival
e) Hit the OK button.
Voila! Your done. Double-click on the shortcut file and you should see the launch window for the dedicated server.
If you have any questions or encounter some errors leave a comment below. If your running a server regularly feel free to advertise your server in the forum.