Bug Tracker – Bug 1233

Restart function does not reset monsters correctly

Last modified: 2018-12-22 16:27:45 CST
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
Hardware: Other Other
: P5 enhancement
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2018-12-22 16:21 CST by Ralph Vickers
Modified: 2018-12-22 16:27 CST (History)
0 users

See Also:

Attachments

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 CST
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 CST
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.