FG Spreadshirt Swag
Page 1 of 2 12 Last
  1. #1

    Error when opening NPCs list, cannot make new groups for NPCs

    I keep getting this error when I open the NPC menu, and it refuses to let me make a new group for NPCs, but I can make NPCs.

    [7/23/2021 5:13:57 AM] [ERROR] Script execution error: [string "scripts/data_library_SFRPG.lua"]:26: attempt to compare number with string

    This is a major problem because I am developing a module for use with a campaign later, and I've already entered about 800 items and I do NOT want to have to enter those again, I've put in days of work. But I may have to if I cant find a way to fix this so I can make categories for NPCs. Please help.

    Here's the log.

    Code:
    [7/23/2021 5:12:28 AM] FGU: v4.1.4 ULTIMATE (2021-06-08)
    [7/23/2021 5:12:28 AM] OS: Windows 10  (10.0.0) 64bit
    [7/23/2021 5:12:28 AM] GRAPHICS: NVIDIA GeForce GTX 1080 Ti : 11127
    [7/23/2021 5:12:28 AM] UI SCALE: 1
    [7/23/2021 5:12:28 AM] USER: MeepTheChangeling
    [7/23/2021 5:12:28 AM] Launcher scene starting.
    [7/23/2021 5:12:32 AM] Starting cloud server mode. [MeepTheChangeling]
    [7/23/2021 5:12:32 AM] Game server started. [104.248.118.207:59861]
    [7/23/2021 5:12:32 AM] Launcher scene exiting.
    [7/23/2021 5:12:32 AM] Match successfully created on lobby.
    [7/23/2021 5:12:32 AM] Tabletop scene starting.
    [7/23/2021 5:12:32 AM] NETWORK STATUS: [Server] [Connected]
      [Server Type - CLOUD - PRIVATE]
    [7/23/2021 5:12:41 AM] MEASURE: RULESETS LOAD - 9.0418161 - SFRPG
    [7/23/2021 5:12:42 AM] MEASURE: EXTENSIONS LOAD - 0.2450549 - 4
    [7/23/2021 5:12:43 AM] MEASURE: MODULE LIST BUILD - 1.038355 - 21
    [7/23/2021 5:12:43 AM] MEASURE: REFRESH IMAGE ASSETS - 0.0458874
    [7/23/2021 5:12:43 AM] MEASURE: REFRESH PORTRAIT ASSETS - 0.0040011
    [7/23/2021 5:12:43 AM] MEASURE: REFRESH TOKEN ASSETS - 0.0420104
    [7/23/2021 5:12:43 AM] MEASURE: ASSET LIST BUILD - 0.0928989
    [7/23/2021 5:12:44 AM] MEASURE: LOAD - PART 1 - 11.9303732
    [7/23/2021 5:12:45 AM] [ERROR]  Script execution error: [string "scripts/init_desktop.lua"]:3: attempt to call field 'showDockTitleText' (a nil value)
    [7/23/2021 5:12:45 AM] MEASURE: MODULE LOAD - 0.0080017 - Calendars
    [7/23/2021 5:13:08 AM] MEASURE: MODULE LOAD - 23.7716464 - Content Generator 2020 Any Ruleset
    [7/23/2021 5:13:12 AM] MEASURE: MODULE LOAD - 3.3174141 - Starfinder Alien Archive
    [7/23/2021 5:13:13 AM] MEASURE: MODULE LOAD - 0.9818274 - Starfinder Alien Archive (Players)
    [7/23/2021 5:13:16 AM] MEASURE: MODULE LOAD - 2.7473421 - Starfinder Armory
    [7/23/2021 5:13:19 AM] MEASURE: MODULE LOAD - 3.560567 - Starfinder Characters Operation Manual
    [7/23/2021 5:13:27 AM] MEASURE: MODULE LOAD - 7.933066 - Starfinder Core Rulebook
    [7/23/2021 5:13:30 AM] MEASURE: MODULE LOAD - 3.2817545 - Starfinder Starship Operations Manual
    [7/23/2021 5:13:30 AM] [WARNING]  template: Could not find template (chat_resize) in class (chat)
    [7/23/2021 5:13:30 AM] [ERROR]  Handler error: [string "scripts/manager_gmidentity.lua"]:98: attempt to index field 'speaker' (a nil value)
    [7/23/2021 5:13:31 AM] RULESET: SFRPG ruleset (v2021-07-13) for Fantasy Grounds
    Copyright 2004-2021 Smiteworks USA, LLC
    [7/23/2021 5:13:31 AM] RULESET: Core RPG ruleset (v2021-07-06) for Fantasy Grounds
    Copyright 2021 Smiteworks USA, LLC
    [7/23/2021 5:13:31 AM] EXTENSION: CreatureGen for Starfinder v2.0 Unity (GPL v3)\r Original CGen by Ken L\r Edited by Madman,Samarex and Mysteran for Starfinder
    [7/23/2021 5:13:31 AM] EXTENSION: SFRPG ChatBars (v2021-03-10) for Fantasy Grounds\rby Steve Buza
    [7/23/2021 5:13:31 AM] EXTENSION: Starfinder Bars Theme v1.6 by Steve Buza
    [7/23/2021 5:13:31 AM] EXTENSION: Extension (Calendar Plus) loaded.
    [7/23/2021 5:13:31 AM] MEASURE: LOAD - PART 2 - 46.4756269
    [7/23/2021 5:13:57 AM] [ERROR]  Script execution error: [string "scripts/data_library_SFRPG.lua"]:26: attempt to compare number with string

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,366
    Script errors are usually caused by extensions - either clashing with other extensions or with not being compatible with the current FG code.

    You've actually got three different errors - but they could be caused by the first error, which appears to be related to a theme or an extension that modifies the sidebar.

    Try disabling the Starfinder Bars Theme.
    Last edited by Trenloe; July 23rd, 2021 at 10:37.
    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!

  3. #3
    I removed all extensions, but the error is still happening. Here's the log with no extensions.

    Code:
    [7/23/2021 6:11:13 AM] FGU: v4.1.4 ULTIMATE (2021-06-08)
    [7/23/2021 6:11:13 AM] OS: Windows 10  (10.0.0) 64bit
    [7/23/2021 6:11:13 AM] GRAPHICS: NVIDIA GeForce GTX 1080 Ti : 11127
    [7/23/2021 6:11:13 AM] UI SCALE: 1
    [7/23/2021 6:11:13 AM] USER: MeepTheChangeling
    [7/23/2021 6:11:13 AM] Launcher scene starting.
    [7/23/2021 6:11:34 AM] Starting cloud server mode. [MeepTheChangeling]
    [7/23/2021 6:11:35 AM] Game server started. [104.248.118.207:63072]
    [7/23/2021 6:11:35 AM] Launcher scene exiting.
    [7/23/2021 6:11:35 AM] Match successfully created on lobby.
    [7/23/2021 6:11:35 AM] Tabletop scene starting.
    [7/23/2021 6:11:35 AM] NETWORK STATUS: [Server] [Connected]
      [Server Type - CLOUD - PRIVATE]
    [7/23/2021 6:11:44 AM] MEASURE: RULESETS LOAD - 8.7618747 - SFRPG
    [7/23/2021 6:11:44 AM] MEASURE: EXTENSIONS LOAD - 0.0010008 - 0
    [7/23/2021 6:11:45 AM] MEASURE: MODULE LIST BUILD - 1.0073697 - 21
    [7/23/2021 6:11:45 AM] MEASURE: REFRESH IMAGE ASSETS - 0.0430098
    [7/23/2021 6:11:45 AM] MEASURE: REFRESH PORTRAIT ASSETS - 0.0030006
    [7/23/2021 6:11:45 AM] MEASURE: REFRESH TOKEN ASSETS - 0.0580127
    [7/23/2021 6:11:45 AM] MEASURE: ASSET LIST BUILD - 0.1050233
    [7/23/2021 6:11:46 AM] MEASURE: LOAD - PART 1 - 11.3655575
    [7/23/2021 6:11:47 AM] MEASURE: MODULE LOAD - 0.0080018 - Calendars
    [7/23/2021 6:12:11 AM] MEASURE: MODULE LOAD - 23.991916 - Content Generator 2020 Any Ruleset
    [7/23/2021 6:12:14 AM] MEASURE: MODULE LOAD - 3.2021821 - Starfinder Alien Archive
    [7/23/2021 6:12:15 AM] MEASURE: MODULE LOAD - 0.9746027 - Starfinder Alien Archive (Players)
    [7/23/2021 6:12:17 AM] MEASURE: MODULE LOAD - 2.3967907 - Starfinder Armory
    [7/23/2021 6:12:21 AM] MEASURE: MODULE LOAD - 3.7240872 - Starfinder Characters Operation Manual
    [7/23/2021 6:12:29 AM] MEASURE: MODULE LOAD - 7.8360785 - Starfinder Core Rulebook
    [7/23/2021 6:12:32 AM] MEASURE: MODULE LOAD - 3.282757 - Starfinder Starship Operations Manual
    [7/23/2021 6:12:33 AM] RULESET: SFRPG ruleset (v2021-07-13) for Fantasy Grounds
    Copyright 2004-2021 Smiteworks USA, LLC
    [7/23/2021 6:12:33 AM] RULESET: Core RPG ruleset (v2021-07-06) for Fantasy Grounds
    Copyright 2021 Smiteworks USA, LLC
    [7/23/2021 6:12:33 AM] MEASURE: LOAD - PART 2 - 46.5999836
    [7/23/2021 6:12:44 AM] [ERROR]  Script execution error: [string "scripts/data_library_SFRPG.lua"]:26: attempt to compare number with string

  4. #4
    Quote Originally Posted by MeepTheChangeling View Post
    I removed all extensions, but the error is still happening. Here's the log with no extensions.

    Code:
    [7/23/2021 6:11:13 AM] FGU: v4.1.4 ULTIMATE (2021-06-08)
    [7/23/2021 6:11:13 AM] OS: Windows 10  (10.0.0) 64bit
    [7/23/2021 6:11:13 AM] GRAPHICS: NVIDIA GeForce GTX 1080 Ti : 11127
    [7/23/2021 6:11:13 AM] UI SCALE: 1
    [7/23/2021 6:11:13 AM] USER: MeepTheChangeling
    [7/23/2021 6:11:13 AM] Launcher scene starting.
    [7/23/2021 6:11:34 AM] Starting cloud server mode. [MeepTheChangeling]
    [7/23/2021 6:11:35 AM] Game server started. [104.248.118.207:63072]
    [7/23/2021 6:11:35 AM] Launcher scene exiting.
    [7/23/2021 6:11:35 AM] Match successfully created on lobby.
    [7/23/2021 6:11:35 AM] Tabletop scene starting.
    [7/23/2021 6:11:35 AM] NETWORK STATUS: [Server] [Connected]
      [Server Type - CLOUD - PRIVATE]
    [7/23/2021 6:11:44 AM] MEASURE: RULESETS LOAD - 8.7618747 - SFRPG
    [7/23/2021 6:11:44 AM] MEASURE: EXTENSIONS LOAD - 0.0010008 - 0
    [7/23/2021 6:11:45 AM] MEASURE: MODULE LIST BUILD - 1.0073697 - 21
    [7/23/2021 6:11:45 AM] MEASURE: REFRESH IMAGE ASSETS - 0.0430098
    [7/23/2021 6:11:45 AM] MEASURE: REFRESH PORTRAIT ASSETS - 0.0030006
    [7/23/2021 6:11:45 AM] MEASURE: REFRESH TOKEN ASSETS - 0.0580127
    [7/23/2021 6:11:45 AM] MEASURE: ASSET LIST BUILD - 0.1050233
    [7/23/2021 6:11:46 AM] MEASURE: LOAD - PART 1 - 11.3655575
    [7/23/2021 6:11:47 AM] MEASURE: MODULE LOAD - 0.0080018 - Calendars
    [7/23/2021 6:12:11 AM] MEASURE: MODULE LOAD - 23.991916 - Content Generator 2020 Any Ruleset
    [7/23/2021 6:12:14 AM] MEASURE: MODULE LOAD - 3.2021821 - Starfinder Alien Archive
    [7/23/2021 6:12:15 AM] MEASURE: MODULE LOAD - 0.9746027 - Starfinder Alien Archive (Players)
    [7/23/2021 6:12:17 AM] MEASURE: MODULE LOAD - 2.3967907 - Starfinder Armory
    [7/23/2021 6:12:21 AM] MEASURE: MODULE LOAD - 3.7240872 - Starfinder Characters Operation Manual
    [7/23/2021 6:12:29 AM] MEASURE: MODULE LOAD - 7.8360785 - Starfinder Core Rulebook
    [7/23/2021 6:12:32 AM] MEASURE: MODULE LOAD - 3.282757 - Starfinder Starship Operations Manual
    [7/23/2021 6:12:33 AM] RULESET: SFRPG ruleset (v2021-07-13) for Fantasy Grounds
    Copyright 2004-2021 Smiteworks USA, LLC
    [7/23/2021 6:12:33 AM] RULESET: Core RPG ruleset (v2021-07-06) for Fantasy Grounds
    Copyright 2021 Smiteworks USA, LLC
    [7/23/2021 6:12:33 AM] MEASURE: LOAD - PART 2 - 46.5999836
    [7/23/2021 6:12:44 AM] [ERROR]  Script execution error: [string "scripts/data_library_SFRPG.lua"]:26: attempt to compare number with string
    Please attempt to open a fresh campaign with no extensions and see if the error is reproduced. I'm not able to replicate it with the current code.
    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?-Feature Request

  5. #5
    Quote Originally Posted by superteddy57 View Post
    Please attempt to open a fresh campaign with no extensions and see if the error is reproduced. I'm not able to replicate it with the current code.
    It does not occur on a fresh campaign. How can I get the data from this campaign out and into a new one? I've put days of work into getting things set up, and I have about 30 hours before it's session 1.

  6. #6
    Please post your db.xml from your campaign here and I can have a look to see if one of your extensions may have messed with the structure of your NPCs.
    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?-Feature Request

  7. #7
    Thank you. I don't know what I'd do without this community to help.

    Here's the DB file.

  8. #8
    Quote Originally Posted by MeepTheChangeling View Post
    Thank you. I don't know what I'd do without this community to help.

    Here's the DB file.
    Thanks. I tested it with a fresh campaign. It loads the data contained in the file. I don't see an issue with the NPC's structure, so something is lingering that is causing the issue. Can you ensure you have all the extensions unloaded and attempt to replicate the error again? If it still continues, then the most straight forward method would be to create a new campaign and replace that new db.xml, for that campaign, with this one you have provided. The images would need to be added to this campaign to ensure linkage is correct. That would prolly be the only issue with the method I just described, as the images may need to be set up again.
    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?-Feature Request

  9. #9
    It still has the error. Replacing the DB file seems to have worked. I didn't know you could just do that. Thanks! Any idea what might have caused the error? I rather like the monster importer plugin, and Calendars.

  10. #10
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,366
    At lease one of the NPCs that is open in that campaign has a CR field of a string (something other than a number). It may be a module that has some incompatible data.

    Close all of your non-official modules and see if that helps. I reckon it might be the Content Generator module...

    Yep, it's the Content Generator module. The Anti Paladin and Commoner have CR fields of type string.
    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!

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
  •  
Starfinder Playlist

Log in

Log in