Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fixed] Invincibility is lost after setting the position when tunnel travelling, instead of before #2287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mugg91
Copy link
Contributor

@mugg91 mugg91 commented Jan 2, 2025

Status

  • READY: this PR is (to the best of your knowledge) ready to be incorporated into the game.

Description

Fixes #2281

This changes TunnelTravel.as.
Previously, invincible tag was removed and then the players's position got set to the destination tunnel.
This caused an issue were you could get hit from attacks that happened at the origin tunnel.

This PR changes that so you get set to the client's position and then another command is sent that untags invincible.
I tested with 50~250 ping on dedicated server and got killed by the saw at the destination tunnel every time.

I couldn't verify the fix itself yet though. If I do, I will update here.
I verified the fix, see the videos in my next post.

@mugg91 mugg91 changed the title [fixed?] Invincibility is lost after setting the position, instead of before [fixed?] Invincibility is lost after setting the position when tunnel travelling, instead of before Jan 2, 2025
@mugg91 mugg91 changed the title [fixed?] Invincibility is lost after setting the position when tunnel travelling, instead of before [fixed] Invincibility is lost after setting the position when tunnel travelling, instead of before Jan 2, 2025
@mugg91
Copy link
Contributor Author

mugg91 commented Jan 2, 2025

I tested on dedicated server with a modified knight bot who keeps slashing at my tunnel.

Before (Bug)

(At 0:16)

TunnelInvBug.mp4

After (Fix)

TunnelInvFix.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tunnel travel should remove invincibility after traveling, not before
1 participant