Page 1 of 1

how to put infinite ammo on my dedicated server?

Posted: Thu Mar 14, 2013 9:59 pm
by augusto
I wanted to know * - * - Can someone give me a hand? :?: :?: :?: :?: :geek:

Re: how to put infinite ammo on my dedicated server?

Posted: Thu Mar 14, 2013 10:12 pm
by RobbingHood
Use the Extension system: viewtopic.php?f=6&t=114

Download the Example Extension (and of course also the new dinput8.dll that belongs into your server folder)

Open the extension (.csproj) with Visual Studio Express 2012 and use those parameters:


Code: Select all

SetUnlimitedAmmoEnabled(bool)
SetUnlimitedMagsEnabled(bool)


First one means that you can shoot forever without reloading, 2nd means that you can reload as often as you want.

So, if you want to shoot forever:

Code: Select all

SetUnlimitedAmmoEnabled(true);


Then, save the project, build your .dll file and place it into a folder 'extensions' in your server root.

Re: how to put infinite ammo on my dedicated server?

Posted: Thu Mar 21, 2013 10:50 am
by augusto
RobbingHood wrote:Use the Extension system: viewtopic.php?f=6&t=114

Download the Example Extension (and of course also the new dinput8.dll that belongs into your server folder)

Open the extension (.csproj) with Visual Studio Express 2012 and use those parameters:


Code: Select all

SetUnlimitedAmmoEnabled(bool)
SetUnlimitedMagsEnabled(bool)


First one means that you can shoot forever without reloading, 2nd means that you can reload as often as you want.

So, if you want to shoot forever:

Code: Select all

SetUnlimitedAmmoEnabled(true);


Then, save the project, build your .dll file and place it into a folder 'extensions' in your server root.



can make a video of how to do this? please friend

Re: how to put infinite ammo on my dedicated server?

Posted: Fri Mar 22, 2013 5:38 pm
by RobbingHood
augusto wrote:can make a video of how to do this? please friend


Nope, why should I? But you can come to the IRC and ask me if you have specific questions.

Re: how to put infinite ammo on my dedicated server?

Posted: Fri Mar 22, 2013 5:46 pm
by augusto
RobbingHood wrote:
augusto wrote:can make a video of how to do this? please friend


Nope, why should I? But you can come to the IRC and ask me if you have specific questions.




Ok. :cry: