Bug Tracker – Bug 1233

Restart function does not reset monsters correctly

Last modified: 2019-01-25 18:45:14 UTC
Bug 1233 - Restart function does not reset monsters correctly
Summary: Restart function does not reset monsters correctly
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server (show other bugs)
Version: 0.7.x (Old)
Hardware: Other Other
: P5 enhancement
Assignee: Odamex Bug Reporter
Depends on:
Reported: 2018-12-22 16:21 UTC by Ralph Vickers
Modified: 2019-01-25 18:45 UTC (History)
1 user (show)

See Also:


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 Ralph Vickers 2018-12-22 16:21:51 UTC
The restart function does not reset monsters to their original state. Easily reproducable on map01 or map02 of Doom 2. Start a server on either map, connect a client and shoot to wake them up. Then, type restart in the server console and it start the countdown. When it restarts, the monsters will sometimes wake back up despite being reset to their map load position. 

Possibly, their angles aren't properly corrected before you spawn back in. This causes them to see you.
Comment 1 Ralph Vickers 2018-12-22 16:27:45 UTC
It turns out that the monsters you see on the client don't even exist. You can test this by waking them up on map01, calling the restart, and then waiting for them to walk down towards you. You can clip through them, can't take damage, and can bump into the invisible (on the client) zombiemen that are in the proper spot on the server.
Comment 2 Maëllig Desmottes 2019-01-25 18:45:14 UTC
For some reason, this reminds me of another (possibly linked ?) bug, where monsters are awake several walls away, even if you don't shoot them.