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

/rpgcheat level options don't account for custom adjusted formula values. #115

Open
1 of 4 tasks
HyperSoop opened this issue Aug 23, 2022 · 5 comments
Open
1 of 4 tasks
Labels
bug Something isn't working

Comments

@HyperSoop
Copy link

Describe the bug
The /rpgcheat player skill add/set levels x command uses the default formula values as hardcoded for calculating the amount of XP to give to the recieving player.

To Reproduce
Steps to reproduce the behavior:

  1. Change the formula values in config
  2. Give a player a few levels through rpgcheat
  3. The player will recieve less/more levels than what you intended to give.

Expected behavior
The player getting the exact amount of levels you intended.

Environment

  • Server
  • Client
  • Singleplayer
  • Lan Server
@HyperSoop HyperSoop added the bug Something isn't working label Aug 23, 2022
@SilverAndro
Copy link
Owner

I mean theres literally 0 way this is the issue https://github.com/SilverAndro/RPGStats/blob/master/src/main/java/mc/rpgstats/command/CheatCommand.java#L116

Something else would have to be the issue here, because its calling the exact same method everything else uses

@HyperSoop
Copy link
Author

I mean theres literally 0 way this is the issue https://github.com/SilverAndro/RPGStats/blob/master/src/main/java/mc/rpgstats/command/CheatCommand.java#L116

Something else would have to be the issue here, because its calling the exact same method everything else uses

It's pretty much what would happen if the level estimation used hardcoded values, so i'm assuming that. The issue is still around, i guess.

@SilverAndro
Copy link
Owner

That command is hacked together haha, it wouldn't surprise me if its got even more bugs

@SilverAndro
Copy link
Owner

Ok so im now seeing this in my dev env and, I have no clue

Ill investigate but this is super bizzare

@SilverAndro
Copy link
Owner

Is this reproducible on 5.0.0? The cheat command was rewritten for the quilt port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants