1. #1

    Crash with custom extension

    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
    Attached Files Attached Files

  2. #2
    Hey, in your code I cannot see why the lua-file is needed... Could you explain that?

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    26,044
    Quote Originally Posted by YenLucy View Post
    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/forum...(dice-rolling)
    FG Con 16 Fantasy Grounds Online RPG Convention - Postponed New date To Be Confirmed.
    Register at www.fg-con.com for all the latest info.

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  4. #4
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in