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 sc statuses not loaded on time when under heavy load #3256

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

csnv
Copy link
Contributor

@csnv csnv commented Nov 25, 2023

Pull Request Prelude

Changes Proposed

Added a new flag to indicate sc data has been loaded and postpone clif->parse_LoadEndAck until all requirements are met.

When under heavy load, pc->reg_received runs before pc->scdata_received, thus invoking character calculation without taking any sc statuses like SC_PUSH_CART into consideration.

Along with incorrect character stats or substats, this issue makes the player not able to see visual effects or elements related to statuses, as well as the cart, until the player changes maps or uses a fly wing.

Issues addressed:

src/map/pc.c Show resolved Hide resolved
@MishimaHaruna MishimaHaruna added this to the Release v2023.12 milestone Nov 28, 2023
src/map/pc.c Show resolved Hide resolved
@MishimaHaruna MishimaHaruna merged commit 40a0387 into HerculesWS:master Dec 28, 2023
253 of 256 checks passed
@csnv csnv mentioned this pull request Jan 4, 2024
3 tasks
@csnv csnv deleted the fix/sc_not_loaded branch January 19, 2024 02:00
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