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

CS2 Linux Dedicated Server


Post New Thread Reply   
 
Thread Tools Display Modes
MOTHER
Member
Join Date: Jun 2012
Old 10-03-2023 , 19:22   Re: CS2 Linux Dedicated Server
Reply With Quote #41

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.
Thanks. We deleted our csgo ds that's why couldn't get them back. Anyway I downloaded the 740 and found the defaults.
MOTHER is offline
noRi5kNoFun
New Member
Join Date: Oct 2023
Old 10-04-2023 , 07:02   Re: CS2 Linux Dedicated Server
Reply With Quote #42

Quote:
Originally Posted by coolfarmer View Post
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?

rcon isnt working atm when u connected on the server (even with correct setups; server recongnizes ur commands but dont execute them; we've to wait).
from the main menu u can use it.



for changing maps when u connected on the server use "map de_mapname" / "map cs_mapname" (without "rcon" in front of it).

a bit wiered but after u used the "map" command once u can change any server cvar direct in the console (without "rcon" in front of it.



the reason for bots not moving is ur bot setting maybe. check ur "gamemode_competitive.cfg" / "gamemode_competitive_server.cfg" for example.
as standard setting the bots setup on competitive mode "bot_quota 1" and "bot_quota_mode competitive".

change theses values to "bot_quota 10" and "bot_quota_mode normal/fill"
noRi5kNoFun is offline
miXXed
Member
Join Date: Sep 2015
Old 10-04-2023 , 09:55   Re: CS2 Linux Dedicated Server
Reply With Quote #43

this is an fresh install and getting an error. anyone knows a solution?

+login myusernameacc +force_install_dir /home/gameservers/cs2/server1/ +app_update 730 +quit

./cs2 -dedicated +map de_dust2

Quote:
Loading map "de_dust2"
CHostStateMgr::QueueNewRequest( Loading (de_dust2), 2 )
HostStateRequest::Start(HSR_GAME): loop(levelload) id(2) addons() desc(Loading (de_dust2))
SwitchToLoop levelload requested: id [2] addons []
SV: Level loading started for 'de_dust2'
CL: CLoopModeLevelLoad::MaybeSwitchToGameLoop switching to "game" loopmode with addons ()
SwitchToLoop game requested: id [2] addons []
SteamGameServer_Init()
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
dlopen failed trying to load:
/home/gameservers/.steam/sdk64/steamclient.so
with error:
/home/gameservers/.steam/sdk64/steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Failed to load module '/home/gameservers/.steam/sdk64/steamclient.so'
Failed to initialize Steamworks SDK for gameserver. Failed to load module '/home/gameservers/.steam/sdk64/steamclient.so'
sv_steamauth.cpp 198 Activate():
Failed to initialize Steamworks SDK for gameserver. Failed to load module '/home/gameservers/.steam/sdk64/steamclient.so'

Segmentation fault
gameservers@***:~/cs2/server1/game/bin/linuxsteamrt64$
miXXed is offline
MOTHER
Member
Join Date: Jun 2012
Old 10-04-2023 , 11:29   Re: CS2 Linux Dedicated Server
Reply With Quote #44

Quote:
Originally Posted by miXXed View Post
this is an fresh install and getting an error. anyone knows a solution?

+login myusernameacc +force_install_dir /home/gameservers/cs2/server1/ +app_update 730 +quit

./cs2 -dedicated +map de_dust2
Go to this link:

https://developer.valvesoftware.com/...icated_Servers

see the troubleshooting part at the bottom.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2.png
Views:	287
Size:	33.6 KB
ID:	201749  
MOTHER is offline
MOTHER
Member
Join Date: Jun 2012
Old 10-04-2023 , 12:29   Re: CS2 Linux Dedicated Server
Reply With Quote #45

Quote:
Originally Posted by noRi5kNoFun View Post
rcon isnt working atm when u connected on the server (even with correct setups; server recongnizes ur commands but dont execute them; we've to wait).
from the main menu u can use it.



for changing maps when u connected on the server use "map de_mapname" / "map cs_mapname" (without "rcon" in front of it).

a bit wiered but after u used the "map" command once u can change any server cvar direct in the console (without "rcon" in front of it.



the reason for bots not moving is ur bot setting maybe. check ur "gamemode_competitive.cfg" / "gamemode_competitive_server.cfg" for example.
as standard setting the bots setup on competitive mode "bot_quota 1" and "bot_quota_mode competitive".

change theses values to "bot_quota 10" and "bot_quota_mode normal/fill"
map anymap will start a different listening server.
MOTHER is offline
miXXed
Member
Join Date: Sep 2015
Old 10-04-2023 , 15:37   Re: CS2 Linux Dedicated Server
Reply With Quote #46

Quote:
Originally Posted by MOTHER View Post
Go to this link:

https://developer.valvesoftware.com/...icated_Servers

see the troubleshooting part at the bottom.
Thats what i did sir.. i also did a new fresh install after i checked the troubleshooting part. still same
miXXed is offline
Taraman
Junior Member
Join Date: Apr 2019
Old 10-05-2023 , 19:37   Re: CS2 Linux Dedicated Server
Reply With Quote #47

Hi,

has anyone been able to get network loggin working?

I tried with
Code:
logaddress_add_http "XXX.XXX.XXX.XXX:XXXX"
which gave me errors and then with
Code:
logaddress_add_http "http://XXX.XXX.XXX.XXX:XXXX"
which gave less errors. but stated
Code:
Internal HTTP error posting to url http:/.....
I tried to use the same log-receiver I use for csgo.
Taraman is offline
Ryan2
Senior Member
Join Date: Jul 2020
Old 10-05-2023 , 21:07   Re: CS2 Linux Dedicated Server
Reply With Quote #48

Quote:
Originally Posted by Taraman View Post
Hi,

has anyone been able to get network loggin working?

I tried with
Code:
logaddress_add_http "XXX.XXX.XXX.XXX:XXXX"
which gave me errors and then with
Code:
logaddress_add_http "http://XXX.XXX.XXX.XXX:XXXX"
which gave less errors. but stated
Code:
Internal HTTP error posting to url http:/.....
I tried to use the same log-receiver I use for csgo.
Here is the full steps according to the patch notes:

https://steamcommunity.com/games/CSG...14808342659053

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
Not sure if did all the steps.
Ryan2 is offline
Taraman
Junior Member
Join Date: Apr 2019
Old 10-06-2023 , 05:44   Re: CS2 Linux Dedicated Server
Reply With Quote #49

Quote:
Originally Posted by Ryan2 View Post
Not sure if did all the steps.
I did with the config file options.
Now I tried also with the command line, but same outcome.
Taraman is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 10-06-2023 , 05:56   Re: CS2 Linux Dedicated Server
Reply With Quote #50

Has someone succeded in loading MM on it ?

@NVM i succeded on gameinfo.gi in csgo dir.
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 10-06-2023 at 05:59.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
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 01:42.


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