Windows DA2 Dedicated Server Tutorial

  • 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/

arramus

FNG / Fresh Meat
May 8, 2009
1,142
57
0
Residing in Japan
Here are a few DA2 bits and pieces to get everyone going while the DA2 website (and accompanying dedi tut) is down.

1) Install the dedicated server files using the following command line for the HldsUpdateTool. The final directory address is as per your own specifications.
Code:
HldsUpdateTool.exe -command update -game  defencealliance2 -dir C:\DA2
2) If this is your first time to run your DA2 server then I recommend that you make your DA2.ini configuration file by entering the game through your client application and using the in game setup for a dedicated server.

Launch the server once and then locate the compiled server file in your \killingfloor\DA2\System folder. Simply place this in your dedicated server second tier DA2/System folder (C:\DA2\DA2\System).

3) Classic Assault Mode Command Line (run from your main (C:\DA2\system folder)
Code:
ucc server DA2-Triumph?Game=da2.DefenceAlliance -server -mod=da2 -log=server.log
4) Coop Versus Mode Command Line (run from your main (C:\DA2\system folder)
Code:
ucc server DA2-Triumph?Game=da2.DefenceAlliance?Mutator=da2.mutkf -server -mod=da2 -log=server.log
I'm using the following command line instead of the above as it reboots in case of a crash. This was supplied by Tripwire's forum user ButchCassidy for RO.

Place this in the main system folder (C:\DA2\system folder) and run as a .bat as you do with the command line.

@echo off
title DA II
echo Look at the top of the window.
echo.
cd C:\DA2\system
set GameText === DA2 Public server ====
set GameCmd=C:\DA2\system\ucc server
DA2-Triumph?Game=da2.DefenceAlliance?Mutator=da2.mutkf -server -mod=da2 -log=server.log
echo %GameText%
echo.
echo This is the %GameText% Auto Runner
echo To Restart the server close the corresponding Game
echo To Shut down the server close this window.
echo.
set LogFile="%homepath%\Desktop\Logs\%GameText%.log"
echo Output is logged to %LogFile%
echo.
echo This is the command line: >>%LogFile%
echo %GameCmd% >>%LogFile%
:start
echo ReStarting %GameText%
date/t
time/t
echo ReStarting %GameText% >>%LogFile%
date/t >>%LogFile%
time/t >>%LogFile%
call %GameCmd%
goto start

5) Last but not least, I needed to install the client 2K4Menus.utx file from the Killing Floor textures folder (you may not need to) to the DA2\DA2\Textures folder as this file is not downloaded using the HldsUpdateTool application but is used by DA2. Boot up.

arramus
 
Last edited:
  • Like
Reactions: Cockroach

Cockroach

FNG / Fresh Meat
Jun 22, 2009
19
0
0
thnx again.

the 2K4Menus.utx was in the right folder for me and I did not put it there.

got the crash bat working I got confused about the folders I guess I was working with the mod folder :p


just another question tho.
is it normal for a clean server to crash ever 3 or 4 rounds?
 
Last edited:

DaVidoSS

FNG / Fresh Meat
Oct 31, 2009
2
0
0
Missing,Failed,Can't find missimg file?

Missing,Failed,Can't find missimg file?

My DA server dont work.
I get the server file via HldsUpdateTool with command:

HldsUpdateTool.exe -command update -verify_all -game "defencealliance2" -dir D:\KFDA2

Run the da2_server_launcher.bat from system folder and get crash

Errors from ucc.log
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.MR56_MFlash_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.GK2_MFlash_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.PlasmaProjectile_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.SweeperProton
Warning: Missing Package Package Pitomnik_T.JPM_Ground
Warning: Missing Texture Texture Pitomnik_T.JPM_Ground.JPM_snow
Warning: Missing Package Package Pitomnik_T.JPM_Ground
Warning: Failed to load 'HumanoidArchitecture2': Can't find file for package 'HumanoidArchitecture2'
Warning: Failed to load 'Dest_Architecture': Can't find file for package 'HumanoidArchitecture2'
Warning: Failed to load 'da2-bridged.rom': Can't find file for package 'HumanoidArchitecture2'
Warning: Failed to load 'Level None.MyLevel': Can't find file for package 'HumanoidArchitecture2'
Critical: Failed to enter da2-bridged.rom?game=DA2.DefenceAlliance?VACSecured=true: Can't find file for package 'HumanoidArchitecture2'

Please help me..
 

arramus

FNG / Fresh Meat
May 8, 2009
1,142
57
0
Residing in Japan
It's not normal to crash so frequently and it could be that a few bugs remain. Now that the mod has gone public we can see if crashing is commonplace and displays a pattern. Is the crash consistent with a particular map or on a map rotation?
 

Cockroach

FNG / Fresh Meat
Jun 22, 2009
19
0
0
I did not look into the crashing very well .
I have some more time to focus on it now , I will try an do better so I can give better info :p
 

DaVidoSS

FNG / Fresh Meat
Oct 31, 2009
2
0
0
My DA server dont work.
I get the server file via HldsUpdateTool with command:

HldsUpdateTool.exe -command update -verify_all -game "defencealliance2" -dir D:\KFDA2

Run the da2_server_launcher.bat from system folder and get crash

