Code:(15:12:11) | [Oxide] 14:12 [Error] Failed to call hook 'OnServerInitialized' on plugin 'MagazinBoost v1.5.0' (NullReferenceException: Object reference not set to an instance of an object) (15:12:11) | [Oxide] 14:12 [Debug] at Oxide.Plugins.MagazinBoost.<GetWeapons>m__0 (.ItemDefinition p) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[ItemDefinition].MoveNext () [0x00000] in <filename unknown>:0 at Oxide.Plugins.MagazinBoost.GetWeapons () [0x00000] in <filename unknown>:0 at Oxide.Plugins.MagazinBoost.OnServerInitialized () [0x00000] in <filename unknown>:0 at Oxide.Plugins.MagazinBoost.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [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 name, System.Object[] args) [0x00000] in <filename unknown>:0

MagazinBooster
Can change magazines, ammo and condition for most projectile weapons
Total Downloads: 2,894 - First Release: Jun 10, 2016 - Last Update: Apr 19, 2018
- 5/5, 14 likes
-
yeh im getting this know in the log.error file i have latest version and also oxide and rust r up to date with the current build. This is the error it is saying >>>>
[12/22/2016 16:26:43] [Oxide] 16:26 [Error] Failed to call hook 'OnServerInitialized' on plugin 'MagazinBoost v1.5.0' (NullReferenceException:
Object reference not set to an instance of an object) -
Fujikura updated Magazin Booster with a new update entry:
1.5.1
-
How does this work? I changed the Assault Rifle, but my Assault rifle doesn't reload to 100 bullets..
"ammotype": "ammo.rifle",
"displayname": "Assault Rifle",
"maxammo": 100,
"maxcondition": 100.0,
"preload": 10,
"serveractive": true,
"serverammotype": "ammo.rifle",
"servermaxammo": 100,
"servermaxcondition": 100.0,
"serverpreload": 10,
"settingactive": true,
"skinid": 0 -
Does not work on permission
-
The same is valid for any created weapon by admin-menu/give and/or loot-container.
[DOUBLEPOST=1483110757][/DOUBLEPOST] -
I'm all set up, I gave permission "grant user ХХХХХ magazinboost.canmaxammo"
but the clip has not increased!
"ammotype": "ammo.shotgun",
"displayname": "Pump Shotgun",
"maxammo": 8,
"maxcondition": 100.0,
"preload": 4,
"serveractive": false,
"serverammotype": "ammo.shotgun",
"servermaxammo": 6,
"servermaxcondition": 100.0,
"serverpreload": 4,
"settingactive": true,
"skinid": 0
And when do vseu server is working, but among those who did not work on the permission -
I did to test exactly the same setting:
Did set up maxammo 8, did save the config and reloaded the plugin, did then give me only that permission, and did craft afterwards the shotgun.
After reloading the gun it had 8 bullets loaded. -
Does this plugin still work? I installed it and got just white boxes when crafting weapon with skin ID
-
-
Okey. Thank you for your reply
-
Is it possible to raise the magazine on /kit weapons ? because everytime i redeem a weapon kit it
s the default value. It seems to work when you craft weapons but whenever you redeem a weapon it doesn't.Last edited by a moderator: Jan 14, 2017 -
But that includes also created weapons in loot or by other mechanism. -
So serveractive needs to be set to true ? to the weapons i want them to take effect?
-
-
-
Guys I don't know what is the problem, but I upload plugin and change ammo amout, but it's not only for players with permission, but it's for everyone... Can you tell me how to fix this issue?
-
-
Can you post me here default cfg file? I have changed one and when I'll remove it, it will generate again that cfg with settings that I change...
-
Attached Files:
-