Jump to content

BF2 + BF2CC Daemon Auto Setup


Twiebie

Recommended Posts

Hi,

 

I'm trying to have TCAdmin set up BF2 with BF2CC automatically and it does it's job, but the problem i'm having is that when a new server is being created I have to manually access the server via VNC and point the BF2CC Daemon Config panel to the correct location of the server folder.

 

Is there a way to automate this, and to automate it in such a way that it will automatically point itself to the correct user folder that it's in?

 

Thanks.

Link to comment
Share on other sites

Are you using the BF2 config that's posted in here? I'm actually struggling with setting this up right now as well so I'd be curious to get an answer.

 

Yes, i've tried that config - but I can't really figure out where to set-up the option to automatically have BF2CC find the correct path after the gameserver is installed..

Link to comment
Share on other sites

Yes, i've tried that config - but I can't really figure out where to set-up the option to automatically have BF2CC find the correct path after the gameserver is installed..

 

I already stated the config.xml file for the CC needs to have that path written like the example I gave.

Link to comment
Share on other sites

I already stated the config.xml file for the CC needs to have that path written like the example I gave.

I've read that, but I asked for a bit more details on that because i'm not completely sure on where to add this.

 

Do I need to execute BF2CC first and then add it to config.xml and have that in the GameInstalls folder, so TCAdmin will copy it on every install?

Link to comment
Share on other sites

You have TCADMIN create that file from a template which looks something like this.

 

Note the %xxxx% variables TCA writes to in that template.

 

 

<?xml version="1.0" standalone="yes"?>
<dsdDaemonInfo xmlns="http://bf2cc.com/dsdDaemonInfo.xsd">
 <DaemonInfo>
   <DaemonInfoID>1</DaemonInfoID>
   <GameFolder>%userfilespath%</GameFolder>
   <GameExec>Bf2_w32ded.exe</GameExec>
   <GameExecArgs />
   <AutoRestart>true</AutoRestart>
   <StartupProfile>default</StartupProfile>
   <DaemonIP>%serverip%</DaemonIP>
   <DaemonPort>%customport1%</DaemonPort>
   <ModName>bf2</ModName>
   <NetSettingsLocked>false</NetSettingsLocked>
   <DemoRecordingLocked>false</DemoRecordingLocked>
   <PlayerLimit>%slots%</PlayerLimit>
   <DaemonArgsPassed />
 </DaemonInfo>
</dsdDaemonInfo>

Link to comment
Share on other sites

I've generated that in TCAdmin but it looks like this:

 

<CONTENTS><?xml version="1.0" standalone="yes"?>

<dsdDaemonInfo xmlns="http://bf2cc.com/dsdDaemonInfo.xsd">

<DaemonInfo>

<DaemonInfoID>1</DaemonInfoID>

<GameFolder>C:\UserFiles\%userfilespath%\GameServers\%gameserverroot%

<GameExec>Bf2_w32ded.exe</GameExec>

<GameExecArgs />

<AutoRestart>true</AutoRestart>

<StartupProfile>default</StartupProfile>

<DaemonIP>%serverip%</DaemonIP>

<DaemonPort>%customport1%</DaemonPort>

<ModName>bf2</ModName>

<NetSettingsLocked>false</NetSettingsLocked>

<DemoRecordingLocked>false</DemoRecordingLocked>

<PlayerLimit>64</PlayerLimit>

<DaemonArgsPassed />

</DaemonInfo>

</dsdDaemonInfo></CONTENTS>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 30 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use