Errors from ucc.log
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.MR56_MFlash_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.GK2_MFlash_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.PlasmaProjectile_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.SweeperProton
Warning: Missing Package Package Pitomnik_T.JPM_Ground
Warning: Missing Texture Texture Pitomnik_T.JPM_Ground.JPM_snow
Warning: Missing Package Package Pitomnik_T.JPM_Ground
Warning: Failed to load 'HumanoidArchitecture2': Can't find file for package 'HumanoidArchitecture2'
Warning: Failed to load 'Dest_Architecture': Can't find file for package 'HumanoidArchitecture2'
Warning: Failed to load 'da2-bridged.rom': Can't find file for package 'HumanoidArchitecture2'
Warning: Failed to load 'Level None.MyLevel': Can't find file for package 'HumanoidArchitecture2'
Critical: Failed to enter da2-bridged.rom?game=DA2.DefenceAlliance?VACSecured=true: Can't find file for package 'HumanoidArchitecture2'

Please help me..

SOLVED!
HumanoidArchitecture2
and
HumanoidArchitecture
was missing.
HldsUpdateTool dont download this two files.

Maybe its some files still missing because i still have warnings but server starts well..

Coop Versus Mode errors..
Code:
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.MR56_MFlash_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.GK2_MFlash_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.PlasmaProjectile_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.SweeperProton
Warning: Missing Package Package Pitomnik_T.JPM_Ground
Warning: Missing Texture Texture Pitomnik_T.JPM_Ground.JPM_snow
Warning: Missing Package Package Pitomnik_T.JPM_Ground
Warning: Missing Texture Texture IndustrySMT.Electrical.electrical02

ScriptLog: Mutators da2.mutkf
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0064) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:007E) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0086) Attempt to assign variable through None
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0064) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:007E) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0086) Attempt to assign variable through None
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0064) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:007E) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0086) Attempt to assign variable through None
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0064) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:007E) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0086) Attempt to assign variable through None
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0064) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:007E) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0086) Attempt to assign variable through None
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0064) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:007E) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PreBeginPlay:0086) Attempt to assign variable through None
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PostBeginPlay:00EB) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PostBeginPlay:0105) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PostBeginPlay:010D) Attempt to assign variable through None
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PostBeginPlay:00EB) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PostBeginPlay:0105) Accessed None 'C'
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PostBeginPlay:010D) Attempt to assign variable through None
Warning: mutkf DA2-Triumph.mutkf (Function DA2.mutkf.PostBeginPlay:00EB) Accessed None 'C'

and Classic Assault Mode:
Code:
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.MR56_MFlash_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.GK2_MFlash_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.PlasmaProjectile_Final
Warning: Missing FinalBlend FinalBlend DA2Weapons.Effects.SweeperProton
Warning: Missing Package Package Pitomnik_T.JPM_Ground
Warning: Missing Texture Texture Pitomnik_T.JPM_Ground.JPM_snow
Warning: Missing Package Package Pitomnik_T.JPM_Ground
Warning: Missing Texture Texture IndustrySMT.Electrical.electrical02

Any suggestions?
 

kingkong

FNG / Fresh Meat
Jun 26, 2009
442
17
0
give this batch a try if you want to keep your crash logs for inspection, I can't get my own da server up atm but I posted an updated version of BC's batch from my personal use a while ago that hasn't seen much response. might be useful for the windows guys here, would also be good for me to know that it's working on other setups as intended.
 

dustoff

FNG / Fresh Meat
Jun 17, 2006
40
1
0
Thanks will give that a try , its hard to keep the server full of people becuse it keeps crashing . A regular Killingflor server runs fine on the same box and same settings.
 

ffjason

FNG / Fresh Meat
Oct 23, 2009
204
0
0
Any idea how to get xadmin or serverext working on DA2? I can't seem to successfully enable either of them.

Also in the tutorial where you have put the bat script - you probably want to put that in a [code ] section because at the moment a straight copy causes a fail in the script because there is a return between "...server" and "DA2-Triumph?..." - it also may be worth noting that users should change the path here "cd C:\DA2\system" and "set GameCmd=C:\DA2\system\ucc server" and "set LogFile="%homepath%\Desktop\Logs\%GameText%.log"" to their own.
 
Last edited:

Cockroach

FNG / Fresh Meat
Jun 22, 2009
19
0
0
I could enable the no drama mutators the normal way , but it was not doing anything I think.

xadmin and serverext I did not try they are old enemies :p
 

StReZ

FNG / Fresh Meat
Oct 3, 2009
25
0
0
www.elitezombieclan.com
Any idea how to get xadmin or serverext working on DA2? I can't seem to successfully enable either of them.

Also in the tutorial where you have put the bat script - you probably want to put that in a [code ] section because at the moment a straight copy causes a fail in the script because there is a return between "...server" and "DA2-Triumph?..." - it also may be worth noting that users should change the path here "cd C:\DA2\system" and "set GameCmd=C:\DA2\system\ucc server" and "set LogFile="%homepath%\Desktop\Logs\%GameText%.log"" to their own.


We Admin is the same way as KF server setting. Also got Adsse to work as well.

I have a 32 slot DA2 server running on IP 69.162.64.180
ONLY issue i get is the crashing after every third or fourth map change.

Hmmm...awaiting fix
 
Last edited:

dustoff

FNG / Fresh Meat
Jun 17, 2006
40
1
0
yep getting pretty hard to keep the server going with it crashing so often.

Been running a test server but will be putting up a couple of more once the crash issue is fixed .
 

StReZ

FNG / Fresh Meat
Oct 3, 2009
25
0
0
www.elitezombieclan.com
yep getting pretty hard to keep the server going with it crashing so often.

Been running a test server but will be putting up a couple of more once the crash issue is fixed .


Here's my crash info...anyone know the fix?
 

Attachments

  • DA2Shutdown.zip
    20.4 KB · Views: 0
Last edited: