ItsMods

Full Version: update: sprintExtend_1.5 Plugin for 1.9.446 patch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
i updated my sprint extend plugin to run on @Nukem's MW3 Server Addon version 1.413 with the 1.9.446 patch.

again, many thanks to @zxz0O0 for helping me out and for the offset.
new download link below.


This plugin extends the sprint duration to 17 seconds.

i tested it. it works.

source code updated.

The normal sprint duration is around 4 seconds.
It's near 8 seconds if you use the the extreme-
conditioning perk.

This plugin gives you more than double that duration.
And, more than 4 times the normal sprint duration.
No matter what weapon or perks you're using.

Requirements:
@Nukem's dedicated server addon v1.413

No commands needed.
Place the sprintExtend_1.5.dll in your plugins folder.
Enjoy.

A truckload of thanks to @zxz0O0.
This is my first plugin. I'm new to C# and coding.
I couldn't have made this plugin without his help!


Source code
Code:
using System;
using System.Runtime.InteropServices;
using System.Security;
using Addon;

//Compile with /unsafe
//And a reference to "addon/dist/addon.dll"

namespace SprintExtend_1_4
{
    public class Program : CPlugin
    {
        [DllImport("kernel32.dll", SetLastError = true)]
        public static extern bool WriteProcessMemory(IntPtr hProcess, int lpBaseAddress, byte[] lpBuffer, int nSize, out int lpNumberOfBytesWritten);

        public override void OnMapChange()
        {
            SetDvar("perk_sprintMultiplier", "999");
        }
        unsafe public override void OnServerLoad()
        {
            ServerPrint("Plugin: SprintExtend_1.4 by blueberry9 & zxz0O0 loaded.");

            int oP;
            byte[] bytes = { 0x90, 0x90 };
            WriteProcessMemory(((IntPtr)(-1)), 0x40C8D7, bytes, bytes.Length, out oP);
        }
    }
}
Nice plugin, would it be possible to allow us to change the setting? Either via a config variable or ingame !run 13..etc?
(03-06-2012, 01:25)kraze1994 Wrote: [ -> ]Nice plugin, would it be possible to allow us to change the setting? Either via a config variable or ingame !run 13..etc?

i'm sure that's doable

nice!

Camelot

GOOD))
i updated my sprint extend plugin to run on @Nukem's MW3 Server Addon version 1.309.

again, many thanks to @zxz0O0 for helping me out and for the new offset.

This plugin extends the sprint duration to 17 seconds.

i tested it. it works.

new download link is in the first post of this thread
plugin updated for v1.322 of @Nukem's addon

sprintExtend_1.03.dll

thanks to @Nukem for the addon and to @zxz0O0 for the offset!

new download link is in the first post of this thread
You need to upgrade?
(06-11-2012, 14:06)Canta Wrote: [ -> ]You need to upgrade?

here it is.
go to the first post of this thread
Could you update this plugin so you can change the sprint so that it can be disabled if needed please to stop nubs run and gunning in crouch servers.
Pages: 1 2