Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000738Zandronum[All Projects] Bugpublic2012-03-28 19:132012-04-03 04:08
Reporterunknownna 
Assigned ToTIHan 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version1.0-beta 
Target VersionFixed in Version 
Summary0000738: "Ouch" face not displayed online
DescriptionThe "ouch" face isn't displayed online.
Attached Filesjpg file icon ouch.JPG [^] (3,305 bytes) 2012-03-28 19:13


? file icon ouch_test_01.wad [^] (1,334 bytes) 2012-03-29 00:19
png file icon Screenshot_Doom_20120329_103248.png [^] (64,678 bytes) 2012-03-29 08:36

- Relationships

-  Notes
User avatar (0002967)
Edward-san (developer)
2012-03-28 20:01
edited on: 2012-03-29 09:05

I didn't read the code, but probably:

1)declare a new integer value called healthdamage = to the actual health of the client receiving damage;
2) call the damage;
3)healthdamage -= actual health of the client;
4) if (healthdamage >= 20) ouchface;

User avatar (0002975)
unknownna (updater)
2012-03-29 00:20

I created a small example WAD. Just load up the map and push the switch.
User avatar (0002982)
TIHan (reporter)
2012-03-29 02:55

I just tested the example WAD, the ouch face is already working. I also tested taking damage from myself and monsters, the ouch face is working.
User avatar (0002986)
unknownna (updater)
2012-03-29 08:36

> I just tested the example WAD, the ouch face is already working.

Did you test it offline only?
User avatar (0003000)
TIHan (reporter)
2012-03-29 13:08

> Did you test it offline only?

I tested this online...
User avatar (0003001)
unknownna (updater)
2012-03-29 13:12
edited on: 2012-03-29 13:12

I see. Strange. The ouch face is never displayed for me online. Can anyone confirm that the ouch face is displayed online?

User avatar (0003002)
Edward-san (developer)
2012-03-29 14:29

Behaves the same as unknownna.
TIHan: did you host a server and connected a client? Because with multiplayer emulation on I could see the ouch face.
User avatar (0003003)
TIHan (reporter)
2012-03-29 14:33

I guess I'm doing something wrong. Using the very latest dev build, I host a server, then I connect and press the switch - I see the ouch face.
User avatar (0003030)
TIHan (reporter)
2012-03-30 01:47

It seems to work...'http://i.imgur.com/lNCyL.png [^]'
User avatar (0003031)
unknownna (updater)
2012-03-30 01:58
edited on: 2012-03-30 01:58

Weird. With "cl_capfps" set to 0 it works for me.

User avatar (0003034)
TIHan (reporter)
2012-03-30 02:19

> With "cl_capfps" set to 0 it works for me.

This is a timing issue of FMugShot::Tick. With cl_capfps 1, FaceHealth and the actual player's health will always be the same before the ouch face check. With cl_capfps 0, FaceHealth will always be greater than the actual player's health before the ouch face check.

I'll look into this further when I have some time to dig on this minor bug.
User avatar (0003037)
unknownna (updater)
2012-03-30 02:27

Nice find. I'd be nice to have this fixed for the sake of consistency.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2012-03-28 19:13 unknownna New Issue
2012-03-28 19:13 unknownna File Added: ouch.JPG
2012-03-28 19:14 unknownna Status new => confirmed
2012-03-28 19:52 TIHan Assigned To => TIHan
2012-03-28 19:52 TIHan Status confirmed => assigned
2012-03-28 20:01 Edward-san Note Added: 0002967
2012-03-29 00:19 unknownna File Added: ouch_test_01.wad
2012-03-29 00:20 unknownna Note Added: 0002975
2012-03-29 02:55 TIHan Note Added: 0002982
2012-03-29 02:55 TIHan Status assigned => feedback
2012-03-29 08:36 unknownna Note Added: 0002986
2012-03-29 08:36 unknownna Status feedback => assigned
2012-03-29 08:36 unknownna File Added: Screenshot_Doom_20120329_103248.png
2012-03-29 09:05 Edward-san Note Edited: 0002967 View Revisions
2012-03-29 13:08 TIHan Note Added: 0003000
2012-03-29 13:09 TIHan Status assigned => feedback
2012-03-29 13:12 unknownna Note Added: 0003001
2012-03-29 13:12 unknownna Status feedback => assigned
2012-03-29 13:12 unknownna Note Edited: 0003001 View Revisions
2012-03-29 14:29 Edward-san Note Added: 0003002
2012-03-29 14:33 TIHan Note Added: 0003003
2012-03-30 01:47 TIHan Note Added: 0003030
2012-03-30 01:47 TIHan Status assigned => feedback
2012-03-30 01:58 unknownna Note Added: 0003031
2012-03-30 01:58 unknownna Status feedback => assigned
2012-03-30 01:58 unknownna Note Edited: 0003031 View Revisions
2012-03-30 02:19 TIHan Note Added: 0003034
2012-03-30 02:27 unknownna Note Added: 0003037
2012-04-03 04:08 TIHan Status assigned => acknowledged
2012-06-09 13:22 Torr Samaho Category General => Bug






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker