[GH-ISSUE #362] [insserver] map variable issue #303

Closed
opened 2026-02-27 02:00:43 +03:00 by kerem · 19 comments
Owner

Originally created by @davidsielert on GitHub (May 6, 2015).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/362

Unable to set game mode using the default map command it needs to come out quotes e.g. +map "station push" but adding quotes doesn't work.. I added quotes in the parms command and it works in debug mode but not in live mode so Idk what the hell is going on..

Originally created by @davidsielert on GitHub (May 6, 2015). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/362 Unable to set game mode using the default map command it needs to come out quotes e.g. +map "station push" but adding quotes doesn't work.. I added quotes in the parms command and it works in debug mode but not in live mode so Idk what the hell is going on..
kerem 2026-02-27 02:00:43 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@davidsielert commented on GitHub (May 6, 2015):

bah I got it you had to ecape the quotes .. you might consider adding something like that in by default because huge pain in the butt this was

Start Variables

defaultmap='"station push"'

<!-- gh-comment-id:99345703 --> @davidsielert commented on GitHub (May 6, 2015): bah I got it you had to ecape the quotes .. you might consider adding something like that in by default because huge pain in the butt this was # Start Variables defaultmap='\"station push\"'
Author
Owner

@dgibbs64 commented on GitHub (May 6, 2015):

I haven't seen a map before that have 2 words maps normally are called something like de_dust on source engine games

<!-- gh-comment-id:99351157 --> @dgibbs64 commented on GitHub (May 6, 2015): I haven't seen a map before that have 2 words maps normally are called something like de_dust on source engine games
Author
Owner

@davidsielert commented on GitHub (May 9, 2015):

no insurgency maps have mapname[space]mode ---- siege push etc.. its a big problem for the way the script is processing these vars without putting quotes on the map name

<!-- gh-comment-id:100550987 --> @davidsielert commented on GitHub (May 9, 2015): no insurgency maps have mapname[space]mode ---- siege push etc.. its a big problem for the way the script is processing these vars without putting quotes on the map name
Author
Owner

@davidsielert commented on GitHub (May 9, 2015):

even using the rcon you must put quotes

<!-- gh-comment-id:100550996 --> @davidsielert commented on GitHub (May 9, 2015): even using the rcon you must put quotes
Author
Owner

@dgibbs64 commented on GitHub (May 9, 2015):

Thanks. That seems really odd thing for the developers to do. Spaces cause all sorts of issues. I will have to investigate further :-/

<!-- gh-comment-id:100551175 --> @dgibbs64 commented on GitHub (May 9, 2015): Thanks. That seems really odd thing for the developers to do. Spaces cause all sorts of issues. I will have to investigate further :-/
Author
Owner

@Shipwreck50 commented on GitHub (May 21, 2015):

what theater are you trying to use station on as it will not work in competitive mode. I asked one of the developers and the code at present won't allow it. you can select it manually but you can not add it as a map cycle. hope that helps

<!-- gh-comment-id:104440856 --> @Shipwreck50 commented on GitHub (May 21, 2015): what theater are you trying to use station on as it will not work in competitive mode. I asked one of the developers and the code at present won't allow it. you can select it manually but you can not add it as a map cycle. hope that helps
Author
Owner

@Shipwreck50 commented on GitHub (May 21, 2015):

The Tmux error I had on Centos 7 was fixed when i upgraded the server.

<!-- gh-comment-id:104441051 --> @Shipwreck50 commented on GitHub (May 21, 2015): The Tmux error I had on Centos 7 was fixed when i upgraded the server.
Author
Owner

@Shipwreck50 commented on GitHub (May 21, 2015):

defaultmap="station push" that should work depending on the theater.

<!-- gh-comment-id:104443084 --> @Shipwreck50 commented on GitHub (May 21, 2015): defaultmap="station push" that should work depending on the theater.
Author
Owner

@davidsielert commented on GitHub (May 22, 2015):

No sorry that does not work.. quotes are mandatory from command line and the only way i could get it to work was what I pasted above.. anything else will either start in firefight mode or start mapless ..

<!-- gh-comment-id:104490045 --> @davidsielert commented on GitHub (May 22, 2015): No sorry that does not work.. quotes are mandatory from command line and the only way i could get it to work was what I pasted above.. anything else will either start in firefight mode or start mapless ..
Author
Owner

@davidsielert commented on GitHub (May 22, 2015):

weird part is that debug mode works like that (I believe) but normal mode does not .. in my tests anyway

<!-- gh-comment-id:104490486 --> @davidsielert commented on GitHub (May 22, 2015): weird part is that debug mode works like that (I believe) but normal mode does not .. in my tests anyway
Author
Owner

@dgibbs64 commented on GitHub (May 22, 2015):

Just to confirm station is a map and pish is a game mode?

<!-- gh-comment-id:104536317 --> @dgibbs64 commented on GitHub (May 22, 2015): Just to confirm station is a map and pish is a game mode?
Author
Owner

@Shipwreck50 commented on GitHub (May 22, 2015):

Yes Station is a Map Push is a game mode.
defaultmap="station push" was the code to set in your insserver

I.e.

Start Variables

defaultmap="market push"
maxplayers="24"
port="27001"
sourcetvport="27002"
clientport="2703"
ip="0.0.0.0"

This works fine on market however station has restriction. I have 22 servers all running on Centos 7
The best way to admin and change maps is to use HLSW or to add source mod if you want to do it in game.
If you let me know what OS you are using I can help.
Another way to check if station will work for you is to put it in the station mapcycle_push.txt and see if it selects it while playing.

<!-- gh-comment-id:104606349 --> @Shipwreck50 commented on GitHub (May 22, 2015): Yes Station is a Map Push is a game mode. defaultmap="station push" was the code to set in your insserver I.e. # Start Variables defaultmap="market push" maxplayers="24" port="27001" sourcetvport="27002" clientport="2703" ip="0.0.0.0" This works fine on market however station has restriction. I have 22 servers all running on Centos 7 The best way to admin and change maps is to use HLSW or to add source mod if you want to do it in game. If you let me know what OS you are using I can help. Another way to check if station will work for you is to put it in the station mapcycle_push.txt and see if it selects it while playing.
Author
Owner

@dgibbs64 commented on GitHub (May 22, 2015):

It may be an similar issue to what I saw with ns2server. I will check this and ensure that don't need to change anything on my end

<!-- gh-comment-id:104748833 --> @dgibbs64 commented on GitHub (May 22, 2015): It may be an similar issue to what I saw with ns2server. I will check this and ensure that don't need to change anything on my end
Author
Owner

@davidsielert commented on GitHub (May 22, 2015):

@Shipwreck50 I'll iterate again .. defaultmap="market push" does NOT work .. in the current script at the time of the writing of this post you MUST USE defaultmap='"station push"' unless changes have been made ... Problem is repeatable even now if i try to restart server with arg you just put it will not work

<!-- gh-comment-id:104749823 --> @davidsielert commented on GitHub (May 22, 2015): @Shipwreck50 I'll iterate again .. defaultmap="market push" does NOT work .. in the current script at the time of the writing of this post you MUST USE defaultmap='\"station push\"' unless changes have been made ... Problem is repeatable even now if i try to restart server with arg you just put it will not work
Author
Owner

@dgibbs64 commented on GitHub (May 22, 2015):

I think I know the issue. I will release an update for this when possible

<!-- gh-comment-id:104751141 --> @dgibbs64 commented on GitHub (May 22, 2015): I think I know the issue. I will release an update for this when possible
Author
Owner

@Shipwreck50 commented on GitHub (May 22, 2015):

What operating system do you have.

<!-- gh-comment-id:104801724 --> @Shipwreck50 commented on GitHub (May 22, 2015): What operating system do you have.
Author
Owner

@davidsielert commented on GitHub (May 23, 2015):

ubuntu 1404 lts

Shipwreck50 mailto:notifications@github.com
Friday, May 22, 2015 4:33 PM

What operating system do you have.


Reply to this email directly or view it on GitHub
https://github.com/dgibbs64/linuxgsm/issues/362#issuecomment-104801724.

Sent with Postbox http://www.getpostbox.com

<!-- gh-comment-id:104805259 --> @davidsielert commented on GitHub (May 23, 2015): ubuntu 1404 lts > Shipwreck50 mailto:notifications@github.com > Friday, May 22, 2015 4:33 PM > > What operating system do you have. > > — > Reply to this email directly or view it on GitHub > https://github.com/dgibbs64/linuxgsm/issues/362#issuecomment-104801724. ## Sent with Postbox http://www.getpostbox.com
Author
Owner

@dgibbs64 commented on GitHub (Dec 20, 2015):

Should hopefully should now work with the release of fn_insfix

<!-- gh-comment-id:166156414 --> @dgibbs64 commented on GitHub (Dec 20, 2015): Should hopefully should now work with the release of fn_insfix
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 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.

<!-- gh-comment-id:406367207 --> @lock[bot] commented on GitHub (Jul 19, 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.
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#303
No description provided.