• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Contributions (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Dice Roller

Post a bug fix, a new feature, a theme ...

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby Chryzo » Sat Feb 28, 2009 11:07 am

Hello,

So I did find the dice roller from the demo27 nice. However it was very limited in its capacities and you could not roll 2 different type of dice at the same time.
So I made my own dice roller which you can find here:
http://test.chryzo.net/e107_plugins/php ... ss.php.txt

you can always test it here: http://test.chryzo.net/e107_plugins/php ... /index.php

I am not a php programmer and had a hard time coding it in php especially using OO models so bugs might still be present.

It pretty much accepts anything and there is no size limits (which might make it bug). To try it use /test 'formula'. (haven't replaced the old roll at the moment on the test server)

However thanks for the phpfreechat module. It is really nice and practical for people unwilling or unable to connect to irc servers through applets.

Regards,

Note: there are some bugs due to no parentheses management and multiplication/divisions...
Last edited by Chryzo on Sat Feb 28, 2009 11:26 am, edited 1 time in total.
Chryzo
New member
 
Posts: 3
Joined: Thu Feb 26, 2009 9:22 pm
Top

Post a reply
1 post • Page 1 of 1

Return to Contributions (v1.x)

Who is online

Users browsing this forum: No registered users and 6 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub