GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.32k stars 821 forks source link

CS:GO Issues #59

Closed Maxximou5 closed 5 years ago

Maxximou5 commented 10 years ago

Start variables are incorrect for game_mode and game_type.

# [Game Modes]           game_mode    game_type
# Classic Casual               0            0
# Classic Competitive        0            1
# Arms Race                    1            0
# Demolition                     1            1

Should be:

# [Game Modes]           game_type    game_mode
# Classic Casual               0            0
# Classic Competitive        0            1
# Arms Race                    1            0
# Demolition                     1            1
# Deathmatch                   1            2

Also, duplication issue:

defaultmap="de_dust"
mapgroup="random_classic"
maxplayers="16"
defaultmap="de_dust2"
mapgroup="random_classic"

Another issue: maxplayers is inadequate or useless, replace back to maxplayers_override, maxplayers is overridden by gamemodes.txt.

Additions: Add tickrate:

tickrate="128"
parameter: -tickrate ${tickrate}

Additions: Add in host_workshop parameters or example parameter for future use. Example:

normal

parms="-game csgo -usercon -tickrate ${tickrate} +map ${defaultmap} +mapgroup ${mapgroup} +game_mode ${gamemode} +game_type ${gametype} -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -maxplayers_override ${maxplayers} "

workshop

parms="-game csgo -usercon -tickrate ${tickrate} +map ${defaultmap} +mapgroup ${mapgroup} +game_mode ${gamemode} +game_type ${gametype} -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -maxplayers_override ${maxplayers} +host_workshop_collection ${wh_collection_id} +workshop_start_map ${wh_start_map} -authkey ${authkey}"

I will create a fork of this soon with examples of more additions that should be made.

dgibbs64 commented 10 years ago

Thanks for you input I look forward to seeing the fork.

dgibbs64 commented 10 years ago

Also I think it would be a great idea if you could contribute you info to the valve wiki page on csgo as it is missing this sort of useful information https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers

Maxximou5 commented 10 years ago

That's a great idea for the developer page, I use it as a reference constantly. I will get started on the fork shortly. I've been using your scripts for a long time and just wanted to add a big thank you!

dgibbs64 commented 10 years ago

I see you have made some changes on your fork. When you are ready please do a merge request and I will merge your fork. Thank you

Maxximou5 commented 10 years ago

Totally forgot to do that, thanks for the reminder... and done.

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.