Thread: Desktop Manager Problem
-
September 13th, 2008, 08:13 #1
Desktop Manager Problem
If a ruleset is updated to use the new desktop manager code (from d20 release 12), it will no longer work on v2.1.1 due to a problem with the desktopmanager.lua file. The rulesets *should* work, as the new desktop manager code doesn't seem to use v2.2 engine functionality at all.
I get an "attempt to index global 'table' (a nil value)" error on line 75:
Code:75: table.insert(delayedCreate, createFunc);
Foen
-
September 13th, 2008, 12:13 #2
No such change, and the table table should always be there when scripts are evaluated. I think the most likely explanations for the error would be either a variable called 'table' being declared somewhere in the environment in which the call to registerStackShortcut is made, or an earlier script error somewhere that's confusing the entire script engine.
Tero Parvinen
Fantasy Grounds Guru
-
September 13th, 2008, 14:04 #3
Might it be to do with the embedded local function definition in the preceding few lines? Perhaps your previous Lua interpreter couldn't handle it.
Stuart
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks