Community

SCI Programming => SCI Development Tools => Topic started by: ZvikaZ on July 06, 2022, 04:25:41 PM

Title: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: ZvikaZ on July 06, 2022, 04:25:41 PM
Hi.
We've started working on Hebrew translation of SQ6 (after completing SQ1, SQ3, and near completion of SQ5).
I found an interesting string, in DoitFeature.sc (script 460), line 1880 (in my decompilation, it might vary of course):
Quote
   I DEDICATE THIS GAME TO MY LOVING WIFE, MICHELE, AND OUR WONDERFUL SON, SEAN.__I LOVE THEM BOTH VERY MUCH!\n\n________________________________LOVE,\n________________________________STEVE

I'm not sure what triggers this message, but it seems to be some very specific situation.

I wander if this was some "private easter egg", that only that Steve was aware of...
I guess it's Steve Conrad: https://www.mobygames.com/developer/sheet/view/developerId,3106/ (https://www.mobygames.com/developer/sheet/view/developerId,3106/)

If anyone manages to understand how to trigger it in game, it'd be nice ;)
Title: Re: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: Kawa on July 07, 2022, 07:02:51 AM
From what I can tell it clearly appears when you press the enter button on the ComPostâ„¢, but there'll be a certain setup involving local51 being zero, local78 being truthy, and local77 being 7. So the next step is to find out what these locals are.

local77 is incremented when you press a button, and 7 is the amount of digits in the entity database ID codes. local78 is made true by Button::doVerb before incrementing local77, on a condition that involves [local69 local77] matching local79. If they don't match, 77 through 79 are reset (as also happens when the egg is triggered). Local69 is defined as [6 14 17 19 21 21 23], which is eight items for some reason, and is only used in that same part of Button::doVerb.

(if (== (= local79 (+ local79 value)) [local69 local77])

Value is of course the button's, so zero through nine.

It's obviously obscured so you can't just read the egg's database ID from the code.

6, 14-6=8, 17-8=9, 19-9=10, 21-10=11, 21-11=10, 23-10=13, so that's not quite it.

Still, perhaps this helps?
Title: Re: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: OmerMor on July 07, 2022, 11:22:30 AM
I can't try it now, but from your explanation shouldn't the code be 6,8,3,2,2,0,2 ?
Title: Re: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: OmerMor on July 07, 2022, 11:26:15 AM
I'll rewrite what I understood from your explanation (I don't have the source now):

Code: [Select]
i === local77
secret === local69 = [6 14 17 19 21 21 23]
sum === local79

sum += value;
if (sum == secret[i++] && i == 7) { ... }
Title: Re: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: OmerMor on July 07, 2022, 11:44:20 AM
Got access to my machine - and could confirm the code is indeed 6 8 3 2 2 0 2 <ENTER>:
(https://i.imgur.com/8Sb9mGM.png)

Thanks Zvika for finding this and Kawa for your detailed analysis!
Title: Re: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: Kawa on July 07, 2022, 11:58:09 AM
And there you have it kids.

Have a drink.
Title: Re: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: MusicallyInspired on July 07, 2022, 12:58:03 PM
Well.done, everybody! Wow!
Title: Re: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: OmerMor on July 07, 2022, 03:01:54 PM
I just found out there's a Stephen Conrad who lived in Coarsegold between 1994-1996 and used to own phone number (559) 683-2202: https://clustrmaps.com/person/Conrad-aceocb

What are the chances this is the same Steve Conrad who wrote this easter egg and picked 6832202 as his secret code?  8)
Title: Re: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: Kawa on July 07, 2022, 03:20:49 PM
Very, very high.
Title: Re: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: MusicallyInspired on July 07, 2022, 04:09:01 PM
Whoa!
Title: Re: Found (a new?) easter egg in SQ6, dedicated to Steve's family
Post by: Collector on July 07, 2022, 09:04:12 PM
https://www.facebook.com/groups/SierraHelpPages/posts/3104260089813827/