DICE PACKS BUNDLE

Thread: tab error

  1. #1

    tab error

    Code:
    [ERROR]  Script execution error: [string "common/scripts/buttongroup_tabs.lua"]:62: attempt to index field '?' (a nil value)
    Don't know why I'm getting this error. All the tabs I expect to see are showing up. The ones I didn't want are deleted, via empty controller with delete set...

    Need a clue on this, thankyou. !)

  2. #2
    When encountering an error, you may need to follow the chain of templates/scripts. Also, remember that your ruleset code is layered on CoreRPG, so you may have to look there as well.

    In this case, the template is called buttongroup_tabs, and runs a script called common/scripts/buttongroup_tabs.lua. If you open that file, you can see that those lines look like this:
    Code:
    		for _,v in ipairs(aTabs[index].controls) do
    			window[v].setVisible(false);
    		end
    So, the template is attempting to call a window control named by the subwindow tag in your "tabs" definition, and it can't find it.

    If you're having trouble post the window class detail in CODE tags, showing the tabs control and all the other controls in the window class.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in