Jump to content

dollarbell

+Premium Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by dollarbell

  1. At 11:04 PM (23:04), your code returned t.hour as "23" and t.min as "4". So it looks like "getFormatedTime()" returned "234" which you are comparing to String"2300" and String"0400". My first suggestion would be to simplify the problem and just deal with the hour portion of the time, since you only really need to worry about the current local hour being between 23 and 4 function getHour() local t = os.date("*t"); return t.hour end So, then the cache can be done when the function returns >= 23 or <= 4 If I was building this, I would first be sure I understood exactly how those strings are being compared for example comparing "04" >= "4" might be different than comparing "4" >= "4". Also, might want to look into using UTC since someone mentioned that a user could change their time zone in their GPS and make your code think its midnight in broad daylight. But then you have to be sure to handle that daylight savings time indicator. I didn't have any luck playing with the following: return os.date('!%H%M'). Got the same results as a previous poster when trying to use these suggested tags. DISCLAIMER: All I did was read the whole thread. I just downloaded URWIGO a few hours ago and wrote "hello world" then started playing around with the Pizza Delivery sample. I have no prior experience with wherigos - never found one and never built one. Maybe someday soon - URWIGO looks like fun.
  2. I'm in for Centralia. Looking to pool from NJ, meeting at the mall sounds like a good idea to me. Thanks for setting up the event cache!
  3. Do "Ramble On" !!! http://www.geocaching.com/seek/cache_detai...fb-f7a145a816e2
  4. My two month cachiversary will be this Saturday 8/23. 45 finds so far, i'm guessing 50 by Saturday.
  5. I still can't find this page. I see you can search caches by state from hide and seek, but what happened to the page where you saw quick lists of the latest travel bugs etc??? A
×
×
  • Create New...