Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

next map always the same ...


  • Please log in to reply
12 replies to this topic

#1
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better

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



#2
OFFLINE   Zelly

Zelly

    Regular Member

  • Coders
  • PipPipPip
  • 141 posts
73
Getting Better

Try checking your nextmap cvar in rcon.

 

Sometimes it gets set to "map_restart 0" I forget what exactly causes it though.
 



#3
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better

Thx Zelly

 

I've got:

 

21:42:41 nextmap
21:42:41 "nextmap" is:"map_restart 0^7" default:"^7"

 

 

I go to sleep now, and I can not know if pb is solved by itself, because there are actually some players and impossible for me to avoid them voting during intermission ... let's wait & see xdD


#4
OFFLINE   Zelly

Zelly

    Regular Member

  • Coders
  • PipPipPip
  • 141 posts
73
Getting Better

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.



#5
OFFLINE   twiti

twiti

    Member

  • Members
  • PipPip
  • 37 posts
19
On a distinguished road

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



#6
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better

@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, 04 February 2014 - 01:15 PM.


#7
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

@clan DIABOLIK

 

Please read his post again. There was information not only about the map cycle but also how specific maps can cause this issue.



#8
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better

??? that's why I've answered him "problem was on all maps, not the maps you talk with bad scripts inside."



#9
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

Sorry.



#10
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better

you welcome   :)  anyway you are right-way to educate people on your forum, that's why it is a high-quality forum man !



#11
OFFLINE   Petbark

Petbark

    Advanced Member

  • Members
  • PipPipPipPip
  • 185 posts
30
Getting Better
I trust you tried restarting server.

We don't use map vote but find if people vote to change to campaign from objective then it can glitch. I have put this down to et not the mod.

#12
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better

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



#13
OFFLINE   Zelly

Zelly

    Regular Member

  • Coders
  • PipPipPip
  • 141 posts
73
Getting Better

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)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users