Left 4 Dead 2 launches tomorrow and you can install the L4D2 game via steam. Any idea when a package could be created for cpgs?
Left 4 Dead 2 launches tomorrow and you can install the L4D2 game via steam. Any idea when a package could be created for cpgs?
The package is available now, l4d2.cpgs on cpgs.network3.net , other mirrors in a bit after their update cron runs. I've got support for it in cPGS now but have only tested it in the 0.7.2 dev release which changes the startup stuff a bit, it should work but there may be something little I'm overlooking. If you'd like to give it a shot, grab the game tarball and give it a shot:
(all commands as root via ssh)
# cd /var/cpanel/cpgs/games/
# wget http://cpgs.cpanel.net/l4d2.tgz
# tar xzvf l4d2.tgz
# cp l4d2/l4d2.jpg /usr/local/cpanel/base/frontend/x3/gameserv/logos/
# cp l4d2/l4d2.jpg /usr/local/cpanel/base/frontend/x/gameserv/logos/
# cp l4d2/l4d2.jpg /usr/local/cpanel/base/frontend/gs/logos/
# /var/cpanel/cpgsd.pl
That should get the new game module and restarting cpgsd should register support for it. If it doesn't work in 0.7.1, put in a ticket for me as it's probably a minor edit needed.
There are plenty of bugs being discussed on the Valve mailing lists about the release so I'm sure some of you will run into them, I suspect most of them will be addressed soon. Please note that the autoupdate feature works for l4d2 (as does it for l4d in 0.7.2) so you shouldn't have any trouble updating it.
Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
https://tickets.cpanel.net/submit/index.cgi?support=1
Works like a charmThanks, Darren
Unless Im doing something wrong, I'm unable to save config changes.
edit: Okay, the advanced settings work. But I am unable to start the server. There also is no log.
Last edited by mattress; 11-19-2009 at 05:45 PM.
As root via ssh try this on the server running the game:
# /var/cpanel/cpgs/cpgs_comm 127.0.0.1 updateself
If that doesn't fix the "simple" config saving and/or game in the first place, put in a ticket for me to take a look.
Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
https://tickets.cpanel.net/submit/index.cgi?support=1
I think I got it now, thanks!
Another question, how do I go about updating the gameserver?
L4D2 will update itself if you select "Yes" to the autoupdate feature using steam before each launch. L4D will in 0.7.2 since it's getting moved to a deeper directory needed for it to be updated without any craziness (symlinking and ssh action).
Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
https://tickets.cpanel.net/submit/index.cgi?support=1
Autoupdate is set to yes, but this continues to show up in my log
Couldn't [S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
edit: I see that error message is somewhat "normal". However, my server still shows v2.0.0.2 (Linux, Dedicated, Protocol 210) in HLSW and all other servers I check are v2.0.0.3 (Linux, Dedicated, Protocol 211). And no one has played on it in a week.
Last edited by mattress; 12-04-2009 at 06:39 AM.
I dont see L4D2 showing up in the download server files screen.. I'm running 0.7.1 can some give me a walkthru how to get this going? Thank you
Ok, so I never could get my only L4D2 server to update. I just deleted it and started over. Things were great. I've now got a second server. Things were great.
L4D2 just got an update. Now again, the initial serve refuses to update. The second server I created updated just fine. What am I doing wrong?
Ok, I fixed it by turning off autoupdate, restarting, and then turning on autoupdate and restarting.
Odd.. if you see this not work again, check the /home/user/.gameservers/l4d2_#/.launchrc and see if the autoupdate value is set to 1 or something else. Also put in a ticket for me to take a look unless it' something obvious after looking at the autoupdate variable.
Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
https://tickets.cpanel.net/submit/index.cgi?support=1