Bug Tracker – Full Text Bug Listing

Bug 1189

Summary: tm512's Survival/LMS game mode patch
Product: Odamex Reporter: Russell Rice <russell>
Component: Server & ClientAssignee: Odamex Bug Reporter <odamex-bug-reporter>
Status: NEW ---    
Severity: major CC: ireallyhatespam
Priority: P1    
Version: 0.7.x (Old)   
Hardware: All   
OS: All   
Attachments: initial patch based on r4823

Description Russell Rice 2016-09-21 20:45:54 UTC
Created attachment 539 [details]
initial patch based on r4823

This bug aims to track progress on the Survival & Last Man Standing game mode in development

Attached is the initial patch provided by tm512
Comment 1 sleep 2020-04-07 08:24:43 UTC
I am trying to put the pieces together, but something is missing in server/src/g_level.cpp.
https://odamex.net/bugs/attachment.cgi?id=539&action=diff#a/server/src/g_level.cpp_sec2
This is what I have for now, it doesn't compile:
https://github.com/so-sleepy/odamex/commit/dcbed3d4e6d694147a04331f488a484a4f0322a9
I want to take the LMS game mode from this patch and submit a PR.
Comment 2 sleep 2020-04-09 19:05:29 UTC
I contacted tm512 and he linked me to a more recent patch, to which I applied manually since the codebase was old, plus I don't think the snd_ cvar was really needed, so that was removed. There is just one bug that only happens when applied to the current development branch (probably to master as well but I didn't test), a voodoo doll is spawned in the moment a player connects when odasrv is executed with +sv_maxlives 3 as parameter.
https://github.com/so-sleepy/odamex/commit/a941799151d1baef2f1ff44526318187ba06685a
Comment 3 sleep 2020-04-09 21:46:37 UTC
The voodoo doll bug has been solved, a new one appears and this time the player spawns where he died.