Thread: PI X button doesnt show

Results 1 to 10 of 10
  1. #1 PI X button doesnt show 
    Extreme Donator

    woof woof bish's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    2,444
    Thanks given
    2,212
    Thanks received
    1,019
    Rep Power
    5000
    When I go to bank, there is no X button, when I open a shop, there is no X button whenever I open a interface there is no X button it only shows up when i hover over the button but the button itself doenst work.
    Reply With Quote  
     

  2. #2  
    Extreme Donator

    woof woof bish's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    2,444
    Thanks given
    2,212
    Thanks received
    1,019
    Rep Power
    5000
    bump
    Reply With Quote  
     

  3. #3  
    Professional Upsetter


    Join Date
    Jul 2006
    Posts
    5,392
    Thanks given
    163
    Thanks received
    447
    Rep Power
    2040
    http://www.rune-server.org/runescape...creen-bug.html

    Exact same problem as this thread, your images are being corrupted or you have not correctly fetched/added them.
    Ex-super moderator of Rune-Server.org and RSBot.org
    Reply With Quote  
     

  4. #4  
    Extreme Donator

    woof woof bish's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    2,444
    Thanks given
    2,212
    Thanks received
    1,019
    Rep Power
    5000
    mind helping me? im pretty sure its not wrong
    Reply With Quote  
     

  5. #5  
    Respected Member

    Revil's Avatar
    Join Date
    Nov 2010
    Age
    30
    Posts
    4,860
    Thanks given
    3,715
    Thanks received
    2,228
    Rep Power
    5000
    Post the interface code and the path to where you sprite is located in the cache.
    Reply With Quote  
     

  6. #6  
    Extreme Donator

    woof woof bish's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    2,444
    Thanks given
    2,212
    Thanks received
    1,019
    Rep Power
    5000
    Code:
    	public static void Bank(){
    		RSInterface Interface = addTabInterface(5292);
    		setChildren(19, Interface);
    		addSprite(5293, 0, "Bank/BANK");
    		setBounds(5293, 13, 13, 0, Interface);
    		addHover(5384, 3, 0, 5380, 1, "Bank/BANK", 17, 17, "Close Window");
    		addHovered(5380, 2, "Bank/BANK", 17, 17, 5379);
    		setBounds(5384, 476, 16, 3, Interface);
    		setBounds(5380, 476, 16, 4, Interface);	
    		addHover(5294, 4, 0, 5295, 3, "Bank/BANK", 114, 25, "Set A Bank PIN");
    		addHovered(5295, 4, "Bank/BANK", 114, 25, 5296);
    		setBounds(5294, 110, 285, 5, Interface);
    		setBounds(5295, 110, 285, 6, Interface);
    		addBankHover(21000, 4, 21001, 5, 8, "Bank/BANK", 35, 25, 304, 1, "Swap Withdraw Mode", 21002, 7, 6, "Bank/BANK", 21003, "Switch to insert items \nmode", "Switch to swap items \nmode.", 12, 20);
    		setBounds(21000, 25, 285, 7, Interface);
    		setBounds(21001, 10, 225, 8, Interface);
    		addBankHover(21004, 4, 21005, 13, 15, "Bank/BANK", 35, 25, 0, 1, "Search", 21006, 14, 16, "Bank/BANK", 21007, "Click here to search your \nbank", "Click here to search your \nbank", 12, 20);
    		setBounds(21004, 65, 285, 9, Interface);
    		setBounds(21005, 50, 225, 10, Interface);
    		addBankHover(21008, 4, 21009, 9, 11, "Bank/BANK", 35, 25, 115, 1, "Search", 21010, 10, 12, "Bank/BANK", 21011, "Switch to note withdrawal \nmode", "Switch to item withdrawal \nmode", 12, 20);
    		setBounds(21008, 240, 285, 11, Interface);
    		setBounds(21009, 225, 225, 12, Interface);
    		addBankHover1(21012, 5, 21013, 17, "Bank/BANK", 35, 25, "Deposit carried tems", 21014, 18, "Bank/BANK", 21015, "Empty your backpack into\nyour bank", 0, 20);
    		setBounds(21012, 375, 285, 13, Interface);
    		setBounds(21013, 360, 225, 14, Interface);
    		addBankHover1(21016, 5, 21017, 19, "Bank/BANK", 35, 25, "Deposit worn items", 21018, 20, "Bank/BANK", 21019, "Empty the items your are\nwearing into your bank", 0, 20);
    		setBounds(21016, 415, 285, 15, Interface);
    		setBounds(21017, 400, 225, 16, Interface);
    		addBankHover1(21020, 5, 21021, 21, "Bank/BANK", 35, 25, "Deposit beast of burden inventory.", 21022, 22, "Bank/BANK", 21023, "Empty your BoB's inventory\ninto your bank", 0, 20);
    		setBounds(21020, 455, 285, 17, Interface);
    		setBounds(21021, 440, 225, 18, Interface);
    		setBounds(5383, 170, 15, 1, Interface);
    		setBounds(5385, -4, 74, 2, Interface);
    		Interface = interfaceCache[5385];
    		Interface.height = 206;
    		Interface.width = 480;
    		Interface = interfaceCache[5382];
    		Interface.width = 10;
    		Interface.invSpritePadX = 12;
    		Interface.height = 35;
    	}
    this is aclass44
    Bank();

    my hover methods

    Code:
    	public static void addHover(int i, int aT, int cT, int hoverid,int sId, String NAME, int W, int H, String tip) { 
    		RSInterface rsinterfaceHover = addInterface(i);
    		rsinterfaceHover.id = i;
    		rsinterfaceHover.parentID = i;
    		rsinterfaceHover.interfaceType = 5;
    		rsinterfaceHover.atActionType = aT;
    		rsinterfaceHover.contentType = cT;
    		rsinterfaceHover.hoverType = hoverid;
    		rsinterfaceHover.disabledSprite = imageLoader(sId, NAME);
    		rsinterfaceHover.enabledSprite = imageLoader(sId, NAME);
    		rsinterfaceHover.width = W;
    		rsinterfaceHover.height = H;
    		rsinterfaceHover.tooltip = tip;
    	}
    	public static void addHovered(int i, int j, String imageName, int w, int h, int IMAGEID) {
    		RSInterface rsinterfaceHover = addInterface(i);
    		rsinterfaceHover.parentID = i;
    		rsinterfaceHover.id = i;
    		rsinterfaceHover.interfaceType = 0;
    		rsinterfaceHover.atActionType = 0;
    		rsinterfaceHover.width = w;
    		rsinterfaceHover.height = h;
    		rsinterfaceHover.interfaceShown = true;
    		rsinterfaceHover.hoverType = -1;
    		addSprite(IMAGEID, j, imageName);
    		setChildren(1, rsinterfaceHover);
    		setBounds(IMAGEID, 0, 0, 0, rsinterfaceHover);
    	}
    	public static void addBankHover(int interfaceID, int actionType, int hoverid, int spriteId, int spriteId2, String NAME, int Width, int Height, int configFrame, int configId, String Tooltip,int hoverId2, int hoverSpriteId,int hoverSpriteId2, String hoverSpriteName, int hoverId3, String hoverDisabledText, String hoverEnabledText, int X, int Y){
    		RSInterface hover = addTabInterface(interfaceID);
    		hover.id = interfaceID;
    		hover.parentID = interfaceID;
    		hover.type = 5;
    		hover.atActionType = actionType;
    		hover.contentType = 0;
    		hover.aByte254 = 0;
    		hover.mOverInterToTrigger = hoverid;
    		hover.sprite1 = imageLoader(spriteId, NAME);
    		hover.sprite2 = imageLoader(spriteId2, NAME);
    		hover.width = Width;
    		hover.tooltip = Tooltip;
    		hover.height = Height;
    		hover.anIntArray245 = new int[1];
    		hover.anIntArray212 = new int[1];
    		hover.anIntArray245[0] = 1;
    		hover.anIntArray212[0] = configId;
    		hover.valueIndexArray = new int[1][3];
    		hover.valueIndexArray[0][0] = 5;
    		hover.valueIndexArray[0][1] = configFrame;
    		hover.valueIndexArray[0][2] = 0;
    		hover = addTabInterface(hoverid);
    		hover.parentID = hoverid;
    		hover.id = hoverid;
    		hover.type = 0;
    		hover.atActionType = 0;
    		hover.width =550;
    		hover.height = 334;
    		hover.isMouseoverTriggered = true;
    		hover.mOverInterToTrigger = -1;
    		addSprite(hoverId2, hoverSpriteId, hoverSpriteId2, hoverSpriteName, configId, configFrame);
    		addHoverBox(hoverId3, interfaceID,hoverDisabledText, hoverEnabledText, configId, configFrame);
    		setChildren(2, hover);
    		setBounds(hoverId2, 15, 60, 0, hover);
    		setBounds(hoverId3, X, Y, 1, hover);
    	}
    	public static void addHoverBox(int id, int ParentID,String text, String text2, int configId, int configFrame) {
    		RSInterface rsi = addTabInterface(id);
    		rsi.id = id;
    		rsi.parentID = ParentID;
    		rsi.type = 8;
    		rsi.aString228 = text;
    		rsi.message = text2;
    		rsi.anIntArray245 = new int[1];
    		rsi.anIntArray212 = new int[1];
    		rsi.anIntArray245[0] = 1;
    		rsi.anIntArray212[0] = configId;
    		rsi.valueIndexArray = new int[1][3];
    		rsi.valueIndexArray[0][0] = 5;
    		rsi.valueIndexArray[0][1] = configFrame;
    		rsi.valueIndexArray[0][2] = 0;
    	}
    	public static void addSprite(int ID, int i, int i2, String name, int configId, int configFrame) {
    		RSInterface Tab = addTabInterface(ID);
    		Tab.id = ID;
    		Tab.parentID = ID;
    		Tab.type = 5;
    		Tab.atActionType = 0;
    		Tab.contentType = 0;
    		Tab.width = 512;
    		Tab.height = 334;
    		Tab.aByte254 = (byte) 0;
    		Tab.mOverInterToTrigger = -1;
    		Tab.anIntArray245 = new int[1];
    		Tab.anIntArray212 = new int[1];
    		Tab.anIntArray245[0] = 1;
    		Tab.anIntArray212[0] = configId;
    		Tab.valueIndexArray = new int[1][3];
    		Tab.valueIndexArray[0][0] = 5;
    		Tab.valueIndexArray[0][1] = configFrame;
    		Tab.valueIndexArray[0][2] = 0;
    		Tab.sprite1 = imageLoader(i, name);
    		Tab.sprite2 = imageLoader(i2, name);
    	}
    		public static void addBankHover1(int interfaceID, int actionType, int hoverid, int spriteId, String NAME,  int Width, int Height, String Tooltip, int hoverId2, int hoverSpriteId, String hoverSpriteName, int hoverId3, String hoverDisabledText, int X, int Y){
    		RSInterface hover = addTabInterface(interfaceID);
    		hover.id = interfaceID;
    		hover.parentID = interfaceID;
    		hover.type = 5;
    		hover.atActionType = actionType;
    		hover.contentType = 0;
    		hover.aByte254 = 0;
    		hover.mOverInterToTrigger = hoverid;
    		hover.sprite1 = imageLoader(spriteId, NAME);
    		hover.width = Width;
    		hover.tooltip = Tooltip;
    		hover.height = Height;
    		hover = addTabInterface(hoverid);
    		hover.parentID = hoverid;
    		hover.id = hoverid;
    		hover.type = 0;
    		hover.atActionType = 0;
    		hover.width =550;
    		hover.height = 334;
    		hover.isMouseoverTriggered = true;
    		hover.mOverInterToTrigger = -1;
    		addSprite(hoverId2, hoverSpriteId, hoverSpriteId, hoverSpriteName,0,0);
    		addHoverBox(hoverId3, interfaceID,hoverDisabledText, hoverDisabledText, 0, 0);
    		setChildren(2, hover);
    		setBounds(hoverId2, 15, 60, 0, hover);
    		setBounds(hoverId3, X, Y, 1, hover);
    	}
    Reply With Quote  
     

  7. #7  
    Professional Upsetter


    Join Date
    Jul 2006
    Posts
    5,392
    Thanks given
    163
    Thanks received
    447
    Rep Power
    2040
    Code:
    public static void addHoverBox(int id, int ParentID,String text, String text2, int configId, int configFrame) {
    		RSInterface rsi = addTabInterface(id);
    		rsi.id = id;
    		rsi.parentID = ParentID;
    		rsi.type = 8;
    		rsi.aString228 = text;
    		rsi.message = text2;
    		rsi.anIntArray245 = new int[1];
    		rsi.anIntArray212 = new int[1];
    		rsi.anIntArray245[0] = 1;
    		rsi.anIntArray212[0] = configId;
    		rsi.valueIndexArray = new int[1][3];
    		rsi.valueIndexArray[0][0] = 5;
    		rsi.valueIndexArray[0][1] = configFrame;
    		rsi.valueIndexArray[0][2] = 0;
    	}
    Most likely that, but I do believe this error may be client sided.
    Ex-super moderator of Rune-Server.org and RSBot.org
    Reply With Quote  
     

  8. #8  
    Registered Member Taylor Gang or Die's Avatar
    Join Date
    Nov 2011
    Posts
    214
    Thanks given
    52
    Thanks received
    14
    Rep Power
    6
    had the same problem, your loading the wrong interface Id
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Oct 2010
    Posts
    1,309
    Thanks given
    63
    Thanks received
    257
    Rep Power
    0
    if only hover works that means u only have the hover button sprite?
    Reply With Quote  
     

  10. #10  
    Extreme Donator

    woof woof bish's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    2,444
    Thanks given
    2,212
    Thanks received
    1,019
    Rep Power
    5000
    Quote Originally Posted by Monster View Post
    if only hover works that means u only have the hover button sprite?
    Nope, see View ESYLwH.png on ScreenSnapr
    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. 614 Player doesnt show , GIVING BIG
    By H8ter in forum Buying
    Replies: 1
    Last Post: 09-05-2011, 11:33 PM
  2. Chat Text Above Head Doesnt Show Up!
    By Division in forum Help
    Replies: 10
    Last Post: 03-03-2011, 09:29 PM
  3. Why doesnt the item picture show up ?
    By Akeid in forum Help
    Replies: 8
    Last Post: 12-15-2009, 02:00 AM
  4. prayers doesnt show giving rep++
    By Darkie in forum Help
    Replies: 2
    Last Post: 02-23-2009, 07:05 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
  •