View Full Version : Battlefield 2...
Quicktime
11th June 2005, 20:49
Hey, just a few questions... Im about to have ashot at a wallhack for bf2 :) urm.. its directx9 isnt it? how can i get the direct x sdk?! :(
Quicktime
11th June 2005, 20:57
nevermind, i got the link to the d9 sdk...
urm... yeah is bf2 direct x 9?
Kidaho
11th June 2005, 22:02
why the hell wouldnt it be? lmfao
Spontaneous
12th June 2005, 00:13
Yes its directx 9.
adampcornforth
12th June 2005, 11:35
Where do i download the hack from?
Spontaneous
12th June 2005, 11:59
There is no bf2 hack out yet. Quicktime is wantting to make a directx wallhack.
adampcornforth
12th June 2005, 12:04
What about those screen shots?
Spontaneous
12th June 2005, 12:57
From people that made their own hack. No1 said there was one released. People only talked about hacks they were making.
AVP-piccolo
12th June 2005, 14:52
can any one post a link to his own hack ?
:classic:
Spontaneous
12th June 2005, 15:00
NO AND QUIT BEGGING! Next person that begs for a hack will get warning points or even a ban. I am tired of this crap. If someone wants to post their hack, then they will. They dont need people asking for them to post it so quit asking.
Quicktime
12th June 2005, 15:36
Urm, ok i have the code set up right for a wallhack also got an injector... But i dont know how to set up the dx9 sdk properly... Ive got the libary and everything set up to INCLUDE but it still has a stupid error whhen i compile saying 'file or directory does not exsist'
Spontaneous
12th June 2005, 15:40
you have to put the directx.c or whatever it is into the dir of where all your other .c files are. Also make sure you compile in Release mode, not Debug mode.
Quicktime
12th June 2005, 16:10
Wait a second, all i did was take the tatium base (d3d) edit it for the wallhack... There are no .c files.. only .cpp and header files... and the workspace and project files... Ahhh are you not sure which file i should copy into the directory of this?
why the hell wouldnt it be? lmfao
I have no idea..
Spontaneous
12th June 2005, 16:11
I havent installed the dx sdk since my last format so I dont know quite which file it is but its the file that you add as an include. You need to take that file from the sdk and move it to where all the other files are(rather its .c or .cpp which is just C++ instead of C). In short, take the sdk file that you added into the include and put it in the same dir as the tatium base. Best of luck since I dont think the tatium base is too good in the first place.
Quicktime
12th June 2005, 17:12
yeah, i think ill swap my base to the CSS base... I dont know any others...
ahh i ditched titanium cause its made for directx8 and it kept getting errors when i compiled it witht he direct9 sdk :S... i when and got Pizzapans basehook and made a new project and workspace files.... added all the headers and source files to the right dir's in file view and i tried to compile it as a test and now i get this:
e:\developments\bf2 d3d wallhack\source\dx8\d3d hack\d3d9dev.cpp(111) : error C2400: inline assembler syntax error in 'second operand'; found 'constant'
e:\developments\bf2 d3d wallhack\source\dx8\d3d hack\d3d9dev.cpp(112) : error C2400: inline assembler syntax error in 'opcode'; found 'constant'
e:\developments\bf2 d3d wallhack\source\dx8\d3d hack\d3d9dev.cpp(112) : warning C4405: 'call' : identifier is reserved word
Never mind forget that i got me a a better version of titanium, the hack will come out in a matter of hours :)
Sparten
12th June 2005, 17:14
LOL titanium is for both DX8 and DX9, and you cant get the titanium to hook without modifying it.
also if you havent made any dx hacks befor i suggest you try it out on some other game, this one is not right off the book.
Quicktime
12th June 2005, 18:00
o balls.. im not used to d3d you see i read a tut and it said by using m_D3Ddev->SetRenderState(D3DRS_ZENABLE,D3DZB_FALSE); it enables wallhack basicly... However, im my base hook i dont know where to add it... To Main.h/Main.cpp or d3d9.cpp/d3d9.h and where in them...?
LOL titanium is for both DX8 and DX9, and you cant get the titanium to hook without modifying it.
also if you havent made any dx hacks befor i suggest you try it out on some other game, this one is not right off the book.
I know, but over at elite coders that have the dx8 base only by it self. i had to head over to game deception to get the dx8 starter kit 2.5 which included both dx8 base and dx9...
Sparten
12th June 2005, 18:04
try and add it in hkIDirect3DDevice9::DrawIndexedPrimitive();
Spontaneous
12th June 2005, 18:05
Wallhacks wont give you much advantage anyways.
Quicktime
12th June 2005, 18:21
true as the maps are masive, whitewalls and chams would do the trick
try and add it in hkIDirect3DDevice9:rawIndexedPrimitive();
Just add it? or delete whats allready there?
so it will look like this:
STDMETHOD(DrawIndexedPrimitive)(D3DPRIMITIVETYPE,I NT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount,D3Ddev->SetRenderState(D3DRS_ZENABLE,D3DZB_);
or
STDMETHOD(DrawIndexedPrimitive)(D3Ddev->SetRenderState(D3DRS_ZENABLE,D3DZB_);
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.