| View previous topic :: View next topic |
| Author |
Message |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sat Jun 16, 2007 11:47 am Post subject: How do i change variables in delphi? |
|
|
I saw Kebebs youtube tutorial about how to make a flash trainer. He used flasm to find the variables and then he wrote a code in VB6.0, but since i still dont have VB, i would like to know how i can make it work in delphi.
I mean, if you enter 9999 in a textbox, and click a button then your score or gold changes to 9999 or whatever amount you entered in the textbox.
anyone would explain what kind of code i should use to make this work?
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Jun 16, 2007 2:00 pm Post subject: |
|
|
| Probably want to look up how to convert a string to an array of bytes, then just write that.
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sun Jun 17, 2007 12:37 pm Post subject: |
|
|
| anyone else?
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Sun Jun 17, 2007 1:24 pm Post subject: |
|
|
uh look at my trainer, you mean something like that?
i can give you source o.o
and its not hard to get VB6
_________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Mon Jun 18, 2007 6:24 am Post subject: |
|
|
| uhm, i mean where you have the game, then underneath or beside it you can put a textbox, then when you type in example, 99999 and click on a button which is attached to the textbox, your score/health/gold or whatever goes to 99999
|
|
| Back to top |
|
 |
oohownage How do I cheat?
Reputation: 0
Joined: 23 Jun 2007 Posts: 3
|
Posted: Sat Jun 23, 2007 11:13 am Post subject: |
|
|
| i have a problem to probably relating to the current problem in this topic, to get infinitive health, am playing css and want infinitive health, is it possible? and how i do it?
|
|
| Back to top |
|
 |
Uzeil Moderator
Reputation: 6
Joined: 21 Oct 2006 Posts: 2411
|
Posted: Sat Jun 23, 2007 6:42 pm Post subject: |
|
|
| slovach wrote: | | Probably want to look up how to convert a string to an array of bytes, then just write that. | A string is an array of bytes.
Kekeb's tutorial shows you how to install the component then use the setVariable API. The equivelant in Delphi is to go to Components -> Install ActiveX -> Shockwave Flash (Flash9.ocx) -> OK -> [ActiveX] TShockWaveFlash (add to form) -> OnButtonClick = ShockwaveFlash1.setVariable(edit1.text,StrToInt(edit2.text));
Should be fine. Mine won't work because it always wants to install Flash9dbg.ocx instead of Flash9.ocx and won't let me manually grab Flash9.ocx since a ShockWaveFlash component is already installed. Hopefully the same issue won't happen for you.
_________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sat Jun 23, 2007 7:42 pm Post subject: |
|
|
it says
Incompatible types: "Wide String" and "Integer"
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Jun 23, 2007 7:54 pm Post subject: |
|
|
I don't exactly know. Obviously the gold and stuff is a variable. So um, idk, maybe something like this, but I'm probably wrong.
Gold could be an integer or something and the value it has will display in another text box.
I'm probably wrong, I don't really make this stuff.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Jun 23, 2007 8:38 pm Post subject: |
|
|
| Uzeil wrote: | | slovach wrote: | | Probably want to look up how to convert a string to an array of bytes, then just write that. | A string is an array of bytes. |
I know, Mr.Technical But I don't think you can just throw that straight into WPM without a little voodoo magic as it's not the right data type?
|
|
| Back to top |
|
 |
Uzeil Moderator
Reputation: 6
Joined: 21 Oct 2006 Posts: 2411
|
Posted: Sat Jun 23, 2007 8:51 pm Post subject: |
|
|
With WPM? Sure you can
WPM(handle,pointer(address),addr(mystring[1]),length,nil);
_________________
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Jun 23, 2007 9:03 pm Post subject: |
|
|
| Ah, I see. Can't do that in .NET though.
|
|
| Back to top |
|
 |
Uzeil Moderator
Reputation: 6
Joined: 21 Oct 2006 Posts: 2411
|
Posted: Sat Jun 23, 2007 9:21 pm Post subject: |
|
|
There's a Delphi.net? O_O
And yes you should be able to do that in .NET . All compilers should allow you to get the VA of a variable.
_________________
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sat Jun 23, 2007 9:46 pm Post subject: |
|
|
| Uzeil wrote: | | There's a Delphi.net? |
Yep, you just haven't been exposed to it since you've been using an old version of Delphi (7). (which most people choose because its the last version before Delphi .NET, also why people use visual studio 6 (1998!))
|
|
| Back to top |
|
 |
Uzeil Moderator
Reputation: 6
Joined: 21 Oct 2006 Posts: 2411
|
Posted: Sat Jun 23, 2007 9:49 pm Post subject: |
|
|
Can it make the beautiful GUIs that programs such as xentar's trainer and dlicious' trainers freatured?
_________________
|
|
| Back to top |
|
 |
|