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

Rework of checkCreatureAsKnown and fix of client debug #279

Merged

Conversation

beats-dh
Copy link
Collaborator

@beats-dh beats-dh commented Mar 23, 2022

Description

Before, if you moved with the char diagonally for a while or even normally at a certain time, the debug client "closes unexpectedly" with this fix it doesn't happen anymore.

Note: walking diagonally forces the client to debug faster.

Credits fix code:

Discord: mrianura#8150

Credits rework code:

@lgrossi

Credits for discussing the problem and testing:

@andersonfaaria
@beats-dh
@dudantas
@gccris
@lgrossi
@marcosvf132
@omeranha

Fixes Issue:

It was tested as follows:

An area with many "81k" monsters was created and we passed these monsters walking only diagonally and we had no more client debug.

Change type

- [x] Bug fix (non-stop change that fixes an issue)

@beats-dh beats-dh added Status: Pending Review This PR or Issue requires a review Status: Pending Test This PR or Issue requires more testing labels Mar 23, 2022
beats-dh and others added 2 commits March 23, 2022 11:42
Co-Authored-By: Eduardo Dantas <eduardo.dantas@hotmail.com.br>
@beats-dh beats-dh force-pushed the fix-client-crash-move-diagonal branch from 5c20146 to ac72e96 Compare March 23, 2022 15:53
@sonarcloud
Copy link

sonarcloud bot commented Apr 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@dudantas dudantas marked this pull request as draft April 3, 2022 15:38
@andersonfaaria andersonfaaria changed the title Fix crash client Rework of checkCreatureAsKnown + Fix of Client Debug Apr 3, 2022
@dudantas dudantas changed the title Rework of checkCreatureAsKnown + Fix of Client Debug Rework of checkCreatureAsKnown and fix of client debug Apr 3, 2022
@dudantas dudantas marked this pull request as ready for review April 3, 2022 17:50
@dudantas dudantas merged commit 77f152e into opentibiabr:master Apr 3, 2022
@mrianura
Copy link

mrianura commented Apr 7, 2022

Credits fix code: Trubit Soft Sp. z o.o

@beats-dh beats-dh deleted the fix-client-crash-move-diagonal branch April 12, 2022 02:07
luan pushed a commit that referenced this pull request Jul 11, 2023
Before, if you moved with the char diagonally for a while or even normally at a certain time, the debug client "closes unexpectedly" with this fix it doesn't happen anymore.

Note: walking diagonally forces the client to debug faster.

Credits fix code: Mrianura
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Source Status: Pending Review This PR or Issue requires a review Status: Pending Test This PR or Issue requires more testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants