| 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
|
Posted: Tue Jul 31, 2007 10:30 am Post subject: 3 Delphi Questions! |
|
|
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 |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Tue Jul 31, 2007 11:15 am Post subject: |
|
|
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 |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Tue Jul 31, 2007 11:27 am Post subject: |
|
|
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 |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Tue Jul 31, 2007 11:30 am Post subject: |
|
|
| Wats the precedure to show the Form when u click a button?
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Tue Jul 31, 2007 11:35 am Post subject: |
|
|
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 |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Tue Jul 31, 2007 11:41 am Post subject: |
|
|
| Aiight kool, I got it to work now for some variables. I'm making a trainer haha.
|
|
| Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Tue Jul 31, 2007 11:46 am Post subject: |
|
|
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 |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Tue Jul 31, 2007 11:51 am Post subject: |
|
|
| 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 |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Tue Jul 31, 2007 11:52 am Post subject: |
|
|
depends what he means...
im pretty sure its not for game hacking its like in kaspersky's tut for flash games
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 |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Tue Jul 31, 2007 12:12 pm Post subject: |
|
|
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 |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Tue Jul 31, 2007 1:25 pm Post subject: |
|
|
Lets say its in form2... so u should write:
form2.swf.setVariable(....);
|
|
| Back to top |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Tue Jul 31, 2007 1:33 pm Post subject: |
|
|
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 |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Tue Jul 31, 2007 1:41 pm Post subject: |
|
|
add unit2 or whatever u called it to your uses..
and u forgot ';' after the second line
|
|
| Back to top |
|
 |
Never Again I post too much
Reputation: 0
Joined: 13 Jan 2007 Posts: 2000 Location: New Mexico
|
Posted: Tue Jul 31, 2007 1:50 pm Post subject: |
|
|
| Dammit lol maybe your right I can't make a trainer at my skill level...
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Tue Jul 31, 2007 1:58 pm Post subject: |
|
|
| 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 |
|
 |
|