errors on base - Need good coder

Posts 1–15 of 21 · Page 1 of 2
errors on base - Need good coder
ALL ERRORS FIXED //REQUEST CLOSE

thanks
I Would Be Willing To Help You Anytime !
Quote Originally Posted by **HACKER** View Post
I Would Be Willing To Help You Anytime !
Hmm i have never heard of you and you are a newbie ?

Hmm ok .. Try without TV

ok here are my errors:

the parts in red are the parts in my code underlined in red because they have errors, the errors are listed in red under the code ..

Code:
g_pFont->DrawText(NULL, buf, -1, &FontPos, DT_NOCLIP, color);
Error: Expected an Expression

Code:
void cDirectx::DrawString(int x, int y, DWORD color, LPD3DXFONT g_pFont, const char *fmt, ...)
{
Error: Expected a type specifier

These are both errors, if you could help i would be soooo thankfull

Thanks in advance,

Deathhaunts
Don't show him you're base.
Ask Dave or something.
You didnt declare g_pFont... try changing g_pFont to just pFont and see if that does anything... (you C/P to much)
Quote Originally Posted by Mr.Magicman View Post
You didnt declare g_pFont... try changing g_pFont to just pFont and see if that does anything... (you C/P to much)
THANKS You solved the -> part but ..

Code:
void cDirectx::DrawString(int x, int y, DWORD color, LPD3DXFONT pFont, const char *fmt, ...)
{
Error: member "cDirectx:Font" is not a type name

Possible, give me a download link Menu Public 4.0 because it is not in your subject Ergonomics
Quote Originally Posted by foder2 View Post
Possible, give me a download link Menu Public 4.0 because it is not in your subject Ergonomics
WTF ARE YOU ON ABOUT ..
can we please stay on topic here
same fucking morons... just try compiling it instead of reading those errors
Quote Originally Posted by Mr.Magicman View Post
same fucking morons... just try compiling it instead of reading those errors
Compiled and ..



1>------ Build started: Project: CaBase, Configuration: Release Win32 ------
1> Base.cpp
1>c:\documents and settings\admin\desktop\coding\cabase\cabase\Files. h(15): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1> DirectX.cpp
1>c:\documents and settings\admin\desktop\coding\cabase\cabase\Files. h(15): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1> Menu.cpp
1>c:\documents and settings\admin\desktop\coding\cabase\cabase\Files. h(15): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1> Misc.cpp
1>c:\documents and settings\admin\desktop\coding\cabase\cabase\Files. h(15): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Are you unable to read? there the errors are telling you...

It says he can't find d3dx9.h

I'm not sure if you really mean d3dX9 or you mean d3d9.h so maybe remove the X or if you haven't install DirectX SDK and it should be solved -.-
Quote Originally Posted by doofbla View Post
Are you unable to read? there the errors are telling you...

It says he can't find d3dx9.h

I'm not sure if you really mean d3dX9 or you mean d3d9.h so maybe remove the X or if you haven't install DirectX SDK and it should be solved -.-
i manually fixed all the errors underlined in red by adding the .dlls from my SDK include folder to my base folder, i compiled it ( f5 )
and now get a different weird error:

Code:
1>------ Build started: Project: CaBase, Configuration: Release Win32 ------
1>  Base.cpp
1>Base.cpp(14): warning C4005: 'D3DXCreateFont' : macro redefinition
1>          c:\documents and settings\admin\desktop\coding\cabase\cabase\d3dx9core.h(413) : see previous definition of 'D3DXCreateFont'
1>  DirectX.cpp
1>DirectX.cpp(17): error C2061: syntax error : identifier 'pFont'
1>DirectX.cpp(18): error C2511: 'void cDirectx::DrawString(int,int,DWORD)' : overloaded member function not found in 'cDirectx'
1>          c:\documents and settings\admin\desktop\coding\cabase\cabase\DirectX.h(11) : see declaration of 'cDirectx'
1>  Menu.cpp
1>  Misc.cpp
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

EDIT: If u know the exact problem of this, please tell, if not, i don't care about this base anymore, its got too many errors in. im gona try and find another one ( without errors ) ty for your time all.
I just say what I think now:

In my opinion you just don't know what you are doing there. You should first learn abit of

D3D and C++ <-- important and read errors so you know what it all the code means and

you can fix it by yourself.
Quote Originally Posted by doofbla View Post
I just say what I think now:

In my opinion you just don't know what you are doing there. You should first learn abit of

D3D and C++ <-- important and read errors so you know what it all the code means and

you can fix it by yourself.
i can make hot key hacks in c++ but I've always wanted to put a menu with them, tbh i don't care what you think about what im about to say:
I don't care about learning D3D at the moment, all i want is a base that i can update, i learn from bases as i have done with c++ hot key bases. For me it takes too long to learn a whole language just to use it to make hacks, all i need is a nice menu base with minimum errors, the majority of errors i can fix, but with minimum errors would be good.
Then i can find my addys and update the hack, this is for private use not for release.
i bet u dont even have a d3d hook or defines? :S
Posts 1–15 of 21 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us