LegacyWoW
Welcome tho the Community forum Of LegacyWoW #1 private server 4.x.x.

Dont have a Forum account yet? Register.

Got a account Log in.

Have fun.


Buff stacking

View previous topic View next topic Go down

:announcement: Buff stacking

Post  SecsyRed on Mon Aug 27, 2012 3:00 pm

No one really wants to see this:






And this is how to fix it:




Also The potion vendor is prty expoitable with lets say 100 honor and:

/script local function buy (n,q) for i=1,100 do if n==GetMerchantItemInfo(i) then BuyMerchantItem(i,q) end end end buy ("Runescroll of Might",255)



Player.cpp line 20666: BuyoutPrice = 100000000 * 43 = 4300000000
Max uint32 = 4.294.967.295 .... this is a overflow error so buyoutPrice is with macro 5032704

Fast Solution: dont allow to buy more then 1 Item (if Buyout price is too high)
Change Line 20563 from " if (count < 1) count = 1;" to "count = 1;"
avatar
SecsyRed
Trial GM
Trial GM

Number of Posts : 24
Registration : 2012-08-15
Age : 29
Residence : Iasington

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum