Jump to content

Max XP on single action

Pending 1.7.9

LaD3
LaD3

Posted

Not sure the full cause but it happened to me while crafting and another user had it happen when destroying a barrel. XP bar ends up saying infinity/lvl100xp.

LaD3

Posted

[Skill Tree] SkillTreeAwardXP pre mod : Infinity
[Skill Tree] SkillTreeAwardXP post mod : Infinity
[Skill Tree] SkillTreeAwardXP excessXP : Infinity
{
  "Channel": 2,
  "Message": "\"<color=#ffae00>User</color> reached level <color=#4cff03>100</color>!\"",
  "UserId": "",
  "Username": "AscentGuide:",
  "Color": "#eee",
  "Time": 1778346815
}

LaD3

Posted

Added logs to the AwardXP function and got the above

  • Curator
imthenewguy

Posted

On 5/10/2026 at 3:16 AM, LaD3 said:

[Skill Tree] SkillTreeAwardXP pre mod : Infinity
[Skill Tree] SkillTreeAwardXP post mod : Infinity
[Skill Tree] SkillTreeAwardXP excessXP : Infinity
{
  "Channel": 2,
  "Message": "\"<color=#ffae00>User</color> reached level <color=#4cff03>100</color>!\"",
  "UserId": "",
  "Username": "AscentGuide:",
  "Color": "#eee",
  "Time": 1778346815
}

Where did you place those debug lines?

infinity usually happens when you divide a double or float by 0.

 

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.1k
Customers served
Files Sold
159.2k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.