Raised This Month: $32 Target: $400
 8% 

Wrong nextmap and strange mapchanges


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 02-24-2020 , 05:40   Wrong nextmap and strange mapchanges
Reply With Quote #1

Hello all,

since my CSGO-Server is installed, i have problems with my mapcycle.

I use Workshop-Maps and therefor i use a map-collection.

The Server starts with the necessary map-collection ID.

The following Plugins are installed:

Code:
 "HLStatsX API" (1.7.0) by NomisCZ (-N-)
 "Admin Help" (1.10.0.6459) by AlliedModders LLC
 "Map Time" (1.0.0) by EGood
 "Player Commands" (1.10.0.6459) by AlliedModders LLC
 "Basic Chat" (1.10.0.6459) by AlliedModders LLC
 "Admin Menu" (1.10.0.6459) by AlliedModders LLC
 "Client Preferences" (1.10.0.6459) by AlliedModders LLC
 "SuperLogs: Generic" (1.0) by psychonic
 "Fun Commands" (1.10.0.6459) by AlliedModders LLC
 "[CSGO] HLstatsX plugin" (1.6.19) by psychonic
 "Basic Info Triggers" (1.10.0.6459) by AlliedModders LLC
 "Admin File Reader" (1.10.0.6459) by AlliedModders LLC
 "Reserved Slots" (1.10.0.6459) by AlliedModders LLC
 "Basic Comm Control" (1.10.0.6459) by AlliedModders LLC
 "Connect MSG" (1.0) by Crazy
 "Basic Votes" (1.10.0.6459) by AlliedModders LLC
 "Basic Commands" (1.10.0.6459) by AlliedModders LLC
 "Sound Commands" (1.10.0.6459) by AlliedModders LLC
 "Fun Votes" (1.10.0.6459) by AlliedModders LLC
 "CS:GO - Show The Right Next Map (STRNM)" (1.0.2) by PharaohsPaw
 "SuperLogs: CSS" (1.2.4) by psychonic
 "SuperLogs: NeoTokyo" (1.0.2) by psychonic
 "Basic Ban Commands" (1.10.0.6459) by AlliedModders LLC
 "Anti-Flood" (1.10.0.6459) by AlliedModders LLC
 "SuperLogs: CS:GO" (1.7.2) by psychonic, NomisCZ (-N-)
Server ist running with 10Bots and MR15.
casual/competitive

My first Problem is:

If i wrote nextmap in the Chat, i get 'de_mta_preview'.

But this map was deleted from the Collection and the maplists (CS & SM) several days ago (restarted the Server).

For this reason i installed STRNM with the hope that it will fix the Problem,
but it doesn't.

Maybe someone have a Suggestion about the cause?

The second problem is:

I start the Server with the start-map de_prodigy.

In the logs i can see, that the Server will start with it,
but seconds later he changed it to de_aztec immediately (the first map of the Collection).

That's not important, but after a long time with only bots, it changes to a different map (without any corellation to the mapcycle, the sm_maplist, mappacks or anything else).

This happens for 3-4 Maps and then it changes to aztec again and the game starts from new (aztec for several Hours, then random Maps etc.)

sometimes the mapnames are showed like ????????/de_?????? and sometimes Workshop/???????/de_?????? (same map). Maybe it has to do with the issue!?

Can someone help me to solve this strange bahavior?

I will control the order of the mapchanges by myself and not from my crazy server

Last edited by [WbOF]LuZiFeR; 02-24-2020 at 05:42.
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 02-24-2020 , 14:01   Re: Wrong nextmap and strange mapchanges
Reply With Quote #2

Why not use the default map chooser?

Second, your startup line has the following? +host_workshop_collection "numbers 1" +workshop_start_map "numbers 2"

Numbers 1 = Collection id #
Numbers 2 = Map #

Did you default all your map configs to a specific file, such as mapcycle.txt?
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 02-25-2020 , 05:41   Re: Wrong nextmap and strange mapchanges
Reply With Quote #3

Hi DruGzOG,

thank you for the reply.

Did you mean the default Vote-Screen from CSGO where the Players have the choice to vote for their favorite map?

This is also activated and is working correct…

But nevertheless, if no one is voting, the next should be the one displayed by the 'mextmap' command!?

Maybe the Problem is, that i've several map-mehtods?

-------------------

My Startup line Looks like this:

./srcds_run -game csgo +ip 88.214.57.116 +maxplayers 24 -maxplayers_override 24 -port 27236 +sv_setsteamaccount xxxxxxxxxxxx -usercon +game_type 0 +game_mode 1 +mapgroup mg_wbof -tickrate 128 +map de_prodigy -pingboost 1 -nosound -authkey xxxxxxxxxxxxxxxxxxxxxx +host_workshop_collection 1961561044

There is no way to edit the startup line (Provider), only the possibilty to choose a start-amp (resulting in '+map de_prodigy' )

----------------------
my mapcylce.txt

cs_italy
de_dust
de_aztec
cs_office
de_dust2
de_train
de_inferno
de_nuke

my maplist.txt

cs_italy
cs_office
de_aztec
de_dust
de_dust2
de_inferno
de_nuke
de_shorttrain
ar_baggage
ar_shoots
de_bank
de_lake
de_safehouse
de_sugarcane
de_stmarc
de_train
training1

my adminmenu_maplist.ini

awp
ar_baggage
ar_dizzy
ar_lunacy
ar_monastery
ar_shoots
cs_agency
cs_assault
cs_estate
cs_hondelul
cs_insertion
cs_italy
cs_mansion
cs_militia
cs_office
cs_siege
.
.
.

Should they all be the same? And should they refer to the Workshop-Maps?
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 02-25-2020 , 09:05   Re: Wrong nextmap and strange mapchanges
Reply With Quote #4

P.S.: After deleting the map 'de_mta_preview' from the filesystem (Directory below Workshop), the 'nextmap'-command shows de_aztec.

Also if i'm already on aztec
-----

P.P.S.:my mapgroup mg_wbof looks like this:

Code:
	"mapgroups"
	{
		"mg_wbof"									// mapgroup definition
		{
			"name"			"mg_wbof"
			"maps"
			{
				"workshop/1466180322/de_nuke" ""
				"workshop/1464915906/de_dust2" ""
				"workshop/1464930925/cs_office" ""
				"workshop/1466176544/de_inferno" ""
				"workshop/235577211/de_prodigy" ""
				"workshop/272117783/de_island" ""
				"workshop/615016148/de_aztec" ""
				"workshop/585003296/de_dust" ""
				"workshop/352826133/de_survivor_csgo" ""
				"workshop/1318698056/de_subzero" ""
				"workshop/1466172449/de_cache" ""
				"workshop/1464935220/de_bank" ""
				"workshop/1464919827/cs_agency" ""
				"workshop/1466182474/de_overpass" ""
				"workshop/1464926159/cs_insertion" ""
			}
		}
	}
}}

Last edited by [WbOF]LuZiFeR; 02-25-2020 at 09:10.
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 02-25-2020 , 09:48   Re: Wrong nextmap and strange mapchanges
Reply With Quote #5

./srcds_run -game csgo +ip 88.214.57.116 +maxplayers 24 -maxplayers_override 24 -port 27236 +sv_setsteamaccount xxxxxxxxxxxx -usercon +game_type 0 +game_mode 1 -tickrate 128 +map de_prodigy -ngboost 1 -nosound -authkey xxxxxxxxxxxxxxxxxxxxxx +host_workshop_collection 1961561044

Remove the map group. It's honestly not necessary if you're using workshop.

Go into your sourcemod directory and find maplists.cfg

Then change it to this :

PHP Code:
/**
 * Use this file to configure map lists.
 *
 * Each section is a map list that plugins can use.  For example, the Admin Menu 
 * requests an "admin menu" map list, and you can control which maps appear via 
 * this file.
 *
 * Each section must have a property that explains where to read the maps from.
 * There are two properties:
 *
 *    target         - Redirect the request to another section.
 *    file             - Read a file of map names, in mapcycle.txt format.
 *
 * There is one section by default, called "mapcyclefile" - it is mapped to the 
 * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
 *
 * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod 
 * tries the "default" section, and then the "mapcyclefile" section.
 */
"MapLists"
{
    
/**
     * Default requests go right to the mapcyclefile.
     */
    
"default"
    
{
        
"target"        "mapcyclefile"
    
}
    
    
/* Admin menu, map menu */
    
"sm_map menu"
    
{
        
"target"            "default"
    
}
    
    
/* Admin menu, map voting menu */
    
"sm_votemap menu"
    
{
        
"target"            "default"
    
}
    
    
/* For the "randomcycle" plugin */
    
"randomcycle"
    
{
        
"target"        "default"
    
}
    
    
/* For the "mapchooser" plugin */
    
"mapchooser"
    
{
        
"target"        "default"
    
}
    
    
/* For the "nominations" plugin */
    
"nominations"
    
{
        
"target"        "default"
    
}

Add your maps to mapcycle.txt
I meant the default map chooser and stuff thats in sourcemod. Mapchooser.smx, rockthevote.smx, nextmap.smx, etc. (although I don't recommend using nextmap.smx)
Run it with these and see if your error persists. If it doesn't work, write back here.

Also forgot to mention that there is a plugin that changes the map when the server is empty. Would recommend that also.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 02-25-2020 , 11:00   Re: Wrong nextmap and strange mapchanges
Reply With Quote #6

Hi,

thank you very much for your info….

I will try that and come back to you.

By the way, my Provider doesn't except an empty map-group.
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 02-26-2020 , 08:17   Re: Wrong nextmap and strange mapchanges
Reply With Quote #7

Hi DruGzOG…

Thank you again...

It works much better now…

mapchooser & rtv are running well…

So 'nextmap' shows 'open vote' or similar…

Much better than a wrong map

The mapcycle.txt is correct now and so are the map-menus of sourcemod...

-----
Only problem that remains is, that the maps are changing in a strange way, when the server is empty.

I've installed emptyservermapchange-plugin, but i think it has a problem with competitive-config (MR15)

I found several of this Plugins, but used this because of the possibility to configure time and nextmap behavior.

Maybe there is a better one?

Kind regards
Christoph
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 02-26-2020 , 11:45   Re: Wrong nextmap and strange mapchanges
Reply With Quote #8

I use this -> https://forums.alliedmods.net/showthread.php?p=2400132
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 02-28-2020 , 04:50   Re: Wrong nextmap and strange mapchanges
Reply With Quote #9

Thanks again…

That works perfect:

[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
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 23:49.


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