completed quest = server/players/quest/ questhandler.java
find:
Code:
public int q1, q2, q3, q4, q5, q6, q7, q8, q9, q10,
q11, q12, q13, q14, q15, q16, q17, q18, tqp = 0;
change the 0 at the end to 15
starter is in client.java look for "welcome to
you will see:
Code:
if (QH().q1 == 0) {
QH().q1 = 15;
CAM().showInterface(3559);
apset = true;
CAM().sendFrame99(1);
playerEnergy = 100;
addItem(995, 5000000);
addItem(386, 10000);
addItem(1321, 1);
addItem(841, 1);
addItem(882, 1000);
addItem(556, 1000);
addItem(558, 1000);
addItem(562, 1000);
CAM().sendMessage("Welcome to "+Constants.SERVER_NAME+", Currently in beta testing.");
} else {
CAM().sendMessage("Welcome back to "+Constants.SERVER_NAME+", We are currently in beta testing.");
}
change to:
Code:
if (QH().q1 == 15) {
CAM().showInterface(3559);
apset = true;
CAM().sendFrame99(1);
playerEnergy = 100;
//add items here
CAM().sendMessage("Welcome to "+Constants.SERVER_NAME+", Currently in beta testing.");
} else {
CAM().sendMessage("Welcome back to "+Constants.SERVER_NAME+", We are currently in beta testing.");
}
just change the items stuff there.
under
Code:
public void initialize() {
find
Code:
if (ancients == 1) {
u will see:
Code:
if (ancients == 1) {
setSidebarInterface(6, 12855); // magic tab (ancient = 12855);
}
if (ancients == 0) {
setSidebarInterface(6, 1151); // magic tab (ancient = 12855);
}
make it look like this:
Code:
setSidebarInterface(6, 12855); // magic tab (ancient = 12855);
so deleted hole thing and replace with that.
running:
boolean process: (client.java)
under it add
Code:
if (playerEnergy < 10) {
playerEnergy = 100;
}
this is not the best way to fix it but good enough for a new programmer
that should fix everything lol