Thread: HoverBox Issue

Results 1 to 2 of 2
  1. #1 HoverBox Issue 
    Registered Member
    Join Date
    Jan 2011
    Posts
    73
    Thanks given
    4
    Thanks received
    2
    Rep Power
    1
    So my problem is in short, I can not hover over any curses unless I keep the code at the bottom of my drawInterface method the same,
    Code:
    			} else if (class9_1.type == 8) {
    				String hoverText;
    				if (interfaceIsSelected(class9_1)){
    					hoverText = class9_1.aString228;
    				} else
    					hoverText = class9_1.message;
    				drawHoverBox(k2, l2, class9_1.popupString);
    				}
    			}
    			DrawingArea.setDrawingArea(l1, i1, k1, j1);
    		}
    However, this is a problem because with this code, I can hover over curses, but I can't hover over the "change items to note" button in the bank.
    Changing one line seemed to fix it, but reversed the problem.
    Code:
    			} else if (class9_1.type == 8) {
    				String hoverText;
    				if (interfaceIsSelected(class9_1)){
    					hoverText = class9_1.aString228;
    				} else
    					hoverText = class9_1.message;
    				drawHoverBox(k2, l2, hoverText);
    				}
    			}
    			DrawingArea.setDrawingArea(l1, i1, k1, j1);
    		}
    I haven't a clue why it would be even causing this however after hovering I get this error:
    I'm using a base Project Insanity source with packed 602 anims/gfx/npcs, don't exactly remember where I got it lol
    If anybody could help it would be greatly appreciated.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Mylyn's Avatar
    Join Date
    Dec 2012
    Posts
    1,545
    Thanks given
    602
    Thanks received
    278
    Rep Power
    119
    Code:
    if (hoverText != null)
    drawHoverBox(k2, l2, hoverText);
    ?
    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. New Varrock Guard (issue two)
    By Bobster in forum Tutorials
    Replies: 33
    Last Post: 02-24-2008, 03:49 AM
  2. Npc Bundle 2 (Issue four)
    By Bobster in forum Tutorials
    Replies: 14
    Last Post: 01-03-2008, 04:28 PM
  3. Bundle 1 (Issue three)
    By Bobster in forum Tutorials
    Replies: 9
    Last Post: 12-21-2007, 03:11 PM
  4. New Goblin (Issue one)
    By Bobster in forum Tutorials
    Replies: 21
    Last Post: 12-20-2007, 02:00 PM
  5. webclient issues[PLEASE HELP ME]
    By Spoonkitty in forum RS2 Client
    Replies: 5
    Last Post: 08-15-2007, 11:29 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •