Thread: [667]Mystery Box

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32
  1. #21  
    Registered Member
    Join Date
    Jul 2012
    Posts
    7
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Quote Originally Posted by erica View Post
    Dis shit bothers me -_-
    What do you mean it bothers you? ó.o
    Reply With Quote  
     

  2. #22  
    Sexy boi <3

    ByteValue's Avatar
    Join Date
    May 2012
    Age
    25
    Posts
    831
    Thanks given
    11
    Thanks received
    80
    Rep Power
    80
    Quote Originally Posted by King J Scape View Post
    Code:
     if (itemId == 6199) {
    		int[] RandomItems = {11732, 4151, 11283, 385, 2347, 1712, 1712, 6585, 1712, 6585, 11732, 11732, 3105, 6918, 6920, 6922, 6924, 6570, 6199, 6199, 10828, 1079, 1127, 20072, 20072, 8850, 10551, 10548, 4087, 15332, 15332, 4712, 4714, 4716, 4718, 4720, 4722, 4724, 4726, 4728, 4730, 4732, 4734, 4736, 4738, 4745, 4747, 4749, 4751, 4753, 4755, 4757, 4759, 6585, 5698, 1704, 7378, 7370, 7390, 6737, 6731, 6733, 11716, 6199, 6199, 7386, 7394, 11846, 11850, 11852, 2673, 2669, 2671, 6889, 6914, 2653, 2655, 2657, 1837, 10330, 11848, 11854, 11856, 10332, 10334, 10336, 542, 4087, 4585, 6568, 6568, 10338, 10340, 10342, 10344, 10346, 10348, 10350, 10352, 2581, 13736, 6916, 6918, 6920, 6922, 6924, 3481, 3483, 3486, 2577, 2665, 10452, 10454, 10456, 9470, 2661, 10450, 10446, 10448, 1037, 14595, 14603, 1050, 23679, 23680, 23681, 23682, 23683, 23684, 23685, 23686, 23687, 23688, 23689, 23690, 23691, 23692, 23693, 23694, 23695, 23696, 23697, 23698, 23699, 23700, 11732, 3105, 1712, 1704, 1706, 1079, 1127, 6585, 6570, }; //Other ids go in there as well
            int i = Utils.getRandom(RandomItems.length);
    		player.getInventory().deleteItem(6199, 1);
            player.getInventory().addItem(RandomItems[i], 1);
    		player.getInventory().addItem(995, 15000000);
    			for (Player players : World.getPlayers()) {
    						if (players == null)
    							continue;
    			players.getPackets().sendGameMessage("<img=5><col=ff0000>" + player.getDisplayName() + "</col> Has Just Gotten a <col=ff0000>Random Items and 15m</col> From A Mystery Box!");
    				}
    			return;
    		}
    woaaa your so kool
    What are these shit conventions? An array identifier NEVER starts with a capital letter, you must use camel casing. In this case:

    Code:
    int[] randomItems = {};
    Reply With Quote  
     

  3. #23  
    The Emperor of the Sands

    Azir's Avatar
    Join Date
    Nov 2008
    Posts
    2,468
    Thanks given
    8
    Thanks received
    487
    Rep Power
    117
    Quote Originally Posted by ByteValue View Post
    What are these shit conventions? An array identifier NEVER starts with a capital letter, you must use camel casing. In this case:

    Code:
    int[] randomItems = {};
    kool story bro what works, works tell me when its not working. then talk to me


    Reply With Quote  
     

  4. #24  
    Sexy boi <3

    ByteValue's Avatar
    Join Date
    May 2012
    Age
    25
    Posts
    831
    Thanks given
    11
    Thanks received
    80
    Rep Power
    80
    Quote Originally Posted by King J Scape View Post
    kool story bro what works, works tell me when its not working. then talk to me

    I'm simply pointing out that using proper Java conventions are required for ease of editing code with big frameworks. No need to act like a childish person.
    Reply With Quote  
     

  5. #25  
    The Emperor of the Sands

    Azir's Avatar
    Join Date
    Nov 2008
    Posts
    2,468
    Thanks given
    8
    Thanks received
    487
    Rep Power
    117
    Quote Originally Posted by ByteValue View Post
    I'm simply pointing out that using proper Java conventions are required for ease of editing code with big frameworks. No need to act like a childish person.
    na what work, works get over it..


    Reply With Quote  
     

  6. #26  
    Registered Member Taylor Moon's Avatar
    Join Date
    Aug 2012
    Posts
    2,568
    Thanks given
    625
    Thanks received
    1,301
    Rep Power
    66
    Quote Originally Posted by King J Scape View Post
    na what work, works get over it..
    You're an idiot, go learn java before you insult someone on it.

    Ot; Ok, this would be cool if it didn't ruin the eco, and like ByteValue said, work on your conventions.
    Reply With Quote  
     

  7. #27  
    The Emperor of the Sands

    Azir's Avatar
    Join Date
    Nov 2008
    Posts
    2,468
    Thanks given
    8
    Thanks received
    487
    Rep Power
    117
    Quote Originally Posted by Taylor Moon View Post
    You're an idiot, go learn java before you insult someone on it.

    Ot; Ok, this would be cool if it didn't ruin the eco, and like ByteValue said, work on your conventions.
    lol okay

    because the way i do things are dif from your way does not make me an idiot.


    Reply With Quote  
     

  8. #28  
    Registered Member Taylor Moon's Avatar
    Join Date
    Aug 2012
    Posts
    2,568
    Thanks given
    625
    Thanks received
    1,301
    Rep Power
    66
    Quote Originally Posted by King J Scape View Post
    lol okay

    because the way i do things are dif from your way does not make me an idiot.

    [Only registered and activated users can see links. ]

    Do you half ass your java applications? Now I have the answer

    the way i do things are dif
    By that, you mean not following proper java conventions, no? If so, you should start.
    Reply With Quote  
     

  9. #29  
    The Emperor of the Sands

    Azir's Avatar
    Join Date
    Nov 2008
    Posts
    2,468
    Thanks given
    8
    Thanks received
    487
    Rep Power
    117
    Quote Originally Posted by Taylor Moon View Post
    [Only registered and activated users can see links. ]

    Do you half ass your java applications? Now I have the answer



    By that, you mean not following proper java conventions, no? If so, you should start.
    gratz, not a single fuck was given.


    Reply With Quote  
     

  10. #30  
    Registered Member Taylor Moon's Avatar
    Join Date
    Aug 2012
    Posts
    2,568
    Thanks given
    625
    Thanks received
    1,301
    Rep Power
    66
    Quote Originally Posted by King J Scape View Post
    gratz, not a single fuck was given.
    K. Gl with your server
    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. Donation Box (Mystery Box)
    By Project in forum Tutorials
    Replies: 24
    Last Post: 04-24-2014, 03:54 AM
  2. adding mystery box like?
    By joopz23 in forum Help
    Replies: 4
    Last Post: 08-17-2012, 10:10 PM
  3. [639] Mystery Box [636]
    By stormy in forum Snippets
    Replies: 5
    Last Post: 06-20-2012, 11:23 AM
  4. Mystery Box ModelID
    By afrodjman in forum Models
    Replies: 3
    Last Post: 05-03-2012, 09:23 PM
  5. Mystery Box
    By Kelso in forum Help
    Replies: 9
    Last Post: 10-19-2011, 01:57 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
  •