Thread: 718 Money Pouch + Shop

Page 2 of 14 FirstFirst 123412 ... LastLast
Results 11 to 20 of 135
  1. #11  
    Community Veteran


    Join Date
    Dec 2008
    Posts
    4,263
    Thanks given
    405
    Thanks received
    436
    Rep Power
    1674
    This is crappy tutorial/terrible way of doing it. No offence ment.
    Reply With Quote  
     

  2. #12  
    Registered Member
    Join Date
    May 2012
    Posts
    989
    Thanks given
    19
    Thanks received
    28
    Rep Power
    0
    tested this for itemoption6 works
    Code:
    		 if (itemId == 995) {
    			int amount = player.getInventory().getItems().getNumberOf(995);
    			if (amount + player.money <= 2147000000) {
    				
    					player.getInventory().deleteItem(995, amount);
    				player.getPackets().sendRunScript(5561, 1, amount);
    				player.money += amount;
    				player.refreshMoneyPouch();
    			} else {
    				player.getPackets().sendGameMessage("Your money-pouch is currently full. Your coins will now go to your inventory.");
    			
    			
    			}
    		}
    edit this now works.
    Attached image
    Reply With Quote  
     

  3. #13  
    Banned

    Join Date
    Oct 2011
    Age
    27
    Posts
    2,566
    Thanks given
    1,027
    Thanks received
    1,168
    Rep Power
    0
    Quote Originally Posted by Cjay0091 View Post
    Bad way to do this, and not a tutorial as it doesn't explain anything.
    Alright, alright, alright mate calm down.
    Reply With Quote  
     

  4. #14  
    Registered Member
    maffia-rpg's Avatar
    Join Date
    Jul 2011
    Posts
    2,775
    Thanks given
    587
    Thanks received
    759
    Rep Power
    120
    Quote Originally Posted by 2^31-1 View Post
    This is crappy tutorial/terrible way of doing it. No offence ment.
    I don't see anything terrible to it..
    And don't tell me to use formatted numbers cuz that has 101% no sense
    Quote Originally Posted by Nando View Post
    why would I care about trying to get you to care about me homosexual?
    back to coding shit revisions
    1080% lost.
    Reply With Quote  
     

  5. #15  
    Registered Member
    maffia-rpg's Avatar
    Join Date
    Jul 2011
    Posts
    2,775
    Thanks given
    587
    Thanks received
    759
    Rep Power
    120
    Quote Originally Posted by Cjay0091 View Post
    Bad way to do this, and not a tutorial as it doesn't explain anything.
    Making a new file for this simple thing isn't bad right. Whats so bad on this?
    Quote Originally Posted by Nando View Post
    why would I care about trying to get you to care about me homosexual?
    back to coding shit revisions
    1080% lost.
    Reply With Quote  
     

  6. #16  
    Registered Member
    Join Date
    Jul 2011
    Posts
    105
    Thanks given
    14
    Thanks received
    8
    Rep Power
    15
    Nvm.
    Reply With Quote  
     

  7. #17  
    Registered Member
    Join Date
    May 2012
    Posts
    989
    Thanks given
    19
    Thanks received
    28
    Rep Power
    0
    also in worldpacketsdecoder change the 2147483 to 2147000000
    Attached image
    Reply With Quote  
     

  8. #18  
    Registered Member
    Join Date
    Jul 2011
    Posts
    105
    Thanks given
    14
    Thanks received
    8
    Rep Power
    15
    Withdraw not working..
    Reply With Quote  
     

  9. #19  
    Registered Member
    Join Date
    May 2012
    Posts
    989
    Thanks given
    19
    Thanks received
    28
    Rep Power
    0
    ik its not working trying to get it to work
    Attached image
    Reply With Quote  
     

  10. #20  
    Community Veteran


    Join Date
    Dec 2008
    Posts
    4,263
    Thanks given
    405
    Thanks received
    436
    Rep Power
    1674
    Quote Originally Posted by maffia-rpg View Post
    I don't see anything terrible to it..
    And don't tell me to use formatted numbers cuz that has 101% no sense
    Umm no.

    Your code is messy and inefficient, that is what is wrong. Could be done 110% better. I'd hate to see the rest of your shops system.
    Reply With Quote  
     

  11. Thankful user:


Page 2 of 14 FirstFirst 123412 ... 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. [718] Money-Pouch Release
    By Cjay0091 in forum Snippets
    Replies: 76
    Last Post: 09-14-2013, 01:38 PM
  2. Money Pouch 667/718
    By RezoScape in forum Requests
    Replies: 2
    Last Post: 06-14-2012, 07:21 PM
  3. Replies: 15
    Last Post: 06-10-2012, 01:32 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
  •