Jump to content

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

enabled/disabled maps

- - - - -

  • Please log in to reply
44 replies to this topic

#21
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
ok now ive tried with 0-2 when there was 2 players on server and map disapperead from the list nicely, but now Ive put back 0-1 and there is still 2 players on server and did few time's nextmap nd all, but map is not coming back on list, btw ive changed playercounting to 4, any ideas why? thx

#22
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
You need to have default setting for the g_excludedMaps that willrestore the value. These are not like forced cvars on the client side, but just like normal server config cvars. Once you set something it will remain until it is set again. Even over server restarts if the cvar is archived type.

EDIT:
An example
set g_excludedMaps ""
[players 0-2]
set g_excludedMaps ":purefrag:"
[/players]

The order is important. The commands that are later in the config override the commands already execed.

#23
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia

You need to have default setting for the g_excludedMaps that willrestore the value. These are not like forced cvars on the client side, but just like normal server config cvars. Once you set something it will remain until it is set again. Even over server restarts if the cvar is archived type.


Now u lost me again, what r u suggesting me to do?

#24
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Oops. I was late with editing, please look at my previous post I edited an example there.

#25
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
looks like the key was


set g_excludedMaps ""
[players 0-2]
set g_excludedMaps ":purefrag:"
[/players]

set g_excludedMaps "" i needed that line, now everything works how much i could see.

#26
OFFLINE   ShaDoW

ShaDoW

    Member

  • Members
  • PipPip
  • 41 posts
1
A step in the right direction
we have this now in our default.cfg on our testserver

[players 0-14]
set g_excludedMaps ":1944_beach:industry2_final:mlb_temple:mlb_daybreak:glider:cortexbeta_who:"
[players 15-19]
set g_excludedMaps ":purefrag:GA_El_Kef:1944_beach:industry2_final:mlb_temple:mlb_daybreak:glider:"
[players 20-*]
set g_excludedMaps ":purefrag:GA_El_Kef:"
[/players]

me and 2 bots are on server. When I do nextmap industry2_final and cortexbeta_who are still visible in the votelist but :mlb_temple, mlb_daybreak, glider and 1944_beach not anymore.
I checked the pk3 filenames already and they are correct.
What do I wrong?

Edited by ShaDoW, 01 July 2012 - 04:29 PM.


#27
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
You can check thestored values from the server.dat in the silent folder. It has 4 rows and the last 2 rows are the stored player counts. Also, check the log, it does verbosely explain which blocks it execs or parse errors from the block markups.

#28
OFFLINE   ShaDoW

ShaDoW

    Member

  • Members
  • PipPip
  • 41 posts
1
A step in the right direction
okay thanks. I already found it, industry2_final must by industry2 and cortexbeta_who must be cortex_who

#29
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
hey, ever since i started using silent mod i had this in my server.cfg and i still got it:

set g_excludedMaps ":battery:goldrush:radar:"

but since ive updated to silent mod 0.5.2 it doesnt work anymore, cuz all that 3 maps are votable, i think it has something with player counting ive made in default.cfg this:


[players 0-9]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:baserace_desert:" //purefrag and el_key are playable
[players 9-12]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:" //baserace_desert, purefrag and el_key are playable
[players 13-14]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:purefrag:" ////baserace_desert and el_key are playable
[players 15-17]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:purefrag:ga_el_kef:" //baserace_desert is playable
[players 18-19]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:purefrag:ga_el_kef:" //baserace_desert and cortex_who are playable
[players 20-*]
set g_excludedMaps ":purefrag:ga_el_Kef:" //baserace_desert and cortex_who, industry2 ,mlb_temple ,mlb_daybreak are playable
[/players]

any ideas how to make those 3 maps disabled again? thx

#30
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPipPip
  • 2693 posts
158
On the road to fame
Try this:

[players 0-9]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:baserace_desert:battery:goldrush:radar:"
[players 9-12]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:battery:goldrush:radar:"
[players 13-14]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:purefrag:battery:goldrush:radar:"
[players 15-17]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:purefrag:ga_el_kef:battery:goldrush:radar:"
[players 18-19]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:purefrag:ga_el_kef:battery:goldrush:radar:"
[players 20-*]
set g_excludedMaps ":purefrag:ga_el_Kef:battery:goldrush:radar:"
[/players]


#31
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
well sum are disabled, battery and goldrush, but radar is still there :S, +, when there is 20+ people mlbdaybreak,temple and industry are still not on voting list :S it has been 20+ for few maps but they never appeared on vote list, when i do rocn set g_exlucdedmaps always says that industry,temple and daybreak are excluded :S

#32
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
correction, also the goldrush map is there...also should be disabled cuz it says that is disable when i do g_excludedmaps

#33
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Check from logs what it says when it is execing the config files. This will ensure the block you want is executed or if not, you will see what is the player amount it is using. About the goldrush, make sure you don't have some custom version on the votable list and that there are no typos in the map names.

Just tomakesure, you did add these blocks into the default.cfg in the g_mapConfigs directory?

#34
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
yes it is in mapconfigs directory in default.cfg...


here are all logs...so please look into and see if you cant find anything wrong, cuz i wasnt been able to :/

Edited by gaoesa, 02 July 2012 - 03:23 PM.
Got the file thanks. Removed the download link to prevent any data leaks.


#35
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Execing default.cfg mapconfig for 21 players.
  * Execing commands for player amount between 20 - 64.
  * Execed total of 22 commands from the config file.
Execing supply_pro.cfg mapconfig for 21 players.
  * Config file "mapconfigs/supply_pro.cfg" was not found.

This is the type of log entrys to look for. I searched for parse error messages and I didn't find those. It seemed in the log that there were very few times when the 20 players were exceeded. As for the error of having always the same g_excludedMaps it might suggest you have another set g_excludedMaps somewhere after the blocks. If that is the case, it will overrule the g_excludedMaps inside the blocks.

#36
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
now smthing wierd happend, all from the sudden daybreak map was on the list...but now its not anymore, still no trace of industry or temple :S

#37
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
i am sure that there isnt g_excludedmaps anywhere but in that default.cfg...but its just not working, sum things are working, for example cortex is votable when there is 17-18 people, purefrag is votable when there is 12 people or under, el kef is votable when there is certain amount of people, only cant remove those standard maps, battery,goldrush,radar and this daybreak,temple and industry arent working...dunno what is the prob...

#38
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
this is what ive found:


192:00 Start of warmup.
192:00 Cheat logfile open: cheat.log
192:00 Execing default.cfg mapconfig for 21 players.
192:00 * Execing commands for player amount between 20 - 64.
192:00 * Execed total of 22 commands from the config file.
192:00 Execing industry2.cfg mapconfig for 21 players.
192:00 * Config file "mapconfigs/industry2.cfg" was not found.

coundt find anything else in etconsole or server console...

#39
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
never mind it, giving up on this, thank you for the support anyway.

#40
OFFLINE   ShaDoW

ShaDoW

    Member

  • Members
  • PipPip
  • 41 posts
1
A step in the right direction

Try this:

[players 0-9]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:baserace_desert:battery:goldrush:radar:"
[players 9-12]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:battery:goldrush:radar:"
[players 13-14]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:purefrag:battery:goldrush:radar:"
[players 15-17]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:cortex_who:purefrag:ga_el_kef:battery:goldrush:radar:"
[players 18-19]
set g_excludedMaps ":industry2:mlb_temple:mlb_daybreak:purefrag:ga_el_kef:battery:goldrush:radar:"
[players 20-*]
set g_excludedMaps ":purefrag:ga_el_Kef:battery:goldrush:radar:"
[/players]

This works, ty.
Btw, Do u guys know which name I must take for the map ga_el_kef? "ga_el_kef" doesn't work in the default.cfg




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users