Bug Tracker – Bug 1189

tm512's Survival/LMS game mode patch

Last modified: 2020-04-09 21:46:37 UTC
Bug 1189 - tm512's Survival/LMS game mode patch
Summary: tm512's Survival/LMS game mode patch
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server & Client (show other bugs)
Version: 0.7.x (Old)
Hardware: All All
: P1 major
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2016-09-21 20:45 UTC by Russell Rice
Modified: 2020-04-09 21:46 UTC (History)
1 user (show)

See Also:

Attachments

initial patch based on r4823 (23.83 KB, patch)
2016-09-21 20:45 UTC, Russell Rice
Details | Diff
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 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.