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 


Anothor method of coding a flash trainer quickly

 
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: Wed Jul 11, 2007 4:59 am    Post subject: Anothor method of coding a flash trainer quickly Reply with quote

NOTE To Uzeil,i knew this method before i made my first trainer fyi

GetVariable('lives1'); // Gets the variables lives1 (bubble trouble) player 1 life
SetVariable('lives1','10'); //same as above,adds 5 more lives,so you will have 10


=============

GetVariable('lives1');
SetVariable('lives1',Edit1.Text); //Will add the amount of lives that were written in the Edit1 box

=============


Last edited by DeletedUser14087 on Thu Jul 12, 2007 4:49 am; edited 1 time in total
Back to top
View user's profile Send private message
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Wed Jul 11, 2007 11:05 am    Post subject: Reply with quote

It's just setting the parameter to another string, but this time without the choice of choosing the actual value once set.

Could've just posted it on your release.
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Wed Jul 11, 2007 1:26 pm    Post subject: Reply with quote

3rd thread about making a trainer, why dont use the edit button ?

and yes, its actually the same like you stated in the other threads, here you just dont choose your own value.
Back to top
View user's profile Send private message MSN Messenger
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Wed Jul 11, 2007 1:52 pm    Post subject: Reply with quote

I'm starting to doubt your intellect, Kaspersky.... Confused
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Wed Jul 11, 2007 4:11 pm    Post subject: Reply with quote

I was pretty sure I posted here, unless I'm losing my mind.

Is GetVariable even needed? I don't see why it would be.
Back to top
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Wed Jul 11, 2007 11:33 pm    Post subject: Reply with quote

Do you know something like that
SetVariable(Edit2.text,Edit1.Text); ?
it's almost the same as in VB
actually it is the same code without Call command
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Jul 12, 2007 12:01 am    Post subject: Reply with quote

The work is being done by the flash component, thats why. It will be the same in any language that uses it.
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Thu Jul 12, 2007 5:23 am    Post subject: Reply with quote

slovach, GetVariable is needed if you dont have a edit box where you can enter the Variable Name.

|Button1| [Edit1]

Button 1 got the GetVariable('Lives1'); then it automaticly gets the variable Lives1 instead of you entering Lives1 in a editbox. In the edit1 you can enter the amount, but if you use

GetVariable('Lives1');
SetVariable(10);

in Button1Click
it automaticly sets the variable: Lives1, to 10 when hitting button1.

hope you understand, also the codes might be wrong, just stood up Wink
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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