• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[TUT][508] Adding Gnomecopters and making them fly

Newbie Spellweaver
Joined
Sep 8, 2009
Messages
8
Reaction score
0
Difficulty - 1/10
Length - Very Short
Files Editied - Equipment.java & ItemOperate.java

Ok, This tutorial is for adding gnomecopters to 508 servers, with of course flying.

Go to Equipment.java and look for this (Should be around the top area) :
Code:
private String[] weapons = {
        "scimitar", "Barrelchest anchor", "dwarven", "sceptre", "longsword", "sword", "crozier", "longbow", "shortbow", "dagger",
        "mace", "halberd", "spear", "Abyssal whip", "axe", "flail", "crossbow",
        "Torags hammers", "dagger(p)", "dagger(+)", "dagger(s)", "spear(p)",
        "spear(+)", "spear(s)", "spear(kp)", "maul", "dart", "dart(p)",
        "javelin", "javelin(p)", "knife", "knife(p)", "Longbow", "Shortbow",
        "Crossbow", "Toktz-xil", "Toktz-mej", "Tzhaar-ket", "staff", "Staff",
        "godsword", "c'bow", "Crystal bow", "Dark bow", "Magic butterfly net"};

When you found this, Add in to that area "copter",
It will end up looking like this:
Code:
private String[] weapons = {
        "scimitar", [COLOR="Black"]"copter",[/COLOR] "Barrelchest anchor", "dwarven", "sceptre", "longsword", "sword", "crozier", "longbow", "shortbow", "dagger",
        "mace", "halberd", "spear", "Abyssal whip", "axe", "flail", [B]"copter",[/B] "crossbow",
        "Torags hammers", "dagger(p)", "dagger(+)", "dagger(s)", "spear(p)",
        "spear(+)", "spear(s)", "spear(kp)", "maul", "dart", "dart(p)",
        "javelin", "javelin(p)", "knife", "knife(p)", "Longbow", "Shortbow",
        "Crossbow", "Toktz-xil", "Toktz-mej", "Tzhaar-ket", "staff", "Staff",
        "godsword", "c'bow", "Crystal bow", "Dark bow", "Magic butterfly net"};

Save it and close it.
Then go to ItemOperate.java and add this:
Code:
case 12842:
		p.requestAnim(8956, 0);
		p.runEmote = 8961;
		p.walkEmote = 8961;
		p.standEmote = 8961;
		p.appearanceUpdateReq = true;
		p.updateReq = true;
		break;

Save and Compile.

Gnomecopter code is 12842, Wear it and operate.

Comment please.
 
Last edited:
Banned
Banned
Joined
Sep 7, 2009
Messages
239
Reaction score
0
leached from rune-server,dude ive checked evry tutorial there is over there,at least give credits lol.
 
Back
Top