Thread: ey som questions reed it its not mutch :P

Results 1 to 7 of 7
  1. #1 ey som questions reed it its not mutch :P 
    Registered Member
    Join Date
    Jan 2009
    Posts
    54
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    som questions where i add spec attacks on my 508 server
    how i add new items thad i can wear like runecraft robes cant wear it
    ty anyways
    i hope u can help me
    Reply With Quote  
     

  2. #2  
    Gfx/Coder


    Join Date
    Dec 2008
    Posts
    1,965
    Thanks given
    38
    Thanks received
    48
    Rep Power
    320
    To add items, go to equipment.java and u should be able to figure it out, and i believe specials are added in playercombat.java.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Aug 2008
    Posts
    1,151
    Thanks given
    21
    Thanks received
    86
    Rep Power
    558
    To add new items(To wear);

    Go to Equipment.java and you'll see:

    Code:
        private String[] capes = {"cape","Cape", "attractor", "accumulator"};
        private String[] hats = {"Hooded cloak", "ears", "helm","hood","coif","Coif","hat","partyhat","Hat","full helm (t)","full helm (g)","hat (t)","hat (g)","cav","boater","helmet","mask","Helm of neitiznot"};
        private String[] boots = {"boots","Boots"};
        private String[] gloves = {"gloves","gauntlets","Gloves","vambraces","vamb","bracers"};
        private String[] shields = {"kiteshield","sq shield","Toktz-ket","books","book","kiteshield (t)","kiteshield (g)","kiteshield(h)","defender","shield"};
        private String[] amulets = {"Gnome scarf", "amulet","necklace","Amulet of"};
        private String[] arrows = {"arrow","arrows","arrow(p)","arrow(+)","arrow(s)","bolt","Bolt rack","Opal bolts","Dragon bolts","Onyx bolts"};
        private String[] rings = {"ring", "Ring of dueling", "stone", "recoil"};
        private String[] body = {"Guthix dragonhide", "Saradomin d'hide", "Zamorak d'hide", "platebody","chainbody","robetop","leathertop","platemail","top","brassard","Robe top","body","platebody (t)","platebody (g)","body(g)","body_(g)","chestplate","torso","shirt", "armour"};
        private String[] legs = {"platelegs", "plateskirt","skirt","bottoms","chaps","platelegs (t)","platelegs (g)","bottom","skirt","skirt (g)","skirt (t)","chaps (g)","chaps (t)","tassets","legs", "robe", "flared", "trousers"};
        private String[] weapons = {"sceptre", "snowball", "Snowball", "Ivandis", "gnomecopter", "flail", "Monkey greegree", "Barb-tail harpoon", "Flowers", "Keris", "Saradomin banner", "Zamorak banner", "scimitar","longsword","sword","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",
        "Barrelchest anchor", "Training bow", "claws", "Gnomecopter", "Gnome", "copter", "gnomecopter", "omni-talisman", "Omni-talisman", "Omni-Talisman"};
        /* Fullbody is an item that covers your arms. */
        private String[] fullbody = {"Guthix dragonhide", "Saradomin d'hide", "Zamorak d'hide", "top","shirt","platebody","Ahrims robetop","Karils leathertop","brassard","Robe top","robetop","platebody (t)","platebody (g)","chestplate","torso", "chainbody"};
        /* Fullhat covers your head but not your beard. */
        private String[] fullhat = {"Hooded cloak", "med helm","coif","Dharoks helm","hood","Initiate helm","Coif","Helm of neitiznot", "full helm", "helm"};
        /* Fullmask covers your entire head. */
        private String[] fullmask = {"full helm","Veracs helm","Guthans helm","Torags helm","Karils coif","full helm (t)","full helm (g)"};
    You add new items in there.

    To add new specs;

    Go to PlayerCombat.java

    Search
    Code:
    					case 11696:
    						/**
    						 * Bandos Godsword
    						 */
    Copy the whole code, change the case number to the weapon you want to add the spec, change the gfx and anim too your weapon too. Then search it again and do the same.

    That's the spec sorted.

    Now to make it drain.

    search:

    Code:
    	int getSpecAmount() {
    And add Your weapon into it.

    Code:
    		if (p.equipment[3] == WeaponID) {
    			return 500;
    		}
    Hope I helped.

    нacкυя

    Reply With Quote  
     

  4. #4  
    Member Market Banned Market Banned

    Zee Best's Avatar
    Join Date
    Feb 2007
    Age
    29
    Posts
    3,036
    Thanks given
    24
    Thanks received
    210
    Rep Power
    1171
    Worst grammar ever.


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Gfx/Coder


    Join Date
    Dec 2008
    Posts
    1,965
    Thanks given
    38
    Thanks received
    48
    Rep Power
    320
    Quote Originally Posted by Hackur View Post
    To add new items(To wear);

    Go to Equipment.java and you'll see:

    Code:
        private String[] capes = {"cape","Cape", "attractor", "accumulator"};
        private String[] hats = {"Hooded cloak", "ears", "helm","hood","coif","Coif","hat","partyhat","Hat","full helm (t)","full helm (g)","hat (t)","hat (g)","cav","boater","helmet","mask","Helm of neitiznot"};
        private String[] boots = {"boots","Boots"};
        private String[] gloves = {"gloves","gauntlets","Gloves","vambraces","vamb","bracers"};
        private String[] shields = {"kiteshield","sq shield","Toktz-ket","books","book","kiteshield (t)","kiteshield (g)","kiteshield(h)","defender","shield"};
        private String[] amulets = {"Gnome scarf", "amulet","necklace","Amulet of"};
        private String[] arrows = {"arrow","arrows","arrow(p)","arrow(+)","arrow(s)","bolt","Bolt rack","Opal bolts","Dragon bolts","Onyx bolts"};
        private String[] rings = {"ring", "Ring of dueling", "stone", "recoil"};
        private String[] body = {"Guthix dragonhide", "Saradomin d'hide", "Zamorak d'hide", "platebody","chainbody","robetop","leathertop","platemail","top","brassard","Robe top","body","platebody (t)","platebody (g)","body(g)","body_(g)","chestplate","torso","shirt", "armour"};
        private String[] legs = {"platelegs", "plateskirt","skirt","bottoms","chaps","platelegs (t)","platelegs (g)","bottom","skirt","skirt (g)","skirt (t)","chaps (g)","chaps (t)","tassets","legs", "robe", "flared", "trousers"};
        private String[] weapons = {"sceptre", "snowball", "Snowball", "Ivandis", "gnomecopter", "flail", "Monkey greegree", "Barb-tail harpoon", "Flowers", "Keris", "Saradomin banner", "Zamorak banner", "scimitar","longsword","sword","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",
        "Barrelchest anchor", "Training bow", "claws", "Gnomecopter", "Gnome", "copter", "gnomecopter", "omni-talisman", "Omni-talisman", "Omni-Talisman"};
        /* Fullbody is an item that covers your arms. */
        private String[] fullbody = {"Guthix dragonhide", "Saradomin d'hide", "Zamorak d'hide", "top","shirt","platebody","Ahrims robetop","Karils leathertop","brassard","Robe top","robetop","platebody (t)","platebody (g)","chestplate","torso", "chainbody"};
        /* Fullhat covers your head but not your beard. */
        private String[] fullhat = {"Hooded cloak", "med helm","coif","Dharoks helm","hood","Initiate helm","Coif","Helm of neitiznot", "full helm", "helm"};
        /* Fullmask covers your entire head. */
        private String[] fullmask = {"full helm","Veracs helm","Guthans helm","Torags helm","Karils coif","full helm (t)","full helm (g)"};
    You add new items in there.

    To add new specs;

    Go to PlayerCombat.java

    Search
    Code:
    					case 11696:
    						/**
    						 * Bandos Godsword
    						 */
    Copy the whole code, change the case number to the wepon you want to add the spec, change the gfx and anim too your wepon too. Then search it again and do the same.

    That's the spec sorted.

    Now to make it drain.

    search:

    Code:
    	int getSpecAmount() {
    And add Your wepon into it.

    Code:
    		if (p.equipment[3] == WeponID) {
    			return 500;
    		}
    Hope I helped.
    Lol very well explained, but try not to spoonfeed.
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Aug 2008
    Posts
    1,151
    Thanks given
    21
    Thanks received
    86
    Rep Power
    558
    Quote Originally Posted by Zee best View Post
    Worst grammar ever.
    Alot cant use it unfortunetly. :\

    Quote Originally Posted by EnterSandman View Post
    Lol very well explained, but try not to spoonfeed.
    Opps. D: Dang it! Lol

    нacкυя

    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jan 2009
    Posts
    54
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    ty you
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •