Twiebie Posted January 13, 2011 Share Posted January 13, 2011 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 More sharing options...
HIS-MOTHER Posted January 13, 2011 Share Posted January 13, 2011 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. you need to have TCA write to the config.xml Specifically <GameFolder>%userfilespath%</GameFolder> Link to comment Share on other sites More sharing options...
Twiebie Posted January 13, 2011 Author Share Posted January 13, 2011 you need to have TCA write to the config.xml Can you explain this? Link to comment Share on other sites More sharing options...
Broseph Posted January 13, 2011 Share Posted January 13, 2011 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. Link to comment Share on other sites More sharing options...
Twiebie Posted January 13, 2011 Author Share Posted January 13, 2011 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 More sharing options...
HIS-MOTHER Posted January 13, 2011 Share Posted January 13, 2011 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 More sharing options...
Twiebie Posted January 13, 2011 Author Share Posted January 13, 2011 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 More sharing options...
HIS-MOTHER Posted January 13, 2011 Share Posted January 13, 2011 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 More sharing options...
Twiebie Posted January 13, 2011 Author Share Posted January 13, 2011 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.