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

[Bug Fix] client_max_level allow leveling to end of level #4455

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

fryguy503
Copy link
Contributor

Description

When using a method that leverages client_max_level (e.g. Max Level by bucket / qglobal / quest API) it would stop xp at 0% into the level rather than maximum xp for the level.

This could pose an issue where: If you had a max level of 65 via a databucket and a raid zone required level 65, one death would de-level them and potentially prevent them from entering the zone.

I reorganized the code to leverage the existing max_level logic which allows max xp in the max level.

I also cleaned up the overall functions formating (Mostly brackets and implied if statements).

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Testing

image
image
image

Checklist

  • I have tested my changes
  • I have performed a self-review of my code. Ensuring variables, functions and methods are named in a human-readable way, comments are added only where naming of variables, functions and methods can't give enough context.
  • I own the changes of my code and take responsibility for the potential issues that occur

When using a method that leverages client_max_level (e.g. Max Level by bucket / qglobal / quest API) it would stop xp at 0% into the level rather than maximum xp for the level.

This could pose an issue where: If you had a max level of 65 via a databucket and a raid zone required level 65, one death would de-level them and potentially prevent them from entering the zone.

I reorganized the code to leverage the existing max_level logic which allows max xp in the max level.

I also cleaned up the overall functions formating (Mostly brackets and implied if statements).
@Kinglykrab Kinglykrab merged commit 9987029 into master Aug 20, 2024
2 checks passed
@Kinglykrab Kinglykrab deleted the trust/client_max_level_bug branch August 20, 2024 01:56
N0ctrnl added a commit to N0ctrnl/VAServer that referenced this pull request Aug 27, 2024
This was causing characters to de-level when gaining experience and was missed as part of EQEmu#4455
Kinglykrab pushed a commit that referenced this pull request Aug 27, 2024
This was causing characters to de-level when gaining experience and was missed as part of #4455
@Akkadius Akkadius mentioned this pull request Aug 27, 2024
Akkadius pushed a commit to The-Heroes-Journey-EQEMU/Server that referenced this pull request Aug 27, 2024
When using a method that leverages client_max_level (e.g. Max Level by bucket / qglobal / quest API) it would stop xp at 0% into the level rather than maximum xp for the level.

This could pose an issue where: If you had a max level of 65 via a databucket and a raid zone required level 65, one death would de-level them and potentially prevent them from entering the zone.

I reorganized the code to leverage the existing max_level logic which allows max xp in the max level.

I also cleaned up the overall functions formating (Mostly brackets and implied if statements).
Akkadius pushed a commit to The-Heroes-Journey-EQEMU/Server that referenced this pull request Aug 27, 2024
This was causing characters to de-level when gaining experience and was missed as part of EQEmu#4455
catapultam-habeo pushed a commit to The-Heroes-Journey-EQEMU/Server that referenced this pull request Sep 5, 2024
When using a method that leverages client_max_level (e.g. Max Level by bucket / qglobal / quest API) it would stop xp at 0% into the level rather than maximum xp for the level.

This could pose an issue where: If you had a max level of 65 via a databucket and a raid zone required level 65, one death would de-level them and potentially prevent them from entering the zone.

I reorganized the code to leverage the existing max_level logic which allows max xp in the max level.

I also cleaned up the overall functions formating (Mostly brackets and implied if statements).
catapultam-habeo added a commit to The-Heroes-Journey-EQEMU/Server that referenced this pull request Sep 9, 2024
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.

2 participants