[508 Tutorial] Make a gnome copter fly..

Posts 1–4 of 4 · Page 1 of 1
[508 Tutorial] Make a gnome copter fly..
This is a tutorial for most common 508 servers.

Find "PLAYERWEAPON.JAVAⓘ" or "playerweapon.javaⓘ".

Search :

Code:
return 0x338;
You will see hopefully:

Code:
return 0x338;
        } else if (id == 10887) {
            return 5868;
        } else if (id == 4755) {
            return 1831;
        } else if (id == 4734) {
            return 2077;
        } else if (id == 4726 || weapon.contains("Spear") || weapon.endsWith("halberd") || weapon.contains("Staff") || weapon.contains("staff")) {
            return 1210;
        } else if (weapon.equals("Abyssal whip")) {
            return 1661;
        } else if (id == 4153) {
            return 1664;
        }
        return 0x338;
Make it:

Code:
return 0x338;
        } else if (id == 12842) {
            return 8963;       
        } else if (id == 10887) {
            return 5868;
        } else if (id == 4755) {
            return 1831;
        } else if (id == 4734) {
            return 2077;
        } else if (id == 4726 || weapon.contains("Spear") || weapon.endsWith("halberd") || weapon.contains("Staff") || weapon.contains("staff")) {
            return 1210;
        } else if (weapon.equals("Abyssal whip")) {
            return 1661;
        } else if (id == 4153) {
            return 1664;
        }
        return 0x338;
Now Search:

Code:
return 0x333;
You will see something like this:

Code:
return 0x333;
        } else if (id == 10887) {
            return 5867;       
        } else if (id == 4718) {
           return 2064;
        } else if (id == 4755) {
           return 2060;
        } else if (id == 4734) {
           return 2076;
        } else if (id == 4153) {
Last of all search this:

Code:
return 0x333;
Outcome:

Code:
return 0x333;
    }

    public int getStandEmote(int id) {
        String weapon = Engine.items.getItemName(id);
        if (id == 4718) {
            return 2065;
        } else if (id == 10887) {
            return 5869;     
        } else if (id == 4755) {
            return 2061;
   } else if (p.npcType == 6203) {
       return 6943;
   } else if (p.npcType == 2745) {
       return 9274;
        } else if (id == 4734) {
            return 2074;
        } else if (id == 6528 || id == 1319) {
Finally, change it to:

Code:
return 0x333;
    }

    public int getStandEmote(int id) {
        String weapon = Engine.items.getItemName(id);
        if (id == 4718) {
            return 2065;
        } else if (id == 10887) {
            return 5869;
        } else if (id == 12842) {
            return 8963;       
        } else if (id == 4755) {
            return 2061;
   } else if (p.npcType == 6203) {
       return 6943;
   } else if (p.npcType == 2745) {
       return 9274;
        } else if (id == 4734) {
            return 2074;
        } else if (id == 6528 || id == 1319) {
Small, simple tutorial.

For more rs-tools, 'thank' Murkforce.
i dont get it?
Quote Originally Posted by smash987 View Post
i dont get it?
How do you not?
Do you even have your 508 folder?
If you do, search for what I told you.
ooooo i know now ok ok
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us