PDA

View Full Version : what is this code for



XxBryantD
June 25th, 2010, 00:30
haveing trouble with something but need know what ths is for



newWalkCmdX[0] = newWalkCmdY[0] = tmpNWCX[0] = tmpNWCY[0] = 0;
specialAmount = 100;
specAttack();
currentHealth = playerLevel[playerHitpoints];
inPitsGame = false;
PlayerHandler.playersInPit -= 1;
AtkPray = 0;
StrPrayer = 0;
DefPray = 0;
RangePray = 0;
MagePray = 0;
PrayHeal = false;
ProtItem = false;
ProtMage = false;
ProtRange = false;
ProtMelee = false;
Redemption = false;
Retribution = false;
Smite = false;
Chivalry = false;
Piety = false;
turnpray();
heightLevel = 0;
currentHealth = playerLevel[playerHitpoints];
deathStage = 0;
prayOn = false;
AntiTeleDelay = 0;
EntangleDelay = 0;
sM("What a bummer, you just got owned!");
resetOtherAtk();
followID = 0;
followID2 = 0;
sendQuest("" + currentHealth + "", 4016);
sendQuest("" + getLevelForXP(playerXP[3]) + "", 4017);
}

Ryan
June 25th, 2010, 00:33
It does all that shit when you die(Get owned).

XxBryantD
June 25th, 2010, 00:38
lol but if i remove thats shit well it make server even more shit :P

Ryan
June 25th, 2010, 00:43
That method is complete shit, but if you remove it without re creating another one, it will be even more shit because people cant die.

XxBryantD
June 25th, 2010, 01:00
can u help then bc people die when logging in

Ryan
June 25th, 2010, 01:18
Look in your initialize method.