Thread: [PI] Mystery boxes WITH TUT

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11  
    Registered Member
    Join Date
    Mar 2013
    Posts
    318
    Thanks given
    86
    Thanks received
    56
    Rep Power
    0
    I don't care if they use it, just dont repost without permission...
    [Only registered and activated users can see links. ]
    Need a reliable programmer for your website?
    Add me on skype and let's talk!
    (Cheap and active, 24/7 support)
    Reply With Quote  
     

  2. #12  
    The sleeper

    Ashpire's Avatar
    Join Date
    Mar 2012
    Age
    24
    Posts
    2,611
    Thanks given
    875
    Thanks received
    1,674
    Discord
    View profile
    Rep Power
    955
    Quote Originally Posted by Shaloxis View Post
    because its re-written by me, and i dont like bieing leeched without credits.
    lol
    Reply With Quote  
     

  3. #13  
    Banned

    Join Date
    Apr 2012
    Age
    24
    Posts
    2,948
    Thanks given
    1,126
    Thanks received
    1,081
    Rep Power
    0
    You should move the array out of the if statement, you are creating alot of unneeded memory by leaving it there.
    Reply With Quote  
     

  4. #14  
    Banned
    Join Date
    Apr 2012
    Posts
    479
    Thanks given
    36
    Thanks received
    72
    Rep Power
    0
    Quote Originally Posted by Scott Perretta View Post
    You should move the array out of the if statement, you are creating alot of unneeded memory by leaving it there.
    actually you're wrong, it'll only create it when needed instead of for everyone even if they don't use it

    ot: super basic, not worth being a tutorial but decent for beginners
    Reply With Quote  
     

  5. #15  
    Registered Member

    Join Date
    Jan 2013
    Posts
    553
    Thanks given
    38
    Thanks received
    154
    Rep Power
    127
    Quote Originally Posted by SGPK View Post
    actually you're wrong, it'll only create it when needed instead of for everyone even if they don't use it

    ot: super basic, not worth being a tutorial but decent for beginners
    Know what static is mate?
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #16  
    RuneAdventure - The Epic Adventure

    Thock321's Avatar
    Join Date
    Jul 2011
    Posts
    1,809
    Thanks given
    706
    Thanks received
    363
    Rep Power
    416
    Quote Originally Posted by SGPK View Post
    actually you're wrong, it'll only create it when needed instead of for everyone even if they don't use it

    ot: super basic, not worth being a tutorial but decent for beginners
    It is created every time the method is called. That's creating it more times than necessary. Just declare it as a static constant and it will only be created once.
    Reply With Quote  
     

  7. Thankful user:


  8. #17  
    Registered Member
    Join Date
    Mar 2013
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    I tried this on my server but nothing happened - it didnt even come up with a mystery box it gave me a strange box? help please?
    Reply With Quote  
     

  9. #18  
    Community Veteran

    George's Avatar
    Join Date
    Mar 2009
    Posts
    7,059
    Thanks given
    2,100
    Thanks received
    2,939
    Rep Power
    5000
    Thanks alot man, this is so sweeeeeeeeeeeeet














    This entire thread is a joke


    Reply With Quote  
     

  10. Thankful user:


  11. #19  
    Registered Member
    Join Date
    Dec 2011
    Posts
    286
    Thanks given
    10
    Thanks received
    4
    Rep Power
    27
    You forgot to add a import:
    Code:
    import server.util.Misc;
    Reply With Quote  
     

  12. #20  
    Quality over quantity


    Join Date
    Dec 2011
    Age
    25
    Posts
    1,320
    Thanks given
    74
    Thanks received
    157
    Rep Power
    110
    You posted this in tutorials section. Nobody should have to ask of your permission before using it. And credits? You're not the first person to relese this, whether you wrote it a little differently or not lol.

    Anyways, that's for the release
    Reply With Quote  
     

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. Donation Box (Mystery Box)
    By Project in forum Tutorials
    Replies: 24
    Last Post: 04-24-2014, 03:54 AM
  2. Replies: 2
    Last Post: 12-27-2012, 05:15 AM
  3. 718 Mystery box Codes
    By L3git in forum Requests
    Replies: 12
    Last Post: 12-23-2012, 06:47 PM
  4. [317] Mystery Box [317]
    By pyrotic in forum Tutorials
    Replies: 25
    Last Post: 08-18-2011, 12:24 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
  •