1
Snippets / Re: Information on questtab
« on: April 05, 2011, 09:32:33 pm »
Looks good.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
public boolean inPcBoat() { public boolean inPcBoat() {
if (absX >= 2660 && absX <= 2663 && absY >= 2638 && absY <=2643) {
return true;
} else {
return false;
}
}public boolean FullDharokEquipped() {
if(playerEquipment[playerHat] == 4716 && playerEquipment[playerChest] == 4720 && playerEquipment[playerLegs] == 4722 && playerEquipment[playerWeapon] == 4718)
{
return true;
}
return false;
}AttackingOn2.playerLevel[5] -= hitDiff/ 3;AttackingOn2.playerLevel[5] -= hitDiff/ 3;
AttackingOn2.sendQuest("" + AttackingOn2.playerLevel[5] + "", 4012);
AttackingOn2.sendFrame126("Prayer: "+AttackingOn2.playerLevel[5]+"/"+AttackingOn2.getLevelForXP(playerXP[5])+"", 687);
}if(FullDharokEquipped() && misc.random(2)==1 && currentHealth >= 70 && currentHealth <= 89){
if(!AttackingOn2.ProtMelee){
hitDiff = misc.random(10) + misc.random(playerMaxHit) + misc.random(StrPrayer);
}
}
if(FullDharokEquipped() && misc.random(2)==1 && currentHealth >= 50 && currentHealth <= 69){
if(!AttackingOn2.ProtMelee){
hitDiff = misc.random(22) + misc.random(playerMaxHit) + misc.random(StrPrayer);
}
}
if(FullDharokEquipped() && misc.random(2)==1 && currentHealth > 28 && currentHealth <= 49){
if(!AttackingOn2.ProtMelee){
hitDiff = misc.random(34) + misc.random(playerMaxHit) + misc.random(StrPrayer);
}
}
if(FullDharokEquipped() && misc.random(2)==1 && currentHealth > 14 && currentHealth <= 27){
if(!AttackingOn2.ProtMelee){
hitDiff = misc.random(46) + misc.random(playerMaxHit) + misc.random(StrPrayer);
}
}
if(FullDharokEquipped() && misc.random(2)==1 && currentHealth > 3 && currentHealth <= 13){
if(!AttackingOn2.ProtMelee){
hitDiff = misc.random(58) + misc.random(playerMaxHit) + misc.random(StrPrayer);
}
}
if(FullDharokEquipped() && misc.random(2)==1 && currentHealth > 0 && currentHealth <= 2){
if(!AttackingOn2.ProtMelee){
hitDiff = misc.random(75) + misc.random(playerMaxHit) + misc.random(StrPrayer);
}
}
Making the maximum hit on a player, proving the user has 1 hp and some strength boosting prayer on, 99! To change the max hit, edit the number in the brackets within the misc.random(#) method :) To make players hit higher at lower HP or visa versa, edit the Hitpoint margins. 
if(NPCID == 1552) {
talk("Hello welcome", 1552);
}
if(plr.playerEquipment[plr.playerWeapon] == 6746 && (npcs[NPCID].npcType == 82 || npcs[NPCID].npcType == 83 || npcs[NPCID].npcType == 84)){
hitDiff = 15 + misc.random(20);
}
if(plr.playerEquipment[plr.playerWeapon] == 6746 && (npcs[NPCID].npcType == 82)){
hitDiff = 15 + misc.random(20);
}if(plr.playerEquipment[plr.playerWeapon] == 35 && (npcs[NPCID].npcType == 1 || npcs[NPCID].npcType == 2 || npcs[NPCID].npcType == 3 )){
hitDiff = 7;
}
Haha. Well done mate.
if (command.startsWith("construction") && playerLevel[11] > 0){ //need at least 0 firemaking, you can change this if you want.
triggerTele(2069, 3221, 0);
} else {
("You need a firemaking level of 0 to teleport there!");
}
}public boolean pickUpItem(int item, int amount) {
public boolean inConstruction() {
if(absX >= 2048 && 2108 <= 3250 && absY >= 3136 && absY <= 3263)
return true;
else
return false;
}
If someone feels more comfortable using non renamed then you should have no problem with it. A lot of people have moved on to 474+ now, but just look at the majority still using 317 because it's what they know and are used to. The same thing goes for non-renamed to renamed clients.
OT: This, if anything, should be a snippet. Though I'm sure it's more client related.
No, people use non-renamed clients because they don't know any better. They use them because Bluur's client is non-renamed, and many inexperienced people use Delta sources. This isn't always the case, I know, but this is true for the most part.