View Full Version : Update 4.1.14: Shotgun damage is broken
g0ntzal
March 9th, 2022, 21:19
Hi all,
If you try to roll a shotgun damage (like "up to 3d6") you will get the following console error: "[3/9/2022 10:07:10 PM] [ERROR] Script execution error: [string "scripts/manager_rolls.lua"]:772: bad argument #1 to 'ipairs' (table expected, got no value)".
Moon Wizard
March 9th, 2022, 22:23
Can you provide me with some details on where you are rolling from? (i.e. steps to reproduce)
Thanks,
JPG
g0ntzal
March 10th, 2022, 06:25
Can you provide me with some details on where you are rolling from? (i.e. steps to reproduce)
Thanks,
JPG
Sure. Just create a new campaign for Savage Worlds Adventure, create a player character and add a shotgun to inventory.
Then, click on Combat tab and roll damage. You will get the console error message every time.
Do you want the logs compilation?
Mike Serfass
March 10th, 2022, 06:44
The heavy weapon modifier is also broken.
If you set a weapon's damage to
2d6 HW
it used to roll the damage properly and apply the heavy weapon effect.
Now it display an empty damage box for the weapon in the combat tab and gives the error "bad argument #1 to ipairs". It still puts the HW badge on the damage box properly.
You can work around this by setting damage to
2d6+0 HW
Bonus damage works properly with heavy weapon, thus the work around works.
Lonewolf
March 11th, 2022, 10:57
Confirmed adding HW breaks it now in more ways
If you set a weapon's damage to
2d6 HW it used to roll the damage properly and apply the heavy weapon effect.
Now it display an empty damage box for the weapon in the combat tab and gives the error "bad argument #1 to ipairs". It still puts the HW badge on the damage box properly.
You can work around this by setting damage to
2d6+0 HW
Bonus damage works properly with heavy weapon, thus the work around works.
Ironically in the last Pathfinder playtest up on twitch. I get a melee weapon with
Str+1d10 HW to roll as just 1d10 :confused:
The expected behaviour of HW has changed.
If you try to roll a shotgun damage (like "up to 3d6") you will get the following console error: "[3/9/2022 10:07:10 PM] [ERROR] Script execution error: [string "scripts/manager_rolls.lua"]:772: bad argument #1 to 'ipairs' (table expected, got no value)".
In vehicle combat damage thrown with HW also generates [ERROR] Script execution error: [string "scripts/manager_rolls.lua"]:772: bad argument #1 to 'ipairs' (table expected, got no value). This why I suspect the same route cause here.
Lonewolf
March 11th, 2022, 11:25
post deleted and rolled into code above for clarity
g0ntzal
March 11th, 2022, 14:45
Hopefully we will get the fixes soon…
Moon Wizard
March 11th, 2022, 16:00
This currently has a fix queued in the Test/beta channel, as noted in the Laboratory forum.
Regards,
JPG
g0ntzal
March 13th, 2022, 14:17
This currently has a fix queued in the Test/beta channel, as noted in the Laboratory forum.
Regards,
JPG
Thanks Moon Wizard, my workaround for shotgun broken damage is to roll it manually but I can't wait for the fix.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.