View Full Version : Can't Add placed NPC from Encounter to Combat Tracker
Talen
June 17th, 2023, 19:43
Hi all. I am using the OSE ruleset, have manually replaced NPC's from the B2 Module (Keep on the Borderlands) with counterparts from OSE Advanced Referee's Tome and then added an animated token. No extensions are running. I have placed the NPC's from the encounter to the map, but when I hit the button to add to the combat tracker, I get the following error: "[ERROR] Script execution error: [string "OSE2:scripts/CombatManagerOSE.lua"]86:attempt to call field 'addNPC' (a nil value). Any suggestions?
bayne7400
June 17th, 2023, 19:56
yeah post in OSE forum to make sure I see it. I don't generally look at posts like this but I saw you posted it.
That function was removed from CoreRPG. I don't ever recall seeing the deprecated message. So I'll see about getting it updated.
bayne7400
June 17th, 2023, 20:40
OK Talen Update Pushed
RScottSteele
June 18th, 2023, 21:09
I am seeing a similar error in my 4E D&D game. I can't add the NPCs to the combat tracker from the encounter window. I get the message "[ERROR] Script execution error: [string "CoreRPG:scripts/manager_combat_record.lua"]:557: attempt to index field 'npcs' (a nil value)". I had to add the NPCs manually to the combat tracker, then place them on the map from there.
bayne7400
June 18th, 2023, 21:13
Yeah issue is similar. Moon Wizard knows and is pushing an update for Tuesday.
GerryWright
June 24th, 2023, 20:56
I am having the exact same problem with the characters from an encounter not going into the combat tracker when I use the "Add Encounter to Combat Tracker" button. I get the error message [ERROR] script execution error: [string "C:battle:addct"]:12 attempt to call field 'addBattle' (a nil value). I am running the DnD 5e rule set. I had this problem last night as I was running a game, and it is still happening today.
Trenloe
June 24th, 2023, 21:06
I am having the exact same problem with the characters from an encounter not going into the combat tracker when I use the "Add Encounter to Combat Tracker" button. I get the error message [ERROR] script execution error: [string "C:battle:addct"]:12 attempt to call field 'addBattle' (a nil value). I am running the DnD 5e rule set. I had this problem last night as I was running a game, and it is still happening today.
See my reply to your first thread about this: https://www.fantasygrounds.com/forums/showthread.php?78296-Trouble-adding-npc-s-to-combat-tracker-from-encounter-window
GerryWright
June 24th, 2023, 23:35
I did some checking around and found that there has been a very recent update to Critically Awesome Essentials that I somehow missed. When I installed the updated files, things seem to be working again.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.