The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

19.06.13 at 10:35:15, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 2 
Dice 4 YaBB 2.1 beta (Read 8507 times)
Imp_In_Training
Hacker God
*****
Offline

Aberdeen, Maryland, USA
Posts: 608



Reply #15 - 20.09.06 at 09:19:47  
I'll bet you're right.  I don't even remember seeing it.  But I changed it and the separate dice results are shown now.  It doesn't explain why the target number is changing though.
 
IP Logged
 
mimit
Fulltime Hacker
***
Offline

Buenos Aires, Argentina
Posts: 247



Reply #16 - 21.09.06 at 15:28:45  
Hi Carsten, thanks a lot!!!!

Just one question, Im remember the old version of your dice mod, and in my forum some users find the way to cheat, if in the last shhot they dont get a hig score they go back to play again, does exist any way to dont allow thath?
 
IP Logged
 
Imp_In_Training
Hacker God
*****
Offline

Aberdeen, Maryland, USA
Posts: 608



Reply #17 - 21.09.06 at 18:11:18  
After reviewing the code for DiceAddRoll.pl, I see where I was getting confused.  The 'less than target' is a growing variable where each number beneath the target number is added, coming up with a sum value.  It is an interesting use, but not necessary and possibly confusing for my users.  Is there any way you could add this to a setting as well?  Allow the moderator the option whether or not he or she wanted to display the sum of target achievers - something to that effect?

Also, a >= or <= option before the target would be nice as well - in order to get the colors to work on all occasions.
 
IP Logged
 
Imp_In_Training
Hacker God
*****
Offline

Aberdeen, Maryland, USA
Posts: 608



Reply #18 - 10.11.06 at 09:39:47  
I take it you're either bogged down with higher priorities, or you have no intentions of addressing my comments earlier.  Guess it's ok if I make alterations to the .pl files to meet my own needs... huh?  Hope so.  Don't see why it wouldn't be unless I went and distributed the work... which I don't intend on doing.
 
IP Logged
 
Imp_In_Training
Hacker God
*****
Offline

Aberdeen, Maryland, USA
Posts: 608



Reply #19 - 13.11.06 at 22:54:24  
Carsten,

I've made some revisions to your DiceAddRoll.pl and dice.lng files.  Revisions are all for the Add Roll functionality, naturally.  They include:

  • Error checking for out-of-bounds value on the quantity.  I could be wrong, but it looked like anyone could plug in any positive integer and the script would go to work.  This left the site open for someone rolling thousands of dice and tying up resources in that manner.  Now, they are limited to rolling from 1 to 20 dice.  I can't see any reason why more than that would be needed.
  • Target Potential - can check a value for greater-than-or-equal-to, or less-than-or-equal-to... depending on the drop-down selection.
  • Target Fine-Tuning - I couldn't figure out what you were trying to do with the target value, but it was causing all sorts of confusion on my site.  So I've revised it to determine whether the roll was a success or failure, and leave it at that.  
  • Repetition rolling - Will allow you to repeat a roll within the same message post up to 10 times.  In the WOD games, I think 10 dice is a dice pool maximum value.
  • Success accumulation - For each success, if repetitions are > 1 and target is > 0, it will add up the number of successes and post the result at the bottom.


Now, I don't want to post this publicly, because it is your code after all.  I just tweaked it a little.  So I'll pass it to you in a private message and you can revise it officially if you like the changes.

Regards,

Imp In Training
 
IP Logged
 
Carsten
Mod Author of the Year 2003
*****
Offline

Langå, Denmark
Posts: 3281



Reply #20 - 16.11.06 at 15:13:53  
@Imp_In_Training - nice. Just seen your mail - will have a look at the additions later...
 
IP Logged
 

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
mimit
Fulltime Hacker
***
Offline

Buenos Aires, Argentina
Posts: 247



Reply #21 - 26.06.07 at 22:06:11  
My users cheat the sistem in Dice... they go back in the browser and play again...  Undecided
And some times they are displayed twice in the table points...
 
IP Logged
 
LurchBrick
Bloody Novice
*
Offline

Posts: 1



Reply #22 - 02.09.10 at 15:11:28  
G'day all,

I know this mod is quite old but I was wondering if anyone was planning on updating it to work on the latest version of the Yabb software?

Cheers
 
IP Logged
 
Imp_In_Training
Hacker God
*****
Offline

Aberdeen, Maryland, USA
Posts: 608



Reply #23 - 20.12.10 at 20:05:47  
I've stuck with YaBB 2.1 so I've had no need to update to a newer version.
 
IP Logged
 
Pages: 1 2 
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum