The MoHAA X-NuLL Projects

PROJECT 1
MoHAA Unofficial Patch 1.12
Official Site: www.x-null.net/MOH
Status: incomplete/inactive
Released: source
Date: June 22, 2008
Credits:
vuurvlieg
m0d hippY
electrickrypt
klownterfit
macpunk


"Medal of Honor Allied Assault Unofficial Patch 1.12 Source Code"
This is NOT finished code. This source code has been released by m0d hippY in hopes that someone will pick up the project. Do not expect this to work 100%. Keep in mind that at this point, the code is functional but not complete. This is for a Windows based server, not Linux. I would not suggest uploading this to a full time server until it has been completed. It's open source code which means you would have to recompile it after editing. If you are compiling the dll, it compiles as "mohaa_server_patch.dll"... you need to rename it to mup12.dll. This includes libraries that you may need to compile. It also has the released .dll files when we were testing things out. At any rate I hope that if anyone uses this open source code for any future developments, please remember to give proper credits.


INSTALLATION (If testing)
1. Backup the original MOHAA.exe.
2. Replace the original MOHAA.exe with this one.
 (Inlcuded in the "install" folder. This is a modified one that doesn't require the CD, but it allows the game to load\launch the dll properly.)
3. Place mup12.dll in the MOHAA root folder.

FILE DESCRIPTION
MOHAA_server.exe = server side

MOHAA.exe = server/client side
Basically it hooks LoadLibrary() and loads the mup112.dll file at startup. It does a check before the game launches to make sure mup12.dll is loaded @ runtime, if not, a msg in mohaa console will come up telling you you need the file. The dll would be placed at the root folder.

mup112.dll = server/client

"mup" = MOHAA Unofficial Patch.
CURRENTLY IMPLEMENTED FEATURES
• Anti Camp
• Anti Chams
• Anti Landsharking
• Anti Recoil Fix
• Anti Shoot Through Furniture, Windows, Lights
• Anti Shoot Through Wall Hack (STWH)
• Any PK3 Modification (depending on server)
• cl_allowdownload
• cl_pure
• Clienthooking & OpenGL Protection
• Several Crash Fixes
• sv_allowdownload(through external link or directly from server)
• sv_pure
• Undermap Fixes



DOWNLOAD HERE


HOW IT WORKS
When the server is running the patch and the client isn't, if the client joins the server it freezes the client @ client_begin & forces a custom screen on the client saying you need to download the patch @ blah.com. This is displayed in the video "Connecting to a Patched Server Without Patch" @ fYCcreationZ.com/xnullproject.


THE PROBLEMS
When testing within a dedicated server from (*personal) PC, and then using the (*personal) client to join it. ... Despite the fact that the (*personal) dedicated server WAS running the patch, It still froze the (*personal) client in place and the (*personal) client couldn't do anything. Tried for a while to figure out where it was going bad but could never figure it out.

   *personal = A user hosting from own PC and not from a true server.

AV_ALLOWDOWNLOAD
when turned on (if it's downloading from a web server.)...

SV_ALLOWDOWNLOAD
...crashes when enabled.

SV_PURE
May work fine, just some minor tinkering with the files & make sure there aren't any exploits.

STWH FIX
Vuurvlieg found four offsets. two for each one that needed to be nopped, but he also wrote a function that loops it. obviously the whole point behind that hack is having to lean into a wall for it to work. What he did is wrote a function that checks the angle of the gun muzzle & the wall, if it's too close, it simply stops the bullet from shooting. We tested this out very throughly, and it seemed to work flawlessly.

WINDOW FIX
Have no clue how Vuurvlieg managed to fix that, but it worked. Can't remember if it also stopped from shooting through transparent windows, but we think it didn't.


TO WORK WITH LINUX
For this patch to work on any other OS aside from Windows, you would have to entirely rewrite the code.


WHETHER OR NOT THIS WILL WORK FOR SH\BT..
The answer is yes and no. It won't work, because there is alot of hooking and writeprocessmemory() going on, however if one were to find the replacement offsets in SH & BT, then they could implement this in SH & BT as well. In other words, the offset where say the gun muzzle offset is held, will most likly be different in SH & BT than in AA.




.:VIDEOS:. (Flash)
*Wallhacks used for demonstration purposes only
Teaser Trailor
Anti-STWH
Window Fix (1)
Window Fix (2)


Patch 1.11 Compatibility
Connecting to a Patched Server Without Patch (v1)
Connecting to a Patched Server Without Patch (v2)
Completely Patched, Connecting With a Wallhack along with SV_ALLOWDOWNLOAD in Action.



***NOTES***
At any rate if anyone needs assistance in finishing this up or having help testing it with them, m0d hippY would be more than happy to do so. We are still hoping someone could take on this project and release it completed up. Atleast for Windows.

CONTACT or RESPOND in the original thread the source has been released at HERE at ModTheater.com.
Thanks.



PROJECT 2





THIS PAGE STILL UNDER CONSTUCTION!