Thread: Deposit all on 317 Bank Interface

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32
  1. #21  
    Registered Member
    Join Date
    Sep 2013
    Posts
    285
    Thanks given
    3
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by RatTheStack View Post
    Yeah, he dosn't give the clickingbuttons case.

    ClickingButtons.java
    Code:
    		case 89223: // Bank All
    			for (int i = 0; i < c.playerItems.length; i++) {
    				c.getItems().bankItem(c.playerItems[i], i, c.playerItemsN[i]);
    			}
    			break;

    Yeah I figured lol, thanks though.
    Reply With Quote  
     

  2. #22  
    Registered Member
    Join Date
    Feb 2015
    Posts
    17
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    for those who was getting the 4 Errors here is a fix!
    Quote Originally Posted by fourshorty View Post
    Code:
    Java\RSInterface.java:19: error: cannot find symbol
                    addHover(23004, 3, 0, 23005, 1, "Bank/BANK", 16, 16, "Close");
                    ^
      symbol:   method addHover(int,int,int,int,int,String,int,int,String)
      location: class RSInterface
    Java\RSInterface.java:20: error: cannot find symbol
                    addHovered(23005, 2, "Bank/BANK", 16, 16, 23006);
                    ^
      symbol:   method addHovered(int,int,String,int,int,int)
      location: class RSInterface
    Java\RSInterface.java:21: error: cannot find symbol
                    addHover(23007, 4, 0, 23008, 17, "Bank/BANK", 35, 25, "Deposit c
    arried items");
                    ^
      symbol:   method addHover(int,int,int,int,int,String,int,int,String)
      location: class RSInterface
    Java\RSInterface.java:22: error: cannot find symbol
                    addHovered(23008, 18, "Bank/BANK", 35, 25, 23009);
                    ^
      symbol:   method addHovered(int,int,String,int,int,int)
      location: class RSInterface
    Note: Java\client.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Java\client.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    4 errors
    Press any key to continue . . .
    in rsinterface.java

    above this Void: (it doesn't matter were you put it. but not inside inside another void).
    Code:
    	public static void addHoverButton
    add this:
    Code:
    	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.type = 0;
    		rsinterfaceHover.atActionType = 0;
    		rsinterfaceHover.width = w;
    		rsinterfaceHover.height = h;
    		rsinterfaceHover.isMouseoverTriggered = true;
    		rsinterfaceHover.mOverInterToTrigger = -1;
    		addSprite(IMAGEID, j, imageName);
    		setChildren(1, rsinterfaceHover);
    		setBounds(IMAGEID, 0, 0, 0, rsinterfaceHover);
    	}
    under the code you just added add this:

    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 = addTabInterface(i);
    		rsinterfaceHover.id = i;
    		rsinterfaceHover.parentID = i;
    		rsinterfaceHover.type = 5;
    		rsinterfaceHover.atActionType = aT;
    		rsinterfaceHover.contentType = cT;
    		rsinterfaceHover.mOverInterToTrigger = hoverid;
    		rsinterfaceHover.sprite1 = imageLoader(sId, NAME);
    		rsinterfaceHover.sprite2 = imageLoader(sId, NAME);
    		rsinterfaceHover.width = W;
    		rsinterfaceHover.height = H;
    		rsinterfaceHover.tooltip = tip;
    	}
    and under that code add this:
    Code:
    	public static void setChildren(int total, RSInterface rsinterface) {
    		rsinterface.children = new int[total];
    		rsinterface.childX = new int[total];
    		rsinterface.childY = new int[total];
    	}
    and all your errors should disappear!
    Hope this helps please rep if it did...
    Reply With Quote  
     

  3. #23  
    Registered Member
    Join Date
    Mar 2015
    Posts
    19
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    The client crashes help!!
    Reply With Quote  
     

  4. #24  
    Registered Member
    Join Date
    Mar 2016
    Posts
    47
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    keep getting this error not sure whats wrong.
    http://prntscr.com/gvwgzh
    Reply With Quote  
     

  5. #25  
    Registered Member

    Join Date
    Oct 2011
    Posts
    2,084
    Thanks given
    0
    Thanks received
    1,043
    Rep Power
    3608
    Quote Originally Posted by znaation View Post
    keep getting this error not sure whats wrong.
    http://prntscr.com/gvwgzh
    it's plain english.
    Reply With Quote  
     

  6. #26  
    Registered Member
    Join Date
    Mar 2016
    Posts
    47
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    u mind explaining it?
    Reply With Quote  
     

  7. #27  
    Registered Member
    Join Date
    Mar 2016
    Posts
    47
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    understood..
    Reply With Quote  
     

  8. #28  
    Registered Member
    Join Date
    Mar 2016
    Posts
    47
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    anyone give me a little help with this? not sure what its meaning is.
    http://prntscr.com/h0s25n
    Reply With Quote  
     

  9. #29  
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    29
    Posts
    7,987
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    Quote Originally Posted by znaation View Post
    anyone give me a little help with this? not sure what its meaning is.
    http://prntscr.com/h0s25n
    The parameters of the method's usage do not match its declaration.


    Reply With Quote  
     

  10. #30  
    Registered Member
    Join Date
    Mar 2016
    Posts
    47
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Stewie View Post
    The parameters of the method's usage do not match its declaration.
    ty fixed it
    Reply With Quote  
     

Page 3 of 4 FirstFirst 1234 LastLast

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. Deposit all on 317 Bank Interface
    By Dhruv in forum Snippets
    Replies: 3
    Last Post: 01-13-2014, 06:59 PM
  2. Replies: 4
    Last Post: 08-27-2011, 07:26 PM
  3. All 474 Items on 317 Client
    By Jeremy Yak in forum Show-off
    Replies: 19
    Last Post: 09-08-2009, 01:12 PM
  4. Replies: 40
    Last Post: 05-10-2009, 09:12 PM
  5. Almost ALL 317-377 interface ID's
    By SlIpKn0t LoV3r in forum Configuration
    Replies: 29
    Last Post: 02-06-2009, 11:16 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
  •