Jump to content

DangerRuss

Member
  • Posts

    963
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by DangerRuss

  1. I goofed somewhere on the server_swapObject.sqf... mine didnt look like the one in the instructions so I tried to wing it.  Now I can't upgrade a door with a combo lock it says "not setup yet"

     

    I get this error in the rpt

    18:24:20 Error in expression <e];


    _object setVariable ["OEMPos", call compile (_worldspace select 1), true];
    _>
    18:24:20   Error position: <compile (_worldspace select 1), true];
    _>
    18:24:20   Error compile: Type Array, expected String
    18:24:20 File z\addons\dayz_server\compile\server_swapObject.sqf, line 49

    here is my server_swapObject.sqf

    private ["_activatingplayerUID","_class","_uid","_charID","_object","_worldspace","_key","_allowed","_obj","_objectID","_objectUID","_proceed","_activatingplayer"];



    _charID = _this select 0;
    _object = _this select 1;
    _worldspace = _this select 2;
    _class = _this select 3;
    _obj = _this select 4;
    _activatingplayer = _this select 5;
    _activatingplayerUID = (getPlayerUID _activatingplayer);
    _proceed = false;
    _objectID = "0";
    _objectUID = "0";

    if(!isNull(_obj)) then {

        _objectID     = _obj getVariable ["ObjectID","0"];
        _objectUID    = _obj getVariable ["ObjectUID","0"];

        if !(DZE_GodModeBase) then {
            _obj removeAllMPEventHandlers "MPKilled";
        };

        deleteVehicle _obj;

        _proceed = true;

    };

    if(isNull(_object)) then {
        _proceed = false;
    };

    if(_objectID == "0" && _objectUID == "0") then {
        _proceed = false;
    } else {
        [_objectID,_objectUID,_activatingplayer] call server_deleteObj;
    };

    _allowed = [_object, "Server"] call check_publishobject;

    if (!_allowed || !_proceed) exitWith {
        if(!isNull(_object)) then {
            deleteVehicle _object;
        };
        diag_log ("Invalid object swap by playerUID:"+ str(_activatingplayerUID));
    };

    _object setVariable ["CharacterID",_charID,true];
    _object setVariable ["OEMPos", call compile (_worldspace select 1), true];
    _uid = _worldspace call dayz_objectUID2;

    //precisionsbasebuilding
    _worldspace set [0, (_worldspace select 0) call KK_fnc_floatToString];
    _worldspace set [1, (_worldspace select 1) call KK_fnc_positionToString];

    _key = format["CHILD:308:%1:%2:%3:%4:%5:%6:%7:%8:%9:",dayZ_instance, _class, 0 , _charID, _worldspace, [], [], 0,_uid];
    _key call server_hiveWrite;
    _object setVariable ["lastUpdate",time];
    _object setVariable ["ObjectUID", _uid,true];

    if (DZE_GodModeBase) then {
        _object addEventHandler ["HandleDamage", {false}];
    } else {
        _object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}];
    };

    _object enableSimulation false;

    PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_object];

    diag_log ("PUBLISH: " + str(_activatingPlayer) + " upgraded " + (_class) + " with ID " + str(_uid));

    Thanks for any help!

     

    EDIT- Im reading the thread and seeing this has been an issue but Im confused on the fix

  2. When I installed VB + SBP all worked fine (except unlocking vaults,but i fixed it)

    When  I installed VB + SBP + P4L i doesnt see snap pro menu (snap point and other functions) ,when i build something. What is the reason&

    When I had this problem where I didnt see the vectoring menu it was because I didnt call the fn_Selfactions.sqf in the proper order in the compiles.sqf Try that.

  3. Is the weedfarms.sqf necessary to run this?

    Im just trying to get the smokeshit.sqf and hemp.sqf to work in my extra_rc.hpp and it breaks the server. No error in my RPT. I already have deploy bike working via the extra_rc.hpp so Im just adding the SmokeWeed folder with the 2 scripts to my custom folder and the extra_rc.hpp looks like this.
     

    class ExtraRc {
    	class ItemToolbox {
                   class Bike {
                            text = "Deploy Bike";
                            script = "execVM 'custom\deploy\bike.sqf'";
                    };
    	}; 
    	class ItemKnife {
    		class farmhemp {
    			text = "Harvest the weed";
    			script = "execVM 'custom\SmokeWeed\hemp.sqf'";
    		
    		};
    	};
    	class ItemKiloHemp {
    		class smokeweed {
    			text = "Smoke the shit";
    			script = "execVM 'custom\SmokeWeed\smokeshit.sqf'";
    		};
    	};
    };
    

    This looks right to me so idk...

    smokeshit.sqf

    /*


    by: ZeroK00L    
    */
        [] spawn {
        hint "You roll a fatty and smoke it! Damn! That shit is the chronic!";
        player removeMagazine 'ItemKiloHemp';
        Remove_Drug_effects =
        {
        {
        ppEffectDestroy _x;
        } forEach (_this select 0);
        ppEffectDestroy ppe2;
        ppEffectDestroy ppe3;
        setaperture 0;
        };
        _time = time;
        _effects = [];
    player playMoveNow "ActsPercMstpSnonWpstDnon_sceneBardak01";
        while {true} do
        {
        ppe2 = ppEffectCreate ["chromAberration", 1555];
        _effects = _effects + [ppe2];
        ppe2 ppEffectAdjust [random 0.25,random 0.25,true];
        ppe2 ppEffectCommit 1;
        ppe2 ppEffectEnable true;
        ppe3 = ppEffectCreate ["radialBlur", 1555];
        _effects = _effects + [ppe3];
        ppe3 ppEffectEnable true;
        ppe3 ppEffectAdjust [random 0.02,random 0.02,0.15,0.15];
        ppe3 ppEffectCommit 1;
        sleep random(1);
    r_player_blood = r_player_bloodTotal;            //set their blood to the maximum allowed
    r_player_lowblood = false;                        //set lowblood setting to false
    10 fadeSound 1;                                    //slowly fade their volume back to maximum
    "dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;    //disable post processing blur effect
    "colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1],  [1, 1, 1, 1]];"colorCorrections" ppEffectCommit 5;    //give them their colour back
    r_player_lowblood = false;                        //just double checking their blood isnt low
    player setVariable["USEC_BloodQty",r_player_bloodTotal,true];    //set their blood back up to maximum again
        if (_time + 60 < time) exitWith {[_effects] call Remove_Drug_effects;};
        };
        };

    hemp.sqf

        /*


        put together for DayZ Epoch
        Credits to Shogun338 from Insurrection gaming
        modified for separate "gather weed" script
        */
         
        private ["_gearmenu","_playerPos","_nearWeed","_weed","_objectID","_objectUID"];
        _playerPos = getPosATL player;
        _hempqty = {_x == "ItemKiloHemp"} count magazines player;
        _nearWeed = count nearestObjects [_playerPos, ["fiberplant"], 4] > 0;
        _weed = nearestObject [player, "fiberplant"];
         
        if !(_nearWeed) exitWith {
        cutText [format["You need to be near the weed plants in order to gather."], "PLAIN DOWN"];
        };
        if (_hempqty > 2) exitWith {
        cutText [format["WARNING: %1, You have maximum amount of weed in your inventory! You could get arrested by the police ;)", name player], "PLAIN DOWN"];
        };
        if (dayz_combat == 1) then {
        cutText [format["You are in Combat and Cannot Gather the Weed."], "PLAIN DOWN"];
        } else {
        disableSerialization;
        _gearmenu = FindDisplay 106;
        _gearmenu CloseDisplay 106;
        player playActionNow "Medic";
        r_interrupt = false;
        sleep 6;
        _objectID = _weed getVariable["ObjectID","0"];
        _objectUID = _weed getVariable["ObjectUID","0"];
        deleteVehicle _weed;
        [_objectID,_objectUID] call server_deleteObj;
        _weed setDamage 1;
        player addMagazine "ItemKiloHemp";
        sleep 2;
        cutText [format["You've Gathered Some Weed! Smoke that shit or sell it at Black market dealer!!"], "PLAIN DOWN"];    
        };

     

    EDIT- Nevermind it works... no idea what was going wrong. just restarted the server a couple of times and it was good to go.

  4. This might not be connected, but it seems very coincidental. After I searched for this error and found this thread, I replaced the fnc_playerHit.sqf with the one in the github, and since then if you are killed by a vehicle your corpse instantly disappears. There is no error in the RPT. Any ideas?

  5. Thanks for everyone that tried to help with the issue of once you get in the drivers seat the vehicle is no longer indestructible. I was able to find out the fix and I will tell everyone in case someone else is having the same problem.

     

    I am running infiSTAR safezone script, if you are running this script then you need to follow the next instructions. Now by doing it this way it makes it so people can shoot into the safezone and damage a vehicle, but that's not a big deal for me mainly because I am running two different safezone scripts

     

    Find this line of code in the infiSTAR safezone script

     

    vehicle_handleDamage = compile preprocessFileLineNumbers'\z\addons\dayz_code\compile\vehicle_handleDamage.sqf';

    Change to 

    vehicle_handleDamage = compile preprocessFileLineNumbers "zupa\vehicle_handleDamage.sqf";

    This did resolve the issue for me. Getting in the driver seat and relocking the vehicle, the vehicle is still indestructibile.

  6. Was anyone able to test my "fix?"   When I went to test it, all the buildings that had been vectored in the past (which returned to flat once I removed vectoring) were back to whatever angle they had been vectored to (pitched roofs for example) safes were able to be unlocked , HOWEVER there was no option on the scroll wheel when building new objects to vector them. I might have botched and install step so I'll try it again at some point.

  7. Thanks for everyone that tried to help with the issue of once you get in the drivers seat the vehicle is no longer indestructible. I was able to find out the fix and I will tell everyone in case someone else is having the same problem.

     

    I am running infiSTAR safezone script, if you are running this script then you need to follow the next instructions. Now by doing it this way it makes it so people can shoot into the safezone and damage a vehicle, but that's not a big deal for me mainly because I am running two different safezone scripts

     

    Find this line of code in the infiSTAR safezone script

     

    vehicle_handleDamage = compile preprocessFileLineNumbers'\z\addons\dayz_code\compile\vehicle_handleDamage.sqf';

    Change to 

    vehicle_handleDamage = compile preprocessFileLineNumbers "zupa\vehicle_handleDamage.sqf";

    Damn that really sucks. Have you ever found a way to get infiSTAR's safe zone to work properly with this script?

  8. Well unless Im missing something, I'll try again maybe tomorrow morning when fewer people are on, this fixed the issue with the safes, buildings that were previously vectored resumed their vectored positions, however when trying to build something new there was no vector option on the scroll wheel. I checked the files a few times and re read the instructions as well and everything seemed to be correct so hopefully someone else will be able to verify.

  9. guys I can't test this for another few hours but I was looking at the default player_unlockvault.sqf and comparing it to the one in the vector folder.

     

    In the vector folder there is this line
     

     _playerID = [player] call FNC_GetPlayerUID;
    

    but in the epoch server files that line looks like this
     

    _playerID = getPlayerUID player;
    

     so replace the first with the second and give it a shot

    let me know

  10. Old thread but whenever I try to further customize my loot tables I receive this exact same old error.
     

    17:51:43 Error in expression <nd (((_itemChances select _l) select 1) * 100);
    for "_k" from 0 to (_weight - 1)>
    17:51:43   Error position: <* 100);
    for "_k" from 0 to (_weight - 1)>
    17:51:43   Error *: Type String, expected Number
    17:51:43 File z\addons\dayz_code\init\loot_init.sqf, line 85
    

    To be clear, I have customized loot tables working on the server right now, no errors. If I then try to add more guns using the exact same format they're in already, I receive that error in my RPT and the server will not start.
    Here is an example of my cfgloot.hpp which I simply edited the military loot and the sniper rifle loot section by adding overwatch guns and it broke the server

    #include "CfgLootSmall.hpp"


    class CfgLoot {
        trash[] = {
            {"TrashTinCan",0.5}
            ,{"TrashJackDaniels",0.5}
            ,{"ItemSodaEmpty",0.2}
            ,{"ItemTrashToiletpaper",0.1}
            ,{"ItemTrashRazor",0.1}
        };
        civilian[] = {
            {"FoodCanUnlabeled",0.7}
            ,{"TrashJackDaniels",0.8}
            ,{"ItemSodaEmpty",0.8}
            ,{"ItemSodaCoke",0.9}
            ,{"ItemSodaPepsi",0.9}
            ,{"FoodCanBakedBeans",0.5}
            ,{"FoodCanSardines",0.5}
            ,{"FoodCanFrankBeans",0.5}
            ,{"FoodCanPasta",0.5}
            ,{"8Rnd_9x18_Makarov",0.7}
            ,{"7Rnd_45ACP_1911",0.5}
            ,{"2Rnd_shotgun_74Slug",0.5}
            ,{"2Rnd_shotgun_74Pellets",0.5}
            ,{"ItemBandage",0.6}
            ,{"ItemPainkiller",0.6}
            ,{"FoodBioMeat",0.1}
            ,{"8Rnd_9x18_MakarovSD",0.1}
            ,{"ItemDocument",0.3}
        };
        office2[] = {
            {"FoodCanUnlabeled",0.7}
            ,{"TrashJackDaniels",0.8}
            ,{"ItemSodaEmpty",0.8}
            ,{"ItemSodaCoke",0.9}
            ,{"ItemSodaPepsi",0.9}
            ,{"FoodCanBakedBeans",0.5}
            ,{"FoodCanSardines",0.5}
            ,{"FoodCanFrankBeans",0.5}
            ,{"FoodCanPasta",0.5}
            ,{"8Rnd_9x18_Makarov",0.7}
            ,{"7Rnd_45ACP_1911",0.5}
            ,{"2Rnd_shotgun_74Slug",0.5}
            ,{"2Rnd_shotgun_74Pellets",0.5}
            ,{"ItemBandage",0.6}
            ,{"ItemPainkiller",0.6}
            ,{"FoodBioMeat",0.1}
            ,{"8Rnd_9x18_MakarovSD",0.1}
            ,{"ItemBriefcaseEmpty",0.1}
            ,{"ItemDocument",0.2}
        };
        food[] = {
            {"TrashTinCan",0.9}
            ,{"TrashJackDaniels",0.12}
            ,{"ItemSodaEmpty",0.12}
            ,{"ItemSodaCoke",0.9}
            ,{"ItemSodaPepsi",0.11}
            ,{"FoodCanBakedBeans",0.7}
            ,{"FoodCanSardines",0.7}
            ,{"FoodCanFrankBeans",0.7}
            ,{"FoodCanPasta",0.7}
            ,{"FoodCanUnlabeled",0.1}
            ,{"FoodPistachio",0.5}
            ,{"FoodNutmix",0.4}
        };
        office[] = {
            {"FoodCanUnlabeled",0.6}
            ,{"ItemSodaEmpty",0.6}
            ,{"ItemSodaCoke",0.6}
            ,{"ItemSodaPepsi",0.4}
            ,{"TrashJackDaniels",0.4}
            ,{"FoodCanBakedBeans",0.1}
            ,{"FoodCanSardines",0.1}
            ,{"FoodCanFrankBeans",0.1}
            ,{"FoodCanPasta",0.1}
            ,{"ItemWaterbottleUnfilled",0.1}
            ,{"ItemWaterbottle",0.1}
            ,{"ItemBandage",0.7}
            ,{"7Rnd_45ACP_1911",0.3}
            ,{"5x_22_LR_17_HMR",0.1}
            ,{"10x_303",0.4}
            ,{"6Rnd_45ACP",0.4}
            ,{"2Rnd_shotgun_74Slug",0.5}
            ,{"2Rnd_shotgun_74Pellets",0.5}
            ,{"8Rnd_9x18_Makarov",0.8}
            ,{"15Rnd_W1866_Slug",0.2}
            ,{"WoodenArrow",0.4}
            ,{"HandRoadFlare",0.7}
            ,{"ItemPainkiller",0.2}
            ,{"HandChemGreen",0.1}
            ,{"HandChemBlue",0.3}
            ,{"HandChemRed",0.3}
            ,{"ItemHeatPack",0.3}
            ,{"ItemLockbox",0.4}
            ,{"ItemDocument",0.2}
        };
        generic[] = {
            {"FoodCanUnlabeled",0.6}
            ,{"ItemSodaEmpty",0.6}
            ,{"ItemSodaCoke",0.6}
            ,{"ItemSodaPepsi",0.4}
            ,{"TrashJackDaniels",0.4}
            ,{"FoodCanBakedBeans",0.1}
            ,{"FoodCanSardines",0.1}
            ,{"FoodCanFrankBeans",0.1}
            ,{"FoodCanPasta",0.1}
            ,{"ItemWaterbottleUnfilled",0.1}
            ,{"ItemWaterbottle",0.1}
            ,{"ItemBandage",0.11}
            ,{"7Rnd_45ACP_1911",0.3}
            ,{"5x_22_LR_17_HMR",0.1}
            ,{"10x_303",0.4}
            ,{"6Rnd_45ACP",0.4}
            ,{"2Rnd_shotgun_74Slug",0.5}
            ,{"2Rnd_shotgun_74Pellets",0.5}
            ,{"8Rnd_9x18_Makarov",0.9}
            ,{"15Rnd_W1866_Slug",0.2}
            ,{"WoodenArrow",0.4}
            ,{"HandRoadFlare",0.7}
            ,{"ItemPainkiller",0.2}
            ,{"HandChemGreen",0.1}
            ,{"HandChemBlue",0.3}
            ,{"HandChemRed",0.3}
            ,{"ItemHeatPack",0.4}
        };
        medical[] = {
            {"ItemBandage",0.4}
            ,{"ItemPainkiller",0.5}
            ,{"ItemMorphine",0.2}
            ,{"ItemEpinephrine",0.1}
            ,{"ItemAntibiotic",0.1}
            ,{"ItemHeatPack",0.05}
        };
        hospital[] = {
            {"ItemBandage",0.33}
            ,{"ItemPainkiller",0.16}
            ,{"ItemMorphine",0.3}
            ,{"ItemEpinephrine",0.9}
            ,{"ItemBloodbag",0.7}
            ,{"ItemAntibiotic",0.2}
        };
        military[] = {
            {"FoodCanUnlabeled",0.7}
            ,{"ItemSodaEmpty",0.4}
            ,{"ItemSodaCoke",0.1}
            ,{"ItemSodaPepsi",0.1}
            ,{"ItemBandage",0.4}
            ,{"ItemAntibiotic",0.4}
            ,{"ItemPainkiller",0.4}
            ,{"ItemMorphine",0.1}
            ,{"30Rnd_556x45_Stanag",0.4}
            ,{"20Rnd_762x51_DMR",0.4}
            ,{"17Rnd_9x19_glock17",0.5}
            ,{"15Rnd_9x19_M9SD",0.1}
            ,{"15Rnd_9x19_M9",0.2}
            ,{"30Rnd_762x39_AK47",0.4}
            ,{"30Rnd_545x39_AK",0.4}
            ,{"5Rnd_762x51_M24",0.1}
            ,{"5Rnd_86x70_L115A1",0.1}
            ,{"8Rnd_B_Beneli_74Slug",0.4}
            ,{"1Rnd_HE_M203",0.1}
            ,{"FlareWhite_M203",0.1}
            ,{"FlareGreen_M203",0.1}
            ,{"1Rnd_Smoke_M203",0.1}
            ,{"200Rnd_556x45_M249",0.1}
            ,{"HandGrenade_west",0.1}
            ,{"HandGrenade_east",0.1}
            ,{"SmokeShell",0.4}
            ,{"SmokeShellRed",0.2}
            ,{"SmokeShellGreen",0.2}
            ,{"8Rnd_B_Beneli_Pellets",0.4}
            ,{"30Rnd_556x45_StanagSD",0.1}
            ,{"30Rnd_9x19_MP5",0.2}
            ,{"30Rnd_9x19_MP5SD",0.1}
            ,{"100Rnd_762x51_M240",0.1}
            ,{"HandChemGreen",0.2}
            ,{"HandChemBlue",0.2}
            ,{"HandChemRed",0.2}
            ,{"ItemHeatPack",0.4}
            ,{"FoodMRE",0.3}
            ,{"8Rnd_9x18_MakarovSD",0.1}
            ,{"20Rnd_B_765x17_Ball",0.4}
            ,{"30Rnd_9x19_UZI_SD",0.1}
            ,{"PipeBomb","magazine",0.10}
            ,{"1Rnd_HE_M203","magazine",0.10}
            ,{"panzergrenade","magazine",0.10}
            ,{"Vil_30Rnd_556x45_HK","magazine",0.2}
            ,{"Vil_35Rnd_556x45_G","magazine",0.2}
            ,{"5Rnd_127x108_KSVK","magazine",0.2}
            ,{"FHQ_rem_20Rnd_762x51_PMAG_T","magazine",0.2}
            ,{"FHQ_rem_30Rnd_680x43_ACR","magazine",0.2}
            ,{"FHQ_rem_20Rnd_680x43_ACR","magazine",0.2}
            ,{"FHQ_rem_20Rnd_680x43_ACR_T_SD","magazine",0.2}
            ,{"FHQ_rem_30Rnd_680x43_ACR_T_SD","magazine",0.2}
            ,{"ItemSandbag","magazine",0.05}
            ,{"20Rnd_762x51_FNFAL","magazine",0.2}        
            ,{"20rnd_762x51_B_SCAR","magazine",0.2}
            ,{"10Rnd_9x39_SP5_VSS","magazine",0.2}
            ,{"20Rnd_9x39_SP5_VSS","magazine",0.2}
            ,{"AmmoBoxSmall_556","object",0.10}
            ,{"AmmoBoxSmall_762","object",0.10}
            ,{"AmmoBoxSmall_680x43","object",0.10}
            ,{"Binocular_Vector","military",0.15}
            ,{"vil_B_HP","weapon",0.15}
            ,{"vil_Glock","weapon",0.15}
            ,{"vil_Glock_o","weapon",0.15}
            ,{"vil_USP","weapon",0.15}
            ,{"vil_USPSD","weapon",0.15}
            ,{"vil_USP45","weapon",0.15}
            ,{"vil_USP45SD","weapon",0.15}
            ,{"vil_MP5_EOTech","weapon",0.15}
            ,{"vil_MP5SD_EOTech","weapon",0.15}
            ,{"vil_uzi_c","weapon",0.15}
            ,{"vil_uzi","weapon",0.15}
            ,{"vil_uzi_SD","weapon",0.15}
            ,{"vil_uzimini","weapon",0.15}
            ,{"vil_uzimini_SD","weapon",0.15}
            ,{"vil_Tt33","weapon",0.15}
            ,{"vil_APS","weapon",0.15}
            ,{"vil_apssd","weapon",0.15}
            ,{"Vil_PYA","weapon",0.15}
            ,{"RH_m9","weapon",0.15}
            ,{"RH_m9csd","weapon",0.15}
            ,{"UZI_SD_EP1","weapon",0.15}
            ,{"UZI_EP1","weapon",0.15}
            ,{"RH_uspm","weapon",0.15}
            ,{"RH_m1911sd","weapon",0.15}
            ,{"RH_usp","weapon",0.15}
            ,{"RH_uspsd","weapon",0.15}
            ,{"RH_p226","weapon",0.15}
            ,{"RH_muzi","weapon",0.15}
            ,{"RH_tec9","weapon",0.15}
            ,{"RH_vz61","weapon",0.15}
            ,{"RH_g17","weapon",0.15}
            ,{"RH_g17sd","weapon",0.15}
            ,{"RH_g18","weapon",0.15}
            ,{"RH_g19","weapon",0.15}
            ,{"RH_g19t","weapon",0.15}
            ,{"RH_deagle","weapon",0.15}
            ,{"RH_Deagleg","weapon",0.15}
            ,{"RH_Deagles","weapon",0.15}
            ,{"RH_Deaglem","weapon",0.15}
            ,{"RH_Deaglemz","weapon",0.15}
            ,{"RH_Deaglemzb","weapon",0.15}
            ,{"RH_anac","weapon",0.15}
            ,{"RH_anacg","weapon",0.15}
            ,{"RH_bull","weapon",0.15}
            ,{"RH_python","weapon",0.15}
            ,{"RH_browninghp","weapon",0.15}
            ,{"RH_p226","weapon",0.15}
            ,{"RH_p226s","weapon",0.15}
            ,{"RH_p38","weapon",0.15}
            ,{"RH_ppk","weapon",0.15}
            ,{"RH_mk22","weapon",0.15}
            ,{"RH_mk22sd","weapon",0.15}
            ,{"RH_mk22v","weapon",0.15}
            ,{"RH_mk22vsd","weapon",0.15}
            ,{"RH_m1911","weapon",0.15}
            ,{"RH_m1911sd","weapon",0.15}
            ,{"RH_m1911old","weapon",0.15}
            ,{"RH_m93r","weapon",0.15}
            ,{"M16A2","weapon",0.2}
            ,{"M16A2GL","weapon",0.2}
            ,{"M249_DZ","weapon",0.2}
            ,{"AK_74","weapon",0.2}
            ,{"M4A1_Aim","weapon",0.2}
            ,{"AKS_74_kobra","weapon",0.2}
            ,{"AKS_74_U","weapon",0.2}
            ,{"AK_47_M","weapon",0.2}
            ,{"M24","weapon",0.15}
            ,{"vil_M24b","weapon",0.15}
            ,{"M40A3","weapon",0.15}
            ,{"vil_m40a3","weapon",0.15}
            ,{"DMR","weapon",0.10}
            ,{"vil_SR25","weapon",0.10}
            ,{"vil_SR25SD","weapon",0.10}
            ,{"vil_M110","weapon",0.10}
            ,{"vil_M110sd","weapon",0.10}
            ,{"vil_M21","weapon",0.10}
            ,{"vil_M21G","weapon",0.10}
            ,{"BAF_LRR_scoped","weapon",0.05}
            ,{"BAF_LRR_scoped_W","weapon",0.05}
            ,{"vil_SV_98","weapon",0.15}
            ,{"vil_SV_98_SD","weapon",0.15}
            ,{"vil_SV_98_69","weapon",0.15}
            ,{"vil_VSS_PSO","weapon",0.15}
            ,{"SVD_CAMO","weapon",0.15}
            ,{"vil_SVU_A","weapon",0.15}
            ,{"vil_SVU","weapon",0.15}
            ,{"vil_M76","weapon",0.15}
            ,{"vil_M91","weapon",0.15}
            ,{"vil_SVD_63","weapon",0.15}
            ,{"vil_SVD_S","weapon",0.15}
            ,{"vil_SVD_M","weapon",0.15}
            ,{"vil_SVD_P21","weapon",0.15}
            ,{"vil_SVDK","weapon",0.15}
            ,{"KSVK","weapon",0.01}
            ,{"M4A1","weapon",0.2}
            ,{"RH_m14aim","weapon",0.2}
            ,{"M240_DZ","weapon",0.15}
            ,{"M4A1_AIM_SD_camo","weapon",0.2}
            ,{"M16A4_ACG","weapon",0.2}
            ,{"M4A1_HWS_GL_camo","weapon",0.2}
            ,{"Mk_48_DZ","weapon",0.10}
            ,{"M4A3_CCO_EP1","weapon",0.2}
            ,{"Sa58V_RCO_EP1","weapon",0.2}
            ,{"Sa58V_CCO_EP1","weapon",0.2}
            ,{"G36C_camo","weapon",0.2}
            ,{"G36A_camo","weapon",0.2}
            ,{"G36K_camo","weapon",0.2}
            ,{"G36C","weapon",0.2}
            ,{"vil_G36KSKES","weapon",0.2}
            ,{"vil_G36KV3Des","weapon",0.2}
            ,{"vil_G36KV3","weapon",0.2}
            ,{"vil_G36KES","weapon",0.2}
            ,{"vil_G36KSKdesES","weapon",0.2}
            ,{"SCAR_L_CQC","weapon",0.2}
            ,{"SCAR_L_CQC_Holo","weapon",0.2}
            ,{"SCAR_L_STD_Mk4CQT","weapon",0.2}
            ,{"SCAR_L_STD_EGLM_RCO","weapon",0.2}
            ,{"SCAR_L_CQC_EGLM_Holo","weapon",0.2}
            ,{"SCAR_L_STD_HOLO","weapon",0.2}
            ,{"SCAR_L_CQC_CCO_SD","weapon",0.2}
            ,{"SCAR_H_CQC_CCO","weapon",0.2}
            ,{"SCAR_H_CQC_CCO_SD","weapon",0.2}
            ,{"SCAR_H_STD_EGLM_Spect","weapon",0.2}
            ,{"SCAR_H_LNG_Sniper","weapon",0.2}
            ,{"SCAR_H_LNG_Sniper_SD","weapon",0.2}
            ,{"BAF_L85A2_RIS_Holo","weapon",0.2}
            ,{"BAF_L85A2_UGL_Holo","weapon",0.2}
            ,{"Saiga12K","weapon",0.2}
            ,{"RH_m14","weapon",0.2}
            ,{"RH_m14acog","weapon",0.2}
            ,{"RH_m14eot","weapon",0.2}
            ,{"vil_M14G","weapon",0.2}
            ,{"vil_HK33","weapon",0.2}
            ,{"vil_Galil","weapon",0.2}
            ,{"vil_Galil_arm","weapon",0.2}
            ,{"vil_HK416_EOT","weapon",0.2}
            ,{"vil_HK416_Aim","weapon",0.2}
            ,{"VIL_HK416_EDR","weapon",0.2}
            ,{"vil_Mg3","weapon",0.10}
            ,{"vil_FnMag","weapon",0.2}
            ,{"skavil_M60","weapon",0.2}
            ,{"RH_m1stacog","weapon",0.2}
            ,{"FHQ_RSASS_TAN","weapon",0.10}
            ,{"FHQ_RSASS_SD_TAN","weapon",0.10}
            ,{"M4SPR","weapon",0.2}
            ,{"RH_ctar21","weapon",0.2}
            ,{"RH_ctar21glacog","weapon",0.2}
            ,{"RH_ctar21m","weapon",0.2}
            ,{"RH_ctar21mgl","weapon",0.2}
            ,{"RH_star21","weapon",0.2}
            ,{"RH_masaim","weapon",0.2}
            ,{"RH_maseotech","weapon",0.2}
            ,{"RH_masacog","weapon",0.2}
            ,{"RH_massd","weapon",0.2}
            ,{"RH_massdaim","weapon",0.2}
            ,{"RH_massdeotech","weapon",0.2}
            ,{"RH_massdacog","weapon",0.2}
            ,{"RH_masb","weapon",0.2}
            ,{"RH_masbaim","weapon",0.2}
            ,{"RH_masbeotech","weapon",0.2}
            ,{"RH_masbacog","weapon",0.2}
            ,{"RH_masbsd","weapon",0.2}
            ,{"RH_masbsdaim","weapon",0.2}
            ,{"RH_masbsdeotech","weapon",0.2}
            ,{"RH_masbsdacog","weapon",0.2}        
            ,{"RH_sc2sp","weapon",0.10}
            ,{"RH_sc2aim","weapon",0.2}
            ,{"RH_sc2shd","weapon",0.10}
            ,{"RH_sc2eot","weapon",0.2}
            ,{"RH_sc2acog","weapon",0.2}
            ,{"RH_sc2","weapon",0.2}
            ,{"vil_AK_74m_k","weapon",0.2}
            ,{"vil_AK_74m_EOT","weapon",0.2}
            ,{"vil_AK_74m_EOT_Alfa","weapon",0.2}
            ,{"vil_AK_74m_EOT_FSB","weapon",0.2}
            ,{"vil_AK_74m_EOT_FSB_45","weapon",0.2}
            ,{"vil_AK_74m_EOT_FSB_60","weapon",0.2}
            ,{"vil_vsk94","weapon",0.2}
            ,{"vil_AK_74m_p29","weapon",0.2}
            ,{"vil_G3a3","weapon",0.15}
            ,{"vil_G3a2","weapon",0.15}
            ,{"vil_G3a4","weapon",0.15}
            ,{"vil_G3a4b","weapon",0.15}
            ,{"vil_G3an","weapon",0.15}
            ,{"vil_G3anb","weapon",0.15}
            ,{"vil_G3ZF","weapon",0.15}
            ,{"vil_G3zfb","weapon",0.15}
            ,{"vil_G3SG1","weapon",0.15}
            ,{"vil_G3sg1b","weapon",0.15}
            ,{"vil_G3TGS","weapon",0.15}
            ,{"vil_G3TGSb","weapon",0.15}
            ,{"vil_AG3","weapon",0.15}
            ,{"vil_AG3EOT","weapon",0.15}
            ,{"RH_hk416","weapon",0.2}
            ,{"RH_hk416s","weapon",0.2}
            ,{"RH_hk416saim","weapon",0.2}
            ,{"RH_hk416seotech","weapon",0.2}
            ,{"RH_hk416sacog","weapon",0.2}
            ,{"RH_hk416sd","weapon",0.2}
            ,{"RH_hk416sdaim","weapon",0.2}
            ,{"RH_hk416sdeotech","weapon",0.2}
            ,{"RH_hk416aim","weapon",0.2}
            ,{"RH_hk416eotech","weapon",0.2}
            ,{"RH_hk416acog","weapon",0.2}
            ,{"RH_hk416gl","weapon",0.2}
            ,{"RH_hk416glaim","weapon",0.2}
            ,{"RH_hk416gleotech","weapon",0.2}
            ,{"RH_hk416glacog","weapon",0.2}
            ,{"RH_hk416sgl","weapon",0.2}
            ,{"RH_hk416sglaim","weapon",0.2}
            ,{"RH_hk416sgleotech","weapon",0.2}
            ,{"RH_hk416sglacog","weapon",0.2}
            ,{"RH_hk416sdgl","weapon",0.2}
            ,{"RH_hk416sdglaim","weapon",0.2}
            ,{"RH_hk416sdgleotech","weapon",0.2}
            ,{"RH_hk417","weapon",0.2}
            ,{"RH_hk417aim","weapon",0.2}
            ,{"RH_hk417eotech","weapon",0.2}
            ,{"RH_hk417acog","weapon",0.2}
            ,{"RH_hk417sp","weapon",0.10}
            ,{"RH_hk417s","weapon",0.2}
            ,{"RH_hk417saim","weapon",0.2}
            ,{"RH_hk417seotech","weapon",0.2}
            ,{"RH_hk417sacog","weapon",0.2}
            ,{"RH_hk417sd","weapon",0.2}
            ,{"RH_hk417sdaim","weapon",0.2}
            ,{"RH_hk417sdeotech","weapon",0.2}
            ,{"RH_hk417sdacog","weapon",0.2}
            ,{"RH_hk417sdsp","weapon",0.10}
            ,{"RH_hk417sgl","weapon",0.2}
            ,{"RH_hk417sglaim","weapon",0.2}
            ,{"RH_hk417sgleotech","weapon",0.2}
            ,{"RH_hk417sglacog","weapon",0.2}
            ,{"FHQ_XM2010_DESERT","weapon",0.10}
            ,{"FHQ_XM2010_SD_DESERT","weapon",0.10}
            ,{"USSR_cheytacM200","weapon",0.01}
            ,{"USSR_cheytacM200_sd","weapon",0.01}
            ,{"m107","weapon",0.01}
            ,{"BAF_AS50_scoped_Large","weapon",0.01}
            ,{"M136","weapon",0.10}
            ,{"vil_G3a3","weapon",0.15}
            ,{"vil_G3a2","weapon",0.15}
            ,{"vil_G3a4","weapon",0.15}
            ,{"vil_G3a4b","weapon",0.15}
            ,{"vil_G3an","weapon",0.15}
            ,{"vil_G3anb","weapon",0.15}
            ,{"vil_G3ZF","weapon",0.15}
            ,{"vil_G3zfb","weapon",0.15}
            ,{"vil_AG3","weapon",0.15}
            ,{"vil_AG3EOT","weapon",0.15}
            ,{"vil_sg542","weapon",0.2}
            ,{"vil_sg542f","weapon",0.2}
            ,{"vil_Galil","weapon",0.2}
            ,{"vil_Galil_arm","weapon",0.2}
            ,{"vil_SKS","weapon",0.2}
            ,{"vil_VAL","weapon",0.2}
            ,{"vil_VAL_C","weapon",0.2}
            ,{"vil_Vikhr","weapon",0.2}
            ,{"vil_9a91","weapon",0.2}
            ,{"vil_9a91_c","weapon",0.2}
            ,{"vil_9a91_csd","weapon",0.2}
            ,{"vil_Groza_HG","weapon",0.2}
            ,{"vil_Groza_SC","weapon",0.2}
            ,{"vil_Groza_SD","weapon",0.2}
            ,{"MG36_camo","weapon",0.2}
            ,{"MG36","weapon",0.2}
            ,{"BAF_L86A2_ACOG","weapon",0.2}
            ,{"skavil_M60","weapon",0.2}
            ,{"skavil_M60e3","weapon",0.2}
            ,{"vil_M249_Para","weapon",0.2}
            ,{"vil_Minimi","weapon",0.2}
            ,{"vil_M240_B","weapon",0.15}
            ,{"vil_MG4","weapon",0.2}
            ,{"vil_MG4E","weapon",0.2}
            ,{"vil_PKP","weapon",0.15}
            ,{"vil_PKP_EOT","weapon",0.15}
            ,{"vil_RPK75_Romania","weapon",0.2}
            ,{"vil_RPK75","weapon",0.2}
            ,{"vil_RPD","weapon",0.2}
            ,{"vil_RPK74M_P29","weapon",0.2}
            ,{"vil_RPK75_M72","weapon",0.2}
            ,{"vil_AKS_47","weapon",0.2}
            ,{"vil_AK_47_49","weapon",0.2}
            ,{"vil_AK_47","weapon",0.2}
            ,{"vil_AKMSB","weapon",0.2}
            ,{"vil_AKM","weapon",0.2}
            ,{"vil_AKMS","weapon",0.2}
            ,{"vil_AK_47_m1","weapon",0.2}
            ,{"vil_AK_nato_m1","weapon",0.2}
            ,{"vil_M70","weapon",0.2}
            ,{"vil_M70B","weapon",0.2}
            ,{"vil_M64","weapon",0.2}
            ,{"vil_ASH82","weapon",0.2}
            ,{"vil_AMD","weapon",0.2}
            ,{"vil_AMD63","weapon",0.2}
            ,{"vil_PMI","weapon",0.2}
            ,{"vil_PMIS","weapon",0.2}
            ,{"vil_MPi","weapon",0.2}
            ,{"vil_AK_nato_m80","weapon",0.2}
            ,{"vil_AKs_74_u","weapon",0.2}
            ,{"vil_AKs_74_u","weapon",0.2}
            ,{"Vil_AKS_74_UN_kobra","weapon",0.2}
            ,{"Vil_AKS_74_UB","weapon",0.2}
            ,{"vil_AK_74M_PSO","weapon",0.2}
            ,{"vil_AK_74m_c","weapon",0.2}
            ,{"vil_AK_74m_gp_29","weapon",0.2}
            ,{"vil_AK_74m_gp","weapon",0.2}
            ,{"vil_type88_1","weapon",0.2}
            ,{"vil_PMI74S","weapon",0.2}
            ,{"vil_Rak74sgl","weapon",0.2}
            ,{"vil_AK_101","weapon",0.2}
            ,{"vil_AK_103","weapon",0.2}
            ,{"vil_AK_105","weapon",0.2}
            ,{"Vil_AK_105_c","weapon",0.2}
            ,{"vil_AK_107","weapon",0.2}
            ,{"Vil_AK_107_c","weapon",0.2}
            ,{"vil_Abakan","weapon",0.2}
            ,{"vil_Abakan_gp","weapon",0.2}
            ,{"vil_Abakan_P29","weapon",0.2}
            ,{"vil_ak12","weapon",0.2}
            ,{"vil_ak12_ap","weapon",0.2}
            ,{"vil_ak12_gp","weapon",0.2}
            ,{"vil_AEK1","weapon",0.2}
            ,{"vil_AEK2","weapon",0.2}
            ,{"vil_AEK_GL","weapon",0.2}
            ,{"vil_AeK_3","weapon",0.2}
            ,{"vil_AeK_23","weapon",0.2}
            ,{"vil_AeK_3_K","weapon",0.2}
            ,{"m8_carbine","weapon",0.2}
            ,{"m8_carbineGL","weapon",0.2}
            ,{"m8_compact","weapon",0.2}
            ,{"VIL_HK417s","weapon",0.10}
            ,{"FHQ_MSR_DESERT","weapon",0.10}
            ,{"FHQ_MSR_SD_DESERT","weapon",0.10}
            ,{"ItemDocument",0.2}
        };
        militarypilot[] = {
            {"FoodCanUnlabeled",0.6}
            ,{"ItemSodaEmpty",0.4}
            ,{"ItemSodaCoke",0.1}
            ,{"ItemSodaPepsi",0.1}
            ,{"ItemBandage",0.4}
            ,{"ItemAntibiotic",0.4}
            ,{"ItemPainkiller",0.4}
            ,{"ItemMorphine",0.1}
            ,{"30Rnd_556x45_Stanag",0.4}
            ,{"20Rnd_762x51_DMR",0.4}
            ,{"17Rnd_9x19_glock17",0.5}
            ,{"15Rnd_9x19_M9SD",0.1}
            ,{"15Rnd_9x19_M9",0.2}
            ,{"30Rnd_762x39_AK47",0.4}
            ,{"30Rnd_545x39_AK",0.4}
            ,{"5Rnd_762x51_M24",0.1}
            ,{"5Rnd_86x70_L115A1",0.1}
            ,{"8Rnd_B_Beneli_74Slug",0.4}
            ,{"1Rnd_HE_M203",0.1}
            ,{"FlareWhite_M203",0.1}
            ,{"FlareGreen_M203",0.1}
            ,{"1Rnd_Smoke_M203",0.1}
            ,{"200Rnd_556x45_M249",0.1}
            ,{"HandGrenade_west",0.1}
            ,{"HandGrenade_east",0.1}
            ,{"SmokeShell",0.4}
            ,{"SmokeShellRed",0.2}
            ,{"SmokeShellGreen",0.2}
            ,{"8Rnd_B_Beneli_Pellets",0.4}
            ,{"30Rnd_556x45_StanagSD",0.1}
            ,{"30Rnd_9x19_MP5",0.2}
            ,{"30Rnd_9x19_MP5SD",0.1}
            ,{"100Rnd_762x51_M240",0.1}
            ,{"HandChemGreen",0.2}
            ,{"HandChemBlue",0.2}
            ,{"HandChemRed",0.2}
            ,{"ItemHeatPack",0.4}
            ,{"FoodMRE",0.3}
            ,{"8Rnd_9x18_MakarovSD",0.1}
            ,{"20Rnd_B_765x17_Ball",0.4}
            ,{"30Rnd_9x19_UZI_SD",0.1}
            ,{"ItemHotwireKit",0.3}
        };
        policeman[] = {
            {"ItemBandage",0.3}
            ,{"7Rnd_45ACP_1911",0.8}
            ,{"6Rnd_45ACP",0.8}
            ,{"15Rnd_W1866_Slug",0.4}
            ,{"8Rnd_B_Beneli_Pellets",0.6}
            ,{"HandRoadFlare",0.7}
            ,{"8Rnd_9x18_MakarovSD",0.1}
            ,{"ItemComboLock",0.5}
            ,{"SmokeShell",0.4}
            ,{"FoodMRE",0.4}
            ,{"ItemHotwireKit",0.3}
            ,{"ItemDocument",0.2}
        };
        hunter[] = {
            {"ItemBandage",0.4}
            ,{"5x_22_LR_17_HMR",0.5}
            ,{"7Rnd_45ACP_1911",0.3}
            ,{"10x_303",0.1}
            ,{"ItemWaterbottleUnfilled",0.5}
            ,{"WoodenArrow",0.2}
            ,{"ItemHeatPack",0.2}
            ,{"FoodMRE",0.1}
            ,{"FoodNutmix",0.2}
            ,{"ItemDocument",0.1}
            ,{"ItemMixOil",0.1}
        };
        worker[] = {
            {"FoodCanUnlabeled",0.9}
            ,{"TrashJackDaniels",0.9}
            ,{"ItemSodaEmpty",0.1}
            ,{"ItemSodaCoke",0.1}
            ,{"ItemSodaPepsi",0.1}
            ,{"FoodCanBakedBeans",0.6}
            ,{"FoodCanSardines",0.6}
            ,{"FoodCanFrankBeans",0.6}
            ,{"FoodCanPasta",0.6}
            ,{"ItemBandage",0.1}
            ,{"ItemPainkiller",0.6}
            ,{"ItemWire",0.1}
            ,{"ItemTankTrap",0.3}
            ,{"ItemComboLock",0.4}
            ,{"ItemSledgeHead",0.2}
            ,{"ItemDocument",0.2}
        };
        clothes[] = {
            {"Skin_RU_Policeman_DZ",0.11}
            ,{"Skin_Pilot_EP1_DZ",0.1}
            ,{"Skin_Functionary1_EP1_DZ",0.1}
            ,{"Skin_Priest_DZ",0.1}
            ,{"Skin_Rocker1_DZ",0.7}
            ,{"Skin_Rocker2_DZ",0.7}
            ,{"Skin_Rocker3_DZ",0.8}
            ,{"Skin_Rocker4_DZ",0.8}
            ,{"Skin_SurvivorW3_DZ",0.9}
            ,{"Skin_SurvivorWpink_DZ",0.9}
            ,{"Skin_SurvivorWurban_DZ",0.7}
            ,{"Skin_INS_Bardak_DZ",0.2}
            ,{"Skin_INS_Worker2_DZ",0.2}
        };
        militaryclothes[] = {
            {"Skin_Camo1_DZ",0.9}
            ,{"Skin_Sniper1_DZ",0.8}
            ,{"Skin_Rocket_DZ",0.5}
            ,{"Skin_Soldier1_DZ",0.5}
            ,{"Skin_Drake_Light_DZ",0.7}
            ,{"Skin_Soldier_TL_PMC_DZ",0.7}
            ,{"Skin_Soldier_Sniper_PMC_DZ",0.5}
            ,{"Skin_Soldier_Bodyguard_AA12_PMC_DZ",0.7}
            ,{"Skin_CZ_Special_Forces_GL_DES_EP1_DZ",0.8}
            ,{"Skin_FR_OHara_DZ",0.8}
            ,{"Skin_FR_Rodriguez_DZ",0.9}
            ,{"Skin_CZ_Soldier_Sniper_EP1_DZ",0.4}
            ,{"Skin_Graves_Light_DZ",0.9}
            ,{"Skin_INS_Soldier_AR_DZ",0.5}
            ,{"Skin_INS_Soldier_CO_DZ",0.4}
        };
        specialclothes[] = {
            {"Skin_Ins_Soldier_GL_DZ",0.5}
            ,{"Skin_GUE_Commander_DZ",0.8}
            ,{"Skin_Bandit1_DZ",0.8}
            ,{"Skin_Bandit2_DZ",0.6}
            ,{"Skin_BanditW1_DZ",0.7}
            ,{"Skin_BanditW2_DZ",0.7}
            ,{"Skin_TK_INS_Soldier_EP1_DZ",0.5}
            ,{"Skin_TK_INS_Warlord_EP1_DZ",0.7}
            ,{"Skin_SurvivorWcombat_DZ",0.8}
            ,{"Skin_SurvivorWdesert_DZ",0.8}
            ,{"Skin_GUE_Soldier_MG_DZ",0.5}
            ,{"Skin_GUE_Soldier_Sniper_DZ",0.4}
            ,{"Skin_GUE_Soldier_Crew_DZ",0.4}
            ,{"Skin_GUE_Soldier_CO_DZ",0.4}
            ,{"Skin_GUE_Soldier_2_DZ",0.4}
            ,{"Skin_TK_Special_Forces_MG_EP1_DZ",0.2}
            ,{"Skin_TK_Soldier_Sniper_EP1_DZ",0.2}
            ,{"Skin_TK_Commander_EP1_DZ",0.2}
            ,{"Skin_RU_Soldier_Crew_DZ",0.2}
            ,{"Skin_INS_Lopotev_DZ",0.2}
        };
        tents[] = {
            {"WeaponHolder_ItemTentOld",0.034}
            ,{"WeaponHolder_ItemTentDomed",0.033}
            ,{"WeaponHolder_ItemTentDomed2",0.033}
        };
        backpacks[] = {
            {"DZ_Assault_Pack_EP1",0.22}
            ,{"DZ_Czech_Vest_Puch",0.2}
            ,{"DZ_TerminalPack_EP1",0.18}
            ,{"DZ_ALICE_Pack_EP1",0.16}
            ,{"DZ_TK_Assault_Pack_EP1",0.13}
            ,{"DZ_CompactPack_EP1",0.11}
        };
        militarybackpacks[] = {
            {"DZ_British_ACU",0.3}
            ,{"DZ_GunBag_EP1",0.2}
            ,{"DZ_CivilBackpack_EP1",0.2}
            ,{"DZ_Backpack_EP1",0.15}
            ,{"DZ_LargeGunBag_EP1",0.1}
        };
        militaryammo[] = {
            {"2000Rnd_762x51_M134",0.1}
            ,{"29Rnd_30mm_AGS30",0.2}
            ,{"50Rnd_127x107_DSHKM",0.2}
            ,{"48Rnd_40mm_MK19",0.2}
            ,{"100Rnd_127x99_M2",0.3}
        };
        pistols[] = {
            {"Makarov",0.2}
            ,{"Colt1911",0.23}
            ,{"revolver_EP1",0.2}
            ,{"glock17_EP1",0.1}
            ,{"MakarovSD",0.1}
            ,{"M9",0.7}
            ,{"M9SD",0.4}
            ,{"revolver_gold_EP1",0.1}
        };
        shotgunsingleshot[] = {
            {"Winchester1866",0.2}
            ,{"LeeEnfield",0.2}
            ,{"MR43",0.2}
            ,{"Saiga12K",0.13}
            ,{"Remington870_lamp",0.1}
            ,{"Crossbow_DZ",0.7}
            ,{"M1014",0.5}
        };
        farmweapons[] = {
            {"Winchester1866",0.2}
            ,{"LeeEnfield",0.2}
            ,{"MR43",0.19}
            ,{"Saiga12K",0.13}
            ,{"Remington870_lamp",0.1}
            ,{"Crossbow_DZ",0.7}
            ,{"huntingrifle",0.5}
            ,{"Chainsaw",0.1}
        };
        sniperrifles[] = {
            {"AK_107_PSO",0.1}
            ,{"M4SPR",0.9}
            ,{"M40A3",0.9}
            ,{"SVD_CAMO",0.7}
            ,{"SVD_des_EP1",0.7}
            ,{"SVD",0.7}
            ,{"huntingrifle",0.9}
            ,{"M24_des_EP1",0.8}
            ,{"M24",0.7}
            ,{"BAF_LRR_scoped",0.7}
            ,{"M107_DZ",0.5}
            ,{"KSVK_DZE",0.5}
            ,{"VSS_vintorez",0.4}
            ,{"SCAR_H_LNG_Sniper_SD",0.3}
            ,{"M14_EP1",0.2}
            ,{"DMR",0.1}
            ,{"M24","weapon",0.15}
            ,{"vil_M24b","weapon",0.15}
            ,{"M40A3","weapon",0.15}
            ,{"vil_m40a3","weapon",0.15}
            ,{"DMR","weapon",0.10}
            ,{"vil_SR25","weapon",0.10}
            ,{"vil_SR25SD","weapon",0.10}
            ,{"vil_M110","weapon",0.10}
            ,{"vil_M110sd","weapon",0.10}
            ,{"vil_M21","weapon",0.10}
            ,{"vil_M21G","weapon",0.10}
            ,{"BAF_LRR_scoped","weapon",0.05}
            ,{"BAF_LRR_scoped_W","weapon",0.05}
            ,{"vil_SV_98","weapon",0.15}
            ,{"vil_SV_98_SD","weapon",0.15}
            ,{"vil_SV_98_69","weapon",0.15}
            ,{"vil_VSS_PSO","weapon",0.15}
            ,{"SVD_CAMO","weapon",0.15}
            ,{"vil_SVU_A","weapon",0.15}
            ,{"vil_SVU","weapon",0.15}
            ,{"vil_M76","weapon",0.15}
            ,{"vil_M91","weapon",0.15}
            ,{"vil_SVD_63","weapon",0.15}
            ,{"vil_SVD_S","weapon",0.15}
            ,{"vil_SVD_M","weapon",0.15}
            ,{"vil_SVD_P21","weapon",0.15}
            ,{"vil_SVDK","weapon",0.15}
            ,{"KSVK","weapon",0.01}
            ,{"SCAR_H_LNG_Sniper","weapon",0.25}
            ,{"SCAR_H_LNG_Sniper_SD","weapon",0.25}
            ,{"FHQ_RSASS_TAN","weapon",0.10}
            ,{"FHQ_RSASS_SD_TAN","weapon",0.10}
            ,{"RH_hk417sp","weapon",0.10}
            ,{"RH_hk417sdsp","weapon",0.10}
            ,{"FHQ_XM2010_DESERT","weapon",0.10}
            ,{"FHQ_XM2010_SD_DESERT","weapon",0.10}
            ,{"USSR_cheytacM200","weapon",0.01}
            ,{"USSR_cheytacM200_sd","weapon",0.01}
            ,{"m107","weapon",0.01}
            ,{"BAF_AS50_scoped_Large","weapon",0.01}
            ,{"VIL_HK417s","weapon",0.10}
            ,{"FHQ_MSR_DESERT","weapon",0.10}
            ,{"FHQ_MSR_SD_DESERT","weapon",0.10}
        };
        sniperriflesammo[] = {
            {"30Rnd_545x39_AKSD",0.18}
            ,{"5Rnd_127x108_KSVK",0.8}
            ,{"5Rnd_86x70_L115A1",0.7}
            ,{"10Rnd_127x99_m107",0.15}
            ,{"10Rnd_762x54_SVD",0.2}
            ,{"20Rnd_762x51_DMR",0.1}
            ,{"5Rnd_762x51_M24",0.15}
            ,{"5x_22_LR_17_HMR",0.1}
            ,{"20Rnd_762x51_SB_SCAR",0.7}
            ,{"20Rnd_9x39_SP5_VSS",0.5}
        };
        submachinegun[] = {
            {"UZI_EP1",0.2}
            ,{"bizon",0.2}
            ,{"Sa61_EP1",0.2}
            ,{"MP5A5",0.13}
            ,{"bizon_silenced",0.1}
            ,{"UZI_SD_EP1",0.7}
            ,{"MP5SD",0.5}
        };
        assaultrifles[] = {
            {"AKS_74_kobra",0.5}
            ,{"AKS_74_U",0.5}
            ,{"AKS_GOLD",0.1}
            ,{"AK_47_M",0.5}
            ,{"AK_74",0.5}
            ,{"FN_FAL",0.3}
            ,{"FN_FAL_ANPVS4",0.1}
            ,{"G36A_camo",0.5}
            ,{"G36C",0.5}
            ,{"G36C_camo",0.5}
            ,{"G36K_camo",0.5}
            ,{"G36_C_SD_camo",0.3}
            ,{"M16A2",0.5}
            ,{"M16A2GL",0.2}
            ,{"M16A4_ACG",0.1}
            ,{"M4A1",0.5}
            ,{"M4A1_Aim",0.4}
            ,{"M4A1_AIM_SD_camo",0.1}
            ,{"M4A1_HWS_GL_camo",0.1}
            ,{"M4A3_CCO_EP1",0.4}
            ,{"Sa58P_EP1",0.2}
            ,{"Sa58V_CCO_EP1",0.4}
            ,{"Sa58V_EP1",0.2}
            ,{"Sa58V_RCO_EP1",0.4}
            ,{"m8_compact",0.3}
            ,{"m8_sharpshooter",0.4}
            ,{"m8_holo_sd",0.2}
            ,{"m8_carbine",0.5}
            ,{"BAF_L85A2_RIS_SUSAT",0.2}
            ,{"BAF_L85A2_RIS_Holo",0.1}
            ,{"M4A1_HWS_GL_SD_Camo",0.1}
        };
        assaultrifleammo[] = {
            {"30Rnd_762x39_SA58",0.2}
            ,{"30Rnd_762x39_AK47",0.2}
            ,{"30Rnd_556x45_Stanag",0.2}
            ,{"30Rnd_545x39_AK",0.11}
            ,{"30Rnd_556x45_StanagSD",0.12}
            ,{"20Rnd_762x51_FNFAL",0.7}
        };
        machineguns[] = {
            {"RPK_74",0.11}
            ,{"M8_SAW",0.11}
            ,{"Pecheneg_DZ",0.1}
            ,{"PK_DZ",0.1}
            ,{"MG36_camo",0.1}
            ,{"M60A4_EP1_DZE",0.1}
            ,{"MG36",0.1}
            ,{"M249_m145_EP1_DZE",0.1}
            ,{"m240_scoped_EP1_DZE",0.1}
            ,{"M240_DZ",0.8}
            ,{"M249_EP1_DZ",0.5}
            ,{"Mk_48_DZ",0.5}
        };
        machinegunammo[] = {
            {"100Rnd_556x45_BetaCMag",0.2}
            ,{"75Rnd_545x39_RPK",0.2}
            ,{"100Rnd_556x45_M249",0.15}
            ,{"100Rnd_762x51_M240",0.15}
            ,{"100Rnd_762x54_PK",0.15}
            ,{"200Rnd_556x45_M249",0.15}
        };
        machinegunammoexpl[] = {
            {"100Rnd_556x45_BetaCMag",0.2}
            ,{"75Rnd_545x39_RPK",0.2}
            ,{"100Rnd_556x45_M249",0.15}
            ,{"100Rnd_762x51_M240",0.15}
            ,{"100Rnd_762x54_PK",0.14}
            ,{"200Rnd_556x45_M249",0.14}
            ,{"MAAWS_HEAT",0.1}
            ,{"PipeBomb",0.1}
        };
        militaryshotguns[] = {
            {"Saiga12K",0.2}
            ,{"Remington870_lamp",0.35}
            ,{"M1014",0.4}
        };
    };

  11. Works Superb with me, just whitelisted the actions and its working good.

    I had the same problem with the safes being empty when you open it.

    There is a simple fix. Just Search _intentory in server_moniter.sqf and replace it with _inventory

    Same with all the files you changed in server.pbo

    you had that issue AFTER you installed vectoring? I have no issues with safes until I install vectoring... then literally nothing happens when you try to open them, they're not empty.. you just can't open them.

  12. yea that was my failed attempt at fixing an error that spams my client RPT from using the NPC Vendor as a bank. It didnt work so I just quoted it out to see if I could play with it later.

    I figured out that the problem was being caused by adding vectoring.
    https://github.com/strikerforce/SnapPro-BuildVectors

     

    The vectoring itself works perfectly but it breaks opening the safes. Im guessing there is an error in player_unlockVault.sqf

     

×
×
  • Create New...