maybe you need to add another bracket not sure though gl
~ Rickyy
|
ok well u kno on all delta based servers, that on death u keep a firecape even if u are skulled and not item protcedting.
well im trying to do this with some other items such as d claws. so i search 6570(fcape id) and i copy the code and replace the IDS. but i get this error.
NOTE: it works fine for firecape but same like of code with diff ID gives error?!?!?!
ALSO SINCE IT CANNOT FIND THE VARIABLE can some one help make 1?
maybe you need to add another bracket not sure though gl
~ Rickyy
Call Public boolean keep8002 = false;
=p
wow omg rickyy it saids it cant find the variable i dont know where the fux you got missing bracket at.
yh indeed, you don't have the keep8002 method
Could you post the 6570 method?
You should only have to declare the keep #### boolean at the beginning of client.java.
searchand paste the code hereCode:boolean keep6570
I did this
public class client extends Player implements Runnable {
public boolean keep8002 = false;
i pasted the code under it but when i log in and killed the guy he loses d claws and doesnt keep them NO MATTER WHAT.
is there a diff place to paste it and i search keep6570 boolean on the client.java and nothing shows up O_O??
any errors compiling it?
Also Find the whole public boolean keep6780 and paste it here informatCode:codeCode:codeCode:code
i get no erros what so ever.
look about the public boolean thing.. it should have 6570 in the public boolean right?
so i opend client.java and searched "6570"
only few things came up nothing with public boolean tho. this is what came up btw:
public void youdied()
{
if(playerHasItem(5509)){
deleteItem(5509, 1);
}
if(playerHasItem(5510)){
deleteItem(5510, 1);
}
if(playerHasItem(5512)){
deleteItem(5512, 1);
}
if(playerHasItem(5514)){
deleteItem(5514, 1);
}
if(playerHasItem(6570)){
keep6570 = true;
deleteItem(6570, 1);
}
}
} catch(Exception e) { sM("ERROR: Removing Equipment"); }
}
if(playerHasItem(5509)){
deleteItem(5509, 1);
}
if(playerHasItem(5510)){
deleteItem(5510, 1);
}
if(playerHasItem(5512)){
deleteItem(5512, 1);
}
if(playerHasItem(5514)){
deleteItem(5514, 1);
}
if(playerHasItem(6570)){
keep6570 = true;
deleteItem(6570, 1);
} catch(Exception e) {}
ItemHandler.addItem(526, absX, absY, 1, KillerId, false);
try {
} catch(Exception e) {}
if (itemKept1 > 0)
addItem(itemKept1, 1);
if (itemKept2 > 0)
addItem(itemKept2, 1);
addItem(itemKept3, 1);
if (itemKept4 > 0)
addItem(itemKept4, 1);
if (keep6570) {
addItem(6570, 1);
keep6570 = false;
}
if (keep8002) {
addItem(8002, 1);
keep8002 = false;
}
resetKeepItem();
hitDiff = 0;
updateRequired = true; appearanceUpdateRequired = true;
}
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |