PDA

View Full Version : 100% construction [317]



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 --

123happy
June 20th, 2010, 20:24
Not bad, but I just finished reading this on Moparscape (Comparing TuT's Sections).

Very easy! Perfect for beginners.

:P:)

(Would help letting people know what you tested this on, like Deltascape)

Xdragon
June 20th, 2010, 20:25
Thanks lol Needed this :p

123happy
June 20th, 2010, 20:28
No problem mate.

bloodpk3r
June 20th, 2010, 22:46
this is good for beginners but not 100%, how ever nice for people who are new to adding skills and want to try to make one :D
so gj! maybe once you get a chance you could try adding more to it but thts up 2 u :)

XxBryantD
June 20th, 2010, 23:04
looks good but not going use bc i dont like thatskill :P

Ond Tyrann
June 21st, 2010, 04:01
I'm going to be attempting Construction once I get the mapdata for it lol. But good job for the beginners.

Aaron
June 21st, 2010, 04:12
Does this cause any extra Lag in the game?

KoRn
June 21st, 2010, 09:27
Nice job, thanks for this. I don't think i'm gonna use this.

Xdragon
June 21st, 2010, 21:31
Hmm yea its not 100% you need to use a knife on a fles to level up? wierd?

Mohammad
July 6th, 2010, 04:49
client.java:30241: cannot find symbol
symbol : method GetCLConstruction(int)
location: class Wearing
int CLConstruction = server.Wearing.GetCLC
^
client.java:30304: cannot find symbol
symbol : variable playerConstruction
location: class client
sM("You need to have a "+statName[
level of "+CLConstruction+".");

2 errors
Press any key to continue . . .

Any help?

specced
July 6th, 2010, 08:08
it could only be 100% once you add the houses. the portal and all that stuff. using a knife isnt 100% con but on the bright side good job!

owner blade
July 20th, 2010, 12:26
thats not even close to 1%

123
July 24th, 2010, 09:44
Thanks!

my pker pure
July 24th, 2010, 09:52
Nowhere near 100% and its just a waste of space, it just makes you lag.

I D3stroy I
July 24th, 2010, 14:41
It's an Start for the construction :o I won't be using

James
July 24th, 2010, 14:43
Very good for beginners!!

exlot
July 24th, 2010, 22:30
got errors...

blockay
July 25th, 2010, 07:29
wouldn't call it 100%

David
July 25th, 2010, 10:31
Just that you know: This aint 100% construction, its only the set-up of the construction skill itself.

Cjay0091
July 25th, 2010, 13:15
Does this cause any extra Lag in the game?

Yes due to it using processing. Arrays would be better. Sec Ill make a better example.

Empire
July 25th, 2010, 13:47
Cool update, ;)

DustinClark
July 25th, 2010, 13:47
Nonsence!

luckysinner
July 25th, 2010, 14:07
Its Rare to see this skill working

thirkle
July 25th, 2010, 19:40
i attempted doing that but i got errors from the item folder :( thx anyways :L

Emperor
July 25th, 2010, 19:42
How could this ever be full construction?

Full construction is ability to make rooms, objects (wich are white before placing them), ...
The ability to have other players access your house, ...

This is nothing more but a firemaking look alike.

Sunny
August 3rd, 2010, 03:33
would this work for czar?

bluefire
August 10th, 2010, 21:40
were do i go to get to my house? like a tele or what?

Emily
August 10th, 2010, 21:42
This is 99% away from 100% construction...this is just making an item...

Ryan
August 10th, 2010, 21:49
I think we understand this isn't full construction, or not even close. No need to keep posting that.

lolz
August 10th, 2010, 21:57
not good, sorry

Encomiast vol
August 22nd, 2010, 01:08
Hmm looks OK, but not 100%
Thanks for this :)

Badger191
August 22nd, 2010, 01:38
You guys are oblivious, this is no where near 100%.

Trapt
August 22nd, 2010, 03:18
Are you from moparscape?