Raised This Month: $51 Target: $400
 12% 

Mapgroup / Config Problem PLS HELP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jinni
Junior Member
Join Date: Apr 2022
Old 11-19-2023 , 14:42   Mapgroup / Config Problem PLS HELP
Reply With Quote #1

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 ?
Attached Thumbnails
Click image for larger version

Name:	Bild 2.jpg
Views:	85
Size:	93.9 KB
ID:	202240   Click image for larger version

Name:	Bild 3.jpg
Views:	68
Size:	91.8 KB
ID:	202241   Click image for larger version

Name:	Bild 4.jpg
Views:	57
Size:	93.4 KB
ID:	202242   Click image for larger version

Name:	Bild 1.jpg
Views:	56
Size:	93.0 KB
ID:	202243   Click image for larger version

Name:	Screenshot 2023-11-19 204137.png
Views:	94
Size:	11.2 KB
ID:	202244  


Last edited by jinni; 11-19-2023 at 14:43.
jinni is offline
Austin
Senior Member
Join Date: Oct 2005
Old 11-20-2023 , 02:02   Re: Mapgroup / Config Problem PLS HELP
Reply With Quote #2

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.

Last edited by Austin; 11-20-2023 at 02:05.
Austin is offline
jinni
Junior Member
Join Date: Apr 2022
Old 11-20-2023 , 07:58   Re: Mapgroup / Config Problem PLS HELP
Reply With Quote #3

Quote:
Originally Posted by Austin View Post
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.
its in my server.cfg look :

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.

Last edited by jinni; 11-20-2023 at 10:16.
jinni is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 11-20-2023 , 08:02   Re: Mapgroup / Config Problem PLS HELP
Reply With Quote #4

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
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 11-20-2023 at 08:06.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
jinni
Junior Member
Join Date: Apr 2022
Old 11-20-2023 , 08:07   Re: Mapgroup / Config Problem PLS HELP
Reply With Quote #5

Quote:
Originally Posted by CryWolf View Post
print_mapgroup isn't a server-side command ? cuz it does nothing when i access it

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!
jinni is offline
Austin
Senior Member
Join Date: Oct 2005
Old 11-20-2023 , 19:35   Re: Mapgroup / Config Problem PLS HELP
Reply With Quote #6

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

Last edited by Austin; 11-20-2023 at 20:12.
Austin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode