RTD icon indicating copy to clipboard operation
RTD copied to clipboard

mercdietwice: Error in console

Open naydef opened this issue 1 year ago • 2 comments

Bug description

L 05/05/2024 - 13:29:24: [SM] Exception reported: Property "m_iItemDefinitionIndex" not found (entity 0/worldspawn)
L 05/05/2024 - 13:29:24: [SM] Blaming: Gameplay/RTD/rtd.smx
L 05/05/2024 - 13:29:24: [SM] Call stack trace:
L 05/05/2024 - 13:29:24: [SM]   [0] GetEntProp
L 05/05/2024 - 13:29:24: [SM]   [1] Line 176, rtd/perks/mercsdietwice.sp::MercsDieTwice_SendDeathEvent
L 05/05/2024 - 13:29:24: [SM]   [2] Line 119, rtd/perks/mercsdietwice.sp::MercsDieTwice_FakeDeath
L 05/05/2024 - 13:29:24: [SM]   [3] Line 79, rtd/perks/mercsdietwice.sp::MercsDieTwice_OnTakeDamage

We don't run the latest RTD version, but I guess this error will still appear...

naydef avatar May 05 '24 11:05 naydef

That's interesting, it appears world can be used as a weapon sometimes :P

Do you have any context on why this might be? Maybe a specific map on which this happens? I don't think it would be fall damage since the player is frozen in place.

The fix shouldn't be difficult, but I'm wondering if I'm missing some more edge cases.

Phil25 avatar May 05 '24 13:05 Phil25

We're running FF2 Rewrite, the error appeared on map vsh_moving_in_v4 and I think this was me who rolled this effect as a boss. The map has a fireplace which does env damage, but I don't think I got hurt there (at least If I remember right).

Another possibility is some of our custom attributes plugins doing something funny. I really need to check the recordings before I can say for sure what happened.

naydef avatar May 05 '24 13:05 naydef