+SpeedCore Posted April 12, 2009 Share Posted April 12, 2009 (edited) Hi there, after i have spent 2 days of building my first cartridge, i couldn't publish it to my machine for some reason. I closed the builder and saved the cartridge to restart, but now i can't even open the LUA-File I havwe a working .gwl of this cartridge, but i think converting to lua is impossible, isn't it? I attached my .lua, .bkup, .enc file (in .zip) and the screenshot with the message when trying to open the cartridge. Somebody please help and save the hard work! Best regards, Florian ruine.zip Edited April 12, 2009 by SpeedCore Quote Link to comment
+wolfmaster Posted April 12, 2009 Share Posted April 12, 2009 Good Luck with this. I am just starting out too and ran into the same problem as you although maybe not the same exception. No matter what I did I would get an exception. I even tried reinstalling my builder but when I rewrote the cartridge it would fail. Finally I ended up reducing the size of my jpgs and I haven't had the prolbem since. The jpgs didn't seem that big but changing the size sure helped me. Hi there, after i have spent 2 days of building my first cartridge, i couldn't publish it to my machine for some reason. I closed the builder and saved the cartridge to restart, but now i can't even open the LUA-File I havwe a working .gwl of this cartridge, but i think converting to lua is impossible, isn't it? I attached my .lua, .bkup, .enc file (in .zip) and the screenshot with the message when trying to open the cartridge. Somebody please help and save the hard work! Best regards, Florian Quote Link to comment
+charlenni Posted April 12, 2009 Share Posted April 12, 2009 Hello, I think, it's a problem with the german language: you used üöäÜÖÄß in your cartridge. Replace all üöäÜÖÄß with normal ASCII letters (ae instead of ä). Use allways only a..z A..Z. Best regards Dirk (Charlenni) PS: Es liegt vermutlich an den verwendeten Umlauten. Sowohl der Builder, als auch der Player können nicht mit Umlauten. Und das heißt, dass sie sie nicht nur nicht anzeigen, sondern einfach abstürtzen ;-) Hi there, after i have spent 2 days of building my first cartridge, i couldn't publish it to my machine for some reason. I closed the builder and saved the cartridge to restart, but now i can't even open the LUA-File I havwe a working .gwl of this cartridge, but i think converting to lua is impossible, isn't it? I attached my .lua, .bkup, .enc file (in .zip) and the screenshot with the message when trying to open the cartridge. Somebody please help and save the hard work! Best regards, Florian Quote Link to comment
+SpeedCore Posted April 12, 2009 Author Share Posted April 12, 2009 Good Luck with this. I am just starting out too and ran into the same problem as you although maybe not the same exception. No matter what I did I would get an exception. I even tried reinstalling my builder but when I rewrote the cartridge it would fail. Finally I ended up reducing the size of my jpgs and I haven't had the prolbem since. The jpgs didn't seem that big but changing the size sure helped me. Hi there, after i have spent 2 days of building my first cartridge, i couldn't publish it to my machine for some reason. I closed the builder and saved the cartridge to restart, but now i can't even open the LUA-File I havwe a working .gwl of this cartridge, but i think converting to lua is impossible, isn't it? I attached my .lua, .bkup, .enc file (in .zip) and the screenshot with the message when trying to open the cartridge. Somebody please help and save the hard work! Best regards, Florian So it seems, i really have to start from scratch I'm really disappointed about the Builder-Application. It hasn't been updated since one year and has so many bugs... Is Wherigo dead already? ;( I would appreciate, if someone could fix my .lua Quote Link to comment
+SpeedCore Posted April 12, 2009 Author Share Posted April 12, 2009 Hello, I think, it's a problem with the german language: you used üöäÜÖÄß in your cartridge. Replace all üöäÜÖÄß with normal ASCII letters (ae instead of ä). Use allways only a..z A..Z. Best regards Dirk (Charlenni) PS: Es liegt vermutlich an den verwendeten Umlauten. Sowohl der Builder, als auch der Player können nicht mit Umlauten. Und das heißt, dass sie sie nicht nur nicht anzeigen, sondern einfach abstürtzen ;-) Hi there, after i have spent 2 days of building my first cartridge, i couldn't publish it to my machine for some reason. I closed the builder and saved the cartridge to restart, but now i can't even open the LUA-File I havwe a working .gwl of this cartridge, but i think converting to lua is impossible, isn't it? I attached my .lua, .bkup, .enc file (in .zip) and the screenshot with the message when trying to open the cartridge. Somebody please help and save the hard work! Best regards, Florian Hi charlenni, thanks dor your suggestion, i just replaced all german umlauts with ae, oe, ue, sz but it still won't load Any other suggestions, anyone? Thanks, Florian Quote Link to comment
+SpeedCore Posted April 12, 2009 Author Share Posted April 12, 2009 I just fixed it! I created a new cartridge, copied every section one by one over from the "broken" file to the new one (first Zones, then Characters, ...) i noticed that the new file stopped working ehwn i copieda funcion, that was referenced to an object, that i deleted earlier. somehow the function hadn't been deleted. Now, without that function, everything works just fine. I'll do more backups now and hope that it won't happen again Here's the "evil function": function zinputAmTor:OnGetInput(input) -- #GroupDescription=WachenAntwort -- -- #Comment=WachenAntwort Comment -- Wherigo.Dialog{{Text=[[Niemandem ohne Einladung wird Einlass gewährt! Für ein paar Münzen könnten wir jedoch darüber reden...]],},} end There's no zinputAmTor, i deleted it... So, for all of you experiencing weird "System.ApplicationException" errors, check your .lua file for functions containing objects, that were deleted previously. Happy coding, SpeedCore Quote Link to comment
+cantuland Posted April 12, 2009 Share Posted April 12, 2009 I had some problems working on mine. Now I save to the "base" file, then save again to a backup file. Close the backup file and reopen the base file. When I run into something where the base file fails, I have a working backup not too far back. There are lots of backup files that now show a progression of how my program is being created. The first bunch of backups are now not needed, but I never know when I will need the last backup to get me back up and running. It's still in the works but what I have so far is working successfully. cantuland Quote Link to comment
+Tequila Posted April 13, 2009 Share Posted April 13, 2009 In my experience, the Builder doesn't handle deleting things too well. It is often better to just leave items etc in the code, even if you don't reference them. I learned the hard way, to save and make a copy of the lua code after each significant change. Saves a lot of recoding. Quote Link to comment
Ranger Fox Posted April 14, 2009 Share Posted April 14, 2009 (edited) I created an application last September to fix the reference problem you were having. I did a quick few searches and can't seem to find that post. If you get into the problem again where the Builder corrupts your lua file, try running it through the application I'm attaching to this post. As long as the Builder didn't "eat" your cartridge (e.g. only save part of it), the application will try to fix it up. I created this Wherigo Reference Fixer because, at that time, I was dealing with a lot of this sort of thing when people asked me to help fix their cartridge. I would have replied sooner had I not been on a cache run. ----------- Edit: Attached an updated version of the fixer application. WherigoReferenceFixer.zip Edited November 11, 2009 by Ranger Fox Quote Link to comment
+sTeamTraen Posted April 16, 2009 Share Posted April 16, 2009 Accented characters don't crash the builder, as far as I know. It just deletes them, which is a shame since both the PPC and Colorado players can handle accents. 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.