Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Flash hacking - Defend you Castle-

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
raredaredevil
I posted the 100000th post
Reputation: 3

Joined: 02 Jun 2006
Posts: 1702
Location: England

PostPosted: Sat Feb 03, 2007 7:08 am    Post subject: Flash hacking - Defend you Castle- Reply with quote

Ok i wrote this on a blog resently and no this was not ripped ive been flash hacking for some time and this tut will go a bit further than others.

------------------
Flash game hacking tutorial - RareDareDevil

About
-----
Many games these days use flash we have games with high scores and even full mmorpg games
(adventure quest) codede in flash there is also a very easy way to hack flash games with
Visual basic (also works in c++ and dlephi).

In this tutorial we will be hacking XgenStudios -Defend you Castle- Game.

Mission one : Save the swf file.
-------------------------------

This is easy just goto http://www.xgenstudios.com/play/castle/ then in firefox click:
Tools
Page Info
Media Tab
Fund the .swf file
Save it to desktop

This should be what your looking at.



in the adress we see /castle/castlexgen.swf so the full url for the swf works out to be

http://www.xgenstudios.com/castle/castlexgen.swf (we can load that in browser and test)

Mission 2 : Find something to hack
--------------
Now we need a swf decompiler there are many available im using sothink swf decompiler.
Open the .swf file in the decompiler and look at the code for anything intresting. To
view code in sothink use the resources list on the right intresting things are usually in
Action -> Main Move.

After some searching i found some intresting things

var spendable = 0;

There were alot more but i think thats all we really need.

Rather than explain how to implement this i have actually made a program from it, its not

hard at all to do.



The Extension 'zip' was deactivated by an board admin, therefore this Attachment is not displayed.

Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sat Feb 03, 2007 7:36 pm    Post subject: Reply with quote

Quote:
Ok i wrote this on a blog resently and no this was not ripped ive been flash hacking for some time and this tut will go a bit further than others.


Well yes and no... But im giving a rep Wink

You did do it from no tutorial. But there is a better way to code it, So it then can go a bit further then others Wink.
On your flash object properties put the url to the flash game in the section.




Then all you need is your code.
Notice the SubForm load section, This will call the flash game to play when the form is loaded.

Code:
Private Sub Command1_Click()
    Call Lab.SetVariable("life", Text1.Text)
End Sub

Private Sub Command2_Click()
    Call Lab.SetVariable("jump_value", Text2.Text)
End Sub

Private Sub Command3_Click()
    Call Lab.SetVariable("time_value", Text3.Text)
End Sub

Private Sub Form_Load()
    Lab.Play
End Sub





Your tutorial is just fine and does what it is supposed to do.
Im just trying to show you how to use the properties section of your flash object. This way you dont need that nasty old Game button Wink.


Last edited by Labyrnth on Sat Feb 03, 2007 9:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jonathan M
How do I cheat?
Reputation: 0

Joined: 03 Feb 2007
Posts: 3

PostPosted: Sat Feb 03, 2007 8:51 pm    Post subject: Reply with quote

Your tutorial is jack, it let me see a f---ing variable but doesn't let me change anything Mad Evil or Very Mad
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sat Feb 03, 2007 9:15 pm    Post subject: Reply with quote

Oh i can assure you hacking flash this way does work.

You just dont know what what you did wrong is all.
Before you start criticism, take a look at the following links all of them are flash hacks.
Almost done the same way. Same basic concept different coding style.

Defend Your Castle
http://forum.cheatengine.org/viewtopic.php?t=60399

Maple Story Flash
http://forum.cheatengine.org/viewtopic.php?t=61013

Red Plane
http://forum.cheatengine.org/viewtopic.php?t=60415

Stunt Bike Draw
http://forum.cheatengine.org/viewtopic.php?t=60591
Back to top
View user's profile Send private message
squrrilslayer
Master Cheater
Reputation: 0

Joined: 26 Dec 2006
Posts: 323

PostPosted: Sun Feb 04, 2007 3:33 am    Post subject: Reply with quote

thanks for this. i had never actually though of this!
also, had anyone successfully done this with adventure quest? i cant seem to download it like i did with defend your castle.

_________________
Back to top
View user's profile Send private message
Restricted
I post too much
Reputation: 0

Joined: 24 Aug 2006
Posts: 2270

PostPosted: Sun Feb 04, 2007 7:13 am    Post subject: Reply with quote

squrrilslayer wrote:
thanks for this. i had never actually though of this!
also, had anyone successfully done this with adventure quest? i cant seem to download it like i did with defend your castle.


that's because it's a server sided game. =/
Back to top
View user's profile Send private message
lasertje1
How do I cheat?
Reputation: 0

Joined: 01 Feb 2007
Posts: 5

PostPosted: Sun Feb 04, 2007 9:54 am    Post subject: Reply with quote

Sorry that i ask this guys but how do i safe it?

If i press''save as'' they wanna save it as a image o.0.

Someone knows what i do wrong ?


Last edited by lasertje1 on Sun Feb 04, 2007 10:42 am; edited 1 time in total
Back to top
View user's profile Send private message
raredaredevil
I posted the 100000th post
Reputation: 3

Joined: 02 Jun 2006
Posts: 1702
Location: England

PostPosted: Sun Feb 04, 2007 10:06 am    Post subject: Reply with quote

Ive been messing some with this today and yes you can hack alot of games i personally did some games on neopets and was able to send score however to this you must load the games .php file then extract the post data and include the data in the url sting when loading it.

I cant see why this wouldnt work on anything else with scores ect though its just a matter of sending post data.
Back to top
View user's profile Send private message
lasertje1
How do I cheat?
Reputation: 0

Joined: 01 Feb 2007
Posts: 5

PostPosted: Sun Feb 04, 2007 11:01 am    Post subject: Reply with quote

https://addons.mozilla.org/extensions/220

Flasgot works for me :)you can download the swf files etc nice addon :p
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sun Feb 04, 2007 7:16 pm    Post subject: Reply with quote

Very cool tool but,

You dont need any program to download the flash, It is in the temporary internet files folder.

Also to answer questions on Dragon Fable and Adventure Quest, You only get small parts of those games as flash, Not the full flash game because most of it is server side.

And for another question i know is comming,
If you can decrypt ElementTD , You could make one this way for it as well.
This is the first flash game i have seen that is encrypted, so far. Im sure there are more.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites