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 


3 Delphi Questions!
Goto page 1, 2  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Tue Jul 31, 2007 10:30 am    Post subject: 3 Delphi Questions! Reply with quote

Ok I have 3 questions cause I wanted to make a Trainer but I didn't want it to have like hacks everywhere around it.

First : How do you make a button where you click it and then a list of hacks come up (Which ever hacks I make).

Second : Is it possible to change the button's shapes 'cause I don't want them to be square cuz It's ugly.

Third : How do I change the Button's color?
Thanks.
Back to top
View user's profile Send private message MSN Messenger
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Tue Jul 31, 2007 11:15 am    Post subject: Reply with quote

1) Make a new form, and show it when the user clicks the button.
2) Instead of a button put an image.
3) There is a property for it I think..
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Tue Jul 31, 2007 11:27 am    Post subject: Reply with quote

1) depends...
if u want a drop down box then do:
if ComboBox1.Text='text...' then begin
Radio1.Visible:=True;
Radio2.Visible:=True;
Radio3.Visible:=True;
End;

if u want a radio button/check box then simply do the same but ButtonName.Checked = true then...
make sure theyr invisible...

2) use speed buttons?

3) what do u mean? if its what i think it is then answer 2 will be the answer...
Back to top
View user's profile Send private message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Tue Jul 31, 2007 11:30 am    Post subject: Reply with quote

Wats the precedure to show the Form when u click a button?
Back to top
View user's profile Send private message MSN Messenger
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

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

procedure*
make form invisible and on click or any event you'd like then Form2.Visible:=True;
simple...
there is also another way to open a form which isnt open...

Form2:=TForm2.Create(Self);
Form2.ShowModal;
Back to top
View user's profile Send private message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Tue Jul 31, 2007 11:41 am    Post subject: Reply with quote

Aiight kool, I got it to work now for some variables. I'm making a trainer haha.
Back to top
View user's profile Send private message MSN Messenger
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

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

Um... How exactly..?
I mean, what u asked is a very basic level of delphi, how do u think of making a trainer in this level?
Back to top
View user's profile Send private message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Tue Jul 31, 2007 11:51 am    Post subject: Reply with quote

Well I know most variable commands plus it's not like I'm gonna make it to release it, it's just for the self pride.
Back to top
View user's profile Send private message MSN Messenger
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Tue Jul 31, 2007 11:52 am    Post subject: Reply with quote

depends what he means...
im pretty sure its not for game hacking its like in kaspersky's tut for flash games Very Happy
i made 1 and its not even 10% done and its 400 lines cuz i added so many really-not-important-code-lines like if miniclip games are ticked then other flash games is disabled, etc... =\
Back to top
View user's profile Send private message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

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

Ok 1 more question xD
If I wanted to set a Variable to the game I'm hacking but it's on a differnent form how would I set it because when I do
swf.GetVariable('Lives1');
swf.SetVariable('Lives1');
I get a compiling error because its on a different Form.
Back to top
View user's profile Send private message MSN Messenger
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Tue Jul 31, 2007 1:25 pm    Post subject: Reply with quote

Lets say its in form2... so u should write:
form2.swf.setVariable(....);
Back to top
View user's profile Send private message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Tue Jul 31, 2007 1:33 pm    Post subject: Reply with quote

Well this is what I have

Code:
Form1.swf.setVariable('_Root.character.intGold',9999999);
showmessage('9Mil Gold Enabled')


And I get 2 errors...
Back to top
View user's profile Send private message MSN Messenger
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Tue Jul 31, 2007 1:41 pm    Post subject: Reply with quote

add unit2 or whatever u called it to your uses..
and u forgot ';' after the second line
Back to top
View user's profile Send private message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Tue Jul 31, 2007 1:50 pm    Post subject: Reply with quote

Dammit lol maybe your right I can't make a trainer at my skill level...
Back to top
View user's profile Send private message MSN Messenger
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Jul 31, 2007 1:58 pm    Post subject: Reply with quote

Never Again wrote:
Dammit lol maybe your right I can't make a trainer at my skill level...


*Trainer for MS ? Learn more Delphi, but i suggest with C++

*Flash Trainer ? I made a TuT, search in this section
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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