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 


First Trainer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Kingsley
Newbie cheater
Reputation: 0

Joined: 23 Nov 2008
Posts: 10

PostPosted: Sun Nov 23, 2008 12:29 am    Post subject: First Trainer Reply with quote

Well, hello everyone.
Just joined the forums, and I'm working on my first Flash Game Trainer.
Starting small of course Confused

But I'm stuck Rolling Eyes

I'm using Visual Basic 6 to code it.
The flash game is Bloons Tower Defense

The variable i'm using is _level0.td.money
So I put the button as:

Private Sub Command1_Click()
Call Flash1.SetVariable("level0.td.money")
End Sub

but it doesn't work.
Can someone help me?
Back to top
View user's profile Send private message
Wintermoot
Expert Cheater
Reputation: 0

Joined: 08 Nov 2007
Posts: 198

PostPosted: Sun Nov 23, 2008 1:07 am    Post subject: Reply with quote

Call Flash1.SetVariable("level0.td.money", "value you want here")
Back to top
View user's profile Send private message
Jpoel
Newbie cheater
Reputation: 0

Joined: 04 Jul 2008
Posts: 13

PostPosted: Sun Nov 23, 2008 6:44 am    Post subject: Reply with quote

HawwwaH wrote:
Call Flash1.SetVariable("level0.td.money", "value you want here")


that wont work either, you need an underscore before "level0"

Also, you dont actually need to write Call, either!

Code:
Flash1.SetVariable("_level0.td.money", "value you want here")
Back to top
View user's profile Send private message
Kingsley
Newbie cheater
Reputation: 0

Joined: 23 Nov 2008
Posts: 10

PostPosted: Sun Nov 23, 2008 1:45 pm    Post subject: Reply with quote

Hmm.. thanks for the quick replys!
But it still doesn't work Sad
Embarassed

Edit: I was also trying to make it a Text Box, so I can choose the value I would need as well.

So, the Game itself is called Flash1, the textbox is called Textbox1.

SO the button would code like this right?

Flash1.SetVariable("_level0.td.money"), "Textbox1, Text")

But it still doesn't work Sad
Back to top
View user's profile Send private message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Sun Nov 23, 2008 2:40 pm    Post subject: Reply with quote

Kingsley wrote:
Hmm.. thanks for the quick replys!
But it still doesn't work Sad
Embarassed

Edit: I was also trying to make it a Text Box, so I can choose the value I would need as well.

So, the Game itself is called Flash1, the textbox is called Textbox1.

SO the button would code like this right?

Flash1.SetVariable("_level0.td.money"), "Textbox1, Text")

But it still doesn't work Sad


My first trainer was for aq and df, there really easy

Flash1.SetVariable("_level0.td.money", Textbox1.Text)

Try That Very Happy

_________________
CEF will always stay alive.
Back to top
View user's profile Send private message
Kingsley
Newbie cheater
Reputation: 0

Joined: 23 Nov 2008
Posts: 10

PostPosted: Sun Nov 23, 2008 9:25 pm    Post subject: Reply with quote

Well!
I got my first trainer done!
I am so happy..
But xD
I can't export it as an EXE? :/
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Mon Nov 24, 2008 10:08 am    Post subject: Reply with quote

Kingsley wrote:
Well!
I got my first trainer done!
I am so happy..
But xD
I can't export it as an EXE? :/

Build/compile? Confused

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail 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