well im bored of codeing delta and have moved on to a less used source.
and so far it owns delta in every aspect.
combat. pking. dueling. stakeing. mage. range. less glitches. but anyway here are some tuts.
I ADVISE U TO CREATE A BACKUP OF YOUR SERVER NOW FOR I AM NOT RESPONCABLE FOR YOUR SERVER IF U MESS UP ADDING THINGS.
Ok what this will do is remove the attack option from players unless you are in the wilderness
Go into client.java and search for this
Code:
outStream.createFrameVarSize(104);
outStream.writeByteC(3);
outStream.writeByteA(0);
outStream.writeString("Attack");
outStream.endFrameVarSize();
remove that. and then add this. where that was.
Code:
public void rightClickCheck() {
client other = getClient(duel_with);
if(isInWilderness == false) {
outStream.createFrameVarSize(104);
outStream.writeByteC(3);
outStream.writeByteA(0);
outStream.writeString("null");
outStream.endFrameVarSize();
}
if(isInWilderness(absX, absY, 1)) {
outStream.createFrameVarSize(104);
outStream.writeByteC(3);
outStream.writeByteA(0);
outStream.writeString("Attack");
outStream.endFrameVarSize();
}
}
Next, call the method from process
How to change it where u cant pk with 0-3 items Equiped.\
credits ME : 60%
S a n t a PK 35%
poptart 5% cause he wont stfu saying this is his.
go to client.java and search for this
search for this.
Code:
if (!UseBow) {
followID = AttackingOn2.playerId;
}
IsAttacking = true;
faceNPC(32768 + AttackingOn);
}
after the last in that statement add this
Code:
if((playerEquipment[playerWeapon] == -1) || (playerEquipment[playerChest] == -1) || (playerEquipment[playerAmulet] == -1)) {
sM("You need a body, weapon, and amulet to attack someone.");
ResetAttack();
break;
}
hope some of these helped. if any of these where already posted please tell me