Reaper Posted January 10, 2014 Share Posted January 10, 2014 I'm having a problem with my Silent server.I have a custom campaign cycle/pk3 installed and for some reason whenever I try loading the custom campaign the server either restarts or crashes. Was wondering if anyone else has come across this problem with their server and if so if there is a way around this? Quote Link to comment Share on other sites More sharing options...
Subscriber JohnDory Posted January 10, 2014 Subscriber Share Posted January 10, 2014 it could be a few things, what is in your pk3, have you changed anything else on server ? Quote Link to comment Share on other sites More sharing options...
Reaper Posted January 10, 2014 Author Share Posted January 10, 2014 The only thing that is in the pk3 file is a campaign file and that is it though I've changed the following in the server.cfgexec objectivecycle.cfg to exec campaigncycle.cfg including the one in the watchdog setting. Those are the only things that have been changed. Quote Link to comment Share on other sites More sharing options...
Subscriber JohnDory Posted January 10, 2014 Subscriber Share Posted January 10, 2014 it must be something in the pk3 file ? fancy posting it ? Quote Link to comment Share on other sites More sharing options...
ETsneak Posted January 11, 2014 Share Posted January 11, 2014 (edited) If you have any errors in the server console or log during the crash, posting those would be helpful as well. If there are no errors you could still post the output because it may be useful. Edited January 11, 2014 by ETsneak Quote Link to comment Share on other sites More sharing options...
Reaper Posted January 18, 2014 Author Share Posted January 18, 2014 Sorry for the late reply guys. It seems that I haven't quite got it right in my first post. To be continued... Quote Link to comment Share on other sites More sharing options...
Petbark Posted January 18, 2014 Share Posted January 18, 2014 Also with campaigns you need to make sure you have no name errors for the maps and that all the maps are in the right location. Quote Link to comment Share on other sites More sharing options...
Reaper Posted January 19, 2014 Author Share Posted January 19, 2014 The problem is this. In the silent wiki there is no entry at all about campaigns so I presume it has not changed from ETpub. The situation is this , if the server config is left as objectivecycle the sever starts and runs fine and the first admin to login can switch to a campaign. But this has to be done manually. If you set the server config to campaigncycle the server hangs. Even when gametype is changed to 4 which is campaign. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted January 19, 2014 Management Share Posted January 19, 2014 I tested with campaigncycle.cfg that is found from etmain and I didn't have any problems. Do you have this kind of entry in your campaign file? // server doesn't recognise the campaign command when the gamecode isn't running yet. set d_initial "set g_gametype 4 ; map oasis ; set nextcampaign vstr d2" vstr d_initial Quote Link to comment Share on other sites More sharing options...
Subscriber JohnDory Posted January 19, 2014 Subscriber Share Posted January 19, 2014 ours at the moment is set d1 "clearspreerecords ; campaign hhbotmulti172 ; set nextcampaign vstr d2" set d2 "campaign hhbotmulti173 ; set nextcampaign vstr d1" // server doesn't recognise the campaign command when the gamecode isn't running yet.. set d_initial "set g_gametype 4 ; map Atlantic ; set nextcampaign vstr d1" vstr d_initial vstr d1 As we are hosted by Multiplay we are missing " cmpgn_ " from the campaign file names.The other thing to remember is that the first map name after the game type is the bsp name not the pk3 name. Quote Link to comment Share on other sites More sharing options...
Reaper Posted January 19, 2014 Author Share Posted January 19, 2014 (edited) I tested with campaigncycle.cfg that is found from etmain and I didn't have any problems. Do you have this kind of entry in your campaign file? // server doesn't recognise the campaign command when the gamecode isn't running yet. set d_initial "set g_gametype 4 ; map oasis ; set nextcampaign vstr d2" vstr d_initial Yep that is what I am getting in the campaign file. Edited January 19, 2014 by Reaper Quote Link to comment Share on other sites More sharing options...
Subscriber JohnDory Posted January 19, 2014 Subscriber Share Posted January 19, 2014 Yep that is what I am getting in the campaign file. set d_initial "set g_gametype 4 ; map oasis ; set nextcampaign vstr d2" surely the line should be ending in d1 not d2 as its the first run of the server when it starts or crashes, it should be starting at the beginning ? Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted January 19, 2014 Management Share Posted January 19, 2014 No, that is from a working campaigncycle.cfg that comes with the game and it works. He didn't post his own capaigncycle.cfg yet. Quote Link to comment Share on other sites More sharing options...
Subscriber JohnDory Posted January 19, 2014 Subscriber Share Posted January 19, 2014 okey dokey Quote Link to comment Share on other sites More sharing options...
Reaper Posted January 19, 2014 Author Share Posted January 19, 2014 Here is the campaigncycle.cfg campaigncycle.cfg Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted January 19, 2014 Management Share Posted January 19, 2014 And the cmpgn_blitzkrieg starts with oasis? It's been a while since I used campaigns, but if I remember correctly, the started map had to be the one that is first in the campaign. Quote Link to comment Share on other sites More sharing options...
Reaper Posted January 19, 2014 Author Share Posted January 19, 2014 If I remember it right yes, though it wasn't I who created the custom campaign so I'd have to confirm it with the guy who did just to be sure. Quote Link to comment Share on other sites More sharing options...
Subscriber JohnDory Posted January 19, 2014 Subscriber Share Posted January 19, 2014 (edited) Your first map is oasis, so the line set d_initial "set g_gametype 4 ; oasis ; set nextcampaign vstr d2" should be set d_initial "set g_gametype 4 ; oasis ; set nextcampaign vstr d1"As you starting with the campaign cmpgn_warzone at the moment which doesn't have the oasis map in it that's why its crashing. Edited January 19, 2014 by JohnDory Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted January 19, 2014 Management Share Posted January 19, 2014 For reference, here is the full campaigncycle.cfg that comes with the game and works. set d1 "campaign cmpgn_northafrica ; set nextcampaign vstr d2" set d2 "campaign cmpgn_centraleurope ; set nextcampaign vstr d1" // server doesn't recognise the campaign command when the gamecode isn't running yet. set d_initial "set g_gametype 4 ; map oasis ; set nextcampaign vstr d2" vstr d_initial Quote Link to comment Share on other sites More sharing options...
Reaper Posted January 19, 2014 Author Share Posted January 19, 2014 Oh right will edit now and test it out Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted January 19, 2014 Management Share Posted January 19, 2014 Do note that the nextcampaign is what gets executed after the current campaign. This cvar may also have something to do with your issue.http://mygamingtalk.com/wiki/index.php/Silent_Mod_Server_Cvar#g_campaignFile Quote Link to comment Share on other sites More sharing options...
Reaper Posted January 19, 2014 Author Share Posted January 19, 2014 (edited) Tried that and I also tried setting it in the watchdog setting, have checked the g_campaignfile and its set to campaigncycle.cfg. Have just tried testing the server now and it still doesn't work... Edit - Finally got it working, realized there was a mistake there in the g_campaignfile setting which I've just corrected. Server is running normally now Edited January 19, 2014 by Reaper Quote Link to comment Share on other sites More sharing options...
Reaper Posted January 19, 2014 Author Share Posted January 19, 2014 Sorry for the double post guys.But it appears that the server wasn't executing the campaigncycle.cfg at all, I've just added that into the server.cfg again and restarted the server and guess what?Its crashing again. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted January 19, 2014 Management Share Posted January 19, 2014 Can you post the pk3 file you're using, with the *.campaign files? Quote Link to comment Share on other sites More sharing options...
ailmanki Posted January 20, 2014 Share Posted January 20, 2014 (edited) so in server.cfg just havemap oasisYou usually need to load a map before starting the campaign. But maybe that does not apply to silent.On the other hand you said you tried loading the campaign, so that sounds like manual loading - and it still crashed.. so yeah post your pk3. set d1 "clearspreerecords ; campaign hhbotmulti172 ; set nextcampaign vstr d2"set d2 "campaign hhbotmulti173 ; set nextcampaign vstr d1"// server doesn't recognise the campaign command when the gamecode isn't running yet..map oasiswait 100set d_initial "set g_gametype 4 ; map Atlantic ; set nextcampaign vstr d1"vstr d_initial Edited January 20, 2014 by ailmanki Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.