Ticket #5955 (new defect)
Opened 4 months ago
Negative XP earned
| Reported by: | afk5min | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | T2.6 Gracia High_Five |
| Keywords: | system message, xp, number | Cc: | |
| DP Revision: | 8656 | L2J Revision: | 5165 |
| Geodata: | Disabled |
Description
When earning large amounts of experience (via admin_set_level, for example), the system message shows that you earned negative XP.
After investigating, it looks like the XP amount is cast to int to fit in the TYPE_1 field in the SystemMessage?. However, in High Five, TYPE_1 is used for SP, but TYPE_6 is used for XP.
2011-09-06
62 BB 0C 00 00 04 00 00 00 06 00 00 00 C1 5F 00 00 00 00 00 00 06 00 00 00 39 46 00 00 00 00 00 00 01 00 00 00 F9 09 00 00 01 00 00 00 50 07 00 00
62 BB 0C 00 00 04 00 00 00 06 00 00 00 1B 5C 00 00 00 00 00 00 06 00 00 00 8C 43 00 00 00 00 00 00 01 00 00 00 58 09 00 00 01 00 00 00 DA 06 00 00
Attachments
Change History
Changed 4 months ago by afk5min
- Attachment pcstat.txt added

Patch TYPE_1 -> TYPE_6 for XP earned