If Any Of Your Member(s) Have Ever Put More Than 2Bil In There Bank And Re-Log And Its In The Negative Or.. You Pick Up More Than 2Bil And Your Penya Is Reset To 0 Well.. This Will Fix It..
What It Dose :
If The "New Penya" Is More Than 2BIl Then It Sets "New Penya" To 2Bil
MySQL Trigger ( Inventory Fix )
MySQL Trigger ( Bank Fix )Code:Create Trigger `Anti-Bug` Before Update On `Characters` For Each Row Begin If New.Penya > 2000000000 Then Set New.Penya = 2000000000; End If; End;
Code:Create Trigger `Anti-Bug` Before Update On `Accounts` For Each Row Begin If New.BankPenya1 > 2000000000 Then Set New.BankPenya1= 2000000000; End If; If New.BankPenya2 > 2000000000 Then Set New.BankPenya2 = 2000000000; End If; If New.BankPenya3 > 2000000000 Then Set New.BankPenya3= 2000000000; End If; End;
Hope This Helps Some People.. ^^
- John




![[Fix] Inventory Penya Bug / Bank Penya Bug..](http://ragezone.com/hyper728.png)


