DICE PACKS BUNDLE
Page 88 of 109 First ... 3878868788899098 ... Last
  1. #871
    Quote Originally Posted by icecrmman View Post
    I took a hiatus from working on a project, the dice boxes worked then, but now I get this error;

    [ERROR] Script execution error: [string "RulesetWizardDiceRoller.lua"]:41: attempt to call field 'getActor' (a nil value).

    Any help would be appreciated.
    you are probably using an outdated version of the Wizard. Be sure to update to the latest version, using the update button or, if it does not appear, by downloading the latest version from the web site:

    https://www.rulesetwizard.com/wp-con...izardSetup.zip
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

  2. #872
    Quote Originally Posted by damned View Post
    getActor has been deprecated (by Fantasy Grounds not by the RSW)

    you need to replace
    ".getActor("pc", "
    with
    ".resolveActor("
    without the quotes
    and the same for
    ".getActor("npc", "
    Much appreciated
    Last edited by icecrmman; August 24th, 2022 at 16:12.

  3. #873
    Quote Originally Posted by psicodelix View Post
    you are probably using an outdated version of the Wizard. Be sure to update to the latest version, using the update button or, if it does not appear, by downloading the latest version from the web site:

    https://www.rulesetwizard.com/wp-con...izardSetup.zip
    I am currently using Version 8.1 Hydra I downloaded and repaired using the link you provided but I continue to get the error do I need to manually replace anything? I am not much of a programmer, so I'm somewhat lost here.
    Last edited by icecrmman; August 24th, 2022 at 15:59.

  4. #874
    Quote Originally Posted by damned View Post
    getActor has been deprecated (by Fantasy Grounds not by the RSW)

    you need to replace
    ".getActor("pc", "
    with
    ".resolveActor("
    without the quotes
    and the same for
    ".getActor("npc", "
    using the Code Inspector I was unable to find .getActor(
    Last edited by icecrmman; August 24th, 2022 at 16:12.

  5. #875

  6. #876
    Quote Originally Posted by icecrmman View Post
    I am currently using Version 8.1 Hydra I downloaded and repaired using the link you provided but I continue to get the error do I need to manually replace anything? I am not much of a programmer, so I'm somewhat lost here.
    the fact that the error is in the RulesetWizardDiceRoller.lua file makes me think that the ruleset is using an old version of that file, which was updated some time ago to replace getActor() with resolveActor().
    Make sure you are compiling the ruleset in the correct folder, that you are not using a different channel (test,...) and that you don't have duplicate ruleset in folder and .pak file.
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

  7. #877
    I can make a change to the charactersheet and it takes affect after I compile it in FGU. I am running in the (Live) channel I'm not sure what you mean about duplicate rulesets. Do you know when or about when the change was made I might find the culprit by searching for dates?

    When I look in the .pak file at RulesetWizardDiceRoller.lua there is no .getactor in the file, only .resolveActor on line 83

  8. #878
    Duplicate

  9. #879
    Quote Originally Posted by damned View Post
    do you have an unpacked copy of your ruleset that is being read?
    I do not, no.
    I know it as to be something I've done because it is the only ruleset that I am working on that gets the error.

  10. #880
    I deleted the Ruleset, then renamed it in Ruleset Wizard and created a new campaign and that seems to have dealt with the issue.

    I want to thank both Damned and Psicodelix for your help.

    Your suggestions lead me to the solution.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in