n0.obAtroN 0 Posted April 25, 2008 The famous Jiggie once said: "Yea, id love to know how a maphack is made. Ive seen a source but I dont really understand it" [http://www.bwhacks.com/forums/starcraft-hacking-related/27143-map-hack-tutorial.html] lol, here, have a maphack source. OPEN SOURCE BITCHES! Maphack.cpp: #include <windows.h> static const unsigned char newcode[] = {0xC7, 0x00, 0x00, 0x00, 0x01, 0x02}; extern "C" { BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { switch (fdwReason) { case DLL_PROCESS_ATTACH: // attach to process // return FALSE to fail DLL load WriteProcessMemory(GetCurrentProcess(), (void*)0x480BA0, (const void*)&newcode, 6, 0); return TRUE; // succesful default: return false; } } } Share this post Link to post
Jiggie 264 Posted April 25, 2008 Nice. Now if only it worked online. =/ Oh and for the "Yea, id love to know how a maphack is made. Ive seen a source but I dont really understand it", I've made a maphack since then. It was farily easy. ^^ Share this post Link to post
n0.obAtroN 0 Posted April 25, 2008 any other person than yourself has yet to see this.... Share this post Link to post
marinepower 0 Posted April 27, 2008 Just a random piece of info: if you change the second byte from 0x00 to 0x08 the computers will be able to build anywhere and creep will be able to spread up ramps. But yeah, too bad it only works offline. Share this post Link to post