mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 14:15:59 +03:00
[GH-ISSUE #206] Creating New Scripts (Which script should I base it on?) #170
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JmactheAttack on GitHub (Oct 29, 2014).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/206
I am looking/attempting/failing at porting your scripts over to run a few different game servers, specifically JK3, CoD4, and CoD:WAW along with possibly a few others (and of course hopefully getting them pulled into this repo. My first attempt at it was porting the Mumble server script over to run a CoD4 server because it seemed to be the most generic script mainly because it just manages a single executable, an .ini file and some variables, without any Steam or Unreal additions. I got the CoD4 script to start the server and it runs great, but when I stop it, it seems to stop all my other scripts (a 24/7 CSGO and Mumble server). I also noticed that the Mumble server script does not seem to run perfectly either, like sometimes when I stop it, it doesn't completely kill murmur.x86 process(s). The script stops and kills the tmux session (conf, but murmur continues to run, etc, etc.
My question: is the Mumble server script out of date and incompatible with the other server scripts because of recent changes to the others? If so, should I base my new scripts off of more recent ones like the CS:GO script and just hack-off/disable the unused parts (i.e. the install bits, etc)? Also, is it okay to run everything on one user (non-root)?
BTW, I'm running everything on Ubuntu 13.10. Everything else seems to run flawlessly.
-Jmac
@Scarsz commented on GitHub (Oct 29, 2014):
I wouldn't have a clue if the mumble script is very much used, but I would guess not. It's worth a shot to try and back up a script with another like the ts3server script though.
@dgibbs64 commented on GitHub (Oct 29, 2014):
Its great that you want to do this. All my new scripts normally go off the Counter Strike:Source script however most scripts are steam based. It is relatively easy to not use the steam code....Simply remove/bypass it :). You can also use UT2K4 and UT99 for examples of this as they don't use steam at all and download the server files instead. Apart from that the base is pretty similar apart from specific vars for CoD:4 etc. You will need to change and remove the variables at the start of the script. as these will differ from steam based servers. This is why most the servers are steam based as its very easy for me to port them to a new steam based server.
I don't recommend using the mumble server script. As you can probably see it can be problematic and isnt as well maintained as the others. However if you want to have a go at fixing the bugs you are welcome to.
I hope you manage to get these working it would be great to get a few more servers added. Since I have limited time currently its great that other people are maintaining and adding more scripts :D
@JmactheAttack commented on GitHub (Oct 29, 2014):
Thanks for the replies. I'm glad to see I was at least running down the correct path. Here's a rough example of where I was at with the script based on the mumble script:
As it is, I don't think I'll ever be able to create a real way of installing it beyond a README.md because CoD servers require assets that come from your game install and punkbuster no longer actually supports the game which makes installing it all through the script very complicated. Same for JK3, and CoD:World at War. Once I get it a little more settled I'll start committing this. I was also looking at using this to run a Minecraft(bukkit) server with this. This could present some interesting challenges with updating the server and working with plugins.
@lock[bot] commented on GitHub (Jul 20, 2018):
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.