Picture: 
The portals hp don't go down at all... They should be going down tho.
The Time Remaining goes down perfect.
Can anyone help me on this??
Here's the code from client.java...
Code:
public void PcPanel2() {
int bluePortal = GetNpcListHP(3778);
int redPortal = GetNpcListHP(3780);
int yellowPortal = GetNpcListHP(3779);
int purplePortal = GetNpcListHP(3777);
setInterfaceWalkable(15892);
sendQuest("@[email protected] Portal: @[email protected]" + purplePortal, 15895);
if (PlayerHandler.portal1 == 1) {
sendQuest("@[email protected] Portal: @[email protected]" + purplePortal, 15895);
}
sendQuest("@[email protected] Portal: @[email protected]" + bluePortal, 15897);
if (PlayerHandler.portal2 == 1) {
sendQuest("@[email protected] Portal: @[email protected]" + bluePortal, 15897);
}
sendQuest("@[email protected] Portal: @[email protected]" + yellowPortal, 15898);
if (PlayerHandler.portal3 == 1) {
sendQuest("@[email protected] Portal: @[email protected]" + yellowPortal, 15898);
}
sendQuest("@[email protected] Portal: @[email protected]" + redPortal, 15899);
if (PlayerHandler.portal4 == 1) {
sendQuest("@[email protected] Portal: @[email protected]" + redPortal, 15899);
}
sendQuest("@[email protected] Remaining: " + PlayerHandler.pcGameTimer + "", 15900);
sendQuest("", 15901);
sendQuest("", 15896);
sendQuest("", 15902);
sendQuest("", 15903);
sendQuest("", 15904);
sendQuest("", 15905);
sendQuest("", 15906);
}
and this void...
Code:
public int GetNpcListHP(int NpcID) {
for (int i = 0; i < server.npcHandler.maxListedNPCs; i++) {
if (server.npcHandler.NpcList[i] != null) {
if (server.npcHandler.NpcList[i].npcId == NpcID) {
return server.npcHandler.NpcList[i].npcHealth;
}
}
}
return 0;
}
Can anyone please help me on this??