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

fix(engine): don't convert teleport op to walk/run #1391

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

Indio3
Copy link
Contributor

@Indio3 Indio3 commented Feb 28, 2025

Currently, the engine converts a 1/2 tile teleport op to a walk/run, this is incorrect as the client will already convert any <= 2 teleport into a walk anyways if it's not a jump (https://github.com/2004Scape/Client/blob/67f5eda79588149043170088a53465fe3b00aa1a/client/src/main/java/client.java#L10278

This matches OSRS 1, see the p_teleport used here: https://youtu.be/FPNmOhs8jdw?si=K-5L2oh6J3OLuIjs&t=602

Previous:

chrome_JfikbnhYSs.mp4

After change:

chrome_W1XacltjVB.mp4

@tannerdino
Copy link
Collaborator

Wonderful, this should fix some inconsistencies like sharks during fishing trawler!

@Pazaz Pazaz merged commit ea053c6 into 2004Scape:main Mar 1, 2025
1 check passed
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.

3 participants