Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Perfect World
You last visited: Today at 15:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Delphi] Problem with target.

Discussion on [Delphi] Problem with target. within the Perfect World forum part of the MMORPGs category.

Reply
 
Old   #1
 
louco89's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 32
Received Thanks: 4
[Delphi] Problem with target.

Well, I'm a little problem, I am creating a component in Delphi for the facilitate the lives of those who want to create a bot or something, but I can not set the "target", you get all the other information such as hp and mp, my only problem being that, if someone can give me an idea of how to do this I am grateful. Below is the code I'm using to try to define the "target".

Code:
var
  PH : THandle;
  PID, ThID : DWORD;
  b : DWORD;
  H : THandle;
  currentvalue: Integer;
  valueTarget: Integer;
begin
//
H := FindWindow(nil, Pchar(FWindow));
if (H=0) then exit;
ThID := GetWindowThreadProcessId(H, @PID);
PH := OpenProcess(PROCESS_ALL_ACCESS,FALSE,PID);
readprocessmemory(PH,Ptr(OFFBase),@currentvalue,SizeOF(currentvalue),b);
currentvalue:=currentvalue+$20;
readprocessmemory(PH,ptr(currentvalue),@currentvalue,SizeOF(currentvalue),b);
currentvalue:=currentvalue+OffTarget;
writeprocessmemory(PH,ptr(currentvalue),@valueTarget,SizeOF(valueTarget),b);
Sorry my english =/
louco89 is offline  
Old 10/07/2009, 01:59   #2
 
BuBucekTop's Avatar
 
elite*gold: 0
Join Date: Nov 2007
Posts: 160
Received Thanks: 28
Man, you're going wrong...
The only way to properly set target is to use code injection. Look ath this thread , find correct call-address for your client and enjoy targeting =)
BuBucekTop is offline  
Old 10/07/2009, 18:02   #3
 
louco89's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 32
Received Thanks: 4
I had seen it, but I thought it gave no inject, thanks anyway I will give a studied and do through inject.
louco89 is offline  
Reply


Similar Threads Similar Threads
DELPHI - Who make Exploits, Hacks and Tools with DELPHI?
05/15/2013 - CO2 Programming - 13 Replies
Hi all. Iwith DELPHI, but a dont now. hello, I use Delphi to program and i like someone put here source code of make Exploits, Hacks and Tools bot here, or part of the code. ty to all
Offset lade problem in Delphi
06/20/2010 - General Coding - 16 Replies
Hallo leute, habe da ein kleines problem. Ich habe ein programm in delphi geschrieben, welches ein wert an einer addresse verändert. klappt gut. Die addresse hat das format $12345678. Das ganze funktioniert so lange, bis ich diese addresse nicht fest im programm als constant eingespeichert habe, sondern aus einem edit auslesen will (als string halt). Nun meine Frage : Wie kann ich die addresse $12345678 aus dem Edit auslesen und dannach mit readprocessmemory benutzen? Wenn ich sie mit...
[DELPHI&METIN]Wie sind die Delphi Befehle für einen Bot?
03/07/2010 - General Coding - 3 Replies
Hallo liebe com, ich habe mal eine Frage: Ich möchte einen Metin Bot in Delphi schreiben aber ich weiß nicht die Befehle für eine bestimmte Taste senden etc. könnt ihr mir die pls sagen oder per pn geben MfGGGGGG
[Delphi]Ampel problem
12/07/2007 - General Coding - 0 Replies
Hallo, ich soll eine Ampelkreuzung Programmieren und hab aber 3 Sachen die mir probleme bereiten. ich hab meine ampeln bis jetzt immer über objekte gemacht nun soll ich es aber so machen das delphi die objekte beim programm start selber erstellt. hab aber keine wirkliche ahnung wie das geht. ich schätze mal mit aowner und twincontrol aber ich weiß es nicht genau wäre für hilfe dankbar. dann hab ich noch das problem das ich nicht weiß wie ich einem selbsterstellten tradiogroup objekt die...



All times are GMT +1. The time now is 15:48.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.