DICE PACKS BUNDLE
  1. #1

    Issues with sort NPCs

    Is anyone else experiencing issues with their sort by level and sort by role in the NPC window? I can sort by alphabet fine but the other two spit an error and no window opens.

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    What's the error?
    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
    Whoops, forgot something!

    Script Error: [string "scripts/data_library_4E.lua"]:7: attempt to index local 'v' (a nil value)

    for level, and

    Script Error: [string "scripts/data_library_4E.lua"]:11: attempt to index local 'v' (a nil value)

    for role

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    It's caused by an NPC without anything in the Level/Role field. The code should cater for that. Hopefully the devs pick this up...
    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!

  5. #5
    Thanks for reporting. It looks like the error is tied to fields being empty on load, and the label function in 4E not handling the "nil" condition. I've pushed a fix.

    Regards,
    JPG

  6. #6
    Nice prompt resolution. Thanks as always!

Thread Information

Users Browsing this Thread

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

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