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

CS2 Linux Dedicated Server


Post New Thread Reply   
 
Thread Tools Display Modes
asdfxD
Veteran Member
Join Date: Apr 2011
Old 10-01-2023 , 02:33   Re: CS2 Linux Dedicated Server
Reply With Quote #31

Quote:
Originally Posted by BBG_Theory View Post
It seems like the game is not even looking for the maplist.txt and mapcycle.txt

cs_italy
cs_office
cs_vertigo
de_ancient
de_anubis
de_dust2
de_inferno
de_mirage
de_nuke
de_overpass
de_vertigo
not needed, it still works with mapgroups in gamemodes_server.txt

Quote:
Originally Posted by imburnt916 View Post
https://www.reddit.com/r/cs2/comment...rver_on_linux/

Did find this, but have not checked validity.
Why they talk about sv_setsteamaccount, servers working fine without them.

Last edited by asdfxD; 10-01-2023 at 02:36.
asdfxD is offline
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 10-01-2023 , 02:46   Re: CS2 Linux Dedicated Server
Reply With Quote #32

Quote:
Originally Posted by imburnt916 View Post
https://www.reddit.com/r/cs2/comment...rver_on_linux/

Did find this, but have not checked validity.
I have libs compatibility problems on Ubuntu.
sphinx is offline
scubaguy
Junior Member
Join Date: Sep 2022
Location: Sweden
Old 10-03-2023 , 06:06   Re: CS2 Linux Dedicated Server
Reply With Quote #33

Quote:
Originally Posted by asdfxD View Post
not needed, it still works with mapgroups in gamemodes_server.txt



Why they talk about sv_setsteamaccount, servers working fine without them.
sv_setsteamaccount is not needed yet to my knowledge.

Managed to solve the maplist finally.

print_mapgroup_sv
Map group: mg_deathmatch2
de_ancient
de_anubis
de_dust2
de_nuke
de_mirage
de_overpass
de_vertigo
cs_italy
cs_office


Create your GameModes_Server.txt
Populate it with gamemodes.txt and copy any mapgroup, add the maps you want, include that mapgroup into the "mapgroupsMP" section for the gamemode you are running.
scubaguy is offline
MOTHER
Member
Join Date: Jun 2012
Old 10-03-2023 , 08:34   Re: CS2 Linux Dedicated Server
Reply With Quote #34

Quote:
Originally Posted by scubaguy View Post
sv_setsteamaccount is not needed yet to my knowledge.

Managed to solve the maplist finally.

print_mapgroup_sv
Map group: mg_deathmatch2
de_ancient
de_anubis
de_dust2
de_nuke
de_mirage
de_overpass
de_vertigo
cs_italy
cs_office


Create your GameModes_Server.txt
Populate it with gamemodes.txt and copy any mapgroup, add the maps you want, include that mapgroup into the "mapgroupsMP" section for the gamemode you are running.
Hi, Can you attach both of your GameModes_Server.txt and gamemodes.txt here? Thanks.
MOTHER is offline
scubaguy
Junior Member
Join Date: Sep 2022
Location: Sweden
Old 10-03-2023 , 10:38   Re: CS2 Linux Dedicated Server
Reply With Quote #35

Quote:
Originally Posted by MOTHER View Post
Hi, Can you attach both of your GameModes_Server.txt and gamemodes.txt here? Thanks.
Hey, i copied mine from the last version of one csgo server, you should be able to do the same. Actually, copy gamemodes.txt and create a GameModes_Server.txt and make your changes in GameModes_Server.txt.
scubaguy is offline
Wizzardoff
Senior Member
Join Date: Dec 2022
Old 10-03-2023 , 12:35   Re: CS2 Linux Dedicated Server
Reply With Quote #36

I have paid dedicates secure linux debian 12 cs2 server. Whatever i do with mapgroups it doesnt read from gamemodes.txt or gamemodes_server.txt . It read all mapgroups from "somewhere" and cannot figure it out from where. All mapgroups entered in server console are with different maps in groups. Same like ingame maps ,not from .txt files i put in csgo folder.
Interesting is this,and i cant finf those on server lol:

