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

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
R.K.
Apprentice
Posts: 30
Joined: Sun Aug 06, 2006 10:58 pm

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

Post 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.
User avatar
Sophia
Concise and Honest
Posts: 4240
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

:arrow: :arrow: :arrow:


:shock:
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

I think these need to be preserved somehow after the bugs are fixed :)
User avatar
Gambit37
Should eat more pies
Posts: 13720
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

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

Post 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?
User avatar
R.K.
Apprentice
Posts: 30
Joined: Sun Aug 06, 2006 10:58 pm

Post 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).
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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)
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Fixed for V0.43
Post Reply