06-10-2012, 20:18 (This post was last modified: 06-21-2012, 19:31 by barata.)
Well, after some people asking for updated offsets, and for not bothering @Nukem , I decided to make a tool that can find the updated adresses.
How To Use:
1. Start the Server(iw5mp_server.exe).
2. Start My Tool.
3. Press "Update" button.
4. Well done, you have the updated addresses!
5. Get here and thanks/+rep me and the others in credits.
*Tested on Win7 64 bits.
Screenshot:
IMPORTANT:
This tool was tested in the following versions:
*1.5.388
*1.7.414
*1.8.423
*1.9.433 - current version
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mw3_Server_Offsets_Updater.Form1.FindPattern(IntPtr pHandle, Int32 startAddress, Int32 endAddress, String pattern, String mask)
at Mw3_Server_Offsets_Updater.Form1.ce7PvdZQH(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Do not take life too seriously. You will never get out of it alive.
06-11-2012, 02:13 (This post was last modified: 06-11-2012, 09:27 by master131.)
Nice job barata. I had a quick 'peep' at your tool, I'm not sure whether your patterns are reliable or not, they seem pretty short and are in a limited memory range. Have you tested this with older builds of the server? I think it'd probably break. Also, you got the maxHeight and minHeight mixed around.....
EDIT - Just tested with an old 1.2.358 server executable and got this:
EDIT - I'm currently working on creating patterns that work for all versions of MW3 Dedi Server, I've got patterns for jump_height, g_speed, g_gravity, bg_FallDamageMaxHeight and bg_FallDamageMinHeight working so far on 1.2.358, 1.4.382 and 1.8.423 (those 3 versions are the only executables I have for servers)
A casual conversation between barata and I about Nukem.