Thread: Simple but better looking ClanChat interface.

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1 Simple but better looking ClanChat interface. 
    Registered Member

    Join Date
    Sep 2011
    Posts
    5,121
    Thanks given
    1,333
    Thanks received
    1,795
    Rep Power
    1731
    Hi, I made this interface for my Eliminate 317 project a few months ago and decided that it's worth a release since all I did was move/change some sprites around.


    Media:







    Let's get started.

    Firstly, open RSInterface and search for:

    Code:
    aClass44 =
    Once you locate that, add this underneath:

    clanChatTab(textDrawingAreas);
    Now, all you have to do is paste the hardcode in an appropriate area. Seeing that this was made from the old clanchat interface which comes with renamed clients replace your whole clanchat interface with this one or add it in in an appropriate place.

    Code:
    	public static void clanChatTab(TextDrawingArea[] tda) {
            RSInterface tab = addTabInterface(18128);
    		addButton(18250, 0, "/Clan Chat/Lootshare", "Toggle lootshare");
            addHoverButton(18129, "/Clan Chat/SPRITE", 6, 29, 29, "Join Chat", 550, 18130, 1);
            addHoveredButton(18130, "/Clan Chat/SPRITE", 7, 29, 29, 18131);
            addHoverButton(18132, "/Clan Chat/SPRITE", 9, 29, 29, "Leave Chat", -1, 18133, 1);
            addHoveredButton(18133, "/Clan Chat/SPRITE", 10, 29, 29, 18134);
            addSprite(18137, 1, "/Clan Chat/SPRITE");
            addText(18139, "Talking in: Not in chat", tda, 0, 0xff9b00, false, true);
            addText(18140, "Owner: None", tda, 0, 0xff9b00, false, true);
            tab.totalChildren(11);
            tab.child(0, 16126, 0, 221);
            tab.child(1, 16126, 0, 59);
            tab.child(2, 18137, 0, 35);
            tab.child(3, 18143, 0, 37);
            tab.child(4, 18129, 5, 237);
            tab.child(5, 18130, 4, 237);
            tab.child(6, 18132, 25, 237);
            tab.child(7, 18133, 24, 237);
            tab.child(8, 18139, 64, 3);
            tab.child(9, 18140, 70, 18);
    		tab.child(10, 18250, 155, 233);
            /* Text area */
            RSInterface list = addTabInterface(18143);
            list.totalChildren(100);
            for(int i = 18144; i <= 18244; i++) {
                addText(i, "", tda, 0, 0xffffff, false, true);
            }
            for(int id = 18144, i = 0; id <= 18243 && i <= 99; id++, i++) {
                list.children[i] = id; list.childX[i] = 5;
                for(int id2 = 18144, i2 = 1; id2 <= 18243 && i2<= 99; id2++, i2++) {
                    list.childY[0] = 2;
                    list.childY[i2] = list.childY[i2 - 1] + 14;
                }
            }
            list.height = 191; list.width = 175;
            list.scrollMax = 1405;
        }
    Sprites: http://eliminatepk.com/ajs_folder/Clan%20Chat.rar

    Let me know if you need any methods and I'll feel free to provide them for you.

    Credits:

    Aj aka Eliminate,
    Honey Badger - Helped me with scroll bar when my head wasn't working.
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Registered Member
    Freezia's Avatar
    Join Date
    Feb 2011
    Posts
    6,013
    Thanks given
    1,147
    Thanks received
    758
    Rep Power
    1311
    Works!





    Thanks,
    Bro!

    BTW, had an issue might want to add it so that the code finds it from the interfaces folder many people usually put all tabs in there.


    Host your RUNESCAPE PRIVATE SERVER on the cheapest and flagship provider on Rune-Server! Now equipped with DDOS Protection!.


    Reply With Quote  
     

  4. #3  
    Registered Member
    Wale's Avatar
    Join Date
    Jul 2011
    Posts
    917
    Thanks given
    279
    Thanks received
    150
    Rep Power
    238
    good work
    [CENTER]Attached image
    Reply With Quote  
     

  5. #4  
    Registered Member
    jordan641's Avatar
    Join Date
    Apr 2010
    Posts
    1,807
    Thanks given
    70
    Thanks received
    128
    Rep Power
    189
    Cool, but do Misc.optimizetext for your player names looks so much nicer when its capitalized properly
    Reply With Quote  
     

  6. #5  
    Registered Member

    Join Date
    Sep 2011
    Posts
    5,121
    Thanks given
    1,333
    Thanks received
    1,795
    Rep Power
    1731
    Bump!
    Reply With Quote  
     

  7. Thankful user:


  8. #6  
    強い者は生き残る
    Ashpire's Avatar
    Join Date
    Mar 2012
    Age
    27
    Posts
    2,721
    Thanks given
    914
    Thanks received
    1,897
    Rep Power
    2231
    Good job sir.
    Attached image
    Reply With Quote  
     

  9. #7  
    Registered Member
    Freezia's Avatar
    Join Date
    Feb 2011
    Posts
    6,013
    Thanks given
    1,147
    Thanks received
    758
    Rep Power
    1311
    NVM doesn't work.... the names keep overlapping.


    Screenshot by Lightshot


    Host your RUNESCAPE PRIVATE SERVER on the cheapest and flagship provider on Rune-Server! Now equipped with DDOS Protection!.


    Reply With Quote  
     

  10. #8  
    Chemist

    Advocatus's Avatar
    Join Date
    Dec 2009
    Posts
    2,622
    Thanks given
    201
    Thanks received
    813
    Rep Power
    1462
    Quote Originally Posted by Freezia View Post
    NVM doesn't work.... the names keep overlapping.


    Screenshot by Lightshot
    the problem is

    Code:
          for(int id = 18144, i = 0; id <= 18243 && i <= 99; id++, i++) {             list.children[i] = id; list.childX[i] = 5;             }
    If I had to make a guess I would say that it should be like.
    Code:
          for(int id = 18144, i = 0; id <= 18243 && i <= 99; id++, i++) {             list.children[i] = id; list.childY[i] += 10;             }
    Quote Originally Posted by blakeman8192 View Post
    Quitting is the only true failure.
    Reply With Quote  
     

  11. #9  
    Banned
    Join Date
    May 2012
    Posts
    332
    Thanks given
    18
    Thanks received
    30
    Rep Power
    0
    Much better then the average PI one.
    Reply With Quote  
     

  12. #10  
    Registered Member
    Freezia's Avatar
    Join Date
    Feb 2011
    Posts
    6,013
    Thanks given
    1,147
    Thanks received
    758
    Rep Power
    1311
    Quote Originally Posted by Advocatus Diaboli View Post
    the problem is

    Code:
          for(int id = 18144, i = 0; id <= 18243 && i <= 99; id++, i++) {             list.children[i] = id; list.childX[i] = 5;             }
    If I had to make a guess I would say that it should be like.
    Code:
          for(int id = 18144, i = 0; id <= 18243 && i <= 99; id++, i++) {             list.children[i] = id; list.childY[i] += 10;             }
    Nope now get this..

    Screenshot by Lightshot


    Host your RUNESCAPE PRIVATE SERVER on the cheapest and flagship provider on Rune-Server! Now equipped with DDOS Protection!.


    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

Similar Threads

  1. Simple but better looking ClanChat interface.
    By Eliminate in forum Tutorials
    Replies: 8
    Last Post: 06-21-2012, 03:26 AM
  2. Replies: 2
    Last Post: 05-18-2011, 08:49 PM
  3. [Ref] ClanChat interface RSGP
    By DotEXE in forum Help
    Replies: 4
    Last Post: 05-16-2011, 01:54 PM
  4. [rel]Working ClanChat in ClanChat interface[non]
    By NICKname in forum Tutorials
    Replies: 179
    Last Post: 11-13-2009, 01:04 AM
  5. my clanchat interface (unrenamed)
    By Aggi in forum Tutorials
    Replies: 5
    Last Post: 08-15-2008, 05:01 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •