Jump to content

Garmin shuts down at specific point


Zorkan_Heneron

Recommended Posts

I'm hoping someone can help me out. I built a cartridge and all during the Beta testing it worked flawlessly, everything triggering properly, no lags or glitches. Most of the changes I made along the way were minor such as zone location, when tasks appeared, and such. I did a final Beta test and it worked great. The only thing I did after the final Beta test was add a media picture to the cartridge. I posted the cache and the first person to try it said it crashed at a certain point. I went out to check it and sure enough, it crashed on mine also. I removed the media from the cartridge and tried again and it still crashes.

It works fine on iphone but shuts down my Garmin Oregon 450. It always shuts it down in the same place, When I "Talk" to a character. The actions that are supposed to happen when I "Talk" to the character are:

 

"Show a message to player",

 

"Set 2 different Tasks active true", and

 

"Set Task Complete true".

 

Luckily this happens in the 3rd Zone and only 10 minutes into the cartridge.

 

I have two other Zones set up exactly like the one that crashes and they work ok. There is an Object and a Character in each zone. The player must pick up the object and talk to the character. There are only 4 Zones active when the Garmin crashes.

 

Here is the last few lines of the log. I can't see anything of significance:

 

Nov 19 was when it started crashing

 

Sat Nov 9 13:31:47 2013 INFO [Engine]: Logging level changed from 2 to 3

Thu Nov 14 10:29:14 2013 INFO [Engine]: Logging level changed from 2 to 3

Thu Nov 14 12:49:12 2013 INFO [Engine]: Logging level changed from 2 to 3

Thu Nov 14 14:05:26 2013 INFO [Engine]: Logging level changed from 2 to 3

Tue Nov 19 18:58:59 2013 INFO [Engine]: Logging level changed from 2 to 3

Tue Nov 19 19:07:54 2013 INFO [Engine]: Logging level changed from 2 to 3

Thu Nov 21 15:52:57 2013 INFO [Engine]: Logging level changed from 2 to 3

Thu Nov 21 17:13:55 2013 INFO [Engine]: Logging level changed from 2 to 3

 

I use the Groundspeak builder if that is of use.

 

Thanks in advance and I hope someone can help

 

Zorkan Heneron

Edited by Zorkan_Heneron
Link to comment

There must be a more precise log file with ending GWL. Try to find it (should be in a subfolder if I'm right). And also, could you please copy the Lua file (only for security), open the copy and copy the content of the OnEnter function of the zone, where the problem appears.

 

Do you have any ShoScreen() in this function?

Link to comment

Now, I do know that Garmin devices will crash hard if you have an input displayed and another one is triggered to be displayed.

 

For example, say you have an input or message when the player enters a zone. The player clicks through and talks to a character within the zone. The character asks the player a question. At the point, the player moves around to try to find the answer (or the Garmin GPSr experiences a one meter coordinate drift). This causes the player to exit and enter the zone, thus triggering another message or input. This will then crash the player and power the unit off. If the unit is powering off, this could be what's happening. If the unit stays on and the player crashes, this is not what's happening.

 

If you don't mind posting your cartridge's GWZ file, we might be able to tech support this a little more.

Link to comment

There must be a more precise log file with ending GWL. Try to find it (should be in a subfolder if I'm right). And also, could you please copy the Lua file (only for security), open the copy and copy the content of the OnEnter function of the zone, where the problem appears.

 

Do you have any ShoScreen() in this function?

Hi charlenni. Thanks for your response. The GWL last attempt at the cartridge is below. The way I have set up the cartridge is the player comes to the proximity of a zone, say Farmer, then another larger zone called Farmers House is activated and the Zone Farmer is deactivated. The character Farmer and an object Candy are in the Farmers House zone and visible. The player picks up the candy and talks to the farmer. Then they go to the next zone Fisherman which is set up just like the Farmer zone. Then the player goes to the Trapper Zone and the same thing. When the player talks to the Trapper the GPS shuts down.

 

I noticed there are some weird characters in the dialogue of the Fisherman and the Trapper. I think I copied and pasted them from Word, so I'm wondering if that has something to do with it.

 

Downloaded Fri Nov 22 16:53:44 2013

20131121171407|0.00000|0.00000|0.000|0.000|MessageBox:Show - Hellow Fellow cachers. This Wherigo is similar to the original event with some slight differences. One thing you will need to take note of is that at certain points along the game, you will need to get numbers off of trees. These numbers will be needed to find the cache at the end. There are messages to let you know when. You have Background, Situation and Mission statements in your inventory. There are also tasks to perform which will guide you along the way. Good luck and have fun.

20131121171407|0.00000|0.00000|0.000|0.000|Player:SetInventory - Will add Present Situation

20131121171407|0.00000|0.00000|0.000|0.000|Player:SetInventory - added Present Situation

20131121171407|0.00000|0.00000|0.000|0.000|Player:SetInventory - Will add Mission

20131121171407|0.00000|0.00000|0.000|0.000|Player:SetInventory - added Mission

20131121171407|0.00000|0.00000|0.000|0.000|Player:SetInventory - Will add Background

20131121171407|0.00000|0.00000|0.000|0.000|Player:SetInventory - added Background

20131121171407|0.00000|0.00000|0.000|0.000|AttributeChanged - Interview Fisherman, Active

20131121171407|0.00000|0.00000|0.000|0.000|AttributeChanged - Interview Trapper, Active

20131121171407|43.20073|-79.81531|100.785|13.650|Zone:Distant - Farmer

20131121171409|43.20072|-79.81530|101.650|13.189|MessageBox:Callback - [button1] No script to execute

20131121171508|43.20074|-79.81479|157.559|10.709|Zone:Proximity - Farmer

20131121171508|43.20074|-79.81479|157.559|10.709|AttributeChanged - Farmers House, Active

20131121171508|43.20074|-79.81479|157.559|10.709|AttributeChanged - Farmers House, Visible

20131121171508|43.20074|-79.81479|157.559|10.709|AttributeChanged - Farmer, Active

20131121171508|43.20074|-79.81479|157.559|10.709|AttributeChanged - Farmer, Visible

20131121171508|43.20074|-79.81479|157.559|10.709|Zone:Enter - Farmers House

20131121171515|43.20075|-79.81477|159.575|10.903|ZCommand:exec - Candy:Pickup

20131121171515|43.20075|-79.81477|159.575|10.903|Player:SetInventory - Will add Candy

20131121171515|43.20075|-79.81477|159.575|10.903|Player:SetInventory - added Candy

20131121171515|43.20075|-79.81477|159.575|10.903|ZCommand:Enabled - Disabled Candy Pickup

20131121171519|43.20076|-79.81477|160.283|11.020|ZCommand:exec - Farmer:Talk

20131121171519|43.20076|-79.81477|160.283|11.020|MessageBox:Show - Well howdy there young'ns. I was tending to good old Bessie me cow when I heard this here thunderous roar coming out of the east. It was louder than that there twister from '39 if it made a peep at all. Gave poor old Bessie a fright, it sure did. She done did took off on me, poor gal. Hey y'all don’t s'pose you could take a bit a time and fetch 'er up for me could ya, or at least tie er off on a tree? I'd be mighty right happy about that, and there'd be a 2 spot in it fer ya. You could probably follow her trail. She was due fer milkin. She can’t be too far from where we was. Just before that there fancy object crashed, I saw some sort of thingy fall from it. I marked down where it done did fall by golly, but by gosh I must'uv dropped that when Bessie done did took off. Sorry 'bout that. You all have a nice day now.

20131121171519|43.20076|-79.81477|160.283|11.020|AttributeChanged - Farmer's Sighting, Visible

20131121171519|43.20076|-79.81477|160.283|11.020|AttributeChanged - Farmer's Sighting, Active

20131121171519|43.20076|-79.81477|160.283|11.020|AttributeChanged - Find Farmers Cow, Active

20131121171519|43.20076|-79.81477|160.283|11.020|AttributeChanged - Find Farmers note, Active

20131121171519|43.20076|-79.81477|160.283|11.020|AttributeChanged - Fisherman, Active

20131121171519|43.20076|-79.81477|160.283|11.020|AttributeChanged - Fisherman, Visible

20131121171519|43.20076|-79.81477|160.283|11.020|AttributeChanged - Interview the Farmer, Complete

20131121171519|43.20076|-79.81477|161.707|11.050|Zone:Distant - Fisherman

20131121171519|43.20076|-79.81477|161.707|11.050|Zone:Distant - Farmer's Sighting

20131121171528|43.20079|-79.81480|170.333|6.518|MessageBox:Callback - [button1] No script to execute

20131121171543|43.20081|-79.81487|169.538|5.646|Zone:Exit - Farmers House

20131121171543|43.20081|-79.81487|169.538|5.646|Zone:Proximity - Farmers House

20131121171555|43.20088|-79.81499|171.866|5.184|Zone:Proximity - Fisherman

20131121171555|43.20088|-79.81499|171.866|5.184|AttributeChanged - Fisherman's Hut, Active

20131121171555|43.20088|-79.81499|171.866|5.184|AttributeChanged - Fisherman's Hut, Visible

20131121171555|43.20088|-79.81499|171.866|5.184|AttributeChanged - Fisherman, Active

20131121171555|43.20088|-79.81499|171.866|5.184|AttributeChanged - Fisherman, Visible

20131121171555|43.20088|-79.81499|171.866|5.184|Zone:Enter - Fisherman's Hut

20131121171603|43.20091|-79.81501|173.278|4.567|ZCommand:exec - Candi:Pickup

20131121171603|43.20091|-79.81501|173.278|4.567|Player:SetInventory - Will add Candi

20131121171603|43.20091|-79.81501|173.278|4.567|Player:SetInventory - added Candi

20131121171603|43.20091|-79.81501|173.278|4.567|ZCommand:Enabled - Disabled Candi Pickup

20131121171608|43.20091|-79.81501|175.008|4.664|ZCommand:exec - Fisherman:Talk

20131121171608|43.20091|-79.81501|175.008|4.664|MessageBox:Show - Hi there. Me and my boy were doing some fishing at the stream and was just heading back. We stopped for some supper, and all of a sudden we heard this horribly loud noise in the sky coming from the east. Well, I’ll tell you, we hightailed it out of there. Just before we took off I saw something break off and crash nearby to where I was. I got the location jotted down, but in my haste I think I left it back where I was having supper. We also left our tackle box behind too. It was over by were Billy was, pretty close to where I was sitting. You don’t suppose you could find that for me could you. I’d really appreciate it. Thanks a lot.

20131121171608|43.20091|-79.81501|175.008|4.664|AttributeChanged - Find Tackle Box, Active

20131121171608|43.20091|-79.81501|175.008|4.664|AttributeChanged - Find Fishermans Note, Active

20131121171608|43.20091|-79.81501|175.008|4.664|AttributeChanged - Trapper, Active

20131121171608|43.20091|-79.81501|175.008|4.664|AttributeChanged - Trapper, Visible

20131121171608|43.20091|-79.81501|175.008|4.664|AttributeChanged - Interview Fisherman, Complete

20131121171608|43.20091|-79.81501|173.215|4.700|Zone:Distant - Trapper

20131121171616|43.20092|-79.81501|177.111|5.072|MessageBox:Callback - [button1] No script to execute

20131121171640|43.20088|-79.81520|175.455|4.647|Zone:Exit - Fisherman's Hut

20131121171640|43.20088|-79.81520|175.455|4.647|Zone:Proximity - Fisherman's Hut

20131121171657|43.20088|-79.81541|176.556|4.212|Zone:Proximity - Trapper

20131121171657|43.20088|-79.81541|176.556|4.212|AttributeChanged - Trapper's Cabin, Active

20131121171657|43.20088|-79.81541|176.556|4.212|AttributeChanged - Trapper's Cabin, Visible

20131121171657|43.20088|-79.81541|176.556|4.212|AttributeChanged - Trapper, Active

20131121171657|43.20088|-79.81541|176.556|4.212|AttributeChanged - Trapper, Visible

20131121171657|43.20088|-79.81541|176.556|4.212|Zone:Enter - Trapper's Cabin

20131121171709|43.20088|-79.81546|179.549|4.646|ZCommand:exec - Candie:Pickup

20131121171709|43.20088|-79.81546|179.549|4.646|Player:SetInventory - Will add Candie

20131121171709|43.20088|-79.81546|179.549|4.646|Player:SetInventory - added Candie

20131121171709|43.20088|-79.81546|179.549|4.646|ZCommand:Enabled - Disabled Candie Pickup

 

As far as the ON Enter function I can't see it in the lua file. I see an On Proximity for the Trapper zone but nothing for the Trappers Hut zone where the problem occurs. I think that is because that zone is activated while the player is in it. I've tried to upload the lua file but the site won't let me. Below are the two functions On Proximity to the Trapper zone and the On Talk to the Trapper if those help.

 

function zoneTrapper:OnProximity()

-- #GroupDescription=Script --

-- #Comment=Script Comment --

zoneTrappersCabin.Active = true

zoneTrappersCabin.Visible = true

zoneTrapper.Active = false

zoneTrapper.Visible = false

end

 

function zcharacterTrapper:OnTalk()

-- #GroupDescription=Script --

-- #Comment=Script Comment --

Wherigo.MessageBox{Text=[[YeeeeeHaw!! I’m crazy Dave the trapper. I’ve seen some weird stuff in my day. Did I ever tell you the time I run across this huge..... Aaaah never mind, you don’t wanna hear about that, do ya. Ok, I was out checking my traps at Bushwacking Point and this loud noise started. I coulda swore it was from the west, but I mighta got myself turned around at the time. I am a little crazy you know. Anyway back to my story. That huge bear came at me.... no wait a sec, that’s the other story. Oh boy. Yah that noise was so loud, I almost got me thumb caught in the trap. Anyways, if I remember right, and I don’t often do, something fell from the sky and landed not too far from where I was. Then I ran from that there bear and climbed a tree. Oh boy, you must think I’m crazy. That’s that other story. Ok, I jotted down where that thing fell, but I musta left it back at Bushwacking Point. If you’re heading that way anyway, do you mind setting my last trap for me? It’s close to where I was, if I remember right. I am a bit crazy you know. Thanks a lot. Oh and beware. There’s rumours that a dragon is in the woods.]],Media=zmediaTrapper,}

ztaskFindTrapperNote.Active = true

ztaskSetTrap.Active = true

ztaskInterviewTrapper.Complete = true

end

Link to comment

Now, I do know that Garmin devices will crash hard if you have an input displayed and another one is triggered to be displayed.

 

For example, say you have an input or message when the player enters a zone. The player clicks through and talks to a character within the zone. The character asks the player a question. At the point, the player moves around to try to find the answer (or the Garmin GPSr experiences a one meter coordinate drift). This causes the player to exit and enter the zone, thus triggering another message or input. This will then crash the player and power the unit off. If the unit is powering off, this could be what's happening. If the unit stays on and the player crashes, this is not what's happening.

 

If you don't mind posting your cartridge's GWZ file, we might be able to tech support this a little more.

Thanks Ranger Fox for your response. I have no double messages. The cartridge worked several times during Beta testing and then now it's conking out. I thought it might be in the uploading process so I tried it from the downloaded GWC and also the GWC from the computer. Still shuts down the GPS at the same spot all the time.

 

I've tried to upload the GWZ file, but the site says I'm not permitted to upload that kind of file??? Am I missing something?

 

Zorkan Heneron

Link to comment

The most important thing in such cases is always the same : EXACTLY reproduce each step what you have done since the cartridge has worked well. You told us, you have removed a picture. Only the picture ? Not the linked media object too ? Or the object which uses these media, for example a message box, is still linked to it ? Probably here is your problem.

Apart from that the cartridge seems simple (enter-talk-pick up, enter-talk-pick up ...) so without any "dangerous" things which cause crashes.

 

You have no backup of the "good" version I think ?

GWZ is a zip archive. You can unzip it and extract the lua file, then you can zip only the lua file to a *.zip and attach it here. Or rename gwz to zip and upload it. But then you publish all objects.

Link to comment

Found 2 errors at once, first, as I supposed, a missing media (jpg) for the object "zmediaGadget".

2nd one, a text in a message box (Trapper.Talk) which is toooooooooooo long. 1112 chars ! At Wherigo primary school :lol: we've learned about a maximum of 850 chars to keep compatibility to all devices (especially garmin)

 

Besides ... Urwigo would have shown both errors/warnings in realtime.

 

post-3481440-004666500 1385316670_thumb.jpg

 

Fix it and try again, perhaps this was the reason. Instead of messagebox you also (better) can use dialogs ("multi message boxes")

Edited by jonny65
Link to comment

Found 2 errors at once, first, as I supposed, a missing media (jpg) for the object "zmediaGadget".

2nd one, a text in a message box (Trapper.Talk) which is toooooooooooo long. 1112 chars ! At Wherigo primary school :lol: we've learned about a maximum of 850 chars to keep compatibility to all devices (especially garmin)

 

Besides ... Urwigo would have shown both errors/warnings in realtime.

 

post-3481440-004666500 1385316670_thumb.jpg

 

Fix it and try again, perhaps this was the reason. Instead of messagebox you also (better) can use dialogs ("multi message boxes")

 

Thanks jonny65 for your response.

 

I broke down the text in the Trapper.Talk into 3 dialog boxes.

 

I also removed the media "Gadget" and found the jpg "gadget" and removed it from the cartridge folder. Then I started over, recreating the media "Gadget" and adding the jpg.

 

Went out and tested the GWC from the computer and it worked OK!!!! Thanks a lot for your help. My next test is to upload the corrected cartridge to the Wherigo site and get a download from the actual site to see if that works. I will test the complete cartridge then.

 

But that is work for tomorrow. Tonight is the Canadian Football Championship so it is time now to kick back and relax.

 

Thanks everyone for your responses and help.

 

Zorkan Heneron

Link to comment

I broke down the text in the Trapper.Talk into 3 dialog boxes.

 

On garmin it is a little bit unpractical, if the text is so long, that the player has to scroll. Sometimes the text "jumps" up an down while scrolling. Thats still a reason to show only 2 or 3 sentences in 1 messagebox.

 

But that is work for tomorrow. Tonight is the Canadian Football Championship so it is time now to kick back and relax.

 

:lol: I hope "your" team has won. :D

 

Someone or any moderator (?) who knows, why attached pictures sometimes were shown, sometimes not ? Yesterday I couldn't see my pic in the message before, but now I can. This isn't so for the first time, it is nearly always, when I attach a picture. :blink::unsure:

Link to comment

Found 2 errors at once, first, as I supposed, a missing media (jpg) for the object "zmediaGadget".

2nd one, a text in a message box (Trapper.Talk) which is toooooooooooo long. 1112 chars ! At Wherigo primary school :lol: we've learned about a maximum of 850 chars to keep compatibility to all devices (especially garmin)

 

Besides ... Urwigo would have shown both errors/warnings in realtime.

 

post-3481440-004666500 1385316670_thumb.jpg

 

Fix it and try again, perhaps this was the reason. Instead of messagebox you also (better) can use dialogs ("multi message boxes")

 

Thanks jonny65 for your response.

 

I broke down the text in the Trapper.Talk into 3 dialog boxes.

 

I also removed the media "Gadget" and found the jpg "gadget" and removed it from the cartridge folder. Then I started over, recreating the media "Gadget" and adding the jpg.

 

Went out and tested the GWC from the computer and it worked OK!!!! Thanks a lot for your help. My next test is to upload the corrected cartridge to the Wherigo site and get a download from the actual site to see if that works. I will test the complete cartridge then.

 

But that is work for tomorrow. Tonight is the Canadian Football Championship so it is time now to kick back and relax.

 

Thanks everyone for your responses and help.

 

Zorkan Heneron

 

I went and tested the complete cartridge and everything worked alright. I have one question. jonny65, how did you get the attached error messages? Is that from the Urwigo builder you mentioned? Just curious so I can self diagnose for next time.

 

Thanks again

Link to comment

Ah it works...very well. Yes, I have imported the lua file in urwigo and immediately the 2 warnings/errors were shown. Urwigo even shows warnings and errors while you are programming. So you see your error just in that moment you produce it. With GC builder it seems you can compile a project which contains 100 errors. :rolleyes:

But I respect everyone, who is using the GC builder, it is very very very much harder than urwigo or earwigo.

Link to comment

Ah it works...very well. Yes, I have imported the lua file in urwigo and immediately the 2 warnings/errors were shown. Urwigo even shows warnings and errors while you are programming. So you see your error just in that moment you produce it. With GC builder it seems you can compile a project which contains 100 errors. :rolleyes:

But I respect everyone, who is using the GC builder, it is very very very much harder than urwigo or earwigo.

 

Thanks jonny65. This leads to another question. I am about 3/4 of the way through another larger Wherigo project using the GC builder. How hard or easy is it to switch over to urwigo to complete the project? Just a thought.

 

Bob

Link to comment

Very easy...it takes only 5 minutes <_<

 

A good way would be, if you have a small project, like your current cartridge, load it in urwigo and change some things, add some things, remove some things and so on. Then you start the emulator and look what happened.

Perhaps it takes a few hours/days I think to habituate to these "style".

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