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

Jobs Log does not display action/earnings correctly #1846

Open
crumpkatrina opened this issue Oct 31, 2024 · 0 comments
Open

Jobs Log does not display action/earnings correctly #1846

crumpkatrina opened this issue Oct 31, 2024 · 0 comments

Comments

@crumpkatrina
Copy link

Description of Issue

The /jobs log, /jobs log and /jobs glog commands all have issues with displaying the correct income information after relogging and incorrectly calculates "qty" when joined to multiple jobs that pay for the same actions.

This is an example of the progression of /jobs log changes when relogging after breaking a set amount of oak logs.
Original /jobs log taken after breaking 10 oak_log
https://i.imgur.com/T7fBIPr.png
After re-logging and using /jobs log, no new oak log blocks broken
https://i.imgur.com/t2J6xr6.png
After re-logging and using /jobs log, no new oak log blocks broken
https://i.imgur.com/IdWbAme.png

This is /jobs log after breaking 15 birch wood.
https://i.imgur.com/V0ym90L.png
After re-logging and using /jobs log, no new birch log blocks broken
https://i.imgur.com/gj8QQw8.png
After re-logging and using /jobs log, no new birch log blocks broken
https://i.imgur.com/HHlZTM8.png
After re-logging and using /jobs log, no new birch log blocks broken
https://i.imgur.com/kS9Bll0.png

The above is all with a single job joined that only pays once for oak and birch logs.

The next screenshots show the behavior when joined to two separate jobs that both pay for oak and birch logs.
After breaking 10 more oak logs. qty counts for each oak log for each job (10 * 2 ) but money/exp/points are added correctly.
https://i.imgur.com/oJlxLfA.png
After relog, all numbers but qty doubled.
https://i.imgur.com/oLuVnBu.png

Breaking 15 more birch while joined to two jobs that award for birch log
Adds 30 to the qty, which is qty counting for each birch log for each job (15 * 2 ) but money/exp/points are added correctly.
https://i.imgur.com/8N85snV.png
After relog, all numbers but qty added to without any new actions performed.
https://i.imgur.com/IA1USM4.png

These incorrect display values are also impacting /jobs glog, as the doubling/additions are showing much higher numbers than should be and therefore displaying the glog as the highest earners.
This is our /jobs glog
https://i.imgur.com/qpPgo4I.png

This is the stats of oak_log via /jobs log on one of my testing accounts
https://i.imgur.com/GMZiicu.png

I will add that Money, EXP and Points all award correctly - its just not displaying correctly on /jobs log in the above cases.

Version Information

Jobs v5.2.4.5
CMILib (1.5.2.1)
Server: Paper 1.21.1-127-master@14a48cd

Errors

No response

Relevant Config Sections

No response

Relevant Plugins

No response

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

No branches or pull requests

1 participant