Thread: Vencillio chatbox

Results 1 to 8 of 8
  1. #1 Vencillio chatbox 
    Donator

    Join Date
    Nov 2012
    Posts
    252
    Thanks given
    40
    Thanks received
    10
    Rep Power
    24
    I think we can all agree the chatbox on Vencillio is pretty messy, for example there isn't a space after YOURNAME:text in the chatbox.
    How can this be fixed?

    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2016
    Age
    29
    Posts
    27
    Thanks given
    0
    Thanks received
    3
    Rep Power
    13
    Quote Originally Posted by Xyro View Post
    I think we can all agree the chatbox on Vencillio is pretty messy, for example there isn't a space after YOURNAME:text in the chatbox.
    How can this be fixed?

    I appears I may have looked at this the wrong way, give me 5 minutes.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2016
    Posts
    131
    Thanks given
    8
    Thanks received
    9
    Rep Power
    11
    Isn't there a Misc Util? Try to find the Misc.Space(s)
    Reply With Quote  
     

  4. #4  
    Community Veteran

    Songoty's Avatar
    Join Date
    Dec 2007
    Posts
    2,740
    Thanks given
    211
    Thanks received
    1,034
    Rep Power
    2455
    ...

    find the ":" in the drawChatArea method

    Add a space to it and adjust the next draw position accordingly.
    Reply With Quote  
     

  5. #5  
    Registered Member
    hacker's Avatar
    Join Date
    Jun 2013
    Posts
    1,409
    Thanks given
    576
    Thanks received
    580
    Rep Power
    5000
    Quote Originally Posted by Weekndz View Post
    Isn't there a Misc Util? Try to find the Misc.Space(s)
    That doesnt exist in rsps client and why would you need a util method to add a space to a string.
    Attached image
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Mar 2016
    Posts
    131
    Thanks given
    8
    Thanks received
    9
    Rep Power
    11
    Quote Originally Posted by Hacker View Post
    That doesnt exist in rsps client and why would you need a util method to add a space to a string.
    I've done this on Dominus Source, Using Misc.space() instead of Misc.Capitalize()
    Reply With Quote  
     

  7. #7  
    Onyxia

    Sagacity's Avatar
    Join Date
    Dec 2012
    Age
    27
    Posts
    727
    Thanks given
    335
    Thanks received
    98
    Rep Power
    160
    In Client.java Search for:
    Code:
    newRegularFont.drawBasicString(chatMessages[k], xPos - 8, yPos + yOffset, changeChatArea ? 0x7FA9FF : 255, shadow);
    switch to:
    Code:
    newRegularFont.drawBasicString(" "+chatMessages[k], xPos - 8, yPos + yOffset, changeChatArea ? 0x7FA9FF : 255, shadow);
    then search for:
    Code:
    newRegularFont.drawBasicString(chatMessages[k], k1, yPos + yOffset, changeChatArea ? 0xFF5256 : 0x800000, shadow);
    and switch to:
    Code:
    newRegularFont.drawBasicString(" "+chatMessages[k], k1, yPos + yOffset, changeChatArea ? 0xFF5256 : 0x800000, shadow);

    Rep me if i helped

    Check out my 667/718 Interfaces services, I have more than 25 vouches and will be happy to help you out for affordable prices
    Attached image
    Reply With Quote  
     

  8. Thankful users:


  9. #8  
    Banned
    Join Date
    Mar 2012
    Posts
    105
    Thanks given
    28
    Thanks received
    33
    Rep Power
    0
    Quote Originally Posted by Sagacity View Post
    In Client.java Search for:
    Code:
    newRegularFont.drawBasicString(chatMessages[k], xPos - 8, yPos + yOffset, changeChatArea ? 0x7FA9FF : 255, shadow);
    switch to:
    Code:
    newRegularFont.drawBasicString(" "+chatMessages[k], xPos - 8, yPos + yOffset, changeChatArea ? 0x7FA9FF : 255, shadow);
    then search for:
    Code:
    newRegularFont.drawBasicString(chatMessages[k], k1, yPos + yOffset, changeChatArea ? 0xFF5256 : 0x800000, shadow);
    and switch to:
    Code:
    newRegularFont.drawBasicString(" "+chatMessages[k], k1, yPos + yOffset, changeChatArea ? 0xFF5256 : 0x800000, shadow);

    Rep me if i helped
    thanks man
    Reply With Quote  
     


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. Costum gameframe response to costum chatbox
    By Cup-o-cino in forum Graphics
    Replies: 28
    Last Post: 04-11-2009, 12:30 PM
  2. Changing chatbox text colors
    By Xx nub xx in forum Tutorials
    Replies: 39
    Last Post: 07-27-2008, 09:59 PM
  3. costume chatbox
    By Cup-o-cino in forum Graphics
    Replies: 7
    Last Post: 12-16-2007, 01:25 AM
  4. Inventories and Chatboxes.
    By Drags in forum Graphics
    Replies: 27
    Last Post: 10-01-2007, 01:59 AM
  5. ChatBox Sprites -
    By 007 Snoop in forum Graphics
    Replies: 27
    Last Post: 09-03-2007, 01:05 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •