View Single Post
07/10/14, 03:06 PM   #12
deniz_irgin
Join Date: Jul 2014
Posts: 6
wxstc is nil

Hi,

Thank you for detailed instructions.

But i think i do something wrong. First i try to debug this code

Lua Code:
  1. if ESOAddonDev then   -- If available we are inside ZBS and need to do some work
  2.  
  3.   ESOAddonDev:GetXML([[Addon-Example\Addon-Example.xml]])
  4.  
  5.   -- More specific Code here (which helps to compile the lua)
  6. end

But i see ESOAddonDev's value is nil in debug time. The reason is wxstc (line :3131 in ESOAddonDev.lua) is nil and ESOAddonDev object cant initiliaze. What i understand wxstc is ZBS's global object for plugins. I think ZBS cant run ESOAddonDev as interpreter for this reason.

Edit :

Im new in lua. I do some research wxstc is part of WxWidgets for lua http://wxlua.sourceforge.net/download.php

I install luaforwindows (https://code.google.com/p/luaforwindows/) but i think wxLua is not part of this. I think i need to instal wxLua some how

Last edited by deniz_irgin : 07/10/14 at 03:22 PM.
  Reply With Quote