PDA

View Full Version : Handler Error in 4E Combat Tracker



Jestocost
December 17th, 2022, 10:31
When I add an effect to a character or NPc in the combat tracker and change the duration, the log windows shows a handler error.

This occured since one of the last updates. I removed all extensions and modules and reinstalled everything, but the problem is still there.

Can someone replicate it?

superteddy57
December 17th, 2022, 10:40
I'm not able to replicate with a test character. I attempted these options:

1) add it manually in the combat tracker
2) drag and drop from the tool sidebar category effect list (tested a few of them)

You may need to post the error you are receiving and more specific steps. Posting your error can be done with a screenshot or by log compiling and posting them here. When the console appears, there is a button for compile logs and should place a zip file on your desktop if you are windows.

gamerhawaii
December 17th, 2022, 16:25
I got the error as well. I put a test effect on an NPC which had no entry for the duration. In the combat tracker I clicked on the duration to change it to Enc and it gave me the error.

[ERROR] Handler error: [string "C:ct_effect: expiration"]:23: attempt to index field 'initresult' (a nil value)
[ERROR] Handler error: [string "C:ct_effect: expiration"]:27: attempt to index field 'initresult' (a nil value)

Although I did notice that after I posted this that the NPC did not actually have a value for initiative yet. But when I filled in initiative or tried with other NPCs with initiative already filled in it would still sometimes generate the error, especially when changing back to having no (i.e., blank) duration.

https://i.imgur.com/H0a5NYr.png

Jestocost
December 20th, 2022, 08:19
Hi, thank you Gamerhawaii. So it's not just just me. Perhaps this can help @superteddy57 to find the bug.

superteddy57
December 20th, 2022, 09:01
Thanks, I was able to find what is causing the error and should be included with the next 4E update.

Moon Wizard
December 20th, 2022, 23:10
This update just went out.

Regards,
JPG

gamerhawaii
December 22nd, 2022, 01:55
Thank you. I really appreciate the super fast fix.