Jump to content

next map always the same ...


clan DIABOLIK

Recommended Posts

Hello everybody !

 

I've noticed this morning a strange behavior : :

 

--> when a map is ended, if nobody choose a map, the same map is restarted.

 

--> even if vote nextmap is done, the same is played 

 

My friend who is Unix admin of little VPS-box we pay  together, has just changed the silent.cfg about an XPsave setting (He made a "diff" with a recent backup, and only this CVAR has changed).

 

What could be wrong ?? Here is the mapvotecycle.cfg who is executed at the end of silent.cfg :

 

// silEnT mod - Sample MapVote cycle file
 
// Each map in this map order is executed whenever there are no votes for a map,
// otherwise, the map that gets the most votes for is played
set d1 "set g_gametype 6 ; map oasis ; set nextmap vstr d2"
set d2 "set g_gametype 6 ; map battery ; set nextmap vstr d3"
set d3 "set g_gametype 6 ; map goldrush-ga ; set nextmap vstr d4"
set d4 "set g_gametype 6 ; map railgun ; set nextmap vstr d5"
set d5 "set g_gametype 6 ; map radar ; set nextmap vstr d6"
set d6 "set g_gametype 6 ; map fueldump ; set nextmap vstr d1"
vstr d1

 

 

And as said before, the only file with its date has changed, is the silent.cfg, with the XPsave setting.

 

Any idea please ???

 

NB: Thanks in advance, it's not a big problem, because mapvote runs like a charm xD

 

V55

[DIABOLIK]$mart

Link to comment
Share on other sites

yea you'll have to reset your nextmap

 

set nextmap "vstr d1"

but I still am unsure what causes it, if I remember right I think it is certain maps do it. (I had the problem a lot with sniper and panzer maps)
But perhaps someone else knows what exactly it is so you can stop it from happening in future.

Link to comment
Share on other sites

could be:

 

1) invalid mapvotecycle.cfg (invalid d.. order and/or missing d1), should be configured like

 

set d1 "set g_gametype 6 ; map oasis         ; set nextmap vstr d2"
set d2 "set g_gametype 6 ; map fueldump   ; set nextmap vstr d3"
set d3 "set g_gametype 6 ; map goldrush    ; set nextmap vstr d1"
vstr d1

 

2) map winner isn't defined in the mapscript

for example: ae_sniper_challenge map

 

in this case

a)extract mapscript from the map pk3 (unzip it),

b)edit winner (axis or allies) in the spawn section

 

spawn
{

...

// 0 - axis, 1 - allies

wm_setwinner 0

...

}
c) upload the above mapscript to /silent/mapscripts directory to overwrite the original

 

i hope this is helpful :D

Link to comment
Share on other sites

@twiti: thanks, but my mapvotecycle.cfg was unchanged since days, and problem was on all maps, not the maps you talk with bad scripts inside.

 

Thanks Zelly, after a restart server this morning, all is right! Problem solved :the cvar nextmap is well "vstr d2" (if I am on the 1st map).

 

But it was really strange problem ! Maybe a bug or else ???

 

V55 and long life to ET !

:rolleyes:

Edited by clan DIABOLIK
Link to comment
Share on other sites

Hello Petbark

 

Yes, restarting the server has solved the issue  B)

 

I run g_gametype 6 (voting mode) and normally,it is impossible to vote for a campaign (because I use the zzremove_stock_campaigns.pk3)

But maybe an admin with referee password has done it, I need to test that, thanks for the idea/info man !

 

V55

[DIABOLIK]$mart

Link to comment
Share on other sites

Your problem is most likely not permanently solved.

Like twiti said it is likely a problem with a certain mapscript.

Restarting your server, or resetting nextmap will only fix it until the problem map has been voted again.( You may not know which map it is right away, because at the end of the map players may vote for another map, there for not triggering nextmap)

Anyways you will need to locate the map somehow, and reupload the mapscript to your server with twiti's fix.

Or you will probably have to keep restarting your server every time it happens (Unless it was not a problem with the map)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...