5E Product Walkthrough Playlist
  1. #1

    Join Date
    Sep 2020
    Location
    Ballston Lake, NY
    Posts
    600

    Change Attack Type Error

    I'm using the SWADE ruleset, no extensions.
    When changing an attack type of a weapon on the Combat tab, I get
    [string "SavageWorlds:campaign/scripts/attack.lua"]:21: attempt to index global 'main' (a nil value)

    This also happens for powers when changing the linked arcane background.
    The log is attached.

    Let me know if you need any more information. I can go through the SWADE code to debug, if you like.
    Attached Files Attached Files

  2. #2
    Just pushed a hot fix for this issue.

    Regards,
    JPG

  3. #3

    Join Date
    Sep 2020
    Location
    Ballston Lake, NY
    Posts
    600
    That didn't do it.
    I made sure
    I'll send a new log file after game.

    I don't envy you the long day you're having.

  4. #4
    Yeah, send me the log file. That should have fixed the original one, but there might be others.

    Thanks,
    JPG

  5. #5

    Join Date
    Sep 2020
    Location
    Ballston Lake, NY
    Posts
    600
    Here's the log file.
    Interesting clues:
    If I leave the attack window open then restart the campaign, changing the attack type does not throw the nil error.
    If I close that attack, reopen it, then change the attack type, it still does not throw the error.
    Opening a different attack still does throw the error.
    If I close the first attack window, restart the campaign, open that attack, it goes back to throwing the error.
    If I have open the main attack window (using the far right button), and have open the attack info sub window (using the right click option), both pointing to the same attack, changing the attack type in one window does not update the other window. Maybe a missing listener is the culprit?

    If that's not clear enough I'll do screen shots.

    Thanks!
    Attached Files Attached Files

  6. #6
    Okay, just pushed another hot fix for this new error. Please run a new Check for Updates.

    Regards,
    JPG

  7. #7

    Join Date
    Sep 2020
    Location
    Ballston Lake, NY
    Posts
    600
    That resolved the error. I tested attacks and powers. Thank you!

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
  •  
DICE PACKS BUNDLE

Log in

Log in