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 


[Tutorial]How to make a shockwave flash trainer (Delphi)
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Jul 10, 2007 7:46 am    Post subject: [Tutorial]How to make a shockwave flash trainer (Delphi) Reply with quote

Video TuT will come soon.

Needs:
*Delphi (Any version)
*ShockWave Flash 1.0 Componet ActiveX control

NOTE: Before we start,i wonna make sure you have this ActiveX control in your "ActiveX" Tab.



if you dont,follow the this:

Go to Componet,and click import ActiveX control


Then choose ShockWave Flash 1.0,and click install


Great!,now that you've installed the ActiveX control,you can use it !


Making The Flash Trainer

Open up a new clean UI/Application by going to File --> New --> Application


Now that you've opend a new Application Form/Unit,you will see something like this


Put a ShockWave Flash Panel on The Form

You can rename the SWF1 name,to w/e you want,but remember the string you use to control it.

Now making the button (standard tab) to load a game,in this case we use bubble trouble,our favorite game Laughing

Remeber you can change the button caption to "Load Game" or anything you want (including size)

Loading the movie,double click the button and add the SWF1 string name and the LoadMovie function,in the (' ') add the link to the .swf game,dont forget to add 0, before the '') to make it execute


Now we add 2 Edit Boxes (Edit1 and Edit2) and anothor Button (Button2)

Button2 controls Edit1 and Edit2
Edit1 is for variables,example: Health variable in Bubble Trouble is "lives1"
Edit2 is for Value,Example we want 10 lives,so we do 10.

Configuring the Button and Edit1,Edit2

When we click the button,it will load the variable taken from Edit1 (GetVarivalbe Function) and it will Set the Variable (SetVariable Function) and Value to the SWF1 Panel we set earlier (if you remember Confused)

In the end,we get something like this


Source is attached below



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



Last edited by DeletedUser14087 on Tue Jul 10, 2007 11:46 am; edited 3 times in total
Back to top
View user's profile Send private message
GordonBM
Expert Cheater
Reputation: 0

Joined: 06 Jul 2007
Posts: 205

PostPosted: Tue Jul 10, 2007 7:51 am    Post subject: Reply with quote

I still don't get it !! But thanks lol. I'm still working in VB. =)
_________________
maxuer wrote:

:p What is a memory scanner and where I found one?
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Jul 10, 2007 9:44 am    Post subject: Reply with quote

I expected appalsap to comment here...
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Jul 10, 2007 10:35 am    Post subject: Reply with quote

good tut kasper

not difficult but nice finish of your trainer

and at the vb guy

flash in vb is VERY easy...

_________________
Back to top
View user's profile Send private message
Varreon
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2007
Posts: 80

PostPosted: Tue Jul 10, 2007 10:43 am    Post subject: Reply with quote

And thats it? Seems simple for a trainer... IM GUNNA TRY IT RIGHT NOW!!! Very Happy Very Happy Very Happy

*edit*
after reading it more closely, u said that lives in that game is lives1. How did you find out the name of the variable? Is there a flash decompiler?

_________________


Last edited by Varreon on Tue Jul 10, 2007 10:51 am; edited 1 time in total
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Jul 10, 2007 10:47 am    Post subject: Reply with quote

blankrider wrote:
good tut kasper

not difficult but nice finish of your trainer

and at the vb guy

flash in vb is VERY easy...


Thats why 90% Traines in Flash Section are made from VB,there's an public open source + tuts + video tuts lmfao...
Back to top
View user's profile Send private message
Varreon
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2007
Posts: 80

PostPosted: Tue Jul 10, 2007 11:18 am    Post subject: Reply with quote

Hate to be the noob who can't follow a tut, but I get an error:

Project Trainer.exe raised exception class EAccessViolation with message "Access Violation at address 30085BED in module "Flash9.ocx". Read of Address 00000000.

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

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Jul 10, 2007 11:43 am    Post subject: Reply with quote

Varreon wrote:
Hate to be the noob who can't follow a tut, but I get an error:

Project Trainer.exe raised exception class EAccessViolation with message "Access Violation at address 30085BED in module "Flash9.ocx". Read of Address 00000000.


When are you getting it ?

What action did you do that you get it ?
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Jul 10, 2007 11:46 am    Post subject: Reply with quote

are you running runescape or maple

lol?

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

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Jul 10, 2007 11:47 am    Post subject: Reply with quote

blankrider wrote:
are you running runescape or maple

lol?


me ? where ?
Back to top
View user's profile Send private message
Varreon
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2007
Posts: 80

PostPosted: Tue Jul 10, 2007 11:55 am    Post subject: Reply with quote

I got my error at "Player.SetVariable(Edit1.Text,Edit2.Text);"

i renamed my Shockwave control to player.

BTW:
I included the GetVariable Line, but what is the point of it? You never display the value, just change it.(Im sure im missing something...)

_________________
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Jul 10, 2007 11:58 am    Post subject: Reply with quote

Kasper some games like RS and maple wont let you compile code

it was to Varreon

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

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Jul 10, 2007 11:58 am    Post subject: Reply with quote

Varreon wrote:
I got my error at "Player.SetVariable(Edit1.Text,Edit2.Text);"

i renamed my Shockwave control to player.

BTW:
I included the GetVariable Line, but what is the point of it? You never display the value, just change it.(Im sure im missing something...)


Post here your whole source code,i think you forgot to add something in the uses list or to declare something.
Back to top
View user's profile Send private message
Varreon
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2007
Posts: 80

PostPosted: Tue Jul 10, 2007 12:12 pm    Post subject: Reply with quote

Here we go:

unit Unit1;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, OleCtrls, ShockwaveFlashObjects_TLB, Menus;

type
TForm1 = class(TForm)
Player: TShockwaveFlash;
BitBtn1: TBitBtn;
Edit1: TEdit;
Label1: TLabel;
MainMenu1: TMainMenu;
File1: TMenuItem;
QuickLoad1: TMenuItem;
BubbleTrouble1: TMenuItem;
hreeFootNinja1: TMenuItem;
XenoTactic1: TMenuItem;
Quit1: TMenuItem;
BitBtn2: TBitBtn;
Edit2: TEdit;
Edit3: TEdit;
procedure BitBtn1Click(Sender: TObject);
procedure Quit1Click(Sender: TObject);
procedure BubbleTrouble1Click(Sender: TObject);
procedure BitBtn2Click(Sender: TObject);
procedure hreeFootNinja1Click(Sender: TObject);
procedure XenoTactic1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.BitBtn1Click(Sender: TObject);
begin
Player.LoadMovie(0,Edit1.Text);
end;

procedure TForm1.Quit1Click(Sender: TObject);
begin
Close();
end;

procedure TForm1.BubbleTrouble1Click(Sender: TObject);
begin
Player.LoadMovie(0,'http://miniclip.com/swfcontent/freegames/bubbletrouble.swf');
end;

procedure TForm1.BitBtn2Click(Sender: TObject);
begin
Player.GetVariable(Edit1.Text);
Player.SetVariable(Edit1.Text,Edit2.text);
end;

procedure TForm1.hreeFootNinja1Click(Sender: TObject);
begin
Player.LoadMovie(0,'http://www.miniclip.com/games/3-foot-ninja/en/3-foot-ninja.swf');
end;

procedure TForm1.XenoTactic1Click(Sender: TObject);
begin
Player.LoadMovie(0,'http://www.xgenstudios.com/xenotactic/xenotactic.swf');
end;

end.

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

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Jul 10, 2007 12:14 pm    Post subject: Reply with quote

You forgot to add Edit1 and Edit2 lol ?
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 programming All times are GMT - 6 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
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