Jump to content

Excess skill points are not returned when gaining prestige

Closed 1.5.10 1.5.11

Namsaknoi
Namsaknoi

Posted

We have this config setting enabled, "Should the player keep excess skill points outside of what they received from leveling/starting points?": true.
I did some quick tests and found that the excess skill point count counts correctly, but the code that assigns them to the player doesn't work.
playerData.available_points = 0; - original code, now working 

I changed to: GiveSkillPoints(player, excessPoints); and it works fine.

imthenewguy

Posted

I see where the issue is. After HandleNewConnection is called, the playerData var is no longer attached to the correct PlayerInfo object.

Ill add the update.

  • Love 1
imthenewguy

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • 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.