Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Perfect World
You last visited: Today at 01:29

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

Advertisement



Hooking d3d8 device

Discussion on Hooking d3d8 device within the Perfect World forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 71
Received Thanks: 2
Hooking d3d8 device

Hello ppl, I don't know if anyone can help me out but I'm working on a bot and wanted to display my menu ingame using a d3d8 device hook. Thing is, all functions are hooking fine except reset. Was just wondering if anyone had an idea why. Because without reset you can't really draw anything. Here's my log file.

Code:
Adress of Reset: 0x298FF84
Adress of Present: 0x298FF7C
Adress of BeginScene: 0x298FF88
Adress of EndScene: 0x298FF80
Adress of DrawindexedPrimitive: 0x298FF74
Adress of SetStreamSource: 0x298FF78
BeginScene Hooked
EndScene Hooked
SetStreamSource Hooked
Present Hooked
DrawIndexedPrimitive Hooked
sweetlady is offline  
Old 11/05/2010, 06:03   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 71
Received Thanks: 2
Well, I'm not all that good at reversing but found this in d3d8.h module while searching for "reset":
Code:
6E7F8422       68 00007A6E     PUSH d3d8.6E7A0000 ; ASCII "Reset can only be called from the thread that the device was created from."
So I guess I have to find where the device is created in elementclient.exe to hook reset? Or Detour the whole device from there?
sweetlady is offline  
Old 11/24/2010, 01:32   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 71
Received Thanks: 2
This thread can be removed as I've solved my problem.
sweetlady is offline  
Old 11/24/2010, 08:29   #4
 
Interest07's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 576
Sadly I know nothing about anything graphical Glad to see you have helped yourself already though

Feel free to share any pertinent information with others
Interest07 is offline  
Old 11/26/2010, 04:40   #5
 
elite*gold: 0
Join Date: Feb 2009
Posts: 71
Received Thanks: 2
Well, Interest, I've just taken Azorbix's d3d8 base on GD. Then in endscene or present you can draw anything you want. I've used the LPD3DXFONT to draw my text and I used SoBeit's menu from uc-forum.com.
sweetlady is offline  
Thanks
1 User
Old 11/26/2010, 08:03   #6
 
Interest07's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 576
Ahhh thanks, I might have a look into that
Interest07 is offline  
Reply


Similar Threads Similar Threads
reboot and select proper boot device or insert boot media in selected boot device
05/22/2010 - Metin2 Private Server - 5 Replies
reboot and select proper boot device or insert boot media in selected boot device Das kommt bei mir wen ich Virtual pc öffne wieso ?!
crossfire device
03/25/2010 - CrossFire - 8 Replies
hab mal ne kleine frage, ich finde nichts wo steht, ob crossfire directx 8.1, 9.0c oder garkeins brauch. wenn mir das wer sagen könnte, würde ich evtl nen cham hack pub machen ;)
I have an d3d8.dll HELP ME!!!
03/07/2010 - Soldier Front Philippines - 5 Replies
Help po ako please pano po gamitin ang d3d8.dll atska may dxt po ako specialforce rev 38 kulng lng po ng dll please help if anyone knows how to use it i will give it to you and help me to use it...ANYBODY??!
D3D8/D3D9 Device Hook
01/30/2008 - Soldier Front - 4 Replies
http://rapidshare.com/files/86461541/d3dx8.zip.htm l http://rapidshare.com/files/86461553..._v2.3.zip. html http://rapidshare.com/files/86461559..._v2.3.zip. html



All times are GMT +1. The time now is 01:30.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.