• 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] Unlimited ammo
#1
Simply enables unlimited ammo.
Attachment at the bottom of the post

Credits:
@Deviler86


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

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

namespace unlimited_ammo
{
    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);

        unsafe public override void OnServerLoad()
        {
            ServerPrint("Plugin: Unlimited ammo by Nukem loaded.");

            int dwout = 0;
            byte[] bytes = { 0x90, 0x90, 0x90, 0x90 };
            byte[] bytes2 = { 0x90, 0x90, 0x90 };

            WriteProcessMemory(((IntPtr)(-1)), 0x00420E69, bytes, bytes.Length, out dwout);
            WriteProcessMemory(((IntPtr)(-1)), 0x0041E749, bytes2, bytes2.Length, out dwout);
        }
    }
}


Attached Files
.zip   unlimited_ammo.zip (Size: 3.06 KB / Downloads: 614)
[Image: b_560_95_1.png]
  Reply
#2
1) Does this include unlimited throwing knife?
2) Can I run the server addon + plugins from a non-dedicated server (or just off my own computer, rather than a paid server)?
3) Would I be able to watch the games in theatre with it?
  Reply
#3
1) Yes (pretty sure, it also has unlimited mines)
2) No
3) Yes
  Reply
#4
So theres no way to run it without paying for server? :S
  Reply
#5
@JariZ Since when can't you host dedis yourself Confused
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
  Reply
#6
you can host a server your self if you open the correct ports so yes you can run this addon
  Reply
#7
Oh, i thought he meant from the game.
NVM then. in that case the answer is yes
  Reply
#8
(01-03-2012, 23:45)Madnesslink5 Wrote: So theres no way to run it without paying for server? :S

You can. But you have to copy all the mw3 files to another location on your harddrive and then 'install' the addon or you will get banned.
[Image: MaEIQ.png]
  Reply
#9
(01-04-2012, 00:09)Pozzuh Wrote: You can. But you have to copy all the mw3 files to another location on your harddrive and then 'install' the addon or you will get banned.

Why would you get banned for something that doesn't even touch original MP files ? And since when VAC scans your dedi folders ? Dodgy

[Image: lQDUjba.jpg]
  Reply
#10
(01-04-2012, 11:26)OrangePL Wrote:
(01-04-2012, 00:09)Pozzuh Wrote: You can. But you have to copy all the mw3 files to another location on your harddrive and then 'install' the addon or you will get banned.

Why would you get banned for something that doesn't even touch original MP files ? And since when VAC scans your dedi folders ? Dodgy

Dunno, Nukem told me this. I think because you have to put d3d9.dll in the server folder.


addon readme:
Code:
---------------------------------------------------------------------------------------------
--------- I am not responsible if you do not read carefully and are somehow banned. ---------
---------------------------------------------------------------------------------------------



DO _NOT_ PLACE THIS IN YOUR MODERN WARFARE 3 FOLDER (Usually: C:\Program Files(x86)\Steam\SteamApps\common\call of duty modern warfare 3\)
OR YOU WILL BE BANNED WHEN YOU RUN MW3.

THE SERVER SHOULD BE IN AN ISOLATED FOLDER FROM YOUR MW3 GAME ITSELF.
[Image: MaEIQ.png]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Request] no ammo for infected gamemode ExoGamer* 8 5,010 08-15-2013, 18:59
Last Post: Dr3am95
  M320 and GP25 ammo McKinleySPB 3 2,835 07-06-2013, 12:56
Last Post: archit
Smile [Release] Unlimited ammo v2.3 & @Nukems unlammo hillbilly 40 21,837 06-26-2013, 11:33
Last Post: X-Track
Question can't find it (ammo box) DJSKilly 8 4,673 05-29-2013, 11:27
Last Post: Dr3am95
Music unlimited breath scope+sound when walking aim LE3* 0 1,972 04-21-2013, 08:42
Last Post: LE3*
Wink Help Ammo box Dr3am95 6 4,018 03-31-2013, 15:39
Last Post: NyZzE
  Help Problem unlimited ammo plugin 4nonymous 2 2,853 03-10-2013, 20:14
Last Post: hillbilly
Smile Need Someone to Make an Ammo Replenishing Box SkATerJoN 5 3,640 01-18-2013, 17:31
Last Post: tomglazer
  Help Setting ammo for M320/Shotgun Attachment yokai134 2 2,533 12-12-2012, 07:03
Last Post: yokai134
  [Request] im looking for ammo code pap12322221112 2 2,305 10-22-2012, 08:41
Last Post: AZUMIKKEL

Forum Jump:


Users browsing this thread: 3 Guest(s)