HelpPolyHack Problem

Posts 1–6 of 6 · Page 1 of 1
PolyHack Problem
Im trying to convert one of my private cheats into a polyhack. its a directx overlay and its giving an error output (look below). i asked yamiez and he said i need to add the include and library directories to the command file. im not sure how to do this so can anyone help?

output
Code:
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

cDirectX.cpp
c:\users\ImWhacky\desktop\new folder (2)\nsane multihack_r\hMain.h(10): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
cDrawings.cpp
c:\users\ImWhacky\desktop\new folder (2)\nsane multihack_r\hMain.h(10): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
cMain.cpp
c:\users\ImWhacky\desktop\new folder (2)\nsane multihack_r\hDrawings.h(9): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
Decrypt.cpp
ProcMem.cpp
Generating Code...
Press any key to continue . . .
also, i tried looking all over here and i couldnt find anything
Go to the Command.txt and add d3d9.lib & d3dx9.lib. (I think this is how you do it, as this is also how u do it with vs)

 
View developer guide (by Yamiez)
A hack file is just a simple zip with the following files:
-command.txt
-inout.txt
-msg.txt
and a src directory.

command.txt
In command.txt you have to fill in the command line compiler options, here you have to link all the libraries etc... this one should work for practically any hack.
Code:
/EHsc /Od /MT *.cpp kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /link /FORCE:MULTIPLE /OUT:hack.exe
inout.txt
First line you put the filename the compiler generates (see the /OUT: parameter)
Second line the new name.
Code:
hack.exe
MyHack.exe
msg.txt
A message that will pops up when the user loads up the hack.

If you have any question regarding implementing this system sent me a pm .

Quote Originally Posted by ImStyL View Post
Go to the Command.txt and add d3d9.lib & d3dx9.lib. (I think this is how you do it, as this is also how u do it with vs)

 
View developer guide (by Yamiez)
A hack file is just a simple zip with the following files:
-command.txt
-inout.txt
-msg.txt
and a src directory.

command.txt
In command.txt you have to fill in the command line compiler options, here you have to link all the libraries etc... this one should work for practically any hack.
Code:
/EHsc /Od /MT *.cpp kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /link /FORCE:MULTIPLE /OUT:hack.exe
inout.txt
First line you put the filename the compiler generates (see the /OUT: parameter)
Second line the new name.
Code:
hack.exe
MyHack.exe
msg.txt
A message that will pops up when the user loads up the hack.

If you have any question regarding implementing this system sent me a pm .

its still giving me the error when i made both of those changes, Yamiez said that i need to add the include and library directories but that wasnt working either
@Yemiez said that i needed both include and library in the command.txt and i tried adding them but its not working
what i have

Code:
/EHsc /Od /MT *.cpp d3d9.lib d3dx9.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /link /FORCE:MULTIPLE /OUT:hack.exe /I"C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include"
@Hunter Close this thread, i figured it out
/Solved & closed.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us