PDA

View Full Version : UpdateLDoNPoints


slowglass
02-19-2007, 08:32 AM
The lines below need to be removed from the function ::UpdateLDoNPoints.

// 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