Jump to content

Problems with New Wherigo App for iPhone


Recommended Posts

Wherigo 1.5.6 (29)

iPhone 11 Pro with iOS 14.4.2

 

GC97NWJ was published in conjunction with the Mingo Madness MEGA. Two problems, only with iPhone and not Android, were encountered. I discussed both with the CO who was at the MEGA and he had no idea why there is a problem.

 

Problem 1 - Multiple cartridges for download. Attached is a screenshot of the download options. There are two when there should only be one and Android users only see one.

 

Problem 2 - The iPhone version gets stuck at stage 2. It will not accept the correct answer nor anything else we tried. Multiple cachers attempted to use the app. Fortunately, an Android cacher was part of the group and we were able to get the final coordinates. Attached is a screenshot of the where we got stuck.

download.jpeg

Stage 2.jpeg

Link to post
Posted (edited)
33 minutes ago, batman74 said:

Problem 1 - Multiple cartridges for download. Attached is a screenshot of the download options. There are two when there should only be one and Android users only see one.

 

I would guess that this is because the cartridge is linked twice in the description. Once in the image, once below the image. This is obvious if you look at the source code.

 

<a href="https://www.Wherigo.com/cartridge/download.aspx?CGUID=7a325afd-846a-4dd2-8f7c-98d5cf293070"><img src="https://s3.amazonaws.com/gs-geo-images/c403867e-909d-43d8-bcae-b157a8638172_l.png"></a>
...
<a href="https://www.Wherigo.com/cartridge/download.aspx?CGUID=7a325afd-846a-4dd2-8f7c-98d5cf293070">Click on the image to download the Wherigo Cartridge.</a>

 

I would assume that the Wherigo app just naively scans through the cache description looking for links to Wherigo.com. Thus it finds two cartridges.

 

33 minutes ago, batman74 said:

Problem 2 - The iPhone version gets stuck at stage 2. It will not accept the correct answer nor anything else we tried.

 

This sounds like an issue with the cartridge (which is amplified by the iOS player.) I took a look and it looks like you have to enter the answer, spelt with a k and an i instead of a c and a y, with exactly one space, all lowercase, for it to be accepted.

Edited by Hügh
Link to post
12 hours ago, Hügh said:

This sounds like an issue with the cartridge (which is amplified by the iOS player.) I took a look and it looks like you have to enter the answer, spelt with a k and an i instead of a c and a y, with exactly one space, all lowercase, for it to be accepted.

The correct answer is "koi pond", all in lower case. That does not work on the iPhone. Many variations were also tried with no success.

Link to post
Posted (edited)

Here's another theory. The cartridge is comparing your input to the expected string using the equality operator, ==, rather than the Wherigo.NoCaseEquals string comparison function.

 

-- That is to say, the cartridge uses...

function _3vg:OnGetInput(input)
  if input == "koi pond" then
    ...
  end
end

-- as opposed to...

function _3vg:OnGetInput(input)
  if Wherigo.NoCaseEquals(input, "koi pond") then
    ...
  end
end

 

Normally, this would not be an issue, as strings are interned in Lua (in other words, two strings which have the same value are actually pointers to the same location in memory.) However, because the user input variable (input) is coming from "outside" the Lua interpreter, it is possible that the user input string is actually being placed at a different location in memory. Thus, even if you enter the correct string, the comparison fails because the pointers are pointing to different locations in memory.

 

I've never really looked into the OpenWIG Engine (the Wherigo engine used by WhereYouGo), but, being open-source, I would imagine that such a bug would have been fixed. That would explain why it works on Android, but not on iOS.

Edited by Hügh
Link to post

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