Thread: Deposit money pouch into bank

Results 1 to 6 of 6
  1. #1 Deposit money pouch into bank 
    Registered Member OblivionRealm's Avatar
    Join Date
    Apr 2012
    Posts
    596
    Thanks given
    60
    Thanks received
    41
    Rep Power
    11
    alright so. lets say i have 1000M cash in bank and 2147M in money pouch, and i use the deposit all button, it deposits all the cash but it make the cash disappear if you want a video of it, or want to go on tv just tell me and ill pm you

    heres the code
    Code:
    case 82032: //deposit money pouch
    					if (c.MoneyCash > 0) {
    					c.getItems().addItemToBank(995, c.MoneyCash);
    					c.MoneyCash = 0;
    					c.getPA().sendFrame126(""+c.MoneyCash+"", 8134); 
    					c.getPA().sendFrame126(""+c.MoneyCash+"", 8135);
    					c.sendMessage("You bank all your coins from your money pouch!");
    					} else if (c.MoneyCash == 0) {
    					c.sendMessage("Your money pouch contains no coins.");
    					}
    				break;
    [Only registered and activated users can see links. ]


    Quote Originally Posted by Mikey` View Post
    Bump. Someone mirror, uppit sucks. Pretty sure uppit gave me a Trojan too.
    Quote Originally Posted by lighter xd View Post
    i didnt hear baout a keylog but im dling on my shit pc and my dads a police officer and get get swat to track his ip if its a keylog
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2012
    Posts
    177
    Thanks given
    110
    Thanks received
    33
    Rep Power
    43
    Increase the maximum amount of cash you can have, or make it so they cannon deposit all if it goes over the maximum limit.
    Reply With Quote  
     

  3. #3  
    Registered Member OblivionRealm's Avatar
    Join Date
    Apr 2012
    Posts
    596
    Thanks given
    60
    Thanks received
    41
    Rep Power
    11
    Quote Originally Posted by Rich noob xd View Post
    Increase the maximum amount of cash you can have, or make it so they cannon deposit all if it goes over the maximum limit.
    Thanks but, if i knew how to do it, i would
    [Only registered and activated users can see links. ]


    Quote Originally Posted by Mikey` View Post
    Bump. Someone mirror, uppit sucks. Pretty sure uppit gave me a Trojan too.
    Quote Originally Posted by lighter xd View Post
    i didnt hear baout a keylog but im dling on my shit pc and my dads a police officer and get get swat to track his ip if its a keylog
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2011
    Posts
    220
    Thanks given
    3
    Thanks received
    13
    Rep Power
    2
    I don't know what your code means. Just make it check that you're not adding anything over Integer.MAX_VALUE, and if you are, then it will not allow you to.
    Reply With Quote  
     

  5. #5  
    Registered Member OblivionRealm's Avatar
    Join Date
    Apr 2012
    Posts
    596
    Thanks given
    60
    Thanks received
    41
    Rep Power
    11
    Quote Originally Posted by Ch3ck it S0n View Post
    I don't know what your code means. Just make it check that you're not adding anything over Integer.MAX_VALUE, and if you are, then it will not allow you to.
    It's just depositing the money from the pouch.
    [Only registered and activated users can see links. ]


    Quote Originally Posted by Mikey` View Post
    Bump. Someone mirror, uppit sucks. Pretty sure uppit gave me a Trojan too.
    Quote Originally Posted by lighter xd View Post
    i didnt hear baout a keylog but im dling on my shit pc and my dads a police officer and get get swat to track his ip if its a keylog
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2011
    Posts
    220
    Thanks given
    3
    Thanks received
    13
    Rep Power
    2
    Quote Originally Posted by OblivionRealm View Post
    It's just depositing the money from the pouch.
    I know that. Make it not...

    Code:
    int bankAmount = ...;
    int moneyPouch = ...;
    if((long)(bankAmount + moneyPouch) > Integer.MAX_VALUE)
        depositMoneyPouch(Integer.MAX_VALUE-bankAmount);
    else
        depositMoneyPouch(moneyPouch);
    Code:
    public void depositMoneyPouch(int amount) {
        c.getItems().bankItem(995, amount);
    }

    That should give you an idea.
    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. Deposit money pouch
    By OblivionRealm in forum Help
    Replies: 3
    Last Post: 07-21-2012, 04:06 AM
  2. Replies: 15
    Last Post: 06-10-2012, 01:32 AM
  3. Pi deposit money pouch
    By Lorex in forum Snippets
    Replies: 9
    Last Post: 04-22-2012, 04:00 PM
  4. Deposit Money Pouch Wierd..
    By rs r in forum Help
    Replies: 7
    Last Post: 03-07-2012, 06:51 PM
  5. Making a bank deposit box open up bank!
    By slickey rickey in forum Tutorials
    Replies: 10
    Last Post: 12-11-2009, 01:19 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
  •