Code:
GameTypes: initializing game types interface from gamemodes.txt.
GameTypes: merging game types interface from gamemodes_server.txt.
All working but not working

Last edited by Wizzardoff; 10-03-2023 at 18:36.
Wizzardoff is offline
coolfarmer
New Member
Join Date: Oct 2023
Old 10-03-2023 , 15:12   Re: CS2 Linux Dedicated Server
Reply With Quote #37

Quote:
Originally Posted by scubaguy View Post
Hey, i copied mine from the last version of one csgo server, you should be able to do the same. Actually, copy gamemodes.txt and create a GameModes_Server.txt and make your changes in GameModes_Server.txt.
Hello!

I'm new to CS2, and I would really appreciate it if you could share your GameModes_Server.txt and GameModes.txt files with me. I'm feeling a bit lost, to be honest. Right now, the server is up and running, but I'm facing two problems: I don't know how to create a mapgroup, and my bots aren't moving.

I've seen on forums that I need to create a GameModes_Server.txt file, but to be honest, I'm a bit confused. I haven't been able to find a good example of it on the internet.

Thanks in advance!

Edit: Here is my current GameModes_Server.txt

Code:
"GameModes_Server.txt"
{
	"mapgroups"
	{
		"mg_custom"
		{
			"name" "mg_custom"
			"maps"
			{
				"de_inferno"          ""
				"de_mirage"           ""
				"de_dust2"            ""
			}
		}
	}
}
My goal is only to play on CS2 maps (Casual) with my friends.

Last edited by coolfarmer; 10-03-2023 at 15:17.
coolfarmer is offline
Wizzardoff
Senior Member
Join Date: Dec 2022
Old 10-03-2023 , 17:03   Re: CS2 Linux Dedicated Server
Reply With Quote #38

start your server with "+game_alias casual +mapgroup mg_active +map de_inferno" variables and post back.
Ofc,we assume you have gamemode_casual.cfg in game/csgo/cfg folder. Plus you can add custom cvars in gamemode_casual_server.cfg like alltalk or timelimit or maxrounds etc. Couldnt get CS maps to work but all other working ok so for now im good
About bots,i have all classic things in gamemode_casual.cfg regarding bots.
Code:
bot_autodifficulty_threshold_high					0.0
bot_autodifficulty_threshold_low					-2.0
bot_chatter											normal
bot_defer_to_human_goals							0
bot_defer_to_human_items							1
bot_difficulty										1
bot_quota											10
bot_quota_mode										fill

Last edited by Wizzardoff; 10-03-2023 at 17:27.
Wizzardoff is offline
coolfarmer
New Member
Join Date: Oct 2023
Old 10-03-2023 , 18:30   Re: CS2 Linux Dedicated Server
Reply With Quote #39

Oh yes thanks!! mg_active is doing the job! And in casual the bots are working without any problem.

Another question, is there a way to get the console working, like if we want to manually switch the map?
When I enter the command "changelevel" in the console, I receive this error:

Code:
> changelevel de_dust2
[Console] Can't changelevel, server not in a map
Another example:
Code:
> mp_warmup_end
And in the server console it shows: Client coolfarmer(0) tried to execute command "mp_warmup_end" but it is not marked FCVAR_CLIENT_CAN_EXECUTE
The server is hosted on a dedicated PC in my home, so it's separate from my personal PC.
I suspect the command isn't working because when I connect to the game, the server sees me as a regular client.

How can I let it know that I want to write Admin commands?

Last edited by coolfarmer; 10-03-2023 at 18:54. Reason: Adding one more question
coolfarmer is offline
MOTHER
Member
Join Date: Jun 2012
Old 10-03-2023 , 19:21   Re: CS2 Linux Dedicated Server
Reply With Quote #40

These are the default fresh installed csgo server gamemodes and gamemodes_server files
Attached Files
File Type: txt gamemodes.txt (164.2 KB, 429 views)
File Type: txt gamemodes_server.txt (3.2 KB, 443 views)
MOTHER 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 17:00.


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