FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Integrated dice rolling
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Integrated dice rolling [message #18916] Wed, 16 June 2004 21:06 Go to next message
shorter is currently offline  shorter   United States
Messages: 1
Registered: June 2004
Karma: 0
Junior Member
I'm considering using the forum for gaming purposes, and I'm curious if it would be possible to add commands to the forum posting capabilities. Suppose the game were AD&D (for a fairly commonly understood example) I'm imagining a command syntax something like:

Player X posts:
I swing to hit the Bandersnatch: [ roll ]1d20[/roll]

And the server actually calculates the desired roll and saves the message as:
I swing to hit the Bandersnatch: [[ 1d20 rolled: result = 17 ]]

The [[ xx ]] format would be used to indicate a server generated roll. To keep players from cheating and just posting the latter (i.e. make it look like the server rolled when it didn't), the server would also have to detect and reject the players from spoofing like that.

Obviously, this is fairly specialized functionality... is it something that could be manually added by someone with a decent PHP knowledge (I'd don't have that, but would be willing to learn)? Would it be possible? Would it be hard?

Thanks,
Scott
Re: Integrated dice rolling [message #18918 is a reply to message #18916] Thu, 17 June 2004 00:03 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
If you are reasonably well familiar with PHP you should be able to make this customization by editing post_proc.inc.t

FUDforum Core Developer
Re: Integrated dice rolling [message #167965 is a reply to message #18916] Tue, 27 November 2012 22:00 Go to previous messageGo to next message
Lifer4700 is currently offline  Lifer4700   United States
Messages: 11
Registered: September 2012
Karma: 0
Junior Member
Thread Necromancy for the win!


In the past 8 years, has anyone made any progress on this?
I would like the same functionality.

Re: Integrated dice rolling [message #168049 is a reply to message #167965] Wed, 02 January 2013 13:18 Go to previous messageGo to next message
NeXuS is currently offline  NeXuS
Messages: 121
Registered: July 2010
Location: South Korea
Karma: 5
Senior Member
Contributing Core Developer
Will think about it after I finish turning FUDf inside out. Razz
Re: Integrated dice rolling [message #169216 is a reply to message #168049] Tue, 10 September 2013 17:40 Go to previous message
Lifer4700 is currently offline  Lifer4700   United States
Messages: 11
Registered: September 2012
Karma: 0
Junior Member
Bump.

Anyone?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Highest Posting Members ?
Next Topic: Error in index.php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Mar 28 13:58:43 GMT 2024

Total time taken to generate the page: 0.02922 seconds