Thread: [525] Adding Special Bar

Results 1 to 6 of 6
  1. #1 [525] Adding Special Bar 
    d0nt v3ng
    Guest
    To make the specials work please visit http://www.rune-server.org/showthread.php?t=135646

    Purpose: Adding a special bar to a Spersific Wepon
    Tested server: JC's 525 PVP server.

    Open Actionsender.java
    Find:
    Code:
    public void setInterfaceConfig(int interfaceId, int childId, boolean set) {
    		StaticPacketBuilder spb = new StaticPacketBuilder().setId(41)
    		.addLEInt((interfaceId << 16)+childId)
    		.addShort(ID++)
    		.addByteA(set ? 0 : 1);
    		player.getSession().write(spb.toPacket());
    	}
    Declare
    Code:
    private int ID = 0;
    Then search for "sendConfig2" and you will get this:
    Code:
    public void sendConfig2(int id, int value) {
    		player.getSession().write(new StaticPacketBuilder().setId(173)
    			.addShortA(id)
    			.addLEInt(value).toPacket());
    	}
    Configs are the same as 508.
    Set 300 to energy * 10.
    Set 301 to 0 if not activated or 1 if activated.

    This packet can also be used to switch between shops main/player stock and many other things.

    *This Will not make the special work but only add the bar*

    Credits: JC, d0nt v3ng and Ramsin
     

  2. #2  
    Pur3z is back!
    tehGanjaman's Avatar
    Join Date
    Jul 2008
    Age
    30
    Posts
    2,871
    Thanks given
    3,381
    Thanks received
    109
    Rep Power
    502
    this is already released good try NOT
     

  3. #3  
    d0nt v3ng
    Guest
    Quote Originally Posted by elite beast View Post
    this is already released good try NOT
    No, you must be mistacken, that is adding the Specials, im showing how to add bars, not making the specials work..
     

  4. #4  
    White.
    Guest
    then whats the point? if they dont work
    adding special bar is actualy easy. but gd try i guess.
     

  5. #5  
    Registered Member WebsterScape's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    467
    Thanks given
    32
    Thanks received
    3
    Rep Power
    17
    I dont get where to add what where so that it shows up.I have everything u have in this tut yet im trying to find how to add the special bar to statius warhammer and vesta items..eveyr other wepaon has special what file, what folder, i really do not know ive spent over an hour trying to figure out this tut isnt telling me anything.
     

  6. #6  
    Donator


    Join Date
    Nov 2008
    Posts
    885
    Thanks given
    13
    Thanks received
    35
    Rep Power
    100
    i dun get.... i bet you couldn't find out that setinterfaceconfig if your life depended on it, like others have said already been released mate.
     


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
  •