Bug Tracker – Bug 1259

sv_allowexit "0" still allows exit in cooperative gamemode

Last modified: 2019-01-29 17:58:39 CST
Bug 1259 - sv_allowexit "0" still allows exit in cooperative gamemode
Summary: sv_allowexit "0" still allows exit in cooperative gamemode
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server (show other bugs)
Version: 0.8.x
Hardware: x86 (Windows, Linux, etc) Windows (Any)
: P5 minor
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2019-01-29 14:16 CST by mikaelhhome
Modified: 2019-01-29 17:58 CST (History)
1 user (show)

See Also:

Attachments

cfg and wad to replicate the situation. (29.25 KB, application/x-zip-compressed)
2019-01-29 14:16 CST, mikaelhhome
Details
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description mikaelhhome 2019-01-29 14:16:36 CST
Created attachment 567 [details]
cfg and wad to replicate the situation.

sv_allowexit "0" does not prevent players from exiting the level with sv_gametype "0" (coop) set.
I was playing with the idea of a cmat-deh.wad sandbox server with the shotgunner for target practice and stumbled on this block.
Ideally players should not be able to exit the level and instead die from the sv_fragexitswitch "1" setting, which is what happens with sv_gametype set to "1" (dm).
Comment 1 Maëllig Desmottes 2019-01-29 17:58:39 CST
sv_allowexit's main function is to kill any player trying to exit in competitive gamemodes.

Since Odamex has no real support for ACS-based exits, I highly doubt this won't be implemented for now...