Thread: 5E - Theogeek's Natural 20
-
February 18th, 2021, 07:11 #31
- Join Date
- Jun 2018
- Posts
- 19
Hey TheoGeek, new error... 118 vs. 110
[ERROR] Script execution error: [string "scripts/5E-Theogeek-Nat20.lua"]:118:bad argument #1 to 'ipairs' (table expected, got string)
-
February 18th, 2021, 14:48 #32
OK...I can only reproduce this by dragging damage from a damage clause on a character sheet or the combat tracker without rolling... is that what you are doing? I've never considered that as a way to roll damage.
If that's a common use, I'll need to rework the extension to handle that scenario.
For now though, if you roll the dice instead of drag them, it should work.
Thanks!
-
February 19th, 2021, 22:48 #33
- Join Date
- Jun 2018
- Posts
- 19
Edited to rework this post, as my first attempt was confusing...
I believe my use-case is common, but would love to know if I am the aberration.
As I understand it, there are two ways of rolling TO HIT/DAMAGE:
* Drag/drop onto your target
* Select your target, then double-click the TO-HIT/DAMAGE section
My players and I have always defaulted to the first option.Last edited by EliForge; February 19th, 2021 at 22:56. Reason: Clarity
-
February 20th, 2021, 00:32 #34
-
February 20th, 2021, 03:04 #35
Making progress towards working for both drag-and-drop damage AND rolling damage...hopefully tonight or tomorrow! I'll test with Advanced Weapon Damage after I've got it working "normally".
-
February 20th, 2021, 17:54 #36
Figures! Now I have it working with BOTH drag and drop and rolls. YAY! But when I am using Advanced Weapon Damage, it only works with drag and drop! BOO! Progress I guess...
-
February 22nd, 2021, 18:35 #37
So, I noticed this error: [ERROR] Script execution error: [string "scripts/5E-Theogeek-Nat20.lua"]:332: attempt to index field '?' (a nil value)
Any thoughts? This is a clean 5e build with only a font ext installed. Also, it only happens when I use a number like DMG:1 and not when I use something like DMG:1d4. Thanks!
-
February 22nd, 2021, 20:58 #38
Yeah, I didn't code it to handle things I didn't do.
Seriously though, I'm working on an update that should fix stuff like that (*hopefully*), but I'm not sure when it'll be ready. *Hopefully* "soon"!
-
February 22nd, 2021, 21:00 #39
And bratch9 is being super helpful - and will likely be the reason this ends up working.
-
February 22nd, 2021, 21:16 #40
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks