EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   UpdateLDoNPoints (https://www.eqemulator.org/forums/showthread.php?t=22442)

slowglass 02-19-2007 08:32 AM

UpdateLDoNPoints
 
The lines below need to be removed from the function ::UpdateLDoNPoints.
Code:

// make sure total stays in sync with individual buckets
        m_pp.ldon_points_available = m_pp.ldon_points_guk
                +m_pp.ldon_points_mir
                +m_pp.ldon_points_mmc
                +m_pp.ldon_points_ruj
                +m_pp.ldon_points_tak;

There are no "buckets". Each location has a maximum number of points earned in that location, but there is a single pool.
When points are spent the pool is reduced but the location maxima are left un touched.

I have tested this change on Paul (#6)' s server and we have had no problems so far. Before the patch the following happerned

Start Guk points
TOTAL=>0
Add 30 Guk points
TOTAL=>30
Spend 20 points
TOTAL=>10
Add 30 more Guk points
TOTAL=>60 !!!!!

Hope this is of use

Chris


All times are GMT -4. The time now is 08:33 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.