Thread: Change Attack Type Error
-
March 7th, 2024, 16:46 #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.
-
March 7th, 2024, 21:11 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,581
Just pushed a hot fix for this issue.
Regards,
JPG
-
March 8th, 2024, 00:55 #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.
-
March 8th, 2024, 02:06 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,581
Yeah, send me the log file. That should have fixed the original one, but there might be others.
Thanks,
JPG
-
March 8th, 2024, 15:40 #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!
-
March 9th, 2024, 02:35 #6
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,581
Okay, just pushed another hot fix for this new error. Please run a new Check for Updates.
Regards,
JPG
-
March 9th, 2024, 18:16 #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