edit: nvm
Printable View
edit: nvm
I got it working on VS2010. Couple of the errors you posted were in my build error, but got most of it fixed thanks to couple people that helped.
Edit: typo.
some1 can help me please??? i getting a error when i trying to build in this step "Project 'CSCommon': Like the first project, Let's build it and see what we got."
when i build that i get this error: http://s2.subirimagenes.com/otros/pr...2sin-ttulo.jpg
Error says: "the project file name ' ' was changed or is no longer in the solution.".
Need help please :/:
EDIT: im already using Oldshoold's clean source posted by jur13n.
EDIT2: i guess the first error was fixed but now im still getting error when i triying to build CSCommon like
PHP Code:typedef void *PVOID;
typedef void * POINTER_64 PVOID64;
Error 1 error C2146: syntax error: missing ';' before identifier 'PVOID64' C: \ Program Files (x86) \ Windows Kits \ 8.0 \ Include \ um \ winnt.h 301 1 CSCommonPHP Code:typedef union _FILE_SEGMENT_ELEMENT {
PVOID64 Buffer;
ULONGLONG Alignment;
}FILE_SEGMENT_ELEMENT, *PFILE_SEGMENT_ELEMENT;
Error 2 error C4430: missing type specifier int assumed. Note: C + + does not support default-int C: \ Program Files (x86) \ Windows Kits \ 8.0 \ Include \ um \ winnt.h 301 1 CSCommon
Error 3 Error C2146: syntax error: missing ';' before identifier 'Buffer' C: \ Program Files (x86) \ Windows Kits \ 8.0 \ Include \ um \ winnt.h 11698 1 CSCommon
Error 4 error C4430: missing type specifier int assumed. Note: C + + does not support default-int C: \ Program Files (x86) \ Windows Kits \ 8.0 \ Include \ um \ winnt.h 11698 1 CSCommon
any help please??? :(:
Open your winnt.h (probably should copy and paste it in your desktop and replace it after you're done editing)
Add below 'typedef void *PVOID;':
Code:#define POINTER_64 __ptr64
Thanks so much :D: now CSCommon was compiled :laugh::laugh::laugh:
but now gunz project is the problem, when i trying to compile i get so many errors like these:
Error 1 error LNK2026: module unsafe SAFESEH an image. D: \ Users \ asd123 \ DATA \ Gunz \ Gunz 1.5 Repack by Jur13n # 2 (Clean) \ stable \ Gunz \ HShield.lib (HShield.obj) Gunz
Error 3 Error LNK2026: module unsafe SAFESEH an image. D: \ Users \ asd123 \ DATA \ Gunz \ Gunz 1.5 Repack by Jur13n # 2 (Clean) \ stable \ Gunz \ d3dx9.lib (d3dxmath.obj) Gunz
so much errors about "module unsafe SAFESEH an image"
can u help me again please :(:
Very good everything I compile excellent good tutorial
Del please
when you go to CSCommon > Properties > C/C++ > Command Line and input "/Zm200" into additional options for CSCommon and Gunz, A message on the output shows "3>LINK : warning LNK4044: unrecognized option '/Zm200'; ignored" does that matter?
also -
"5>MMatchServer_AntiHack.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library"
it still complied but I was just curious as this was involved in the steps during the tutorial.
LOL XD i forget that xDD thanks man.
PD: so 10 / 10 but if i want to compile matchserver (single mode), matchagent and locator same how i can do? cuz i getting "the project file name ' ' was changed or is no longer in the solution.". error when i open matchserver.project and build.
This error is actually caused by the fact that the new stdlib header does not declare _secerr_handler_func and _set_security_error_handler.
It's overkill and unnecessary to copypaste the entire old stdlib.h like you do.
Just add these declarations at the top of your MMatchDebug.cpp, below the #include's
PHP Code:#if defined(_M_IX86)
#define _SECERR_BUFFER_OVERRUN 1
typedef void (__cdecl *_secerr_handler_func)(int, void *);
_CRTIMP _secerr_handler_func __cdecl _set_security_error_handler(_secerr_handler_func);
#endif
Also you can fix the OutputDebugStr errors by replacing the calls with OutputDebugString, rather than commenting them out.
anyone please help me after i build CScommon to see the errors and fix it , i got this
Error 1 error C1083: Cannot open include file: 'afxdb.h': No such file or directory D:\New Folder\source\Source\CSCommon\Include\stdafx.h 14 1 CSCommon