skilllerz99
June 20th, 2010, 20:18
This is my way i made "construction"
This is my first tut hope u liked it :D
sorry for spelling :S
Tested on : Delta
from my server at: crusadescapesite.smfforfree3.com
Part #1
Open up client.java
Look for this
public void refreshSkills()
you will see somthing like this :
sendQuest("" + playerLevel[0] + "", 4004);
sendQuest("" + playerLevel[2] + "", 4006);
sendQuest("" + playerLevel[1] + "", 4008);
sendQuest("" + playerLevel[4] + "", 4010);
sendQuest("" + playerLevel[5] + "", 4012);
sendQuest("" + playerLevel[6] + "", 4014);
sendQuest("" + currentHealth + "", 4016);
sendQuest("" + playerLevel[16] + "", 4018);
sendQuest("" + playerLevel[15] + "", 4020);
sendQuest("" + playerLevel[17] + "", 4022);
sendQuest("" + playerLevel[12] + "", 4024);
sendQuest("" + playerLevel[9] + "", 4026);
sendQuest("" + playerLevel[14] + "", 4028);
sendQuest("" + playerLevel[13] + "", 4030);
sendQuest("" + playerLevel[10] + "", 4032);
sendQuest("" + playerLevel[7] + "", 4034);
sendQuest("" + playerLevel[11] + "", 4036);
sendQuest("" + playerLevel[8] + "", 4038);
sendQuest("" + playerLevel[20] + "", 4152);
sendQuest("" + playerLevel[18] + "", 12166);
sendQuest("" + playerLevel[19] + "", 13926);
K now where u see
sendQuest("" + playerLevel[19] + "", 13926);
add this code under that one
sendQuest("@gre@Construction Level :" + playerLevel[21] + "", 7343);
part #2 same file client.java look for this
public String statName[] = { "attack"
and see somthing like this:
public String statName[] = { "attack", "defence", "strength", "hitpoints",
"range", "prayer", "magic", "cooking", "woodcutting", "fletching",
"fishing", "firemaking", "crafting", "smithing", "mining",
"herblore", "agility", "thieving", "slayer", "farming",
"runecrafting",};
add this
construction
after "runecrafting"
Part #3
Search in Client.java still
int CLRunecrafting = server.Wearing.GetCLRunecrafting(wearID);
Add under this
int CLConstruction = server.Wearing.GetCLConstruction(wearID);
part #4
look for this in client.java again
if (CLFarming > getLevelForXP(playerXP[19])) {
sM("You are not a high enough level to use this item.");
sM("You need to have a "+statName[playerFarming]+" level of "+CLFarming+".");
GoFalse = true;
add under this
if (CLConstruction > getLevelForXP(playerXP[21])) {
sM("You are not a high enough level to use this item.");
sM("You need to have a "+statName[playerConstruction]+" level of "+CLConstruction+".");
GoFalse = true;
}
part #5
ok this part look for
item on item
add this in there
if(((itemUsed == 5605) || (otherItem == 5605))
&& ((itemUsed == 77) || (otherItem == 77))){
deleteItem(77, 1);
addItem(5605, 1); //Option, don't have to add this
sM("skill made by Gavman9966"); //Option, don't have to add this
setAnimation(885);
addSkillXP(999, 21);
}
Save compile
If you get errors post them or add my msn -- Gavman2010@live.com
Cradits
Gavman9966
Arron
i forget lol sorry
Making a summoning tut later on :D
hope you liked this tut ill make a video on it :D
join my server -- Crusadescapesite.smfforfree3.com --
This is my first tut hope u liked it :D
sorry for spelling :S
Tested on : Delta
from my server at: crusadescapesite.smfforfree3.com
Part #1
Open up client.java
Look for this
public void refreshSkills()
you will see somthing like this :
sendQuest("" + playerLevel[0] + "", 4004);
sendQuest("" + playerLevel[2] + "", 4006);
sendQuest("" + playerLevel[1] + "", 4008);
sendQuest("" + playerLevel[4] + "", 4010);
sendQuest("" + playerLevel[5] + "", 4012);
sendQuest("" + playerLevel[6] + "", 4014);
sendQuest("" + currentHealth + "", 4016);
sendQuest("" + playerLevel[16] + "", 4018);
sendQuest("" + playerLevel[15] + "", 4020);
sendQuest("" + playerLevel[17] + "", 4022);
sendQuest("" + playerLevel[12] + "", 4024);
sendQuest("" + playerLevel[9] + "", 4026);
sendQuest("" + playerLevel[14] + "", 4028);
sendQuest("" + playerLevel[13] + "", 4030);
sendQuest("" + playerLevel[10] + "", 4032);
sendQuest("" + playerLevel[7] + "", 4034);
sendQuest("" + playerLevel[11] + "", 4036);
sendQuest("" + playerLevel[8] + "", 4038);
sendQuest("" + playerLevel[20] + "", 4152);
sendQuest("" + playerLevel[18] + "", 12166);
sendQuest("" + playerLevel[19] + "", 13926);
K now where u see
sendQuest("" + playerLevel[19] + "", 13926);
add this code under that one
sendQuest("@gre@Construction Level :" + playerLevel[21] + "", 7343);
part #2 same file client.java look for this
public String statName[] = { "attack"
and see somthing like this:
public String statName[] = { "attack", "defence", "strength", "hitpoints",
"range", "prayer", "magic", "cooking", "woodcutting", "fletching",
"fishing", "firemaking", "crafting", "smithing", "mining",
"herblore", "agility", "thieving", "slayer", "farming",
"runecrafting",};
add this
construction
after "runecrafting"
Part #3
Search in Client.java still
int CLRunecrafting = server.Wearing.GetCLRunecrafting(wearID);
Add under this
int CLConstruction = server.Wearing.GetCLConstruction(wearID);
part #4
look for this in client.java again
if (CLFarming > getLevelForXP(playerXP[19])) {
sM("You are not a high enough level to use this item.");
sM("You need to have a "+statName[playerFarming]+" level of "+CLFarming+".");
GoFalse = true;
add under this
if (CLConstruction > getLevelForXP(playerXP[21])) {
sM("You are not a high enough level to use this item.");
sM("You need to have a "+statName[playerConstruction]+" level of "+CLConstruction+".");
GoFalse = true;
}
part #5
ok this part look for
item on item
add this in there
if(((itemUsed == 5605) || (otherItem == 5605))
&& ((itemUsed == 77) || (otherItem == 77))){
deleteItem(77, 1);
addItem(5605, 1); //Option, don't have to add this
sM("skill made by Gavman9966"); //Option, don't have to add this
setAnimation(885);
addSkillXP(999, 21);
}
Save compile
If you get errors post them or add my msn -- Gavman2010@live.com
Cradits
Gavman9966
Arron
i forget lol sorry
Making a summoning tut later on :D
hope you liked this tut ill make a video on it :D
join my server -- Crusadescapesite.smfforfree3.com --