Jaysds1 Posted March 25, 2012 Share Posted March 25, 2012 Hi, How to hack any GTA Game to make a multiplayer based program? like MTA V? or MTA Orange? Link to comment
Towncivilian Posted March 25, 2012 Share Posted March 25, 2012 BOOL WINAPI DllMain ( HMODULE hModule, DWORD ul_reason_for_call, PVOID lpvReserved ) { switch ( ul_reason_for_call ) { case DLL_PROCESS_ATTACH: // DO STUFF HERE break; case DLL_THREAD_ATTACH: break; case DLL_THREAD_DETACH: break; case DLL_PROCESS_DETACH: break; } return TRUE; } 1 Link to comment
SugarD-x Posted March 26, 2012 Share Posted March 26, 2012 On top of Towncivilian's hilarious troll, you can study other open-source GTA multiplayer mods and their source codes to get a basic understanding of how they work, and how the games work, so you can make your own, either based on one of their's, or entirely of your own creation. Link to comment
Jaysds1 Posted March 26, 2012 Author Share Posted March 26, 2012 I searched MODDB for any Multiplayer, but the only one I kept finding is MTA , Do you have any suggestions? Link to comment
SugarD-x Posted March 26, 2012 Share Posted March 26, 2012 There are some now-dead ones like Vice-Players, the original VC:MP 0.1c source code is also public, and of course, MTA:SA is out there, just to get you started. Link to comment
Towncivilian Posted March 26, 2012 Share Posted March 26, 2012 The code snippet I posted is actually a viable method of injecting code into GTA. Compile, then rename to *.asi and drop it into the root GTA folder (3, VC, or SA) and it will be executed at runtime. It's how I was able to sideload my own SCMs for MTA 0.5r2 and apply some memory patches to disable/alter various GTA properties. TSearch, OllyDbg, and IDA Pro will get you a long way in terms of reverse engineering. There's also: Memory Addresses (SA), Documenting GTA:SA memory addresses, and of course MTA:SA as reference Memory Addresses (VC), Function Memory Addresses (VC), Documenting GTA3/VC memory addresses, a couple decent gta-vc.exe IDBs (disassembled gta-vc.exes) - acquire IDA Pro yourself, vice-players sauce (based on VC-MP) Good luck. Link to comment
Jaysds1 Posted March 26, 2012 Author Share Posted March 26, 2012 Thanks, but I'll take my time Link to comment
Cadu12 Posted March 26, 2012 Share Posted March 26, 2012 I found it for you: http://www.mediafire.com/?oyizy3om2yt It is VC:MC and Open Source, but still old Link to comment
Jaysds1 Posted April 6, 2012 Author Share Posted April 6, 2012 acquire IDA Pro yourself Is this a IDA? http://www.hex-rays.com/products/ida/index.shtml Link to comment
Towncivilian Posted April 6, 2012 Share Posted April 6, 2012 Yep, but the free version is several versions older than current. It'll still do the job okay though. Link to comment
Cadu12 Posted April 6, 2012 Share Posted April 6, 2012 I have no idea, how do I hack Starcraft2 to create Multiplayer for free? I can't find "connect" server to change. Link to comment
SugarD-x Posted April 6, 2012 Share Posted April 6, 2012 I have no idea, how do I hack Starcraft2 to create Multiplayer for free? I can't find "connect" server to change. StarCraft 2 already offers free multiplayer so long as you legally own the game. Piracy won't be discussed here, so please don't talk about it. Link to comment
Cadu12 Posted April 6, 2012 Share Posted April 6, 2012 If it is free, then I can't play in custom map =/ . Link to comment
SugarD-x Posted April 6, 2012 Share Posted April 6, 2012 1. StarCraft 2 is not free. It's multiplayer is. 2. Custom made maps still exist. They are called "UMS" or "Use Map Settings" games. 3. You can make custom maps with the Map Editor. 4. Everything you have described works in StarCraft and StarCraft: Brood War too. 5. Piracy is not allowed in this community. Link to comment
SugarD-x Posted April 6, 2012 Share Posted April 6, 2012 It's alright. Just want to keep you out of trouble. Link to comment
Jaysds1 Posted April 17, 2012 Author Share Posted April 17, 2012 BOOL WINAPI DllMain ( HMODULE hModule, DWORD ul_reason_for_call, PVOID lpvReserved ) { switch ( ul_reason_for_call ) { case DLL_PROCESS_ATTACH: // DO STUFF HERE break; case DLL_THREAD_ATTACH: break; case DLL_THREAD_DETACH: break; case DLL_PROCESS_DETACH: break; } return TRUE; } Sorry, i get an error for this... I changed "//Do Stuff HERE" to my code and it says there's an error on the first line. Link to comment
Towncivilian Posted April 17, 2012 Share Posted April 17, 2012 Paste code and the error at Pastebin. Link to comment
Jaysds1 Posted April 17, 2012 Author Share Posted April 17, 2012 actually, nvm, I was missing the opening "{" and had to add another bit of code, thnx though Link to comment
Anderl Posted July 10, 2012 Share Posted July 10, 2012 Wow, these information in the topic will help me a lot learning C++. Link to comment
Orange_ Posted July 10, 2012 Share Posted July 10, 2012 BOOL WINAPI DllMain ( HMODULE hModule, DWORD ul_reason_for_call, PVOID lpvReserved ) { switch ( ul_reason_for_call ) { case DLL_PROCESS_ATTACH: // DO STUFF HERE break; case DLL_THREAD_ATTACH: break; case DLL_THREAD_DETACH: break; case DLL_PROCESS_DETACH: break; } return TRUE; } Link to comment
qaisjp Posted July 11, 2012 Share Posted July 11, 2012 Lol Jay, good luck, you will most definitely need it. Link to comment
Jaysds1 Posted July 11, 2012 Author Share Posted July 11, 2012 Lol Jay, good luck, you will most definitely need it. Thanks, but I gave up on it longtime ago Link to comment
Anderl Posted July 11, 2012 Share Posted July 11, 2012 Lol Jay, good luck, you will most definitely need it. Thanks, but I gave up on it longtime ago Why dahell? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now