Jump to content

Bricked my LUA? :(


SpeedCore

Recommended Posts

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 B) 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! :laughing:

 

Best regards,

Florian

ruine.zip

post-733125-1239551162.jpg

Edited by SpeedCore
Link to comment

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 B) 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! :laughing:

 

Best regards,

Florian

Link to comment

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 B) 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! :laughing:

 

Best regards,

Florian

Link to comment

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 :D 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! :laughing:

 

Best regards,

Florian

 

So it seems, i really have to start from scratch :D 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 B)

Link to comment

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 B) 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! :laughing:

 

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 :D Any other suggestions, anyone?

 

Thanks,

Florian

Link to comment

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 :laughing: 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 B)

Link to comment

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

Link to comment

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. :rolleyes:

Link to comment

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 by Ranger Fox
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...