Thread: PI cleaned up dice system.

Results 1 to 10 of 10
  1. #1 PI cleaned up dice system. 
    Registered Member
    Join Date
    Feb 2012
    Posts
    368
    Thanks given
    24
    Thanks received
    26
    Rep Power
    14
    I'm aware this is a very easy way of doing this but it's clean and small.

    Code:
    if (playerCommand.equalsIgnoreCase("dice")) {
    				if(c.inWild()) {
    					c.sendMessage("Er, it's not to smart to do this in the Wilderness.");
    					return;
                    }
                    if (c.playerRights == 0) {
                    	c.forcedText = "I'm Not A Donor+, So, I Can't Dice!";
                    	c.sendMessage("You must be a donor or staff to dice!!!!");
                    }
                    c.forcedText = "["+ Misc.optimizeText(c.playerName) +"] Just Rolled "+ Misc.random(100) +" On The Dice!";
                    c.forcedChatUpdateRequired = true;
                	c.updateRequired = true;
    			}
    Pretty simple if you want a little dice system.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2011
    Posts
    480
    Thanks given
    36
    Thanks received
    34
    Rep Power
    32
    doesn't support clan chat D:
    http://www.rune-server.ee/nophp/signaturepics/sigpic162952_6.gif
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2012
    Posts
    368
    Thanks given
    24
    Thanks received
    26
    Rep Power
    14
    Nah, It's a shout-out dice system :\
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Oct 2011
    Posts
    861
    Thanks given
    371
    Thanks received
    214
    Rep Power
    0
    What exactly did you clean up? This looks like 2 minutes of work.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2012
    Posts
    368
    Thanks given
    24
    Thanks received
    26
    Rep Power
    14
    Quote Originally Posted by Paradox_ View Post
    What exactly did you clean up? This looks like 2 minutes of work.
    That's because it is.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Feb 2012
    Posts
    410
    Thanks given
    15
    Thanks received
    2
    Rep Power
    20
    guys i need the gfx of client or help client sided with this dice cause if i do :: dice, client freezes anyone know a fix for it ?
    Reply With Quote  
     

  7. #7  
    GANGNAM STYLE!

    Ohad's Avatar
    Join Date
    Aug 2011
    Posts
    3,182
    Thanks given
    152
    Thanks received
    352
    Rep Power
    1671
    dice has been released so many times...and with clan chat etc...
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Feb 2012
    Posts
    368
    Thanks given
    24
    Thanks received
    26
    Rep Power
    14
    Quote Originally Posted by tlsown View Post
    guys i need the gfx of client or help client sided with this dice cause if i do :: dice, client freezes anyone know a fix for it ?
    This doesn't even use any gfx?

    @ Xtinction

    I'm aware it's already been released. It's just a cleaned up version of the dice system.

    Please read the topic.
    Reply With Quote  
     

  9. #9  
    Banned
    TrustedDealer's Avatar
    Join Date
    Jan 2011
    Posts
    915
    Thanks given
    98
    Thanks received
    241
    Rep Power
    0
    Quote Originally Posted by Deception-pkz View Post
    This doesn't even use any gfx?

    @ Xtinction

    I'm aware it's already been released. It's just a cleaned up version of the dice system.

    Please read the topic.
    There is no point in a shout-out system because people will be accused of cheating. E.G, forcedText only shows in the chatbox for the person who says it and if the person who has bet misses the text when it is said, the dicer can say that it was a lose.

    Clans are alot better.

    Also, everyone can make a command that shows a random number.

    Other than that, good job for the effort.
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Feb 2012
    Posts
    368
    Thanks given
    24
    Thanks received
    26
    Rep Power
    14
    Quote Originally Posted by TrustedDealer View Post
    There is no point in a shout-out system because people will be accused of cheating. E.G, forcedText only shows in the chatbox for the person who says it and if the person who has bet misses the text when it is said, the dicer can say that it was a lose.

    Clans are alot better.

    Also, everyone can make a command that shows a random number.

    Other than that, good job for the effort.
    I'm a rookie
    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. [PI]Custom dice-like betting system[PI]
    By Saleen in forum Snippets
    Replies: 11
    Last Post: 08-02-2012, 08:14 PM
  2. dice?
    By Ohad in forum Help
    Replies: 1
    Last Post: 10-27-2011, 09:14 PM
  3. [TUT] Shop System For Dice [/Pi]
    By Jilic-Matt in forum Tutorials
    Replies: 9
    Last Post: 08-24-2011, 05:07 AM
  4. Replies: 8
    Last Post: 07-09-2010, 09:44 AM
  5. Replies: 12
    Last Post: 04-22-2008, 03:18 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
  •