Quote:
Originally Posted by KingMort
Seems a player has gotten up to 58,000+ Guks (he can't remember exact number) and the total lifetime points under Guk's Reset to 700...
|
There is a check in client_packet.cpp around line 7735 which resets your ldon points to zero if any of them exceed 65535. Maybe that's causing your issue.
client_packet.cpp
Code:
//validate adventure points, this cap is arbitrary
if(m_pp.ldon_points_guk < 0 || m_pp.ldon_points_guk > 0xFFFF) m_pp.ldon_points_guk = 0;
if(m_pp.ldon_points_mir < 0 || m_pp.ldon_points_mir > 0xFFFF) m_pp.ldon_points_mir = 0;
if(m_pp.ldon_points_mmc < 0 || m_pp.ldon_points_mmc > 0xFFFF) m_pp.ldon_points_mmc = 0;
if(m_pp.ldon_points_ruj < 0 || m_pp.ldon_points_ruj > 0xFFFF) m_pp.ldon_points_ruj = 0;
if(m_pp.ldon_points_tak < 0 || m_pp.ldon_points_tak > 0xFFFF) m_pp.ldon_points_tak = 0;
if(m_pp.ldon_points_available < 0 || m_pp.ldon_points_available > 0xFFFF) m_pp.ldon_points_available = 0;
the ldon points fields in the Player Profile are signed 32 bit integers, which can hold values up to +2,147,483,647