InfiniteAmmo

Moved

Total Downloads: 4,448 - First Release: May 30, 2015 - Last Update: Jul 19, 2015

4.38889/5, 18 likes
  1. Please can you have no reload ?
     
  2. it lags my game
     
  3. think it might need an update been getting thsse messages since the rust update
    Code:
    Error] Failed to call hook 'OnWeaponFired' on plugin 'Infinite Ammo' (ArgumentException: failed to convert parameters)
    8:37 AM [Debug]   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:o
     
  4. hi Mughisi this seems to be lagging since last update when its enabled and i start firing im jerking all over the place soon as i turn the plugin off it runs smooth again
     
  5. Jo Mughisi, just a suggestion. As I think, you are just resetting the magazine when the player is shooting. Instead of ding that, you could maybe try to just set the amount of bullets in the mag to 100000000(once) and it would be nearly the same. It worked for Health, i was able to give myself 1000000hp maybe it also works with magazines.
     
  6. Of course that works, but the numbers flow over to the other weapons in the belt/inventory which clutters it a bit and looks hideous in my opinion :p Also this could potentially create issues as the magazine size would be defined on that weapon and no longer tied to the player so you would have to be really careful with what you do with it because in the hands of a player it will still have that amount of ammo. I'll probably switch to resetting the clip when it is about to hit 0 bullets instead to see how that goes.

    This is also a bit of a test on how the hook performs.
     
  7. yeah I guess hooking it when it hits 0 is a good idea. or maybe when it is at 1, so the clip doesn't even hit 0 ^^
     
  8. That's what I said xD
     
  9. Mughisi updated Infinite Ammo with a new update entry:

    Minor changes

     
  10. Ok so I set the permission and it granted it but when I type that activation /toggleammo I get the you are not allowed to use this command bs..
     
  11. @Mughisi seems like Permissions are bugged
     
  12. Wulf

    Wulf Community Admin

    Are you using the latest release?
     
  13. I am, and sometimes the Permissions work sometimes they don't...
     
  14. Wulf

    Wulf Community Admin

    The only time I've seen that they don't work, is if the perm files got corrupted with symbols and had to be reset.
     
  15. How do I reset the files?
     
  16. The permission files are in the data folder next to the plugins folder
     
  17. nope reset the file and still get the same message.