Mapgroup / Config Problem PLS HELP
5 Attachment(s)
When I restart my server it doesn't recognize my mapgroup (console command: print_mapgroup see screenshot), as soon as the match is over the match voting starts and it shows the maps with "undefined". You can still select a map and it will then be loaded. After this map has loaded and you enter mapgroup, it suddenly recognizes the mapgroup mg_costum in my gamemode_server.txt and at the end of the match the maps are no longer displayed as "undefined".
I assume that it doesn't load the mapgroup when booting up, it only loads the correct mapgroup when changing the map. What can i do that the server instantly load my mapgroup mg_costum ? |
Re: Mapgroup / Config Problem PLS HELP
You need to set mapgroup on the servers start up command line.
Or have it in your servers config file (but without the + if it is in the config file). Add this exactly to your server start up line +mapgroup mg_custom Here is my servers start up. "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\bin\win64\cs2.exe" -dedicated -usercon -dev -condebug -insecure +game_type 0 +game_mode 0 +mapgroup mg_custom +map de_vertigo If you define more map groups in gamemode_server.txt you can use the mapgroup command in the server console to set to it. I have for example mg_all mg_de mg_cs mg_best etc. and its a nice feature to say hey let's do all cs_ maps for a while and then just give the server a mapgoup mg_cs command to then have only cs_ maps load and have only cs_ maps show up in the end match voting. |
Re: Mapgroup / Config Problem PLS HELP
Quote:
sv_full_alltalk "1" sv_auto_full_alltalk_during_warmup_half_end "1" sv_damage_print_enable "1" sv_ignoregrenaderadio "0" cl_versus_intro "0" sv_infinite_ammo "0" mapgroup "mg_custom" the server does not load the server.cfg when starting up. Even if I place an echo I don't see an echo in the console that has loaded the config. That's why the first map doesn't have the mapgroup. I don't understand where i can put something in my servers start up line. I hostet a server. i got this one not: "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\bin\win64\cs2.exe" i hostet a server from a site and i got only this /game/csgo/bin/linuxsteamrt64 but i cant place there anything. |
Re: Mapgroup / Config Problem PLS HELP
print_mapgroup isn't a server-side command ? cuz it does nothing when i access it :(
I also didn't succeded in setting server side map grup on CS2 |
Re: Mapgroup / Config Problem PLS HELP
Quote:
It is a command when you are on the server to display the map group Even if I enter print_mapgroup_sv in the server console (that's the correct console command) it doesn't show me a mapgroup on the first map, only after the 1st match is over does it load the config and show me the mapgroup. see screenshots! |
Re: Mapgroup / Config Problem PLS HELP
Guys,
The command to print the current mapgroup (and its contents) is print_mapgroup_sv Use the find command when you trying to figure out commands. enter this find mapgroup name value default flags help text ________________________ ______ ________ ______ _____________________________________________ _____ host_workshop_collection game Host a workshop map collection as a mapgroup mapgroup game Specify a map group print_mapgroup_sv game Prints the current mapgroup and the contained maps I just ddid some testing with mapgroup in gamemode_xxx.cfg file and the server reports that it loaded it but then on map vote you get the undefined errors. Thus you have to put mapgroup in your servers start up parms. And server.cfg is definitely getting execuited but I don't use it. Why complicate things. Just put everything in the one gamemode file. SV: CGameRulesGameSystem::GameInit installed game rules CSceneManager::AddCaptionFile( resource/subtitles/closecaption_english.dat ) LoadResponseSystem scripts/talker/response_rules.vrr - StartCResponseSystem: scripts/talker/response_rules.vrr (7681 rules, 811 criteria, and 7681 responses) LoadResponseSystem scripts/talker/response_rules.vrr - FinishEntry player was not found in surfaceproperties_footsteps.txt exec: couldn't exec '{*}cfg/skill1.cfg', unable to read file execing server_default.cfg execing server.cfg execing gamemode_casual.cfg exec: couldn't exec '{*}cfg/gamemode_casual_server.cfg', unable to read file ============================================= ============================================= ============ Start server.cfg ============================================= =========================== ============================================= ============================================= ============ End server.cfg ============================================= =========================== ============================================= ============================================= ============================================= ============================================= ============ Start gamemode_casual.cfg ============================================= ================ ============================================= ============================================= LOOK the server IS setting the mapgroup and telling us right here Setting mapgroup to 'mg_custom' <======== mapgroup command IS working in gamemodes file. BUT you will get undefined on map vote..... -------------------------------------------------------- sv_pure value unchanged (current value is 0). -------------------------------------------------------- Unknown command 'mp_molotovusedelay'! Unknown command 'spec_freeze_panel_extended_time'! Unknown command 'sv_occlude_players'! Unknown command 'occlusion_test_async'! Unknown command 'sv_gameinstructor_enable'! NumAliveTerrorist( rnd 0 ) = 0 NumAliveCT( rnd 0 ) = 0 ============================================= ============================================= ============ End gamemode_casual.cfg ============================================= ============================================= ============================================= ============================================= Failed loading resource "materials/models/player/holiday/facemasks/facemask_battlemask/battlemask.vmat_c" (ERROR_FILEOPE |
All times are GMT -4. The time now is 14:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.