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

Race: tees get stuck after entering teleports #11

Closed
Dune-jr opened this issue Jan 9, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@Dune-jr
Copy link

commented Jan 9, 2019

Forwarding this report.

Teleports are broken. Some tees get stuck after entering them. I've observed it on servers with more than one player. At first I thought it was only because the exit TP was very close to collision tiles and this is certainly true to some extent, but sometimes it can also teleport you to anywhere on the map even though the exit isn't occupied and was placed in a big open area - which is very weird.

TeeSlayer at https://www.teeworlds.com/forum/viewtopic.php?pid=122471#p122471

Any clue what could cause this? I haven't investigated, but I'll update if I find something.

Edit: this could be a bug introduced by player collision, which the teleport system could be counting on. In which case, it's on my side :) In fact, pure races don't seem to run into the issue.

Edit2:

so if a tee is moving exactly X+3 and Y+3 from the tp out (assuming 4th quandrant) and is standing on top of a collision tile, the tp out is moving to his location causing the other tee to get stuck

So it is indeed a player collision thing. I didn't understand the issue much yet, not sure if it should be fixed in race too.

@axblk

This comment has been minimized.

Copy link
Owner

commented Jan 10, 2019

Maybe 687b1cc fixed it. If you are able to reproduce it, could you try again?
At least teleporting to random positions and negative scores (95aee78) should be fixed now. Not sure about tees getting stuck though.

@Dune-jr

This comment has been minimized.

Copy link
Author

commented Jan 11, 2019

Thanks @axblk, I will update and try to reproduce

@Dune-jr

This comment has been minimized.

Copy link
Author

commented Jan 11, 2019

Yes, I made a few tests and it appears to be fixed. 👍

@TeeSlayer in Dune-jr#45 (comment)

@Dune-jr Dune-jr closed this Jan 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.