Mitchell1711 / pt-cyop

Public repo for PizzaTower's Make your own Pizza mod
5 stars 0 forks source link

Randomly hurt for no reason #2

Closed LocalVoidedFox closed 5 months ago

LocalVoidedFox commented 5 months ago

While playing through a CYOP level, sometimes the game will think you got hit by something even though there might not be anything dangerous at all, and your combo meter will even drop because of it.

https://github.com/Mitchell1711/pt-cyop/assets/55364498/c11144c6-4551-4236-91dc-c2f0f9df298a

LocalVoidedFox commented 5 months ago

I'm not sure how one would replicate this bug since it happens randomly for no reason.

EmeraldMan25 commented 5 months ago

I think this might be fixed but this was caused by things hitting obj_player2, which is stored out of bounds. Very weird error overall

Mitchell1711 commented 5 months ago

Yeah what @EmeraldMan25 mentioned, not sure why it's not in the original CYOP either but I just added some code to exit the hurt code for obj_player2 so it should hopefully be fixed (I couldn't reproduce it anymore at least but it's hard to tell with this bug)

LocalVoidedFox commented 5 months ago

I think I figured out why I was being hurt, Other Tower places Goblin Cannons out of sight which makes up the illusion of how getting Greaseball into the goal increases your time. I've removed Pillar John but apparently, somehow these Goblin Cannons hurt, somehow.

(This video was recorded in the v2 xDelta patch)

Other Tower

https://github.com/Mitchell1711/pt-cyop/assets/55364498/4ffd55fd-6abf-4e12-ab58-c398b6d3f9d9