Thread: Removing Image Of a Weapon + some others

Results 1 to 8 of 8
  1. #1 Removing Image Of a Weapon + some others 
    Registered Member
    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    14
    Posts
    4,333
    Thanks given
    928
    Thanks received
    651
    Rep Power
    2894
    When you Wield any weapon it shows it Image in the Interface.
    Well i find that kinda Annoying, So i was messing around with the
    SendWeapon void And It worked!

    NOTE: Make a another copy of SendWeapon void just incase you dont like this 1. Else, Why even add if you dont like..

    anyway

    Replace your

    Code:
    public void SendWeapon
    method

    with this 1
    Code:
    public void SendWeapon(int Weapon, String WeaponName) {
    	String WeaponName2 = 
    
    	WeaponName.replaceAll("Bronze", "");
    	WeaponName2 = WeaponName2.replaceAll("Iron", "");
    	WeaponName2 = WeaponName2.replaceAll("Steel", "");
    	WeaponName2 = WeaponName2.replaceAll("Black", "");
    	WeaponName2 = WeaponName2.replaceAll("Mithril", "");
    	WeaponName2 = WeaponName2.replaceAll("Adamant", "");
    	WeaponName2 = WeaponName2.replaceAll("Rune", "");
    	WeaponName2 = WeaponName2.replaceAll("Granite", "");
    	WeaponName2 = WeaponName2.replaceAll("Dragon", "");
    	WeaponName2 = WeaponName2.replaceAll("Crystal", "");
    	WeaponName2 = WeaponName2.trim();
    
    
    	if (WeaponName.equals("Unarmed") || playerEquipment[playerWeapon] == -1) {
    			setSidebarInterface(0, 5855);
    			sendFrame126(WeaponName, 5857);
    		}
    
    	 else if (WeaponName.endsWith("whip")) {
    			setSidebarInterface(0, 12290);
    			sendFrame246(12291, 2, Weapon);
    			sendFrame126(WeaponName, 12293);
    		} 
    	else if ((WeaponName.endsWith("bow")) || (WeaponName.contains("Dark Bow")) || (WeaponName.endsWith("bow full"))) {
    			setSidebarInterface(0, 1764);
    			sendFrame246(1765, 2, Weapon);
    			sendFrame126(WeaponName, 1767);
    		} 
    	else if (WeaponName.endsWith("Bow")) {
    			setSidebarInterface(0, 1764);
    			sendFrame246(1765, 2, Weapon);
    			sendFrame126(WeaponName, 1767);
    		}
    	else if (WeaponName.startsWith("Staff") || WeaponName.endsWith("staff")) {
    			setSidebarInterface(0, 328);
    			sendFrame246(329, 2, Weapon);
    			sendFrame126(WeaponName, 331);
    		} 
    	else if (WeaponName2.startsWith("dart")) {
    			setSidebarInterface(0, 4446);
    			sendFrame246(4447, 2, Weapon);
    			sendFrame126(WeaponName, 4449);
    		} 
    	else if (WeaponName2.startsWith("dagger")) {
    			setSidebarInterface(0, 2276);
    			sendFrame246(2277, 2, Weapon);
    			sendFrame126(WeaponName, 2279);
    		}
    	else if (WeaponName2.startsWith("pickaxe")) {
    			setSidebarInterface(0, 5570);
    			sendFrame246(5571, 2, Weapon);
    			sendFrame126(WeaponName, 5573);
    		} 
    	else if (WeaponName2.startsWith("axe") || WeaponName2.startsWith("battleaxe")) {
    			setSidebarInterface(0, 1698);
    			sendFrame246(1699, 2, Weapon);
    			sendFrame126(WeaponName, 1701);
    		} 
    	else if (WeaponName2.startsWith("halberd")) {
    			setSidebarInterface(0, 8460);
    			sendFrame246(8461, 2, Weapon);
    			sendFrame126(WeaponName, 8463);
    		} 
    	else if (WeaponName2.startsWith("spear")) {
    			setSidebarInterface(0, 4679);
    			sendFrame246(4680, 2, Weapon);
    			sendFrame126(WeaponName, 4682);
    		} 
    	else if (WeaponName2.startsWith("claws")) {
    			setSidebarInterface(0, 7762);
    			sendFrame246(7763, 2, Weapon);
    			sendFrame126(WeaponName, 7764);
    		} else {
    			setSidebarInterface(0, 2423);
    			sendFrame246(2424, 2, Weapon);
    			sendFrame126(WeaponName, 2426);
    		}
    	}
    [Only registered and activated users can see links. ]

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Also In the Interface, Where you set your character look..
    On top It says About Runescape..

    Add this in texthandler.java

    Code:
    p.sendQuest("Change Your Character Look Here!", 3649);
    [Only registered and activated users can see links. ]

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Remake Report Abuse Screen, In Texthandler.java

    Code:
    //Report Abuse
    p.sendQuest("1", 5951);
    p.sendQuest("Close Window", 5952);
    p.sendQuest("2", 5966);
    p.sendQuest("3", 5967);
    p.sendQuest("4", 5968);
    p.sendQuest("5", 5983);
    p.sendQuest("6", 5985);
    p.sendQuest("7", 5969);
    p.sendQuest("8", 5970);
    p.sendQuest("9", 5971);
    p.sendQuest("10", 5972);
    p.sendQuest("11", 5973);
    p.sendQuest("12", 5974);
    p.sendQuest("13", 5975);
    p.sendQuest("14", 5976);
    p.sendQuest("15", 5977);
    p.sendQuest("16", 5978);
    p.sendQuest("17", 5979);
    p.sendQuest("18", 5980);
    p.sendQuest("19", 5981);
    p.sendQuest("20", 5982);
    p.sendQuest("21", 5983);
    p.sendQuest("22", 5984);
    p.sendQuest("23", 5985);
    p.sendQuest("24", 5986);
    p.sendQuest("25", 5987);
    p.sendQuest("26", 5988);
    p.sendQuest("27", 5989);
    p.sendQuest("28", 5990);
    p.sendQuest("29", 5991);
    [Only registered and activated users can see links. ]

    Also add this in Texthandler.java

    Code:
    //unarmed
    p.sendQuest("", 5858);
    p.sendQuest("Punch", 5866); 
    p.sendQuest("Kick", 5867);
    p.sendQuest("Block", 5868);
    p.sendQuest("", 5869);
    p.sendQuest("", 5870);
    p.sendQuest("", 5871);
    p.sendQuest("", 5872);
    p.sendQuest("", 5873);
    p.sendQuest("", 5874);
    p.sendQuest(" ", 5856);
    //barrows?
    p.sendQuest("", 5858);
    p.sendQuest("Punch", 5866); 
    p.sendQuest("Kick", 5867);
    p.sendQuest("Block", 5868);
    p.sendQuest("", 5869);
    p.sendQuest("", 5870);
    p.sendQuest("", 5871);
    p.sendQuest("", 5872);
    p.sendQuest("", 5873);
    p.sendQuest("", 5874);
    p.sendQuest("", 5856);
    //whip
    p.sendQuest("Choose Attack Style", 12294);
    p.sendQuest("Flick", 12302); 
    p.sendQuest("Lash", 12303);
    p.sendQuest("Deflect", 12304);
    p.sendQuest("", 12305);
    p.sendQuest("", 12306);
    p.sendQuest("", 12307);
    p.sendQuest("", 12308);
    p.sendQuest("", 12309);
    p.sendQuest("", 12310);
    p.sendQuest("Weapon: ", 12292);
    That removes the yellow text

    Deletethatwall, for Richscape source.


    Add this Under deletethatobject void...

    Code:
    	public void deletethatwall(int objectX, int objectY) {
    		ReplaceObject2(objectX, objectY, 6951, -1, 0);
    	}



    And in your makeglobalobject section,

    add

    Code:
    deletethatwall(3095, 3490);
    Make sure you add it in globalobject void, Else it wont work

    and make sure you added

    Code:
    deletethatwall(3095, 3490);
    before you save and compile..
    Reply With Quote  
     

  2. #2  
    Client Hacking

    Join Date
    May 2007
    Age
    27
    Posts
    1,498
    Thanks given
    3
    Thanks received
    15
    Rep Power
    599
    This is cool but i much prefer with the items on their interfaces
    elid.r-s
    Reply With Quote  
     

  3. #3  
    Registered Member
    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    14
    Posts
    4,333
    Thanks given
    928
    Thanks received
    651
    Rep Power
    2894
    Quote Originally Posted by Iyr View Post
    This is cool but i much prefer with the items on their interfaces
    Code:
    	} else if (WeaponName.endsWith("whip")) {
    			setSidebarInterface(0, 12290);
    			sendFrame246(12291, 2, Weapon);
    			sendFrame126(WeaponName, 12293);
    Weapon Name
    Code:
    } else if (WeaponName.endsWith("whip")) {
    Interface

    Code:
    			setSidebarInterface(0, 12290);

    Code:
    			sendFrame246(12291, 2, Weapon);
    =
    Code:
    			sendFrame246(ImageId, ZOOM, WeaponName);
    All i did was zoomed out. Lol
    [Only registered and activated users can see links. ]
    Quote Originally Posted by UberNation View Post
    Did you update the quantum network sockets to match the polarity of the wilderness counter levels in the Boolean that divides the wilderness level by zero?
    Reply With Quote  
     

  4. #4  
    hmu

    Jakey's Avatar
    Join Date
    Sep 2007
    Age
    29
    Posts
    6,490
    Thanks given
    109
    Thanks received
    276
    Rep Power
    1218
    Dang looks good, nice work.


    to contact me, PM me on rune-server.
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Jan 2008
    Posts
    1,339
    Thanks given
    243
    Thanks received
    85
    Rep Power
    250
    nicely dona man gj : D
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #6  
    Registered Member
    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    14
    Posts
    4,333
    Thanks given
    928
    Thanks received
    651
    Rep Power
    2894
    Thanks. Its funny because you 3 are the always the first 1s who comment, Lol anyway updated.
    [Only registered and activated users can see links. ]
    Quote Originally Posted by UberNation View Post
    Did you update the quantum network sockets to match the polarity of the wilderness counter levels in the Boolean that divides the wilderness level by zero?
    Reply With Quote  
     

  7. #7  
    ( ͡ ͜ʖ ͡)
    Edgeville's Avatar
    Join Date
    Nov 2007
    Posts
    2,455
    Thanks given
    80
    Thanks received
    428
    Rep Power
    2589
    Nice find mate

    Reply With Quote  
     

  8. #8  
    C.T
    Guest
    wow this is Really cool =)
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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

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