-
August 29th, 2014, 08:38 #1
Saint
- Join Date
- Apr 2007
- Location
- Mississippi, USA
- Posts
- 1,096
Attempt to call 'onTokenDelete' (a nil value) error
4e rule set
Every time I delete a token I get the following error:
Code:Script Error: [string "scripts/manager_token.lua"]:97: attempt to call field 'onTokenDelete' (a nil value) Script Error: [string "scripts/manager_token.lua"]:97: attempt to call field 'onTokenDelete' (a nil value) Script Error: [string "scripts/manager_token.lua"]:97: attempt to call field 'onTokenDelete' (a nil value) Script Error: [string "scripts/manager_token.lua"]:97: attempt to call field 'onTokenDelete' (a nil value) Script Error: [string "scripts/manager_token.lua"]:97: attempt to call field 'onTokenDelete' (a nil value) Script Error: [string "scripts/manager_token.lua"]:97: attempt to call field 'onTokenDelete' (a nil value) Script Error: [string "scripts/manager_token.lua"]:97: attempt to call field 'onTokenDelete' (a nil value)
Next I get the following error whenever I create an encounter and drag the tokens to the map:
Code:Script Error: [string "battle_npcmaplink:token"]:1: attempt to call field 'getNPCSpaceReach' (a nil value)
Support:
https://support.fantasygrounds.com/
-
August 29th, 2014, 11:31 #2
what extensions have you got loaded?
does it do this in a new 4e campaign?
remove all tokens from the combat tracker and restart. Does it still happen?
-
August 29th, 2014, 16:18 #3
Saint
- Join Date
- Apr 2007
- Location
- Mississippi, USA
- Posts
- 1,096
Support:
https://support.fantasygrounds.com/
-
August 29th, 2014, 16:35 #4
You have no extensions loaded when you try it in a new campaign?
The error your seeing sounds like you're running an old version of the enhanced images extension - please update to the latest and retest.
Most extensions use copies of sections of code from a FG ruleset. This means that when FG updates to a new ruleset, older extensions can be broken/break some functions in FG and need to be updated to use the most recent FG ruleset code.
The golden rule when getting script errors like these is:
- Check if you have any extensions enabled. If you do, try to recreate the issue in a brand new campaign with no extensions enabled. This will help to identify if the issue is in the base ruleset or might be caused by an extension or campaign data. If the issue occurs within the base ruleset (a new campaign with no extensions loaded) then post in the House of Healing forum with details of the issue (like you have here).
- If you do have extensions enabled for your campaign, check the relevant extension development pages to see if there is an updated extension and use that.
- If, after updating your extensions, the error still occurs remove each extensions one-by-one and restest. This will help to identify which extension is causing the issue. If you identify an extension that is causing an issue and there is no updated extension, let the extension developer know - there will usually be a forum thread for the specific extension.
- If, after removing all extensions the issue still occurs (and it doesn't occur in a brand new campaign for the same ruleset) then post in the House of Healing thread saying that the issue just occurs for a specific campaign - be prepared to provide your campaign files for further debugging.
The above process is especially important after a FG version update.
I'd suggest you check the extensions pages for all of the extensions you use and see if there is a version updated to FG 3.0.7.Last edited by Trenloe; August 29th, 2014 at 20:02.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
August 29th, 2014, 19:19 #5
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,410
If you can identify which extension is creating the problem please let the extension creator know if you find there is not an update.
-
August 29th, 2014, 19:31 #6
Saint
- Join Date
- Apr 2007
- Location
- Mississippi, USA
- Posts
- 1,096
Where can I find the most recent version of enhanced images?
Support:
https://support.fantasygrounds.com/
-
August 29th, 2014, 19:45 #7
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,410
Its listed in the list of CoreRPG extensions which is a sticky. The actual thread is: https://www.fantasygrounds.com/forum...-on-CoreRPG%29
-
August 30th, 2014, 09:45 #8
Saint
- Join Date
- Apr 2007
- Location
- Mississippi, USA
- Posts
- 1,096
Updating the enhanced images extension removed the errors.
I was under the impression that it would update automatically with fantasy grounds, apparently I was wrong.Support:
https://support.fantasygrounds.com/
-
August 30th, 2014, 09:54 #9
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks