-
January 25th, 2023, 20:26 #101
- Join Date
- Jul 2021
- Posts
- 2
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.
-
January 25th, 2023, 20:36 #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
-
January 25th, 2023, 21:00 #103
- Join Date
- Jul 2021
- Posts
- 2
-
January 25th, 2023, 21:10 #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+GuideDominic 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
-
January 27th, 2023, 03:18 #105
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.
-
January 27th, 2023, 03:29 #106
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
-
January 27th, 2023, 03:30 #107
Also I am pretty sure CPRED is getting very close!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks