Thread: Chatbot Interface problems on resizable client

Results 1 to 3 of 3
  1. #1 Chatbot Interface problems on resizable client 
    Interfacing with your sister

    Streax's Avatar
    Join Date
    Jun 2009
    Posts
    2,308
    Thanks given
    784
    Thanks received
    175
    Rep Power
    229
    I have a chatbox interface problem which makes it so I cannot see the text that should display on it, there might also be other missing pieces, this is on the select options interfaces:



    Any help or pointers for where I should look for fixing this problem will be greatly appreciated.
    Attached image
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    in drawChatArea() make sure you have this

    Code:
            if (messagePromptRaised) {
                cacheSprite[2].drawSprite(0 + offsetX, 0 + offsetY);
                newRegularFont.drawCenteredString(aString1121, 259 + offsetX,
                    60 + offsetY, 0, -1);
                newRegularFont.drawCenteredString(promptInput + "*", 259 + offsetX,
                    80 + offsetY, 128, -1);
            } else if (inputDialogState == 1) {
                cacheSprite[2].drawSprite(0 + offsetX, 0 + offsetY);
                newRegularFont.drawCenteredString("Enter amount:", 259 + offsetX,
                    60 + offsetY, 0, -1);
                newRegularFont.drawCenteredString(amountOrNameInput + "*",
                    259 + offsetX, 80 + offsetY, 128, -1);
            } else if (inputDialogState == 2) {
                cacheSprite[2].drawSprite(0 + offsetX, 0 + offsetY);
                newRegularFont.drawCenteredString("Enter name:", 259 + offsetX,
                    60 + offsetY, 0, -1);
                newRegularFont.drawCenteredString(amountOrNameInput + "*",
                    259 + offsetX, 80 + offsetY, 128, -1);
            } else if (inputDialogState == 3) {
                cacheSprite[2].drawSprite(0 + offsetX, 0 + offsetY);
                newRegularFont.drawCenteredString("Choose the maximum number of players in this battle (1-4):", 259 + offsetX,
                    60 + offsetY, 0, -1);
                newRegularFont.drawCenteredString(amountOrNameInput + "*",
                    259 + offsetX, 80 + offsetY, 128, -1);
            } else if (inputDialogState == 4) {
                cacheSprite[2].drawSprite(0 + offsetX, 0 + offsetY);
                newRegularFont.drawCenteredString("Enter the name of a player in a battle you wish to join.", 259 + offsetX,
                    60 + offsetY, 0, -1);
                newRegularFont.drawCenteredString(amountOrNameInput + "*",
                    259 + offsetX, 80 + offsetY, 128, -1);
            } else if (aString844 != null) {
                cacheSprite[2].drawSprite(0 + offsetX, 0 + offsetY);
                newRegularFont.drawCenteredString(aString844, 259 + offsetX, 60 + offsetY, 0, -1);
                newRegularFont.drawCenteredString("Click to continue", 259 + offsetX, 80 + offsetY, 128, -1);
            } else if (backDialogID != -1) {
                cacheSprite[2].drawSprite(0 + offsetX, 0 + offsetY);
                drawInterface(0, 20 + offsetX,
                    RSInterface.interfaceCache[backDialogID], 20 + offsetY);
            } else if (dialogID != -1) {
                cacheSprite[2].drawSprite(0 + offsetX, 0 + offsetY);
                drawInterface(0, 20 + offsetX,
                    RSInterface.interfaceCache[dialogID], 20 + offsetY);
            }
    Reply With Quote  
     

  3. #3  
    true

    DerekH's Avatar
    Join Date
    Dec 2011
    Age
    19
    Posts
    1,183
    Thanks given
    590
    Thanks received
    261
    Rep Power
    164
    check the drawing priorities.. e.g. it looks like you're drawing text then a sprite on top
    Reply With Quote  
     

  4. Thankful user:



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. Lunar interface problem on start up
    By Deth in forum Help
    Replies: 5
    Last Post: 09-17-2012, 05:32 AM
  2. Tutorial or something on resizing client
    By Mrthunder23 in forum Requests
    Replies: 3
    Last Post: 11-01-2009, 09:16 PM
  3. Replies: 28
    Last Post: 10-20-2009, 11:06 PM
  4. interfaces on fulscreen client gone :(
    By Snow Cat123 in forum Help
    Replies: 7
    Last Post: 06-20-2009, 12:38 PM
  5. Right Click Add Friend on Resized Chat Box Problem
    By D3d Wildy in forum RS2 Client
    Replies: 1
    Last Post: 06-22-2008, 01:53 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
  •