STAR TREK 2d20
Page 11 of 11 First ... 91011
  1. #101
    Hi, I know this thread hasn't been active, but I wasn't sure where else to ask about the CP2020 extension on Fantasy Grounds Unity. I'm using the Demo version, but my friend has the full version, not sure if that matters.

    I downloaded the v1.24 CP2020 extension, and the MoreCore Ruleset from the Forge. Which resolved some of the LUA script issues I had when initially trying the extension. But, I get script errors even after all of that.
    [ERROR] Script Execution error: [string "MCCP2020v1.24:..pts/data_library_cp2020.lua"]:6: attempt to call field 'setStackIconSizeandSpacing' (a nil value) <= This error occurs on start up of a new campaign
    [ERROR] Script Execution error: [string "C:char_skill:total"]:15: attempt to call field 'getActor' (a nil value) <= This error occurs when attempting to use a skill from a character sheet.

    Now, I understand that these lua files are running scripts, and I can open them in something like Notepad++. And I can open this "data_library_cp2020.lua" file, and see that on line 6, we try to call the "DesktopManager.setStackIconSizeAndSpacing(47, 27, 3, 3, 4, 0)"
    Is the error saying that the method "setStackIconSizeAndSpacing( . . .)" isn't found? Is it saying that the parameters being passed to it aren't found? Or, is it saying that the return value of this function/method is null/nil?

    At the end of the day, I want to resolve the issues, so I can try and play CyberPunk 2020 using FGU. But, if along the way, I learn a thing or two, that'd be great.

  2. #102
    From the errors, it appears the extension hasn't been updated with the changes from it's creation to the current code structure in FGU. So the extension would have to be updated to resolve those issues.
    Dominic Morta
    Ruleset Developer
    Smiteworks

    How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it

    How to provide an Unity Connection issue?-Connection Issues and What to Provide

    Unity Updater issue?-Updater Issues

    Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained

    Comcast or Cox ISP User?-Comcast XFinity and Cox Users

    Have a suggestion?-Idea Informer

  3. #103
    Quote Originally Posted by superteddy57 View Post
    From the errors, it appears the extension hasn't been updated with the changes from it's creation to the current code structure in FGU. So the extension would have to be updated to resolve those issues.
    Okay, that's a start. Are there any resources to see what kind of changes would need to be made? Maybe just crack open a working extension for the MoreCore ruleset and figure out what's different?

  4. #104
    You can look over the wiki and check out the developer guides there. The discord for FG has a mod_creation channel to ask questions in real time or the workshop here on the forums.

    https://fantasygroundsunity.atlassia...eveloper+Guide
    Dominic Morta
    Ruleset Developer
    Smiteworks

    How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it

    How to provide an Unity Connection issue?-Connection Issues and What to Provide

    Unity Updater issue?-Updater Issues

    Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained

    Comcast or Cox ISP User?-Comcast XFinity and Cox Users

    Have a suggestion?-Idea Informer

  5. #105
    Mach5RR's Avatar
    Join Date
    Jun 2019
    Location
    San Diego, CA
    Posts
    38
    Yeah, I was ignoring it and was trying to recreate it from scratch. The problem I ran into was the skills tab.When I try to create it, based off of how other rulesets were done it takes that tab approximately 4 seconds to load on initial startup. That has driven me bonkers, and I kinda stepped away to do other things.

    Let me revisit it, and see what progress I can make. There are things I can do to make it work a lot like CP RED, so I can use that as a visual template.

  6. #106
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    25,988
    Blog Entries
    1
    What you can do is check whether there are ANY skills and if there are do not run the script. That will be quicker.
    The script you reference is only running once per toon per session.
    Ofc when you are coding and doing non stop restarts and coding tweaks those 4 seconds start to add up

  7. #107

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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

Log in

Log in