Raised This Month: $ Target: $400
 0% 

CS2 Linux Dedicated Server


Post New Thread Reply   
 
Thread Tools Display Modes
asozio
Junior Member
Join Date: Sep 2023
Old 09-29-2023 , 20:53   Re: CS2 Linux Dedicated Server
Reply With Quote #21

Quote:
Originally Posted by BBG_Theory View Post
I have CS2 running from a docker image in Pteradactyl but I must not have something configed correctly for the bots to work like it did in the "training" on Valve's server.

In CSGO's server.cfg I used


but this does not work. Not having anything also does not work. If server is empty, and I join, there is one bot on the other team just standing still. As if the bot does not know how to move in the map. It would be nice if it behaved like CSGO did with the above cvars

Anyone know how to make the bots work as desired in CS2 and not have just one bot standing stupid?
I added the following to "server.cfg"

hostname "CS2 Server"
rcon_password "XXXXXXXXXXX"
sv_cheats 0
sv_lan 0
sv_pure 1
bot_autodifficulty_threshold_low -0.9
bot_autodifficulty_threshold_high 0.9
sv_hibernate_when_empty 0
sv_logfile 1
asozio is offline
dyxL
Senior Member
Join Date: Jul 2010
Old 09-29-2023 , 21:59   Re: CS2 Linux Dedicated Server
Reply With Quote #22

cant create with second ip address .. only working with local public ip ... any idea?
dyxL is offline
asozio
Junior Member
Join Date: Sep 2023
Old 09-30-2023 , 00:42   Re: CS2 Linux Dedicated Server
Reply With Quote #23

Quote:
Originally Posted by dyxL View Post
cant create with second ip address .. only working with local public ip ... any idea?
Was sv_lan set like I put in the config from my previous post?
asozio is offline
Wizzardoff
Senior Member
Join Date: Dec 2022
Old 09-30-2023 , 07:10   Re: CS2 Linux Dedicated Server
Reply With Quote #24

Quote:
Originally Posted by BBG_Theory View Post
I have CS2 running from a docker image in Pteradactyl but I must not have something configed correctly for the bots to work like it did in the "training" on Valve's server.

In CSGO's server.cfg I used


but this does not work. Not having anything also does not work. If server is empty, and I join, there is one bot on the other team just standing still. As if the bot does not know how to move in the map. It would be nice if it behaved like CSGO did with the above cvars

Anyone know how to make the bots work as desired in CS2 and not have just one bot standing stupid?
I have my server in casual mode "+game_alias casual" ( or +game_mode 0 +game_type 0 ,both options work) and then make gamemode_casual_server.cfg ,put it in csgo/cfg folder, put you cvars in without " signs and start the server. On my server all working good.
And also u have bot_quota 0 ,which says bots are off . Put bot_quota 2 at least if you want 1 bot

Last edited by Wizzardoff; 09-30-2023 at 07:13.
Wizzardoff is offline
Bacardi
BANNED
Join Date: Jan 2010
Location: mom's basement
Old 09-30-2023 , 07:41   Re: CS2 Linux Dedicated Server
Reply With Quote #25

Quote:
[ COMMUNITY DEDICATED SERVERS ]
To launch a community dedicated server, you can use this reference command line:
cs2 -dedicated +map de_dust2
To enable logging, add to your server commandline:
+sv_logfile 1 -serverlogging
Or add to a config file:
sv_logfile 1
log on
To enable HTTP logaddress forwarding, ensure logging is enabled as above and use:
logaddress_add_http "<server address>:<port>"
Dispatched logs can be handled the same way as CS:GO
https://store.steampowered.com/news/...9052?l=english
Bacardi is offline
BBG_Theory
Veteran Member
Join Date: Oct 2010
Location: NC USA
Old 09-30-2023 , 09:47   Re: CS2 Linux Dedicated Server
Reply With Quote #26

Huge thanks to all that responded. It is working as hoped for. @Wizzardoff @asozio @Bacardi
BBG_Theory is offline
kills
AlliedModders Donor
Join Date: Sep 2008
Location: ROU
Old 09-30-2023 , 16:30   Re: CS2 Linux Dedicated Server
Reply With Quote #27

For bot's you have to add command
bot_quota_mode normal
kills is offline
Ryan2
Senior Member
Join Date: Jul 2020
Old 09-30-2023 , 17:00   Re: CS2 Linux Dedicated Server
Reply With Quote #28

I'm holding off till we can add workshop maps like before and add more customization.

As or right now you are just getting a stock server, not much you can do.
Ryan2 is offline
BBG_Theory
Veteran Member
Join Date: Oct 2010
Location: NC USA
Old 09-30-2023 , 23:53   Re: CS2 Linux Dedicated Server
Reply With Quote #29

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
BBG_Theory is offline
imburnt916
Junior Member
Join Date: Apr 2015
Location: California
Old 10-01-2023 , 00:29   Re: CS2 Linux Dedicated Server
Reply With Quote #30

https://www.reddit.com/r/cs2/comment...rver_on_linux/

Did find this, but have not checked validity.
__________________
Sourcemod developer and server manager.
imburnt916 is offline
Reply


Thread Tools
Display Modes

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 04:25.


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