Thread: Positioning your ChatBox Scrollbar

Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1 Positioning your ChatBox Scrollbar 
    ZachHaley
    Guest
    SIMPLE!!!!

    Description: moves your chatbox scrollbar

    Difficulty: none... 0.000000001/100000000

    Assumed Knowledge: to read, and be able to use cntrl+c, cntrl+v

    Tested Client: original 317 renamed client from http://moparisthebest.com/downloads

    Files/Classes Modified: client.java

    Procedure
    Step 1: Open Client.java

    Step 2: Find [code]textDrawingArea.method385(0x7e3200, s1 + " " + chatMessages[k], i1, 4)/code[

    Step 3: and under it, there should be some stuff like
    [code]anInt1211 = j * 14 + 7;
    if(anInt1211 < 78)
    anInt1211 = 78;
    method30(77, anInt1211 - anInt1089 - 77, 0, 463, anInt1211);
    String s/code[


    Step 4: Replace this par:
    Code:
     if(anInt1211 < 78)
                    anInt1211 = 78;
                method30(77, anInt1211 - anInt1089 - 77, 0, 463, anInt1211);
    with
    Code:
    /*******************************
     * Start of Scroll Bar Stuff
     * this comment made by DJ Icey
    *******************************/
                if(anInt1211 < 78)
                    anInt1211 = 78;
                method30(90, anInt1211 - anInt1089 - 77, 0, 464, anInt1211);
    /*******************************
     * End of Scroll Bar Stuff
     * this comment made by DJ Icey
    *******************************/
    Step 5: Now Compile and u get this:

    Credits: 100% me... or as Impulser says it, 99% Jagex, 1% me... but i change that to: 99% Jagex, .33% me, .33% Danno, 0.33% Impulser

    Enjoy! Here is some information on what the lines do:

    if(anInt1211 < 78) // how high the acctual chat is
    No clue yet... haven't changed this number yet.

    anInt1211 = 78;// if it's bigger than the max, make it the max.
    No clue yet... haven't changed this number yet.

    method30(90, anInt1211 - anInt1089 - 77, 0, 464, anInt1211);//
    method30(height, position , y, width, scrollMax)

    the parts that say idk, is exactly what it means, idk what they mean and i dont want to mess with the ints atm.
    Reply With Quote  
     

  2. #2  
    HcoFlame
    Guest
    lol...now you post this I've spent the past 4 days working on doing this lol. I FSCK'd my client though (c)
    Reply With Quote  
     

  3. #3  
    P U R 3 Coder
    Guest
    Hmm Nice But I Wudnt Consider Adding Sence i got I Giv This a 9\10




    ~P U R 3 Coder
    Reply With Quote  
     

  4. #4  
    deathdroid old
    Guest
    Hmm doesnt seem to work with Webber's Client

    EDIT: I need a good renamed client
    Reply With Quote  
     

  5. #5  
    ZachHaley
    Guest
    Quote Originally Posted by deathdroid View Post
    Hmm doesnt seem to work with Webber's Client

    EDIT: I need a good renamed client
    Use a blank srcAllDomiesRemoves from http://moparisthebest.com/downloads. It is what Webber started with, what I started with, what ClientHax started with, everyone. It requires a 317 cache, unless you allow it to load a 377. Or you can wait about 1-15 minutes until i release 1 of my versions.

    @ Justin, lol, it took me 2 minutes to find out! I also know how to move the black line and your name, but that is a release for another day.
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Jan 2007
    Posts
    217
    Thanks given
    0
    Thanks received
    3
    Rep Power
    154
    It works like this;
    Code:
    drawScrollbar(int height, int position, int y, int x, int scrollMax)
    Reply With Quote  
     

  7. #7  
    0x2B | ~0x2B


    Impulser's Avatar
    Join Date
    Jul 2006
    Posts
    1,305
    Thanks given
    389
    Thanks received
    336
    Rep Power
    2751
    Yeah as danno said: (BTW not 100% Credits to you, fkn 1% to you and 99% to jagex)

    Enjoy! Here is some information on what the lines do:

    if(anInt1211 < 78) // how high the acctual chat is
    No clue yet... haven't changed this number yet.

    anInt1211 = 78;// if it's bigger than the max, make it the max.
    No clue yet... haven't changed this number yet.

    method30(90, anInt1211 - anInt1089 - 77, 0, 464, anInt1211);//
    method30(height, position , y, width, scrollMax)

    BTW Danno it's:
    drawScrollbar(int height, int x, int y, int width, int scrollMax)
    Reply With Quote  
     

  8. #8  
    ZachHaley
    Guest
    Thank you for that Danno, I see you looked at method30. I had already looked at it, but I was hoping some of the people on this site would do work, as it proves now that you do. As it is the, what, 1rst or 2nd line of method30 that says that am I not correct? Poisoned I V and I were looking at it, but he's slow, so that is why I released, even though he had it before I released, but anyway, ill just stop this post now and I'm tired as hell, so I'm going to bed.

    Edit: thank you Impulser, I didn't know those 1 lines.
    Reply With Quote  
     

  9. #9  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    17
    Posts
    7,526
    Thanks given
    1,805
    Thanks received
    2,830
    Rep Power
    5000
    DJ don't release everything everybody will just leech it and have it in their client and now this wont be unique

    Thanks to JGMS (Java Got me stoned) me and him were some of the first to have working chatboxes.

    Don't release every single thing, because then people will never learn to code.
    Attached image
    Reply With Quote  
     

  10. #10  
    deathdroid old
    Guest
    Oh yeah one question im not to smart when it comes to java

    With the srcAllDomiesRemoves

    I mannaged to fix one problem but how do you fix the Connecting to server in 5 thing that keeps looping
    Reply With Quote  
     

Page 1 of 3 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
  •