Page 1 of 1

[Fixed for V0.43] Characters hit by a shooter on any level

Posted: Mon Aug 14, 2006 9:05 pm
by R.K.
If the party is vertically aligned with the path taken by a projectile from a shooter on a different level, they will take damage and the fired object will continue moving. This looks very strange, as there is no visible source of damage.

Posted: Mon Aug 14, 2006 10:17 pm
by Sophia
:arrow: :arrow: :arrow:


:shock:

Posted: Mon Aug 14, 2006 10:28 pm
by beowuuf
I think these need to be preserved somehow after the bugs are fixed :)

Re: Characters can be hit by a shooter on a different level

Posted: Tue Aug 15, 2006 12:07 am
by Gambit37
R.K. wrote:If the party is vertically aligned with the path taken by a projectile from a shooter on a different level, they will take damage...
Wow, how on earth did you discover this?

Posted: Tue Aug 15, 2006 4:25 am
by R.K.
I set up an auto-firing rock cannon on level 25 or so. It happened to fire along a line that was a clear path to the exit in the hall of champions, so when I resurrected a character, they promptly took ten points of damage. The cannon was still firing when I teleported down to check on it (it would have stopped if anything got in the way).

Posted: Sat Aug 26, 2006 7:16 pm
by George Gilbert
How embarrasing :oops:

The code that does the collision detection between a flying object and the party only looks at the x/y co-ordinates, not the z one :oops:

Note that this is nothing to do with shooters per se, just any object that is flying through the dungeon; also the collision detection for monsters/objects is done correctly.

Amusingly, that bug has been present since RTC V0.01 - you're the first to spot it.

:oops: (again)

Posted: Sun Aug 27, 2006 10:34 am
by George Gilbert
Fixed for V0.43