Thread: Interface, Easy fix probably.

Results 1 to 8 of 8
  1. #1 Interface, Easy fix probably. 
    Registered Member copycopy's Avatar
    Join Date
    Aug 2006
    Posts
    185
    Thanks given
    17
    Thanks received
    3
    Rep Power
    14
    Hey guys can anyone help me? I have made a simple screen with hover buttons, And it dose not seem to work or give me errors. The interface comes up with the first button, but when I hover it does not work does anyone have any idea or did I do anything wrong.



    Code:
    public static void gamble(TextDrawingArea[] tda) {//The tyoe and name of the interface...
    		RSInterface tab = addScreenInterface(31100);//interface id
    		addSprite(31101, 0, "SCREEN");//this is the background for the main interface.
    		addHoverButton(31102, "Hover", 0, 38, 50, "1,000,000gp", -1, 31103, 1);//regular button with no glowing effects.
    		addHoveredButton(31103, "Hover", 1, 38, 50, 31104);//Button that has the glowing effects
    		tab.totalChildren(3);//3 children, 
    		
    		tab.child(0, 31101, 10, 12);//1
    		tab.child(1, 31102, 50, 20);//2
    		tab.child(2, 31103, 50, 20);//3
    }//closing bracket




    This is a picture

    pm me for my skype if you need it,


    Quote Originally Posted by Liam View Post
    We have like 20 staff members, and lots of them are pretty worthless. what the **** is the point of a SB mod?
    agreed there... well kinda
    Reply With Quote  
     

  2. #2  
    Registered Member copycopy's Avatar
    Join Date
    Aug 2006
    Posts
    185
    Thanks given
    17
    Thanks received
    3
    Rep Power
    14
    Bump still looking for help....
    Quote Originally Posted by Liam View Post
    We have like 20 staff members, and lots of them are pretty worthless. what the **** is the point of a SB mod?
    agreed there... well kinda
    Reply With Quote  
     

  3. #3  
    Apocraphy Owner/Dev

    o Snaappp's Avatar
    Join Date
    Nov 2012
    Posts
    657
    Thanks given
    9
    Thanks received
    85
    Rep Power
    81
    Are you trying to get rid of the 1,000,000gp?

    Last Known As oGusher

    Reply With Quote  
     

  4. #4  
    Registered Member copycopy's Avatar
    Join Date
    Aug 2006
    Posts
    185
    Thanks given
    17
    Thanks received
    3
    Rep Power
    14
    Quote Originally Posted by Logic View Post
    I don't understand what you want help with, care to explain?
    So sorry, If you could not understand. What I am trying to do is when the mouse its over the "sprite number 1" It should change the sprite to the other hover sprite.

    In the picture my mouse is over the hover sprite, But it is not changing it to the other sprite which has glowing effects around it, Giving it a hover effect. The button works in game fine and everything. The only issue is the hover button is not appearing upon hover. If anyone would be able to help me please do. Because from what I see is its flawless, And has no issues. Its just the hovering does not work.


    Thanks
    Quote Originally Posted by Liam View Post
    We have like 20 staff members, and lots of them are pretty worthless. what the **** is the point of a SB mod?
    agreed there... well kinda
    Reply With Quote  
     

  5. #5  
    Apocraphy Owner/Dev

    o Snaappp's Avatar
    Join Date
    Nov 2012
    Posts
    657
    Thanks given
    9
    Thanks received
    85
    Rep Power
    81
    Try Using This:
    Code:
    public static void gamble(TextDrawingArea[] tda) {//The tyoe and name of the interface...
    		RSInterface tab = addScreenInterface(31100);//interface id
    		addSprite(31101, 0, "SCREEN");//this is the background for the main interface.
    		addHoverButton(31102, "Hover", 0, 38, 50, "1,000,000gp", -1, 31103, 1);//regular button with no glowing effects.
    		addHoveredButton(31104, "Hover", 1, 38, 50, 31105);//Button that has the glowing effects
    		tab.totalChildren(3);//3 children, 
    		
    		tab.child(0, 31101, 10, 12);//1
    		tab.child(1, 31102, 50, 20);//2
    		tab.child(2, 31104, 50, 20);//3
    }//closing bracket

    Last Known As oGusher

    Reply With Quote  
     

  6. #6  
    Registered Member copycopy's Avatar
    Join Date
    Aug 2006
    Posts
    185
    Thanks given
    17
    Thanks received
    3
    Rep Power
    14
    Quote Originally Posted by oGusher View Post
    Try Using This:
    Code:
    public static void gamble(TextDrawingArea[] tda) {//The tyoe and name of the interface...
    		RSInterface tab = addScreenInterface(31100);//interface id
    		addSprite(31101, 0, "SCREEN");//this is the background for the main interface.
    		addHoverButton(31102, "Hover", 0, 38, 50, "1,000,000gp", -1, 31103, 1);//regular button with no glowing effects.
    		addHoveredButton(31104, "Hover", 1, 38, 50, 31105);//Button that has the glowing effects
    		tab.totalChildren(3);//3 children, 
    		
    		tab.child(0, 31101, 10, 12);//1
    		tab.child(1, 31102, 50, 20);//2
    		tab.child(2, 31104, 50, 20);//3
    }//closing bracket

    Hey thanks, I just tried this. I is giving me the same problem, Hover 0 is still there even when im hovering....

    For example When I move my mouse onto the "Number 1" Hover 0 is there and is still there when its suppouse to be changing to "Hover 1".

    I dont know what would cause the issue, And the code seems to be fine but, Its still not allowing "Hover 1" To appear while you "Hover 0"


    Thanks for the help though
    Quote Originally Posted by Liam View Post
    We have like 20 staff members, and lots of them are pretty worthless. what the **** is the point of a SB mod?
    agreed there... well kinda
    Reply With Quote  
     

  7. #7  
    Registered Member
    Zivik's Avatar
    Join Date
    Oct 2007
    Age
    28
    Posts
    4,421
    Thanks given
    891
    Thanks received
    1,527
    Rep Power
    3285
    Replace your hover codes with this:

    Code:
    			addHoverButton(31102, "Hover", 0, 38, 50, "1,000,000gp", 0, 31103, 1);//regular button with no glowing effects.
    			addHoveredButton(31103, "Hover", 1, 38, 50, 31104);//Button that has the glowing effects
    Tell me how it works.
    Reply With Quote  
     

  8. #8  
    Registered Member copycopy's Avatar
    Join Date
    Aug 2006
    Posts
    185
    Thanks given
    17
    Thanks received
    3
    Rep Power
    14
    Quote Originally Posted by Zivik View Post
    Replace your hover codes with this:

    Code:
    			addHoverButton(31102, "Hover", 0, 38, 50, "1,000,000gp", 0, 31103, 1);//regular button with no glowing effects.
    			addHoveredButton(31103, "Hover", 1, 38, 50, 31104);//Button that has the glowing effects
    Tell me how it works.
    Its doing the same thing as above when i hover is dose not change the

    Code:
    public static void gamble(TextDrawingArea[] tda) {//The tyoe and name of the interface...
    		RSInterface tab = addScreenInterface(31100);//interface id
    		addSprite(31101, 0, "SCREEN");//this is the background for the main interface.
    		addHoverButton(31102, "Hover", 0, 38, 50, "1,000,000gp", 0, 31103, 1);//regular button with no glowing effects.
    			addHoveredButton(31103, "Hover", 1, 38, 50, 31104);//Button that has the glowing effects
    		tab.totalChildren(3);//3 children, 
    		
    		tab.child(0, 31101, 10, 12);//1
    		tab.child(1, 31102, 50, 20);//2
    		tab.child(2, 31103, 50, 20);//3
    }//closing bracket
    thats the code with yours in it.
    Quote Originally Posted by Liam View Post
    We have like 20 staff members, and lots of them are pretty worthless. what the **** is the point of a SB mod?
    agreed there... well kinda
    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. $5 for probably easy fixes
    By Yvne in forum Buying
    Replies: 5
    Last Post: 01-31-2013, 05:50 PM
  2. Paying for Probably Easy fixes. $$$
    By Yvne in forum Buying
    Replies: 9
    Last Post: 12-12-2012, 06:42 PM
  3. probably an easy fix
    By startcode in forum Help
    Replies: 3
    Last Post: 03-10-2012, 12:07 AM
  4. [$5]Probably easy fix
    By Konceal in forum Requests
    Replies: 4
    Last Post: 03-15-2011, 05:32 PM
  5. Replies: 2
    Last Post: 11-21-2010, 06:37 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
  •