Looted Credits are duplicated visually on the client. #636

Closed
opened 2024-02-24 23:09:11 +01:00 by RaggyLP · 2 comments
RaggyLP commented 2024-02-24 23:09:11 +01:00 (Migrated from github.com)

Describe the bug
When looting a mob, any credits the corpse holds are being incorrectly doubled visually for the clients CRED value. The amount sent to the server is correct, however the client is updated at 2x the value.

To Reproduce
Steps to reproduce the behavior:

  1. Kill a mob
  2. Do .getfull cash on yourself.
  3. Note the number output and compare it to your clients listed value.
  4. Loot the mob
  5. Do another .getfull cash on yourself.
  6. Note that the value increase on the client is 2x what it should be.

Expected behavior
Cred amounts send to the client shouldn't be doubled and should accruate reflect the value held on the server.

Screenshots
image

**Describe the bug** When looting a mob, any credits the corpse holds are being incorrectly doubled visually for the clients CRED value. The amount sent to the server is correct, however the client is updated at 2x the value. **To Reproduce** Steps to reproduce the behavior: 1. Kill a mob 2. Do ```.getfull cash``` on yourself. 3. Note the number output and compare it to your clients listed value. 4. Loot the mob 5. Do another ```.getfull cash``` on yourself. 6. Note that the value increase on the client is 2x what it should be. **Expected behavior** Cred amounts send to the client shouldn't be doubled and should accruate reflect the value held on the server. **Screenshots** ![image](https://github.com/project-rubika/issues/assets/156821187/b2d4aee4-68bf-4518-82b3-2536effbcab6)
TheTinkeringIdiot commented 2024-02-26 03:06:23 +01:00 (Migrated from github.com)

Confirmed. With a credit balance of 0, I killed a mob and looted 5 credits from it. /get cash on self correctly reports that I now have 5 credits. However the UI balance shows that I have 10 credits.

image

Confirmed. With a credit balance of 0, I killed a mob and looted 5 credits from it. `/get cash` on self correctly reports that I now have 5 credits. However the UI balance shows that I have 10 credits. ![image](https://github.com/project-rubika/issues/assets/96996793/ee8ec917-7487-4e94-abe3-0dceb034db14)
RaggyLP commented 2024-02-26 23:11:33 +01:00 (Migrated from github.com)

The client now recieves the correct value when Creds are looted. Confirmed fixed as of 22:11 UTC - 26/02/24

image
image

The client now recieves the correct value when Creds are looted. Confirmed fixed as of 22:11 UTC - 26/02/24 ![image](https://github.com/project-rubika/issues/assets/156821187/89ff5ba9-f6fd-40a6-bdb6-7b5221cf8c24) ![image](https://github.com/project-rubika/issues/assets/156821187/01fbf859-eb2e-4df8-98a1-8d75466ac5fb)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: prk/issues#636
No description provided.