Thread: Client config and example

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37
  1. #1 Client config and example 
    Registered Member

    Join Date
    Jan 2007
    Posts
    217
    Thanks given
    0
    Thanks received
    3
    Rep Power
    154
    Code:
        public void setConfig(Player p, int configId, int status)
        { 
    	p.outStream.createFrame(17);
    	p.outStream.writeWordBigEndianA(configId); 
    	p.outStream.writeByteS(status);
        }


    Running example.

    Code:
                    if (!p.isRunning) {
                        p.isRunning = true;
    		    p.frame.setConfig(p, 173, 1);
                    } else {
                        p.isRunning = false;
    		    p.frame.setConfig(p, 173, 0);
                    }
    Easy?

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

  2. #2  
    icekite25
    Guest
    where do we add them??
    Reply With Quote  
     

  3. #3  
    Registered Member holy dang it's Avatar
    Join Date
    Dec 2007
    Age
    26
    Posts
    162
    Thanks given
    1
    Thanks received
    0
    Rep Power
    9
    Wow cool and easy thanks

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

  4. #4  
    Registered Member

    Join Date
    Jan 2007
    Posts
    217
    Thanks given
    0
    Thanks received
    3
    Rep Power
    154
    Quote Originally Posted by icekite25 View Post
    where do we add them??
    Spend a few seconds looking around.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Legend Rene
    Guest
    Danno, did I ever tell you I you?
    Reply With Quote  
     

  6. #6  
    Reverse engineering enthousiast
    peterbjornx's Avatar
    Join Date
    Feb 2008
    Age
    26
    Posts
    1,910
    Thanks given
    88
    Thanks received
    538
    Rep Power
    1307
    Very nice work
    , are the ids still the same as in 474?
    like 101 was quest points
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Oct 2007
    Posts
    1,017
    Thanks given
    1
    Thanks received
    3
    Rep Power
    562
    Thanks a ton;

    Now I finally know what I did wrong at most of the packets .
    <William.D | Perfectworld> before
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Apr 2008
    Age
    26
    Posts
    732
    Thanks given
    5
    Thanks received
    76
    Rep Power
    0
    Hmmm i added the voiv into frames.java and the packet under case 261 in actionbuttons.

    and i get this strange error
    Code:
    ------------ Compiling players ------------
    ------------ Compiling packets ------------
    .\RS2E\Packets\ActionButtons.java:148: illegal start of expression
        public void setConfig(Player p, int configId, int status)
        ^
    .\RS2E\Packets\ActionButtons.java:148: illegal start of expression
        public void setConfig(Player p, int configId, int status)
               ^
    .\RS2E\Packets\ActionButtons.java:148: ';' expected
        public void setConfig(Player p, int configId, int status)
                             ^
    .\RS2E\Packets\ActionButtons.java:148: <identifier> expected
        public void setConfig(Player p, int configId, int status)
                                       ^
    .\RS2E\Packets\ActionButtons.java:148: not a statement
        public void setConfig(Player p, int configId, int status)
                                            ^
    .\RS2E\Packets\ActionButtons.java:148: ';' expected
        public void setConfig(Player p, int configId, int status)
                                                    ^
    .\RS2E\Packets\ActionButtons.java:148: ';' expected
        public void setConfig(Player p, int configId, int status)
                                                                ^
    7 errors
    ------------ Compiling util ------------
    ------------ Compiling world ------------
    ------------ Compiling main ------------
    ------------ Compile complete ------------
    Press any key to continue . . .
    Is this because im using RS2E v2 and not your base?
    Reply With Quote  
     

  9. #9  
    Stanyer
    Guest
    Same method for unlocking/locking emotes amirite?
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Jan 2007
    Posts
    217
    Thanks given
    0
    Thanks received
    3
    Rep Power
    154
    Quote Originally Posted by Stanyer View Post
    Same method for unlocking/locking emotes amirite?
    Yeh, but it's a little different with skill menu's. There's two packets for client config, as the one shown is this topic can only hold 255 max for status, when to show attack requirements for rune items, it needs to be set to 7169.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

Page 1 of 4 123 ... LastLast

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
  •