View Full Version : Crash with custom extension
Loremaster
September 18th, 2019, 17:55
Hello
I m new in coding and like to make my ruleset with custom dice for the german "HeXXen 1733" rpg. I need only d6. THe custom symbols may appear on 1,5,6. 1 have a Starsymbol. 5 and 6 a Ravenhead. 2,3,4 is blank. I created the PNGs Image and modified the code. But When i start FG with this extension, the Programm crashed. You like to take a look in my code? I ll will glad :)
YenLucy
March 29th, 2020, 12:06
Hey, in your code I cannot see why the lua-file is needed... Could you explain that?
Trenloe
March 29th, 2020, 12:20
Hey, in your code I cannot see why the lua-file is needed... Could you explain that?
Welcome to the FG forums YenLucy!
Loremaster hasn't been around since they made the above post. I think they were obviously fairly new to coding in FG. In the LUA file they tried to override a dice result handler in ActionManager - but doing it incorrectly. The FG actions process is pretty complex, and for a new coder to attempt to change this can be very daunting - definitely not for a new coder unless they're wanting a challenging project and willing to do lots of reading and experimentation.
If you're interest in the FG action process, then this thread may help give you some insight: https://www.fantasygrounds.com/forums/showthread.php?35531-Fantasy-Grounds-v3-X-CoreRPG-based-Actions-(dice-rolling)
YenLucy
March 29th, 2020, 13:07
Hey Trenloe,
thank you for pointing that out for me^^ I am fairly new to coding in FGU too and I am trying to settle things out - your linked thread seems very helpful there. Thanks a lot :)
Wizards Ghost
June 16th, 2020, 15:57
Hi YenLucy,
are you still working on this? I guess for only doing the dice rolls its the easiest to use a rollabel table. If you are working on a hexxen for FG, maybe we cant team up.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.