Yeah, I think we'll need someone familiar with unity for this? The only things I can make out are about Unity, iPhone, video, Save, etc. and the numbers of the lines.
It confirms what we thought, it is a code from the game. The "if" line (the first one, that is red) continues to make me think that if we do a specific action in the game, it may unlock something. All i can read is "if UNT.... _IPHONE". But i don't know nothing about coding.
The red lines look like a compiler directive. Basically, that just means that the code between them will only be compiled/run if the condition is satisfied. In this case, it looks like the condition is that the code is compiled for an iOS device (as opposed to the simulator or some other platform), and the code within the directive has to do with perhaps stopping the music if it's playing. That makes sense, as that sort of thing can be platform-dependent, and you'd want to stop the music if you're launching a URL: The following lines appear to have to do with launching a "special URL" or "backup URL" on condition of a certain action happening enough times. Maybe if we could make out what the count is referring to, it would indicate what needs to be done in the app. The counter looks to be something like "left<something>count" where the "something" is deliberately hidden so we can't make it out. Best I can tell, it's "App", but I can't think of that would mean within the context of a game. I think we just need to wait for the next image and then it'll be clear.
I tried to get rid of the pattern, I couldn't get all of it but the middle bit might be a bit more clear now. Still not a lot to make out, but on lines 588 and 592 I think I can make out OpenURL... Maybe there is another condition in the game which will lead us to a new URL?
Great ! But do you really think they're just gonna give it to us that easily ? Why would they be sending this image as a puzzle if it's not for us to solve it by our own ? Maybe it's torture and they just make fun of us hahaha By the way, thanx to Muscat for the 1.1 update teaser ! Can't wait !
I could go through and write out all the code that's legible, and provide reasoning behind what's not legible/visible, but just to provide my opinion on guidance for where we should probably focus the attention: The first section (lines 567-581) appear to be the body of a function. It includes platform-specific code between the red lines that can be ignored. 577-581 is where the meat is. It looks to read something like: 577 if (Game.Instance.UIController != null && Game.Instance.IsLoaded = <cut off> 578 <something?>Game.Instance.UIController.<something>; 579 <blank?> 580 leftAppCount++; 581 } The next section says to save the game state when the application quits. The last section says to launch a URL on condition of "leftappcount". I think it's clear that line 578 indicates what's happening in the game every time the function is called, or it's checking whether that thing is happening, and when that happens the counter is being incremented. Just need to figure out what that "something" is. Looks like it reads "ShowP..." or "ShowR...". If it ends with a ");" then it could be part of the condition from line 577. If not, then it's telling the UIController to "show something". Anybody agree/disagree or want to further the theory?
Actually, I think that the function in which the counter is being incremented has to do with the music setting. It gets called when someone hits that checkbox, which tells the music to start/stop playing, and then the count goes up. I also now think that line 578 might read "ShowPause" which could mean that you need to toggle the music setting from the Pause screen, rather than from Settings. How many times is anybody's guess, as is whether it's an exact number of times or some threshold. After that, the URL handler needs to be invoked. There's a URL launch from the Privacy Policy in Settings. Anywhere else?
Hello people, I was just reading the comments and trying to press music so many times when I realised that on the screen there is a blank spot that is in the Setting spot, almost as if there is an extra button space. What if this is where we need to click after the code is fulfilled?
I have been translating the code to something readable. What I have so far is hosted here: Note that this is my translated code and may not be entirely accurate, I will work on translating the rest shortly and putting it up there. https://gist.github.com/Varedis/7ba193abd887a9939583 This code appears to just be the ways that the user can leave the application. The leftAppCount (the variable doesn't actually appear to be called just leftAppCount but has a prefix) is just recording how many times the user has left the application. There doesn't appear to be anything special or hidden in the code to me.
Reconsidering some of my previous assumptions... The first block of code could have nothing to do with manipulating the sound settings at all. What if, instead, this is the OnApplicationPause routine, and as part of suspending the app (from hitting the physical Home button, say) that "Music" related code is just fading out the music or otherwise ending it cleanly? Line 572 reads: Game.Instance.Player.<?????>=<??>_IsMusicPlaying<cut off> This could also point to the routing being OnApplicationFocus, which runs when the app pauses or resumes, and that line could be telling the in-game music to play conditionally on whether the device is already (not) playing music. That is, no in-game music if the player is listening to their own music. In either case, I'm now thinking that "leftAppCount" doesn't have to do with how many of a particular event are "left" to be triggered, but rather how many times the user has left the app. That could be counted whenever the user triggers OnApplicationPause/Focus. In either case, it also looks like the last routine tries to preserve the leftAppCount (not count as leaving the app) whenever the OpenSpecialUrlInternal routine is called, because opening a URL will trigger the "leaving the app" event. I think the remaining question is whether lines 577/578 are a wrapped line condition for incrementing that counter, or if 577 is the condition on which 578 runs, and the counter line is separate from that. It's hard to tell with the indents and line spacing, but for example, it could either be: if (Game.Instance.UIController != null && Game.Instance.IsLoaded = <truncated> true) {Game.Instance.UIController.ShowPause();} OR if (Game.Instance.UIController != null && Game.Instance.IsLoaded = <wrapped> Game.Instance.UIController.<something>) {leftAppCount++;} In either case, the formatting of the brackets is not uniform with what's seen elsewhere ( { and } on separate lines) so I think we need to assume that standard is broken. My vote would be the first option, because in fact the pause screen is shown after you resume a game-in-session. Also, it could be the indent on "leftAppCount" on line 580 is leading characters on the variable name, which are also not visible in the OpenSpecialUrlInternal references (re/setting the oldLeftAppCount with this value). That's all I've got. Short of waiting for the next code image to fill in the blanks, or the "map" image giving more hints, I think the next step would be to just crack open the IPA and disassemble the code to see if this matches up and find the missing pieces that way.
Been adding more pages for Land-sliders.wikia.com . Still need a lot more help to fully make it a functioning wiki with great people on there!
Good skills Just wanted to say well done to everyone for getting us this far. This adventure has been fascinating, so exciting reading the latest updates and discoveries. It's reminding me a bit of that beautiful construction that flowed from Speilbergs AI poster - remember Jeanine Salla? I'm afraid it's moved a bit beyond my depth with all the code stuff, but I have much faith in you brainboxes to crack that nut too. The most exciting aspect for me at the moment is that image which looks like it could be a map - will this eventually end in a race to some party on a weird island in the South Pacific?