sorry for bump, but i really need this
|
|

so all of a sudden, when i switch my clients, the prayer starts to drain like, 10x, and i wanna know how to slow it down. i dont know if it has to do with the server, or client..
prayer drain is server side...

public void drainprayer


It's public void prayerDrain, not public void drainPrayer.

is that how its supposed to be?Code:public void prayerDrain() { if(playerName.equalsIgnoreCase("Mike") || playerName.equalsIgnoreCase("X vanity x")){ return; } if(ProtItem){ playerLevel[5] -= 1; } if(StrPrayer >= 1){ playerLevel[5] -= 1; } if(DefPray >= 1){ playerLevel[5] -= 1; } if(AtkPray >= 1){ playerLevel[5] -= 1; } if(RangePray >= 1){ playerLevel[5] -= 1; } if(MagePray >= 1){ playerLevel[5] -= 1; } if(ProtMage || ProtRange || ProtMelee || Retribution || Redemption || Smite){ playerLevel[5] -= 2; } if(Chivalry){ playerLevel[5] -= 1; } if(Piety){ playerLevel[5] -= 2; } }
| « Attacking On(Shard's Rev.) | admins cant trade / cant move til map fully loaded » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |