Fabula Ultima

A haven for Tabletop roleplaying fans! Discuss any of your favorite tabletop games, or share your own here!
User avatar
Senkusha
Seasoned Adventurer
Posts: 78
Joined: Sat Mar 01, 2025 3:23 am
Location: Boston, MA, USA
Contact:

Re: Fabula Ultima

Post by Senkusha »

Ah! Yeah, the age old problem that afflicts all forums, the extension mod and the developer who moves on...

This is a shame that there seems to be nothing currently up to version phpBB 3.3, however, I did find a mod that was upgraded to 3.2, unfortunately, that developer was Banned from the main site. He did leave a forwarding address, which I peeked at. I'm not sure how much an upgrade would cost, and I've never worked with phpBB before, otherwise, I'd be tempted to build a mod, but it wouldn't be very pretty.

I do know the basic bits of PHP code that would be needed:
mt_rand(int $min, int $max): int

Code: Select all

RollDice (5,20); // Rolls 5d20.


function RollDice ($numDice = 1, $numSides = 6, )
{
$rollResults = new array();

for ($dieRoll = 0; $dieRoll < $numDice; $diRoll ++)
  $rollResult[] = mt_rand(0, $dieMax);
  
echo 'You Rolled:  ' .  implode ('$rollResults, ', ');
return 0;
}
That's a really basic function, but note that I haven't built anything in PHP in like a year, so I'm a tad rusty, this probably won't work out of the box. But, this is to demonstrate the core of a dice roller function. Now how to get this function to work with a BBCode within phpBB, I don't know. If this was SMF, I could figure it out in like a week (or actually, just send you the Dice Roller code that works for 2.1.4). I might be able to use something like DeepSeek and cheat a bit, however, I'd take anything that AI generates with a bag of salt, because well, it has a nasty habit of hallucination and spewing just random crap.
--Senkusha, Webmistress
(and ancient game master)
User avatar
Ravenfreak
Site Admin
Site Admin
Posts: 581
Joined: Tue Feb 18, 2025 10:07 pm

Re: Fabula Ultima

Post by Ravenfreak »

Thank you for attempting this, I don't know any php myself. And yeah you're right about AI, it could theoretically write the code but it'd probably be a glitchy mess that needs to be optimized. I am somewhat decent at modifying existing code, but if I don't know the language I can't get too far. (If I wasn't busy with my websites and a Youtube channel I would probably find the time to learn php though lol.)
User avatar
Senkusha
Seasoned Adventurer
Posts: 78
Joined: Sat Mar 01, 2025 3:23 am
Location: Boston, MA, USA
Contact:

Re: Fabula Ultima

Post by Senkusha »

There is always the option of attempting a test using the 3.2 version. Noting any errors that occur and then maybe tweaking those.
--Senkusha, Webmistress
(and ancient game master)
1stop
Expert Adventurer
Expert Adventurer
Posts: 391
Joined: Thu Mar 27, 2025 12:54 am

Re: Fabula Ultima

Post by 1stop »

You can browse GitHub to find mods you can download and that are available for free or request to create one.
Post Reply