Castaway 2
-migrated-
Castaway 2
Submitted By:
Launch Trainer!
Adventure Fantasy Island Pet RPG

Wondering where the hacks are at? Register or Sign In to find out!


Wondering where the sol files are at? Register or Sign In to find out!

Castaway 2

Auto-Post
Last Updated: 09/19/2012 02:29

Castaway 2

-migrated-
Last Updated: 07/06/2011 05:54

Castaway 2

-migrated-
Last Updated: 05/20/2011 03:26

Castaway 2 - 65 pts. (new window)
5
 

Shank Craft

  Craft your very own shank
15
 

Jeepers Creepers

  Defeat Peeping Tom
15
 

Curly Gates

  Open the Gate of Oceanus
30
 

Wilson Memorial

  Complete your adventure

Game Dscription
******* AGI GameSave Updated******* For those experiencing GameSave related problems please clear your browsers cache and reload the game. This ensures you get the latest version of the AGI which addresses these issues. *******v1.19************ - Recipe Book added which will store craft combinations you have learned for reference. (this will be empty to begin with since the game was not tracking this before) - You can now buy/sell multiple items at a time - Forge quests can now be completed if user crafted item before accepting the quest. Item must be in your inventory. - Fixed issue with pet marker sometimes staying still in mini-map -Max weight will increase slightly when hero gains a level ******************************* Castaway 2 takes the very popular, award winning Castaway game to a whole new level! Stranded on a mysterious island, it is up to you to find a way off. Embark on a journey that takes you through vast terrains and unique environments, completing quests and battling huge bosses. Train pets, as they fight by your side using their unique skills and abilities. Discover and unlock rare items and equipment, using the brand new crafting system. We have listened carefully to the community, and have taken their suggestions from Castaway 1 very seriously. Here are just a few of the features in Castaway 2: - larger (over 100 different levels!) - fast (steady 30 fps) - prettier (amazing, polished graphics) - more monsters/pets - skill points to model your character the way you want - bosses/mini-bosses - a new crafting system with almost 100 different crafting combinations to discover - epic armor/weapons - 15+ spells - beautiful custom composed music - nearly 100 different quests - auto-save system - hours of fun and re-playability
Castaway 2 Posted on: 05/21/2011 2:11pm
Quote Post
http://www.kongregate.com/games/likwidgames/castaway-2

Invincible:
d3 66 d2 3f 2c 83 07 14 05 00 00 24 00 74 63 07
d2 66 c7 3f 2c cb 12 14 05 00 00 62 08 48 02 02

Can always upgrade/learn skills:
66 a6 1e 24 00 0e 4b 00 00
66 a6 1e 24 00 0e 00 00 00

66 a7 1e 62 07 66 96 36 0f 0a 00 00
66 a7 1e 62 07 66 96 36 0f 00 00 00

Only had the time for a quick look, will probably add more later
Re: Castaway 2 Posted on: 05/21/2011 9:54pm
Quote Post
Money is double
Upgrade points are 4 bytes*1
Re: Castaway 2 Posted on: 05/21/2011 10:37pm
Quote Post
Stats are 4byte*1 need to be naked
Re: Castaway 2 Posted on: 05/22/2011 1:37am
Quote Post
Seems like one of the AOBs makes the  pet periodically take damage for some reason.  Thanks for the AOBs though.
Re: Castaway 2 Posted on: 05/22/2011 2:07pm
Quote Post
Having aob for permament speed boost and something to cast spells without waiting would be nice
Re: Castaway 2 Posted on: 05/22/2011 5:06pm
Quote Post
Instant-spell recharge:
d0 30 d0 66 51 d0 66 51
47 30 d0 66 51 d0 66 51

Spells don't cost mana:
d0 66 4c 66 d9 28 a1 61 d9 28
02 02 02 02 24 00 a1 61 d9 28

Can always purchase items:
12 0b 00 00 62 08 2f 22 61 cc 37 10 77 00 00
12 0b 00 00 10 07 00 00 61 cc 37 10 77 00 00

Items don't cost money:
60 88 24 66 cf 37 66 c7 37 a1 61 a8 1e
02 02 02 02 02 02 02 24 00 a1 61 a8 1e

d2 66 c7 37 a1 61 a8 1e
02 02 24 00 a1 61 a8 1e
Re: Castaway 2 Posted on: 05/23/2011 2:31pm
Quote Post
Cool ... I wish i could learn to get AoB's without help... but i dont have any ideea how to do that
Re: Castaway 2 Posted on: 05/23/2011 4:20pm
Quote Post
The only "tricky" AoB here was the invincibility. The others were fairly trivial; so, invincibility will come last.

To learn a skill, what do we need? Upgrade points. So I searched for "upgradepoints" (case insensitive of course.) Wait for it...just a minute...it's a large swf, let it search...

ok, one of the very first search results looks really really promising:

Code: [Select]
               if (HeroInfo.upgradePoints > 0)
                {
                    _loc_3.addEventListener(MouseEvent.ROLL_OVER, upgradeBtnRollOver, false, 0, true);
                    _loc_3.addEventListener(MouseEvent.ROLL_OUT, upgradeBtnRollOut, false, 0, true);
                    _loc_3.addEventListener(MouseEvent.MOUSE_UP, upgradeBtnRelease, false, 0, true);
                    _loc_3.addEventListener(MouseEvent.MOUSE_UP, Global.buttonClickSound, false, 0, true);
                }
It was simply removing the if statement - that way, it will always execute.

For the skill points, it was nearly the same process: Searched for "skillPoints", found this:
Code: [Select]
                               if (HeroInfo.skillPoints >= _loc_7.SP_needed)
                                {
                                    _loc_7.canLearn = true;
                                }
Once again, removed the if statement.

The spell recharge was a little bit different. I got to it by actually doing the "skills cost no mana" AoB. Started looking for things like "mana", and after some cycles searched for "mp". It gave me tons of results, and I'm lazy, so I searched for "mp -", as we're looking for the point where our mp decreases. First result:
Code: [Select]
HeroInfo.Obj.MP = HeroInfo.Obj.MP - this.atkClass.MP;
ok, so we know it's done by calling castSpell, so in the same file I looked for "castSpell", which led me here:
Code: [Select]
                   if (HeroInfo.Obj.MP >= this.atkClass.MP)
                    {
                        HeroInfo.Obj.endBlinkTimer();
                        HeroInfo.Obj.endBreathTimer();
                        HeroInfo.Obj.charMC.char.gotoAndPlay("backslash");
                        HeroInfo.Obj.equip();
                        this.beginCooldown();
                        setTimeout(this.castSpell, 300);
                        HeroInfo.Obj.attacking = true;
                        HeroInfo.Obj.walking = false;
                    }
See the target? "beginCooldown" looks suspicious. Wondering what it does, I went to that function and saw it doing stuff with timers. Well, I then wondered what will happen if the function never executed. So I took the first few bytes of it (we need only that function, nothing else) and changed the first byte to a return statement.
When you return from a function, it's like going back home from the salt mines - it doesn't matter if you just entered or there is more to it, you will exit the salt mines.

I'm going to leave the gold hacks alone, as it really was trivial. Just instead of the jump I did in the first one, you can replace stuff with NOP commands.

Now, the really juicy thing - the invincibility hack. Started off by looking for "hp -". I ignored the first result, as it was a unique case and you're big boys, so now looking at the second result.

Code: [Select]
param2.HP = param2.HP - _loc_7;It doesn't distinguish between friend and foe. It doesn't care who the target is or who the attacker is - all it cares about is to reduce the hp of at attacked object. Now, that's no good for us. We need to hurry up and leave before our hp is reduced.

So I poked around the function, looking for a way to distinguish between your enemies and you. Found this later on:
Code: [Select]
param2.charType == "hero"Now we know how to check for us, but we need to apply that before we get hit. Luckily, we have an if statement before that:

Code: [Select]
           if (param3.atkName == "NoDamage")
            {
                _loc_7 = 0;
            }

So, we theoretically, we want:
Code: [Select]
           if (param2.charType == "hero")
            {
               return;
            }

However, when returning from the salt mines, we are expected to bring something back. I know this by looking at the end of the function:
Code: [Select]
return _loc_8;
So instead, we change our theoretical case into the actual case:
Code: [Select]
           if (param3.atkName == "NoDamage")
            {
                _loc_7 = 0;
            }

turns into

            if (param2.charType == "hero")
            {
              return _loc_8;
            }

This hack was achieved through sheer luck really, as it was dependent on many things (there was a condition beforehand, there was character type checking, the returned value was defined before, etc) but as a practice it's a nice one.

Hope this somehow helped.
Re: Castaway 2 Posted on: 05/23/2011 9:03pm
Quote Post
i think they changed the invincible AoB try scanning for:

?? 66 ?? 3f 2c ?? ?? 14 05 00 00 ?? ?? ?? ?? ??

brings up two new ones, i'm a complete noob with AoB's but maybe this helps??

Searching for a nice tutorial with a game as example...
Re: Castaway 2 Posted on: 05/24/2011 12:08am
Quote Post
In theory, if I were to be really lazy and just duplicate items instead of grinding for them, how would I go about doing that? I've tried checking 4b*1 and 4b*8 so far. Any suggestions?
Re: Castaway 2 Posted on: 05/25/2011 2:49am
Quote Post
Quote from: "Pillerr"
In theory, if I were to be really lazy and just duplicate items instead of grinding for them, how would I go about doing that? I've tried checking 4b*1 and 4b*8 so far. Any suggestions?
was thinking the same thing.
Too much of a hassle grinding for iron shards just to use up 6 to make an iron ore and end up using 18(3 ores) to make an iron globe.

I got it, 4b*8+6.
+18 to address for next slot in inventory(for the most part)
Re: Castaway 2 Posted on: 05/31/2011 7:44pm
Quote Post
cum here
Game got badges:
[badges=http://www.kongregate.com/games/likwidgames/castaway-2:3vbypyj7]5461[/badges:3vbypyj7]

Only Instant-Spell Recharge AoB still works, but first part of Can always upgrade/learn skills is still searchable.



Re: Castaway 2 Posted on: 06/01/2011 8:25am
Quote Post
Someone please post the .sol when they finish, as I CCleaner'd my 100% legit save file.
Re: Castaway 2 Posted on: 06/01/2011 12:15pm
Quote Post
System Bot
Game had a fit whenever I tried to change the name of the save, so just ignore it.

You have to load the game then click the Castaway Feather (It's in quick-slot 3), that will give you all the badges.

This post was imported from an account that no longer exists!
Previous Name: Shadow9633
Re: Castaway 2 Posted on: 06/01/2011 2:05pm
Quote Post
For those who are interested to play the game, but wanna have a little help:

I've found a map @ Armor Games Forum: MAP

BTW: if you use a sol, the badges are not awarded in the right order.