Jaysds1 Posted March 25, 2012 Posted March 25, 2012 Hi, How to hack any GTA Game to make a multiplayer based program? like MTA V? or MTA Orange?
Towncivilian Posted March 25, 2012 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
SugarD-x Posted March 26, 2012 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.
Jaysds1 Posted March 26, 2012 Author Posted March 26, 2012 I searched MODDB for any Multiplayer, but the only one I kept finding is MTA , Do you have any suggestions?
SugarD-x Posted March 26, 2012 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.
Towncivilian Posted March 26, 2012 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.
Cadu12 Posted March 26, 2012 Posted March 26, 2012 I found it for you: http://www.mediafire.com/?oyizy3om2yt It is VC:MC and Open Source, but still old
Jaysds1 Posted April 6, 2012 Author Posted April 6, 2012 acquire IDA Pro yourself Is this a IDA? http://www.hex-rays.com/products/ida/index.shtml
Towncivilian Posted April 6, 2012 Posted April 6, 2012 Yep, but the free version is several versions older than current. It'll still do the job okay though.
Cadu12 Posted April 6, 2012 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.
SugarD-x Posted April 6, 2012 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.
SugarD-x Posted April 6, 2012 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.
SugarD-x Posted April 6, 2012 Posted April 6, 2012 It's alright. Just want to keep you out of trouble.
Jaysds1 Posted April 17, 2012 Author 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.
Jaysds1 Posted April 17, 2012 Author Posted April 17, 2012 actually, nvm, I was missing the opening "{" and had to add another bit of code, thnx though
Anderl Posted July 10, 2012 Posted July 10, 2012 Wow, these information in the topic will help me a lot learning C++.
Orange_ Posted July 10, 2012 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; }
MTA Team qaisjp Posted July 11, 2012 MTA Team Posted July 11, 2012 Lol Jay, good luck, you will most definitely need it.
Jaysds1 Posted July 11, 2012 Author Posted July 11, 2012 Lol Jay, good luck, you will most definitely need it. Thanks, but I gave up on it longtime ago
Anderl Posted July 11, 2012 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?
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