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 


How do i change variables in delphi?
Goto page Previous  1, 2, 3, 4  Next
 
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: Tue Jun 26, 2007 4:34 am    Post subject: Reply with quote

Kevinnn wrote:
swearing Shocked


also,first do it without an Edit box,if you get the point of this,ill teach you how to insert an option to use an Edit box,its not simple ';..;'

at the const,the value is like the Edit box,insert there the amount you're looking for in Hex i belive..
Back to top
View user's profile Send private message
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Tue Jun 26, 2007 4:36 am    Post subject: Reply with quote

Um... Kaspersky..?
He added a ShockwaveFlash component into his application.. He can do whatever he wants with it..
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Jun 26, 2007 4:48 am    Post subject: Reply with quote

assaf84 wrote:
Um... Kaspersky..?
He added a ShockwaveFlash component into his application.. He can do whatever he wants with it..


ok..
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: Tue Jun 26, 2007 5:38 am    Post subject: Reply with quote

ye, i added that component.

But then what? i would really like to learn how to find variables. I just dont get uzeils explanation.
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 Jun 26, 2007 10:21 am    Post subject: Reply with quote

You can use SWF decompiler, and then it's 2 much easy..
Back to top
View user's profile Send private message
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Tue Jun 26, 2007 10:32 am    Post subject: Reply with quote

Kasperfucktard, funny how your variables and values are the EXACT same as this!

http://www.swissdelphicenter.ch/torry/showcode.php?id=1364

Torry's Delphi Pages wrote:
var
WindowName: Integer;
ProcessId: Integer;
ThreadId: Integer;
buf: PChar;
HandleWindow: Integer;
Write: Cardinal;

{....}

const
WindowTitle = 'a program name';
Address = $A662D6;
PokeValue = $4A;
NumberOfBytes = 2;

{....}


procedure TForm1.Button1Click(Sender: TObject);
begin
WindowName := FindWindow(nil, WindowTitle);

if WindowName = 0 then
begin
MessageDlg('Program not running.', mtWarning, [mbOK], 0);
end;

ThreadId := GetWindowThreadProcessId(WindowName, @ProcessId);
HandleWindow := OpenProcess(PROCESS_ALL_ACCESS, False, ProcessId);

GetMem(buf, 1);
buf^ := Chr(PokeValue);
WriteProcessMemory(HandleWindow, ptr(Address), buf, NumberOfBytes, Write);
FreeMem(buf);
CloseHandle(HandleWindow);
end;
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: Tue Jun 26, 2007 10:57 am    Post subject: Reply with quote

assaf, im sorry but im still quite lost. a decompiler is like Flasm?
Back to top
View user's profile Send private message MSN Messenger
Uzeil
Moderator
Reputation: 6

Joined: 21 Oct 2006
Posts: 2411

PostPosted: Tue Jun 26, 2007 1:33 pm    Post subject: Reply with quote

Hahaha, I saw Kaspersky's code and thought "WOW he wrote something that might function!", then I was about to google a few lines to check for plagiarism and saw Renko's post Razz Great.


Anyway, it's called a component, which is required for running a .swf(ShockWave Flash, thus the component TShockWaveFlash) movie file, and all you need is two edit boxes and a button to say ShockWaveFlash1.setVariable(edit1.text,StrToInt(edit2.text));



Kevinnn: There are a ton of tutorials in the "Ultimate Flash Trainer"s in the Flash Games section, as well as more tutorials on decompiling with flasm and the like in the back few pages. I suggest checking out Kekeb's youtube tutorials on flash trainer making and flasm decompiling as well. Smile

_________________


Mini Engine v3.0
Mipla v1.0

Reposted old threads out of the MS section.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Jun 26, 2007 3:00 pm    Post subject: Reply with quote

Uzeil wrote:
Hahaha, I saw Kaspersky's code and thought "WOW he wrote something that might function!", then I was about to google a few lines to check for plagiarism and saw Renko's post Razz Great.


Anyway, it's called a component, which is required for running a .swf(ShockWave Flash, thus the component TShockWaveFlash) movie file, and all you need is two edit boxes and a button to say ShockWaveFlash1.setVariable(edit1.text,StrToInt(edit2.text));



Kevinnn: There are a ton of tutorials in the "Ultimate Flash Trainer"s in the Flash Games section, as well as more tutorials on decompiling with flasm and the like in the back few pages. I suggest checking out Kekeb's youtube tutorials on flash trainer making and flasm decompiling as well. Smile


acutally i did tooked it from there to show him a sample code,not to talk that Ranko is leeching there too.
Back to top
View user's profile Send private message
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Tue Jun 26, 2007 4:14 pm    Post subject: Reply with quote

Kaspersky wrote:
Uzeil wrote:
Hahaha, I saw Kaspersky's code and thought "WOW he wrote something that might function!", then I was about to google a few lines to check for plagiarism and saw Renko's post Razz Great.


Anyway, it's called a component, which is required for running a .swf(ShockWave Flash, thus the component TShockWaveFlash) movie file, and all you need is two edit boxes and a button to say ShockWaveFlash1.setVariable(edit1.text,StrToInt(edit2.text));



Kevinnn: There are a ton of tutorials in the "Ultimate Flash Trainer"s in the Flash Games section, as well as more tutorials on decompiling with flasm and the like in the back few pages. I suggest checking out Kekeb's youtube tutorials on flash trainer making and flasm decompiling as well. Smile


acutally i did tooked it from there to show him a sample code,not to talk that Renko is leeching there too.
Truthfully, the only thing I use on Torry's is the C variables to Delphi variable translation page.
Otherwise, it's for checking if people ripped and claimed credits.

Also, you can't leech from a website that is DESIGNED for giving people tips.

::EDIT::

I lol'd at the part where you said "I'm not going to explain this code."
I bet you can't, thus the reason.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Wed Jun 27, 2007 2:45 am    Post subject: Reply with quote

Renkokuken wrote:
Kaspersky wrote:
Uzeil wrote:
Hahaha, I saw Kaspersky's code and thought "WOW he wrote something that might function!", then I was about to google a few lines to check for plagiarism and saw Renko's post Razz Great.


Anyway, it's called a component, which is required for running a .swf(ShockWave Flash, thus the component TShockWaveFlash) movie file, and all you need is two edit boxes and a button to say ShockWaveFlash1.setVariable(edit1.text,StrToInt(edit2.text));



Kevinnn: There are a ton of tutorials in the "Ultimate Flash Trainer"s in the Flash Games section, as well as more tutorials on decompiling with flasm and the like in the back few pages. I suggest checking out Kekeb's youtube tutorials on flash trainer making and flasm decompiling as well. Smile


acutally i did tooked it from there to show him a sample code,not to talk that Renko is leeching there too.
Truthfully, the only thing I use on Torry's is the C variables to Delphi variable translation page.
Otherwise, it's for checking if people ripped and claimed credits.

Also, you can't leech from a website that is DESIGNED for giving people tips.

::EDIT::

I lol'd at the part where you said "I'm not going to explain this code."
I bet you can't, thus the reason.


Nice catch,but acutally i do,if i will explaine him i think he wont understand,serious renko im not talknig bullshit.

i use Torry's Delphi pages when i really do need help,not allways.

and its not a bad thing using it since its really made for help and tips,and some samples codes.
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 Jun 27, 2007 6:27 am    Post subject: Reply with quote

Uzeil, i got the ActiveX component, TShockWaveFlash1 and 2 edit boxes and a button.

What im looking for is a code which makes it set the variable stated in box1 (variable name; gold, score, hp, lives ect.) and in box2 i should be able to enter the value i want.

I know how to find variables using Flasm and how to decompile a .swf into a .fls or something like that. dont remember the exact file name but whatever Flasm decompiles to.
Back to top
View user's profile Send private message MSN Messenger
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Wed Jun 27, 2007 11:56 am    Post subject: Reply with quote

Code:

ShockwaveFlash1.setVariable(Edit1.Text, Edit2.Text);
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 Jun 27, 2007 12:00 pm    Post subject: Reply with quote

omg thanks, it works!

its now im saying, was it really that hard to tell me? and i also wondered why i didnt figured it out before.
Back to top
View user's profile Send private message MSN Messenger
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Wed Jun 27, 2007 12:28 pm    Post subject: Reply with quote

Kevinnn wrote:
omg thanks, it works!

its now im saying, was it really that hard to tell me? and i also wondered why i didnt figured it out before.


Because you don't know how to use a simple search engine.

http://www.google.ca/search?q=change+variable+in+flash+object+for+delphi

Second link.

_________________

Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
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