PDA

View Full Version : Help with my first hack.



Skitz_Viper
23rd August 2005, 08:15
hello. i have recenly been trying to create a nofog hack. quite simple for the majority of you.

when compiling i get this.



------ Build started: Project: TatniumD3D, Configuration: Debug Win32 ------
Compiling...
d3d9dev.cpp
c:\my files\games\hacks\d3d_starterkit 3.0\d3d_starterkit_v3.0b\d3d9\d3d9dev.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
d3d9int.cpp
c:\my files\games\hacks\d3d_starterkit 3.0\d3d_starterkit_v3.0b\d3d9\d3d9int.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
d3d9tex.cpp
c:\my files\games\hacks\d3d_starterkit 3.0\d3d_starterkit_v3.0b\d3d9\d3d9tex.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
d3d9.cpp
c:\my files\games\hacks\d3d_starterkit 3.0\d3d_starterkit_v3.0b\d3d9\d3d9.cpp(1) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
main.cpp
c:\my files\games\hacks\d3d_starterkit 3.0\d3d_starterkit_v3.0b\d3d9\main.cpp(29) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50215
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\Debug\d3d9int.sbr': No such file or directory
Build log was saved at "file://c:\my files\games\hacks\D3D_Starterkit 3.0\D3D_Starterkit_v3.0b\D3D9\Debug\BuildLog.htm"
TatniumD3D - 6 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

i have received the d3d9int.sbr file from a friend, and placed this in the debug folder as it said that it is missing this file.

can anyone help me? i do not know what is wrong.

caliber1942
23rd August 2005, 23:16
i don't know if you can compile a debugged version- you might want to try compiling normal and not debugged version=

Tony Soprano
24th August 2005, 11:57
You can also create a fog hack hack by altering the viewdistance float in memory.
I found when I did this the address didn't even require a BP as it was static.
It's also PB proof.

Tony

Spontaneous
24th August 2005, 13:08
Didnt even notice that caliber, lol.

Yea you have to compile the hack in Release mode, not debug mode. I forget where the option for that is but most of these things dont compile right under debug mode.

Sparten
24th August 2005, 13:42
to me it also seems like your missing a headerfile(windows.h) try and search you folders for that file, if you finde it try and put it in the project folder and change #include <windows.h> to #include "windows.h" that will tell the compiler to look for the file in the project folder.
Now if you dont have windows.h then ther is something missing in you version of VS, and i suggest you find another version.

Skitz_Viper
25th August 2005, 08:47
i have searched my whole pc for windows.h without luck. i created some variables in system environmental variables like kosire told me. although i am 'missing' an 'includes' folder from one of the locations and windows.h isn't in the other. i downloaded the microsoft c++ 2005 express edition beta 2 twice, but still no file.

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0

within that folder i am told that there should be an 'includes' folder. while enabled show hidden folders the includes folder is not there. might this be my problem? and if so how do i fix it?

cheers.