nice thx think it's time to buy you a few beers again...you're next up in my rotation heh

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
-
There goes more, i know^^ -
Hey fuji could you add double barrel shotgun to the data file?
-
backing up > deleteting > reloading > copying content > restoring backup > paste content > reload plugin -
SO I added the Double Barrell Shotgun like you said in Magazin Booster post #60
And changed the ammo type, and no matter what it still spawns in with handmade shells, it load properly ith 2 of them now, but still always handmade shells?Last edited by a moderator: Aug 7, 2016 -
-
Fujikura updated Magazin Booster with a new update entry:
1.2.0
-
I gave myself rights,but skins has not changed,what to do?
-
skins are only applied to weapons, which are crafted. It not designed to work on serverwide settings. -
хороший очень
-
To add LR-300 if you are impatient like me, and do not want to wait for update:
1. oxide.unload MagazinBoost
2. add this into Data file for LR-300 - only if you are comfortable editing data file! (backing it up is a good idea)
Code:{ "weaponStatsContent": [ { "name": "rifle.lr300", "displayname": "LR-300 Assault Rifle", "maxammo": 30, "preload": 30, "maxcondition": 100, "ammotype": "ammo.rifle", "skinid": 0, "settingactive": true, "servermaxammo": 30, "serverpreload": 30, "serveractive": true } ] }
4. oxide.reload MagazinBoost
Last edited by a moderator: Aug 26, 2016 -
To add MP5A4 to data file:
1. oxide.unload MagazinBoost
2. add this into Data file for MP5A4- only if you are comfortable editing data file! (backing it up is a good idea)
Code:{ "weaponStatsContent": [ { "name": "smg.mp5", "displayname": " MP5A4", "maxammo": 30, "preload": 30, "maxcondition": 100, "ammotype": "ammo.pistol", "skinid": 0, "settingactive": true, "servermaxammo": 30, "serverpreload": 30, "serveractive": true } ] }
4. oxide.reload MagazinBoost
Last edited by a moderator: Oct 13, 2016 -
This tells me (again), i planned so far to implement an auto-updater of missing weapons
But, i'm an oooold man^^ -
-
Was only trial'n'error and had luck on the end.
Now I would need a complete redesign to make it auto-update ready...gnaaaaa
-
Plugin workin great, thank you Fujikura!
only teardrop: it seems to set back the server values from my launcher settings:
here how i load it:
"name": "rocket.launcher",
"displayname": "Rocket Launcher",
"maxammo": 3,
"preload": 0,
"maxcondition": 250,
"ammotype": "ammo.rocket.basic",
"skinid": 0,
"settingactive": true,
"servermaxammo": 3,
"serverpreload": 0,
"serverammotype": "ammo.rocket.basic",
"servermaxcondition": 250,
"serveractive": true
and here how it is after reloading the plugin:
"name": "rocket.launcher",
"displayname": "Rocket Launcher",
"maxammo": 3,
"preload": 0,
"maxcondition": 250,
"ammotype": "ammo.rocket.basic",
"skinid": 0,
"settingactive": true,
"servermaxammo": 1,
"serverpreload": 0,
"serverammotype": "ammo.rocket.basic",
"servermaxcondition": 100,
"serveractive": true -
So, when you would set the 3 as 2 and the 250 as 150, then it works fine.
The same settings for both types, means for permission owners and server defaults, make no sense so far, as it gives then no benefit for permission owners
[DOUBLEPOST=1477702759][/DOUBLEPOST]I need to rework it complete, it seems, to keep the settings like needed. -
"name": "pistol.semiauto",
"displayname": "Semi-Automatic Pistol",
"maxammo": 12,
"preload": 12,
"maxcondition": 150,
"ammotype": "ammo.pistol.hv",
"skinid": 0,
"settingactive": true,
"servermaxammo": 12,
"serverpreload": 12,
"serverammotype": "ammo.pistol.hv",
"servermaxcondition": 150,
"serveractive": true
how comes this is working then (and all others the same)? i made this, because i thaught the first is for crafted weapons only, and second is for all the rest (loot), i just want all of them to be the same, no vip guns. -
Maybe this helps. If not, i'll see next days to recode it. -
your plugin is a mistery to me, here what happened:
i deleted the plugin, data & cfg: weapons stilll modded! -> resarted server, installed plugin new -> all settings in datafile (except for the launcher ofc ^^) appeared exactly as i made them before.
==> how did it save my settings?.. any other files i should know about? :s