WARNING: The forum is now in read-only mode as we will soon be transitioning to different forum software. Feel free to join our Discord server in the meantime.
User avatar
augusto
Posts:74
Joined:Thu Dec 20, 2012 12:05 am
how to put infinite ammo on my dedicated server?

Thu Mar 14, 2013 9:59 pm

I wanted to know * - * - Can someone give me a hand? :?: :?: :?: :?: :geek:
Coragem... pequeno soldado do imenso exército. Os teus livros são as tuas armas, a tua classe é a tua esquadra, e a civilização humana.


Image

User avatar
RobbingHood
Posts:3305
Joined:Mon Dec 17, 2012 8:50 pm

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

Thu Mar 14, 2013 10:12 pm

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.

User avatar
augusto
Posts:74
Joined:Thu Dec 20, 2012 12:05 am

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

Thu Mar 21, 2013 10:50 am

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
Coragem... pequeno soldado do imenso exército. Os teus livros são as tuas armas, a tua classe é a tua esquadra, e a civilização humana.


Image

User avatar
RobbingHood
Posts:3305
Joined:Mon Dec 17, 2012 8:50 pm

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

Fri Mar 22, 2013 5:38 pm

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.

User avatar
augusto
Posts:74
Joined:Thu Dec 20, 2012 12:05 am

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

Fri Mar 22, 2013 5:46 pm

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:
Coragem... pequeno soldado do imenso exército. Os teus livros são as tuas armas, a tua classe é a tua esquadra, e a civilização humana.


Image

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests