Jump to content

davidloew

+Premium Members
  • Posts

    169
  • Joined

  • Last visited

Everything posted by davidloew

  1. I don't think this is the carriage return, I think there may be a parsing error in the builder app with messagebox lines that contain the exact same message data. I'm looking into this right now. Sorry for the inconvenience. David.
  2. I was thinking about this and you could use the os.date and os.time features or simply a numeric seconds variable. Then, when the timer tick occurs, decrement the seconds variable. And, with the SetStatusText that is implemented on the ppc, you could display the seconds countdown. Looking at the link you sent, I believe that is a PSP implemented timer just like our Wherigo Timer. The lua system has no timer built in. I may create a sample so see what it looks like. David
  3. Yes for the timer, we are encapsulating it. Part of the reason is to track the timer if the user turns off the device and the other part is because we don't have the luxury on the Garmin device to access system stuff. You could keep your own variable and track the time that way. We could in the future, provide those kinds of attributes for it though. David.
  4. Hello, Object names in lua don't allow those characters. The builder strips that out since it creates a unique lua name from the name you enter. David.
  5. It sounds like that port may not be available. I believe this is a Windows Mobile 5 device and therefore has the GPS Intermediate Driver. This allows the applications to share the GPS device. This may not be turned on for your device. Check to make sure that the GPS is not being used by another application or turn on the GPS Intermediate Driver. This is referenced in this forum if you do a search. David
  6. It sounds like something different in the core .net system on that device. I'll look into it. David
  7. Hello, With the SiRF Star III there may be a setting to turn off Static Navigation for your device. On our Mio 350's we use a utility to turn Static Navigation Off. This is so we can then get a responsive gps device to walking instead of driving. David. Hello David, would you please let me know which utility do you use? I think you might be right. I hope it is gonna work [] Thank you Tomas Hi Tomas, Here is a link to the Sirf Utility we use on the Mio 350's MMSirfSetup Utility ** Caution ** You must be very careful using this, you can hose your gps device with this. ** Caution ** Here are the steps we use to turn SN off: 1. With your device connected with ActiveSync, run the downloaded EXE 2. From the PDA's Programs menu, you'll see M-M SiRF Setup, click on that 3. Select the correct Port: and Baud: at the top for your gps device 4. Click Turn SN Off Done. Hope this helps. David.
  8. Yes, it has been reported that Lua is case sensitive. Please do be careful. The trick is to find a way to name everything that works for you. If it makes more sense, just use all lowercase. If you have any more questions, TOSY, you know where to ask them. There are a lot of people around who are eager to help. Thanks everyone for the great work and comments. Here is a link to the Lua Language online: Programming in Lua David
  9. You can put in the address in the address lookup and use the State/Zip for the Country This is for madame tussauds Street = Marylebone Road City = London State/Zip = UK David
  10. Hello, With the SiRF Star III there may be a setting to turn off Static Navigation for your device. On our Mio 350's we use a utility to turn Static Navigation Off. This is so we can then get a responsive gps device to walking instead of driving. David.
  11. Hi, there has been some talk on some other forums dealing with the gps software library we use that the HTC's or maybe WM6 are having this problem. I'm in touch with the developer or our software library to see if he might have some insite into this. Update: I've been doing some testing on my Tilt and it does look like I'm getting a regular timeout on the internal gps device. Bluetooth, no problem. I'm continuing to track this problem down. David.
  12. Hello, Very nice work. The way to concatenate in lua is the "..". But, when you concatenate something like "You have", you have to use the [[ ]] brackets. It's probably a good general rule to use the brackets, you could do it with quotes, but, the builder encloses things like this with brackets, that way, you can event have line feeds embedded. So, the best way to represent your code is: zitemcoin.Description = [[You have]] .. numcoins .. [[coins]] zitemcoin.Name = numcoins .. [[coins]] This can be entered in the builder this way and I've opened it, saved it and reopened and it is preserved. Hope this helps. David.
  13. Don't I wish!!! On the PPC a google map is not an option because of the non-connected nature of the device. And, even if the device is connected, the performance might not be good. A radar type map would be cool, one that shows a grid, a drawing of the zones that are active and visible and you. The arrows on the PPC are fully dependent on a good gps signal while walking because they totally use the gps data. On a device with an electric compass, that's a whole different story. David.
  14. That's the right way to do it. A tick event will occur for countdown and interval timers. A countdown will cause only one tick event and an interval will cause many tick events. The stop event occurs when a timer is explicitly stopped in the script. David.
  15. The January 14th build for the PPC Player included some code to do a better job at detecting the gps on the device and if none was detected, do a better job at letting the user know (ie: not shutting down the application). I'd be very interested to know if reinstalling some of the other applications have an adverse affect. David.
  16. Thanks for the sample. The builder is crunching the "if Wherigo.NoCaseEquals(Mixture,"10% A, 20% B, 30% C") then" statement on the parsing. Because of this, it leaves the else and the end hanging. I'll have a look at it and get back to you. Try removing the commas from the statement: "10% A, 20% B, 30% C". This may be fumbling the parsing. I'll look at a fix for this and certainly confirm it. It's confirmed, the "," in the test is messing up the parsing... it was more than that. I will have a fix tomorrow for the builder that should deal with this statement. David.
  17. Sorry to hear that. I assume you are using the bluetooth for GPS? Have you paired the bluetooth gps with the device and after that, have you assigned the new bluetooth device to a comm port? The gps software within Wherigo searches for all comm ports that may be valid serial ports and then if valid, have valid NMEA data. The first one to be found will be used for the GPS. The latest version of the player will show that it is Searching for valid devices and after a while, should timeout if none are found. I did some searching on our GPS provider's web site and there is a post from last year talking about the lock up after finding a device. There is no answer to that post. I will contact the provider and see if there is any more information on this. David.
  18. ok, I'll have a look at that. Can you send me a sample of what your input function looked like before it got sliced and diced? It looks like there may have been some kind of parsing error in the if statement and that's probably what left you with just if and nothing else. David.
  19. I have the exact same problem. I have 17 zones, but only 8 show on the emulator. Is that a limitation on the emulator, or will users have the same problem when they download it on the device? There is no hard limit on the emulator or the device. In the emulator though, only active/visible zones will show unless you are the author of the cartridge. This is new as of yesterday. So, if you are the author of the cartridge, all zones will show on the map. I'll do some testing of large amounts of zones in the emulator to analyze performance. David.
  20. Several hot fixes. There is now a readme.txt file in the install directory (Program Files/Groundspeak/Wherigo/Builder. Most of the fixes are centered around parsing issues of lua script into the builder. The readme will document all of the fixes done by which release from now on. Also, the player installs will do the same thing. David.
  21. David, I've managed to do outside editing of my lua file and compile it to my device. Once tested, how do a publish to the website? (the option to publish is disabled in the Builder unless I can open the lua file...something my edited lua file no longer allows!). I assume I need to create a GWZ on my own? What all goes in that file? -trenkle You can do this via the web site from Wherigo Home > Cartridges > Upload a Cartridge Here, you can submit a gwz file which is just a zip file containing your lua file and the graphics files. You can get to this page after logging in. We require logging in so that this submitted cart will be stored in your author account. David.
  22. So if the code doesn't open in the Builder, how do we publish the cartridge to our machine\device? Is that what the "Compile Cartridge" item in the Tools menu is for? It is. You don't need to open a cart to compile it. Same with the emulator. david
  23. Hello, I've put in some code in the Wherigo Player for Pocket PC that better detects the GPS device. If no device is detected a nicer error message will display and you can still run the app. (Instead of it just blowing up). We're discussing ways to allow manual setting of which port to use, there are some gotchas with that in terms of stopping and start the gps etc. David.
  24. I have the same problem on my Mio P350 PDA... Help please Your devices probably have what is known as the Gps Intermediate Driver. This allows the programs on the device to share the gps. You can find this by looking at Start-->Settings, System Tab, and looking for an icon named GPS. In this, you'll find the gps shared settings. On the Access tab you'll find a checkbox for sharing the gps. It says: Manage Gps Automatically. Try checking this on. If this is not on, then the programs on the pocket pc that use gps will not allow each other to share the gps. The alternative to this, is to make sure no other program is using gps before running Wherigo. The, the Wherigo Player can find the gps because no other program will be using it. David.
  25. Hello, You should be able to on the Pocket PC, choose Start-->Settings, System Tab, Remove Programs. The, from remove programs, in the list of programs, choose Groundspeak Wherigo Player. This should remove the application. Make sure you don't have the Wherigo Player running. To check that it's fully removed, go to Start-->Programs, File Explorer and navigate to My Device, Program Files. There, you'll see a Groundspeak folder that contains Wherigo/Player. After removing the program, if you still see this, you can delete this folder. To recap: The Player installs to: Programs/Groundspeak/Wherigo/Player The cartridges are in: My Documents/Groundspeak/Wherigo/Cartridges David.
×
×
  • Create New...