Thread: Money Vault (First Interface I've Ever Made)

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11  
    Registered Member Sheddy's Avatar
    Join Date
    Jul 2009
    Age
    31
    Posts
    1,053
    Thanks given
    56
    Thanks received
    89
    Rep Power
    69
    Quote Originally Posted by Rocky95 View Post
    It's nice but you know it's going to throw a nullpointer right . Then the client will look like this
    You must of done something wrong cause it doesn't do that for me.
    Reply With Quote  
     

  2. #12  
    Registered Member
    Join Date
    Nov 2009
    Posts
    3,052
    Thanks given
    112
    Thanks received
    838
    Rep Power
    740
    its decent, but you making one BIG mistake.

    You overwriting interface data at id 8000-8009.
    This means that parts of other interfaces will have your interface in it (aka will be fked up )
    so use interface id's over around 20k im not 100% sure where 317 ends.
    Reply With Quote  
     

  3. #13  
    Registered Member Sheddy's Avatar
    Join Date
    Jul 2009
    Age
    31
    Posts
    1,053
    Thanks given
    56
    Thanks received
    89
    Rep Power
    69
    Quote Originally Posted by owner blade View Post
    its decent, but you making one BIG mistake.

    You overwriting interface data at id 8000-8009.
    This means that parts of other interfaces will have your interface in it (aka will be fked up )
    so use interface id's over around 20k im not 100% sure where 317 ends.
    Thanks. It doesn't seem to be messing any up now but I'll remember this for future references.
    Reply With Quote  
     

  4. #14  
    Donator


    Join Date
    Aug 2013
    Posts
    1,163
    Thanks given
    273
    Thanks received
    156
    Rep Power
    445
    I like it
    Reply With Quote  
     

  5. #15  
    Registered Member Sheddy's Avatar
    Join Date
    Jul 2009
    Age
    31
    Posts
    1,053
    Thanks given
    56
    Thanks received
    89
    Rep Power
    69
    Added HoverButton support.

    Code:
    public static void moneyTab(TextDrawingArea[] TDA) {
    		RSInterface intmoneyTab = addTab(8000);
    		 intmoneyTab.children = new int[11];
    		intmoneyTab.childX = new int[11];
    		intmoneyTab.childY = new int[11];
    		intmoneyTab.children[0] = 8001;
    		intmoneyTab.childX[0] = 0;
    		intmoneyTab.childY[0] = 0;
    		//Main sprite
    		addSprite(8001, 0, "Interfaces/MoneyVault/sidebar");
    		
    		intmoneyTab.children[1] = 8002;
    		intmoneyTab.childX[1] = 87;
    		intmoneyTab.childY[1] = 75;
    		addText(8002, "1", TDA, 0, 16750623, true, true);
    		
    		intmoneyTab.children[2] = 8003;
    		intmoneyTab.childX[2] = 130;
    		intmoneyTab.childY[2] = 92;
    		addHoverButton(8003, "Interfaces/MoneyVault/deposit", 0, 32, 32, "Deposit to Vault", 1803, 8004, 1);
    		
    		intmoneyTab.children[3] = 8004;
    		intmoneyTab.childX[3] = 130;
    		intmoneyTab.childY[3] = 92;
    		addHoveredButton(8004, "Interfaces/MoneyVault/deposit", 1, 32, 32, 8005);
    		
    		intmoneyTab.children[4] = 8006;
    		intmoneyTab.childX[4] = 17;
    		intmoneyTab.childY[4] = 204;
    		addHoverButton(8006, "Interfaces/MoneyVault/taxBag", 0, 32, 32, "Purchase a Tax Bag", -1, 8007, 1); //TODO: Change the tooltip text
    		
    		intmoneyTab.children[5] = 8007;
    		intmoneyTab.childX[5] = 17;
    		intmoneyTab.childY[5] = 204;
    		addHoveredButton(8007, "Interfaces/MoneyVault/taxBag", 1, 32, 32, 8008); //TODO: Change the tooltip text
    	
    		intmoneyTab.children[6] = 8009;
    		intmoneyTab.childX[6] = 130;
    		intmoneyTab.childY[6] = 204;
    		addHoverButton(8009, "Interfaces/MoneyVault/yellBubble", 0, 32, 32, "Purchase Yell Tickets", -1, 8010, 1); 
    		
    		intmoneyTab.children[7] = 8010;
    		intmoneyTab.childX[7] = 130;
    		intmoneyTab.childY[7] = 204;
    		addHoveredButton(8010, "Interfaces/MoneyVault/yellBubble", 1, 32, 32, 8011); 
    	
    		intmoneyTab.children[8] = 8012;
    		intmoneyTab.childX[8] = 20;
    		intmoneyTab.childY[8] = 94;
    		addHoverButton(8012, "Interfaces/MoneyVault/withDraw", 0, 32, 32, "Withdraw from Vault", 1804, 8013, 1);
    		
    		intmoneyTab.children[9] = 8013;
    		intmoneyTab.childX[9] = 20;
    		intmoneyTab.childY[9] = 94;
    		addHoveredButton(8013, "Interfaces/MoneyVault/withDraw", 1, 32, 32, 8014);
    		
    		intmoneyTab.children[10] = 8016;
    		intmoneyTab.childX[10] = 87;
    		intmoneyTab.childY[10] = 135;
    		addText(8016, "Balance", TDA, 0, 16750623, true, true);
    	}
    Reply With Quote  
     

  6. #16  
    Registered Member
    Join Date
    Jun 2008
    Posts
    71
    Thanks given
    0
    Thanks received
    1
    Rep Power
    3
    sorry for the bit of gravedig, but i would like to put the interface where the harp/music tab is, how can i do that?
    Reply With Quote  
     

  7. #17  
    Registered Member
    Join Date
    Feb 2013
    Posts
    137
    Thanks given
    2
    Thanks received
    4
    Rep Power
    29
    I get this error, any solution?

    Code:
    src\client.java:5599: error: cannot find symbol
                                                    sendPacket(103);
                                                    ^
      symbol:   method sendPacket(int)
      location: class client
    src\client.java:5604: error: cannot find symbol
                                                    sendPacket(103);
                                                    ^
      symbol:   method sendPacket(int)
      location: class client
    2 errors
    Press any key to continue . . .
    Reply With Quote  
     

  8. #18  
    Registered Member
    Join Date
    Nov 2013
    Posts
    19
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by basil View Post
    I get this error, any solution?

    Code:
    src\client.java:5599: error: cannot find symbol
                                                    sendPacket(103);
                                                    ^
      symbol:   method sendPacket(int)
      location: class client
    
    
    src\client.java:5604: error: cannot find symbol
                                                    sendPacket(103);
                                                    ^
      symbol:   method sendPacket(int)
      location: class client
    2 errors
    Press any key to continue . . .
    replace with

    if((j -= 502) == 0 && anInt900 == 0) { or something
    Reply With Quote  
     

  9. #19  
    Banned
    Join Date
    May 2013
    Age
    22
    Posts
    557
    Thanks given
    35
    Thanks received
    45
    Rep Power
    0
    Reupload..?
    Reply With Quote  
     

  10. #20  
    Interfacing with your sister

    Streax's Avatar
    Join Date
    Jun 2009
    Posts
    2,308
    Thanks given
    784
    Thanks received
    175
    Rep Power
    229
    This is a great idea, I might create an improved version but as a screen interface that supports multiple containers.. I don't like the interface itself, but if it was a screen interface & designed better, it would make a great addition to the game.
    Attached image
    Reply With Quote  
     

  11. Thankful user:


Page 2 of 3 FirstFirst 123 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. Replies: 1
    Last Post: 08-21-2012, 11:23 AM
  2. Rate My Best Brush I've Ever Made
    By Burkey in forum Showcase
    Replies: 14
    Last Post: 02-16-2008, 02:55 AM
  3. Replies: 16
    Last Post: 12-26-2007, 03:06 PM
  4. first photoshoped picture ive ever made:D
    By lattmjolk1 in forum Showcase
    Replies: 3
    Last Post: 11-09-2007, 11:25 PM
  5. All Of My Begginer Siggs I've ever Made
    By Numbers in forum Showcase
    Replies: 0
    Last Post: 06-07-2007, 07:46 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
  •