Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 06:45

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

Advertisement



D3D9 EndScene Hook - Crash

Discussion on D3D9 EndScene Hook - Crash within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 46
Join Date: Oct 2010
Posts: 782
Received Thanks: 525
D3D9 EndScene Hook - Crash

Hello guys.

Yesterday I started working on a d3d Menu for Cubeworld. I already had one and I just wanted to make a new one which is good written to improve my skills. But it always crashes and I have no idea why. The original function is fine and at a valid adress and it hooks the right function. Maybe I overlook something totally obvious. I hope you can help me. At the moment my hook does nothing more than just call the original function and it does not work.


Edit:
Heres the code at endscene and at pEndScene.

Edit 2:
Well I have no idea why but i fixxed it. I did not recreate the original 5 bytes i overwrote and now it works. Could someone explain to me why it works even tho the bytes miss in the hook ?
th0rex is offline  
Reply


Similar Threads Similar Threads
[Help] EndScene d3d9
07/23/2013 - C/C++ - 2 Replies
Ich hab ein problem ich hab diesen endscene hook gecodet also so halb ich hab halt die addys ausgetauscht und wollte das ganze an nem d3d9 test environment austesten :D Und es hat nich funktioniert hoffe ihr könnt mir weiterhelfen hier der code: #pragma once #pragma comment(lib, "d3d9.lib") #pragma comment(lib, "d3dx9.lib")
[C++]EndScene hook
01/04/2011 - C/C++ - 7 Replies
Hallo Community, ich habe ein Problem mit dem Thema 'EndScene' hooking. Ich habe eine DLL geschrieben (Source unten). Wenn ich diese in z.b. Css injecte um zu gucken ob bis jetzt alles richtig ist, sprich ob das game crasht oder nicht. Jedoch sagt Winject beim injecten der DLL "Both injection methods failed, target is protectet?". Wenn ich jedoch eine DLL injecte, die einfach nur ne MSGBOX ausgibt, klappt es wunderbar. Nun ist meine Frage, liegt der Fehler im Source meiner DLL oder ist...
D3D Hook Frage (Endscene)
10/18/2010 - General Coding - 9 Replies
Hallo, Hab mir mal ein Tutorial zu dem Thema angeschaut. Scheint alles relativ einfach zu sein. Allerdings finde ich in meiner D3D9.dll kein Endscene usw. Ich bin scheinbar nicht der einzige mit dem Problem? :confused: Zumindest wenn ich mir das Forum anschau woher das Tutorial kommt. Aber dort kennt scheinbar auch niemand eine Lösung. Woran liegt das? Oder hat mir jemand ein paar neuere Tutorials zu dem Thema? (Gerne auch englisch). Grüße.
d3d9.dll endscene
10/09/2010 - General Coding - 38 Replies
Huhu, In meiner d3d9.dll scheint es keine endscene zu geben, ich habe mit IDA unter Functions den String "endscene" gesucht und er sagt mir jedes mal "string not found...". Ich hab mir jetzt auch schon eine aus'm Jahr 2002 geladen und IDA findet da komischer weiße auch nichts. Hat wer vllt nen lösungs vorschlag?
d3d9.dll EndScene ?
07/19/2010 - General Coding - 7 Replies
Hey, ich wollte mal fragen ob es noch möglich ist die Funktion EndScene aus der d3d9.dll zu hooken. Weil bei mir findet IDA die Funktion EndSene nicht... Ich hab Windows 7 64 bit Professional. (In der d3d10.dll ist auch keine Funktion die EndSene heißt) mfG



All times are GMT +1. The time now is 06:46.


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.