+Zorkan_Heneron Posted June 23, 2014 Share Posted June 23, 2014 I have almost completed a cartridge and now when I try to open it up in the builder I get the following: Error Reading Cartridge. System.ApplicationException: Exeption of type 'System.ApplicationException' was thrown. at Groundspeak.Wherigo.ZonesEngine.ZonesEngineDll.LuaDoFile(String filename) at ZonesAuthor.LuaFunctions.ReadLuaCartridge(String luaFileName) at ZonesAuthor.frmMain.OpenCartridgeFile() Any ideas on how I can resolve this. Zorkan Heneron Quote Link to comment
+charlenni Posted June 23, 2014 Share Posted June 23, 2014 Do you have a GWZ file (ZIP file with GWC file and all medias)? If yes, you could upload it to the new compiler site (http://foundation.rangerfox.com/tools/compiler.aspx) and see, where the problem is. If you only have the GWC file, you could download a Lua 5.1 compiler (http://sourceforge.net/projects/luabinaries/files/5.1.5/Tools%20Executables/lua-5.1.5_Win32_bin.zip/download) and compile the GWC file. Than you could altough see the problem. Quote Link to comment
+Zorkan_Heneron Posted June 23, 2014 Author Share Posted June 23, 2014 I downloaded the compiler and really don't know what to do after that. I started the program and a DOS window comes up. What to I do next? do I have to type in the path to the file? Quote Link to comment
+charlenni Posted June 24, 2014 Share Posted June 24, 2014 Oh, I forgot, that not all know, how to use the command line tool. Ok, you have two possibilities: 1. Send me the defekt GWC file via e-mail to info(at)wfplayer.com and I look, if I could find the problem 2. You follow the description below Howto use Lua compiler to check LUA files from Groundspeak Wherigo Builder under Windows 1. Copy the LUA file into the folder with the Lua compiler (it is the easiest way) 2. Open a command line by <Start><Run...>, type "cmd" and start it 3. Change the folder with "cd <Folder, where the Lua compiler is>" to the correct folder 4. Start the Lua compiler by "luac5.1.exe -p <filename of the LUA file>" 5. If there are any errors, than you see the messages on the screen Quote Link to comment
+charlenni Posted June 24, 2014 Share Posted June 24, 2014 To bring this to an end: the problem was, that the author used commands, which startet with a number (e.g. "666Z "). This creates not valid Lua code. To find such bugs, you could use the above mentioned approaches. The easiest is to zip the Lua file and upload it to http://foundation.rangerfox.com/tools/compiler.aspx. Select a device in the column "Compile" and you will see the problem and where to find it in the Lua file. Quote Link to comment
+Zorkan_Heneron Posted June 24, 2014 Author Share Posted June 24, 2014 Thanks Charlenni for fixing that for me. Bob Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.