View Full Version : ADMINS PLEASE READ! Bug on CC
Andrew Past
11-05-2004, 04:28
There's a MAJOR bug at CC where the server gets stuck in intermission when trying to switch maps(i.e. Both of the servers are stuck :( )
RenegadeOfPhunk
11-05-2004, 09:45
Sincere apologies - and this is where I need the help of you guys - I'm an admin n00b! :eek:
At the bottom of my config file, I have the following:
// Maps rotation:
set d1 "set g_gametype 7; map mb2_cloudcity; set nextmap vstr d2"
set d2 "set g_gametype 7; map mb2_tantiveIV ; set nextmap vstr d3"
set d3 "set g_gametype 7; map mb2_jabba ; set nextmap vstr d1"
// start the first map
vstr d1
And yet when it tired to move off mb2_cloudcity, it tried to load cloudcity (the old map, which no longer exists on the server..!)
..that's why it got stuck. Any ideas as to why it would do this? I have not specificed this map anywhere in the .cfg file.. :/
Well anyway, I have now made both our servers proper MB servers (cos the demand required it). I have converted our other server from a duel server to another proper MB server. And I've enabled voting on that server, so if the server get's stuck, you can vote in a new map.
However, I've turned pure server on on that one, because (I hate to break it to you guys )were still have crashing problems in Build 15... :(
...although don't get too upset - I'm sure it's not anything to do with the Droideka this time. I think it may be to do with taking off pure server - which is why I'm leaving one of them on pure, so that we can see if one crashes and the other doesn't.
Anyway - I'm not in tonight, so I hope all goes will for you. If not, you can try and contact Kenyon - he also has direct access to the server machine, and can restart the servers if something bad happens.
The variable d2 still exists in the current rotation... if you adapt it, realy restarting will enable you to clean that up. so quit the server and restart, then it should work.
If you want to remove one map from the rotation it should now look like this, or similar:
// Maps rotation:
set d1 "set g_gametype 7; map mb2_cloudcity; set nextmap vstr d3" <- dont forget!
//set d2 "set g_gametype 7; map mb2_tantiveIV ; set nextmap vstr d3"
set d3 "set g_gametype 7; map mb2_jabba ; set nextmap vstr d1"
// start the first map
vstr d1
RenegadeOfPhunk
11-05-2004, 12:58
dFt^Nut,
I dont' want to miss out any of the maps in the rotation - I just want the game to actually load the map(s) I've specified...
The problem is that the game is trying to load cloudcity.bsp (which I haven't specified in the config file, and which doesn't actually exist on the server) instead of loading mb2_tantiveIV.bsp.
cloudcity.bsp USED to be there, so I'm guessing some kind of old config is being somehow referenced.. :/
Ooh, but then i think i know whats bugging you, delete the jampserver.cfg file, the file gets generated and written to by jkja. I suspect the data to be in there, bugging your config over.
RenegadeOfPhunk
11-05-2004, 15:56
Ahh - that sounds quite promising.
I'll try that - thx
Another CC bug: mandalorians (maybe jedi?) can get on the roof through a sort of window in the ceiling, and then shoot through the roof (i really wouldn't mind the hiding there if it wasn't for the shoot-trough, it's partly the use of the jetpack imo).
Andrew Past
11-05-2004, 20:27
Both of the servers are stuck again... I'd suggest removing map rotation for right now.
Another CC bug: mandalorians (maybe jedi?) can get on the roof through a sort of window in the ceiling, and then shoot through the roof (i really wouldn't mind the hiding there if it wasn't for the shoot-trough, it's partly the use of the jetpack imo).
ya i made a ss so they know what we talking about
Darth Bamse
11-05-2004, 23:28
That roof thing is kinda lame, I agree.
dFt^Nut,
cloudcity.bsp USED to be there, so I'm guessing some kind of old config is being somehow referenced.. :/
Well, um, here goes my idea. The problem is that my experience is with linux server, and your server seems to be win, but, well, maybe this could help. I remember that the linux jka dedicated server (and jo does the same) creates a *hidden folder* where it saves a copy of the log and the *current* .cfg. And it seems that if you restart the server, it may read that .cfg copy instead of the original one. So, sometimes, I had to delete that .cfg copy to get my new .cfg working.
RenegadeOfPhunk
12-05-2004, 11:31
Well guys,
I really don't understand why the rotation isn't working :mad:
I've cleared out all and any old .cfg files I had and made the only .cfg file for that server is as I specified above.
...and yet still the server seems to want to load cloudcity.bsp...! :eek:
I've taken off map rotation for the moment while I try and sort this out.
Also, I'll talk to Dacks about the roof issue...
Is there any place i can talk to you 1on1 realtime? no msn, because that smells :P
Darth Bamse
12-05-2004, 16:28
Is there any place i can talk to you 1on1 realtime? no msn, because that smells :P
Join #Movie_Battles on IRC.
Well, more ideas on the rotation-problem issue.
1.
Try set g_automapcycle "0" . Maybe this *automapcycle* is useful only when you want the server to cycle to all maps of the selected gametype. Well I m not sure :rolleyes:
2.
Insted of
// start the first map
vstr d1
Use
// start the first map
map mp/mb2_cloudcity
(well, the path of that map... I see that you were working without the "mp/"...)
3.
You dont need the *set g_gametype 7* in every line, i think. So it would be something like this:
// (maybe)
set g_automapcycle "0"
// rotation
set d1 "map mb2_cloudcity; set nextmap vstr d2"
set d2 "map mb2_tantiveIV ; set nextmap vstr d3"
set d3 "map mb2_jabba ; set nextmap vstr d1"
// start
map mb2_cloudcity
4.? And, well, I repeat the previous suggestion: if nothing works and if you can do it, delete everything in the server and re-install or... just move it to a different folder.
Well, no more ideas now :p
CerberuS
15-05-2004, 13:13
oh my - first post and already nagging :o
referring to what sais has said (in the following i am assuming that the server's config file is named "server.cfg"):
1. g_automapcycle has to be 0 in any case if u want to use a custom map rotation, otherwise it causes conflicts (well, usually the automapcycle "wins" vs the custom one but sometimes rotation stops completely)
2. i would not recommend starting the first map with a "map"-command. the essential thing about the custom rotation is that the "nextmap" variable is set up correctly and if u start the first map with a "map"-command, the value of "nextmap" is automatically set to "map_restart 0" (if automapcycle is off). in short: no rotation then ;)
3. sais is right here, u don't need to set the gametype in every line - only necessary when u have a mapcycle including different gametypes (like cycling ffa, duel and powerduel etc). anyway, it should do no harm if u repeat it in every line.
i could offer some suggestions of my own (i also only had linux servers though, so i don't know in what degrees this also applies to windows ones):
1. try moving the map rotation to a separate file (e.g. maps.cfg).
the maps.cfg should look like this:
set map1 "map mb2_cloudcity; set nextmap vstr map2"
set map2 "map mb2_tantiveIV; set nextmap vstr map3"
set map3 "map mb2_jabba; set nextmap vstr map1"
vstr map1
in the server.cfg only place:
exec maps.cfg
at the end. this way u shouldn't encounter this problem again when u want to change the map rotation.
2. check the jampconfig.cfg if it still contains the old map rotation or if g_automaprotation is still set to "1" there. if it does, change it to "0" (lol). the jampconfig.cfg is a backup file of the server settings at the last restart and should be in the "base" folder.
3. now this will sound wierd :p check the value of the bot_enable variable. it has to be set to "1" in order for any map rotation to work. i know this sounds strange as this variable normally should just activate/deactivate the usage of bots at the server but i disabled it once on a siege server and the maps stopped cycling... setting it to "1" does no harm anyway as long as bot_minplayers is "0" and an admin does not add bots manually.
4. try restarting the server and then executing the server.cfg manually (/rcon exec server.cfg) - sometimes this helps.
hope i could help :)
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.