post the code for your click button, only the altar, not the full class!
|
I have this problem on project insanity source when i login and click on an object example like altar it does restore my prayer points and do everything perfect but when i click it again nothing happens even when i try to click on different object example like bank booth it does not even open i have to relog and do the first click on that object to work.
Here are some pictures
First click always work to make it work again i have to relog
2nd click on any object does not work
As i said above i don't think it's the altar problem but here is my code
case 409:
if (c.playerLevel[5] < c.getPA().getLevelForXP(c.playerXP[5])) {
c.startAnimation(645);
c.playerLevel[5] = c.getPA().getLevelForXP(c.playerXP[5]);
c.sendMessage("You recharge your prayer points.");
c.getPA().refreshSkill(5);
} else {
c.sendMessage("You already have full prayer points.");
}
break;
check your second click object packet.
if you can second click other objects then its specifically an issue with the case statement you posted.
PI has tons of useless shit in these classes. (Storing every single variable in player class, which shouldn't be done unless you're going to reference it.)
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |