ETMods.net

N!tmod, a Wolfenstein: Enemy Territory Modification!

You are not logged in.

Announcement

You can donate to help us keeping services online.

#1 30-Sep-10 23:02:28

danmala
Member
Registered: 07-May-10
Posts: 19

Re: Voting System missing maps

Hi, i didnt find any topic about this, and i search the documentation and didnt find there either.

The thing is that when vote happens, theres only a few maps, and not all of the maps in etmain folder. It has from the "X" letter to letter "N", for maps with start "M" to "A" dont show in the vote.

I dont know what its happen. BTW i put g_maxMapsVotedFor "50" when it was "18", but didnt seem to change anything.

Thx.

Offline

#2 30-Sep-10 23:45:36

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,098

Re: Voting System missing maps

I don't use gametype 6 on my server but i will try to test it locally.

How many total maps are in your etmain folder ?

It's not possible to display more than 32 maps. Setting g_maxMapsVotedFor to 50 will cap it to 32.

Tell us :
- how many maps are in your etmain folder
- if possible the output of this command : /rcon fdir *.bsp
- the values of each mapvoting cvar (listed below)

This is the documentation for Map voting gametype,maybe it helps.

g_mapVoteFlags [bitflag]

    Bitflags to set various options for Map Voting gametype. Only valid when Map Voting gametype (g_gametype 6) is enabled.

1 : Changes the tie breaker so that the map not played in the longest wins
2 : Intermission doesn't end until g_intermissionReadyPercent people have voted. If there are no players connected to the server, intermission will end at the timeout. (WARNING: This means that if there are spectators connected and not voting, the next map will not load until those spectators either vote, disconnect, or get kicked by the system).
4 : Multi vote: Allows everybody to vote for 3 maps instead of one, first choice map gets 3 votes, second choice gets 2, third choice gets one.
8 : Don't randomize the maps, so they will always appear in the same order.
16 : A passed nextmap vote (when g_gametype is 6) will start the intermission and lets players vote which map should be played next. NOTE: this makes one of the two teams be displayed as winner.

    Default: 0

g_maxMapsVotedFor [integer]

    How many maps are presented to users for voting upon during intermission. Only valid when Map Voting gametype (g_gametype 6) is enabled.

    Default: 6

g_minMapAge [integer]

    How long a map is ineligible for voting, after it is played. Only valid when Map Voting gametype (g_gametype 6) is enabled.

    Default: 3

g_resetXPMapCount [integer]

    How many maps occur before XP is reset. If g_XPSave flag 4 is set, g_resetXPMapCount is ignored.
    Similarly, if g_resetXPMapCount is set to 0, it is the same as setting g_XPSave flag 4. Only valid when Map Voting gametype (g_gametype 6) is enabled.

    Default: 0

g_excludedMaps [string]

    Used to exclude map that would otherwise be listed in the map voting list. The format is ":map1:map2:map3:", where mapX is the .bsp name. Note that each mapname must be fully surrounded by ":"     otherwise the map will not be excluded. Only valid when Map Voting gametype (g_gametype 6) is enabled.

    Default: ""


iluvnitmod.png

Offline

#3 01-Oct-10 00:29:08

danmala
Member
Registered: 07-May-10
Posts: 19

Re: Voting System missing maps

55 maps
the commands works fine. Says 60 files listed

g_mapVoteFlags 20
g_maxMapsVotedFor 50 - i will change it to 32
g_minMapAge 3
g_resetXPMapCount 0
g_excludedMaps ""

Offline

#4 01-Oct-10 00:34:33

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,098

Re: Voting System missing maps

Ok, try to count how many maps are displayed during the intermission.

You have 55 maps and the mod will not display more than 32 maps, this could be the reason why you don't see all the maps.


iluvnitmod.png

Offline

#5 01-Oct-10 23:06:46

danmala
Member
Registered: 07-May-10
Posts: 19

Re: Voting System missing maps

I don't have time to count how many maps there. But i open the mapvoteinfo.cfg and there shows the maps, and guest what, 32 maps (including the 6 original maps).

I will reduce the maps in etmain folder.
Is it possible to increase the max number of maps in voting system?

Thx anyway.

Offline

#6 07-Oct-10 08:18:09

Black
Member
Registered: 31-Jul-10
Posts: 34

Re: Voting System missing maps

dont think so dan 32 is the max, i had this problem aswell:)

Offline

#7 11-Oct-10 14:10:10

KoSH
Member
Registered: 14-Aug-10
Posts: 31

Re: Voting System missing maps

I don't know how many slots your server has, but anyway i doubt that it is a good idea to have 60 maps "ready to use" in your server's etmain-folder. Never experienced Max-gamestate-errors?


http://www.attawaybaby.de
ET://213.239.202.61:27040


"If there are no stupid questions, then what kind of questions do stupid people ask? Do they get smart just in time to ask questions?"
— Scott Adams

Offline

#8 12-Oct-10 04:54:01

Black
Member
Registered: 31-Jul-10
Posts: 34

Re: Voting System missing maps

Kosh i have over 80maps stored in my servers etmain folder...

i have map voting enabled...

i just have in my server cfg g_excludemaps (mapname), (mapname) e.t.c and just swap out old maps with the new ones e.t.c

never experienced any problems:)

Offline

#9 12-Oct-10 17:21:55

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,098

Re: Voting System missing maps

Every single PK3 is added to the gamestate.

What's the gamestate ? It's a total of 1024 text strings (also known as configstrings) which can take up to 16000 chars.

If the gamestate reaches 16000 chars, every clients will be dropped by the "MAX_GAMESTATE_CHARS exceeded" error.

In N!tmod 2.0, we tried to reduce configstrings size as much as possible,in order to avoid this error.

Here is an exemple of configstring filled by ~65 pk3 :

\sv_fps\20\sv_referencedPakNames\nitmod/nitmod_2.1            etmain/temple_final          etmain/school      etmain/pak0 etmain/over_the_top                           etmain/Baserace_score        etmain/1944_beach\sv_referencedPaks\-1630164696 -1836458133 -1456457463 -1721695896 787610372 -228010380 489952146 \sv_pakNames\nitmod/nitmod_2.1 etmain/xposed etmain/wolfsrudel etmain/Warbell etmain/venice_ne4 etmain/venice etmain/v2_factory etmain/v2base etmain/UJE_00 etmain/twc_sniper etmain/trainyard etmain/te_valhalla etmain/temple_final etmain/tc_base etmain/sw_oasis_b3 etmain/sw_goldrush_te etmain/supply_pro etmain/supplydepot2 etmain/supply etmain/sp_delivery_te etmain/sot_b2 etmain/snatch3 etmain/school etmain/rochelle_b2 etmain/reactor_final etmain/psl_koth etmain/prison2 etmain/parisbastille_b3 etmain/pak0 etmain/over_the_top etmain/oilraid etmain/mp_bin etmain/mlb_egypt etmain/mlb_daybreak etmain/karsiah_te2 etmain/italyfp2 etmain/Haemar_b1 etmain/Haemar_a11 etmain/goldrush-gals etmain/fueldump_uv etmain/Frostbite etmain/et_ufo_b3 etmain/et_mor_pro etmain/et_mor2_night_final etmain/et_mor2 etmain/et_beach etmain/el_kef_final etmain/dubrovnik_final etmain/ctf_face_b1 etmain/caen_4 etmain/caen2 etmain/bremen_final etmain/bremen_b3 etmain/bremen_b2 etmain/braundorf_final etmain/braundorf_b4 etmain/Baserace_score etmain/baserace etmain/axislab_final etmain/apple-run1 etmain/adlernest_2 etmain/adlernest etmain/2tanks_171 etmain/2hide_cal_r1 etmain/1944_beach\sv_paks\-1630164696 595046023 836563620 1591789885 -1065770010 1855666481 383414230 2067314297 -1897690160 -1640069668 -1170696492 -2033274206 -1836458133 -2439442 -1323666142 1639799261 619876956 -688383975 374286664 -699467615 -1592306039 -2129806462 -1456457463 -632306784 -1095230848 1243678237 -269636525 -817454015 -1721695896 787610372 1511663587 2004278281 1334543200 -2019982389 -1238305459 268482606 49713718 -905018215 180366021 -258771133 22823923 -1351760764 2111098854 185216954 -1045552547 2042159590 -1513571545 -2136487105 -412702410 -417776541 1888894588 1643844192 -1603356294 -1532251704 -2122003583 -288938336 -228010380 -1001954830 180803885 1656840546 976663846 -540298532 -754514202 2068272356 489952146 \sv_pure\1\sv_serverid\169425082\sv_privateClients\0\timescale\1\pmove_msec\8\pmove_fixed\0\fs_game\nitmod\sv_cheats\1

This is just a little part of the gamestate. The gamestate also contains a lot of things such as :
- Userinfo strings
- Trigger names (used to display "You are near ..." and other things)
- MOTD's
- some map sounds
- chargetimes
- Server info
- some server settings
and much more...

On a populated server, i would recommend trying to reduce the number ok PK3 files to avoid the MAX_GAMESTATE_CHARS error.

If you have to use soundpacks, skinpacks etc... i would recommend making one single pk3 with all the content, and try to use a short name, like "z_*tag*Pak.pk3".


iluvnitmod.png

Offline

#10 13-Oct-10 05:14:07

Black
Member
Registered: 31-Jul-10
Posts: 34

Re: Voting System missing maps

ohhhh i might try that nitrox...i have a problem where if there are a heap of clients downloading a map at once..a few of them wont get into the server...like after the download it will just 'hang' there and the only way they can get in is by /reconnect ..or exiting completley and reconnecting...

i have a skinpack and a soundpack running so if i combine both of them into 1 .pk3 would that fix this problem? or could it just be a unreliable redirect..

cheers

Offline

#11 13-Oct-10 06:01:33

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,098

Re: Voting System missing maps

This has already happend to me many times (no matter what mod was running on the server).

IIRC, when it happens the loadpanel shows "Awaiting gamestate...". So, I think this is an engine bug.

I would say either the server is not sending the GS to the client, OR, the client is not receiving the GS correctly/completely.

All we can do is hope that clients know they have to /reconnect...


iluvnitmod.png

Offline

#12 16-Jan-11 20:52:18

Blaze
Member
From: Holland
Registered: 16-Jan-11
Posts: 1
Website

Re: Voting System missing maps

Hi guys!

I'm running the Gametype 6 as well, and encountered a similar problem..

I got the following lines in my server.cfg:

//Only valid if gametype = 6
set g_maxMapsVotedFor         "32"
set g_minMapAge               "3"
set g_mapVoteFlags            "21"
set g_excludedMaps            ":oasis:goldrush:bremen_b3:"
set g_resetXPMapCount         "0"

I got 32 maps that can be voted on as well, but there will only show 19 during intermission.
The scrollbar to see the other maps down the list doesn't work for me.

I posted my problem here since it was most related imo, and I made sure that everything posted above was correct etc!

Hope someone knows how/why this happens and how this can be solved!

Blaze


hfbsblaze2copy-1.png

Offline

Board footer

Powered by FluxBB