Jump to content

Marchy

Member
  • Posts

    30
  • Joined

  • Last visited

Posts posted by Marchy

  1. My admin tools are not working I even used a Epoch tutorial,I did everything correctly.

    If you need any files to look at please do ask  !

     

    I'm gonna go ahead and say, don't bother. I had lots of problems getting the thing working correctly and I just resulted to buying Infistars Anti Hack. It was a lot easier and worth the price. 

  2. Not sure if its actually fixing it or just a work around.

     

    Go to your instance/battleye/battle.cfg file, and increased the AddWeapon, Magazine and backpack to reflect those that can be in a safe.. ie: AddWeaponCargo was like 30 odd, change to 50 (50 being the max amount of weapons in a safe etc).. and so on for backpacks and magazines. 

     

     

    I just removed the lines from Battleye for now. 

  3. So here's my current issue. I fixed the issue where I spawn in a vehicle using BP Admin Tools and it will not explode as you get into it. Now the problem is, I can't spawn any Weapons without getting kicked by Battlye for the #7 Script Restriction which I know is an easy fix just by disabling that line but is there a way where I can allow just my script to pass through it and no one else? Here is my Script.txt file. 

    5 addMagazine !"addMagazine _" !"addMagazine \"" !"addMagazine '" !"\"addMagazine\"" !addMagazineCargo !="raddMagazine = 'addMagazine'"  !="raddMagazinecode={diag_log(\"WARNING illegal RE raddMagazinecode with args:\"+str(_this));};" !="raddMagazinecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'addMagazine.sqf')" !"ate_ammo_rest != 0) then {\nplayer addMagazine [_create,_qtynew_create_ammo_rest]" !"if (_ammo > 0) then {\nplayer removeMagazines \"Quiver\";\nplayer addMagazine [\"Quiver\", _ammo];" !"mmo_rest != 0) then {\nplayer addMagazine [_consume,_qtynew_consume_ammo_res" !"ume_ammo_rest != 0) then {\nplayer addMagazine [_consume,_qtynew_consume_ammo_res" !"o_rest != 0) then {\nplayer addMagazine [_create,_qtynew_create_ammo_rest]" !"Magazine \"WoodenArrow\";\n};\nplayer addMagazine [\"Quiver\",_qty_quiverarrows+_qty_a" !"ame _x == \"ARRAY\") then {_newUnit addMagazine [_x select 0,_x select 1] } else {" !"n {\nif (_val != -1) then {\nplayer addMagazine [_item,_val];\n} else {\nplayer " !"{\n_vehicle removeMagazineTurret [_ammo,_turret];\n_vehicle addMagazineTurret [_ammo,_turret];\nplayer removeMagazine _ammo;\n\ncutText [for" !"_item = createVehicle [\"WeaponHolder\", getPosATL player, [], 1, \"CAN_COLLIDE\"];\n_item addMagazineCargoGlobal [_itemOut,_countOut];" !"if (typeName _countOut == "ARRAY") then {\n_countOut = round((random (_countOut select 1)) + (_countOut select 0));\n};\n_item addMagazineCargoGlobal [_itemOut,_countOut];\n} forEach _selectedRemoveOutput;"
    
    5 "addMagazine _" !"addMagazine _c" !"addMagazine _x" !"addMagazine _i" !"addMagazine _p" !"_invRemove);\nfor \"_x\" from 1 to _removed do {\nplayer addMagazine _meatcooked;\n};" !if (local _animalbody) then {\nfor \"_x\" from 1 to _qty do {\n_animalbody addMagazine _rawfoodtype;\n};\n" !"_selectRandomWeighted;\nif(!isNil \"_array\") then {\n_agent addMagazine _loot;\n};\n" !"\nfor \"_x\" from 1 to _third_parts_out do {\nplayer addMagazine _third_highest_bar;\n};\n" !"\nfor \"_x\" from 1 to _remainder do {\nplayer addMagazine _next_highest_bar;\n};\n"
    
    5 "addMagazine _p" !"alive _obj) then {\n\nif(_okToSell) then {\n\nfor "_x" from 1 to _qty_out do {\nplayer addMagazine _part_out;" !"alive _obj) then {\n\nfor \"_x\" from 1 to _qty_out do {\nplayer addMagazine _part_out;\n};" !"removeBackpack player;\nfor \"_x\" from 1 to _qty_out do {\nplayer addMagazine _part_out;\n};" !"\nfor \"_x\" from 1 to _removed do {\nplayer addMagazine _part_in;\n};\n" !"\nfor \"_x\" from 1 to _remainder do {\nplayer addMagazine _part_out;\n};\n" !"\nfor \"_x\" from 1 to _total_parts_out do {\nplayer addMagazine _part_out;\n};" !"do {\nplayer addMagazine _part_out;\nif(_part_out == \"FoodBioMeat\") then {\n_humanityGain = _humanityGain + 20;\n};" !"if(_buy_o_sell == \"buy\") then {\nplayer addWeapon _part_out;\n} else {\nplayer addMagazine _part_out;\n};"
    
    5 "addMagazine _i" !"\nfor \"_x\" from 1 to _countOut do {\nplayer addMagazine _itemOut;\n};" !"drop,1];\n} else {\nplayer addMagazine _itemOut;\n};" !"_invRemove) == 1) then {\nplayer addMagazine _itemNew;\n[dayz_playerUID,dayz_c" !"\nif (_isOK) then {\nif (_val != -1) then {\nplayer addMagazine [_item,_val];\n} else {\nplayer addMagazine _item;\n};\n" !"s (configfile >> \"cfgmagazines\" >> (_item))) then {_unit addMagazine _item;};"  
    5 "addMagazine _c" !"ynew_create_mags_full do {\nplayer addMagazine _create;\n};\nif (_qtynew_create_amm" !"new_consume_mags_full do {\nplayer addMagazine _consume;\n};\nif (_qtynew_consume_a" !"[player,\"refuel\",0,false] call dayz_zombieSpeak;\nplayer addMagazine _canName;\ncutText " !"[player,\"refuel\",0,false] call dayz_zombieSpeak;\nplayer addMagazine _canName+\"Empty\";\ncutText "
    
    5 "addMagazine _x" !"{player addMagazine _x;} forEach _temp_removed_array;\n\ncutText" !" 0,_x select 1] } else { _newUnit addMagazine _x };\n\n} forEach _magazines;\n\n{\n_n" !" >> _x);\nif (_isOK) then {\nplayer addMagazine _x;\n};\n} forEach _wpns;" !"gFile >> "CfgMagazines" >> _x);if (_isOK) then {\nplayer addMagazine _x;\n};\n} forEach _mags;\n{\n_isOK = isClass(configFile >> "C"
    
    5 "addMagazine \"" !"for \"_x\" from 1 to _removed do {\nplayer addMagazine \"ItemWaterbottleBoiled\";\n};" !"Jerrycan\"] call BIS_fnc_invRemove) == 1) then {\nplayer addMagazine \"ItemJerrycanEmpty\";\n" !"if(([player,_x] call BIS_fnc_invRemove) == 1) then {\nif (_x == ItemFuelBarrelEmpty) then {\nplayer addMagazine "ItemFuelBarrel";\n} else {\nplayer addMagazine "ItemJerrycan";\n};" !"n player_alertZombies;\nplayer addMagazine \"ItemWaterbottleUnfilled\";" !"WaterbottleUnfilled\"] call BIS_fnc_invRemove) == 1) then {\nplayer addMagazine \"ItemWaterbottle\";\n};" !"Waterbottle\"] call BIS_fnc_invRemove) == 1) then {\nplayer addMagazine \"ItemWaterbottleUnfilled\";\n};" !"if (local _zombiebody) then {\n_zombiebody addMagazine \"ItemZombieParts\";" !"ayer playActionNow \"stop\";\n};\nplayer addMagazine \"ItemBandage\";\n};" 
    
    5 "addMagazine '" !" addMagazine 'crowbar_swing';" !" addMagazine 'hatchet_swing';" !" addMagazine 'Machete_swing';" !" addMagazine 'Fishing_Swing';"
    

    Anyone got any ideas on how to get Battleye to allow my script? 

  4. This is caused by something else apart from BE filters.  The filters will just kick you not blow up the vehicle... Whats going on is in the server_cleanup.fsm it's a script that checks for hackers spawning vehicles and blows them up once they get in.

     

    EASY FIX (not the best but it's what I did and it works fine):

     

    REMEMBER!  MAKE  A BACKUP (just in case)

     

    1) extract your dayz_server.pbo 

     

    2) In the system folder there is a file called "server_cleanup.fsm" open that in N++

     

    3) search for the line "Check for hackers"

     

    4 Comment out that block of code...  Should look like this when your done...

           "//Check for hackers" \n
           "// {" \n
           "//	if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
           "//		diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));" \n
           "//		(vehicle _x) setDamage 1;" \n
           "//		_x setDamage 1;" \n
           "//	 };" \n
           "// } forEach allUnits;" \n
    

    5) repack your PBO and upload.  

     

    6) Have fun spawning your vehicles! 

     

     

    -EDIT-

    Yeah you need to update the BE filters too otherwise you'll keep getting kicked. sorry was not paying enough attention!

     

    Tried it out, Turned out to fix them blowing up but now they just disappears :( 

  5. This is caused by something else apart from BE filters.  The filters will just kick you not blow up the vehicle... Whats going on is in the server_cleanup.fsm it's a script that checks for hackers spawning vehicles and blows them up once they get in.

     

    EASY FIX (not the best but it's what I did and it works fine):

     

    REMEMBER!  MAKE  A BACKUP (just in case)

     

    1) extract your dayz_server.pbo 

     

    2) In the system folder there is a file called "server_cleanup.fsm" open that in N++

     

    3) search for the line "Check for hackers"

     

    4 Comment out that block of code...  Should look like this when your done...

           "//Check for hackers" \n
           "// {" \n
           "//	if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
           "//		diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));" \n
           "//		(vehicle _x) setDamage 1;" \n
           "//		_x setDamage 1;" \n
           "//	 };" \n
           "// } forEach allUnits;" \n
    

    5) repack your PBO and upload.  

     

    6) Have fun spawning your vehicles! 

     

     

    -EDIT-

    Yeah you need to update the BE filters too otherwise you'll keep getting kicked. sorry was not paying enough attention!

     

    Much appreciated, I'll check back to see if it works! 

  6. I installed this one too works great. only thing ive noticed is i belive it may have strange interactions with Admin tools(bluephoenix) but i dont know for sure.  this was an easy install and covers any area the you get "you are now entering......."

     

    I use the same one and get no problems 

  7. Not sure if I should be posting on this thread for this issue but what the hey.

     

     

    I downloaded the Admin Tools ect and they worked in game fine. Then I added the script 

     


    if (getPlayerUID player) in ["124008390"]) then 
    {
    DZE_teleport = [99999,99999,99999,99999,99999];
    };

     

     

    And then under that is...

     

    [] execVM "admintools\Activate.sqf";
    [] execVM 'AGN\agn_SafeZoneCommander.sqf';

     

     

    These are both at the bottom of the default Init.sqf file and without the first line of code, the bottom plugins work perfectly. 

  8.  

    Here's my sensors for god mode on Panthera, you'll obviously have to use one of the safezone scripts from this forum.

    class Sensors
    	{
    		items=18;
    		class Item0
    		{
    			position[]={4419.9492,22.076105,1629.0402};
    			a=100;
    			b=100;
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="TraderCity1";
    			expCond="(player distance TraderCity1) < 75; ";
    			expActiv="TitleText[""Now entering trader city Pikla - god mode on"",""PLAIN DOWN""]; canbuild = false;";
    			expDesactiv="TitleText[""Now leaving trader city Pikla - god mode off"",""PLAIN DOWN""]; canbuild = true;";
    			class Effects
    			{
    			};
    		};
    		class Item1
    		{
    			position[]={4419.9492,22.076105,1629.0402};
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="TraderCity1_safezone";
    			expCond="(player distance TraderCity1) < 75;";
    			expActiv="inSafeZone = true;";
    			expDesactiv="inSafeZone = false;";
    			class Effects
    			{
    			};
    			};
    		class Item2
    		{
    			position[]={8688.6563,7.2285666,3129.0193};
    			a=100;
    			b=100;
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="TraderCity2";
    			expCond="(player distance TraderCity2) < 75; ";
    			expActiv="TitleText[""Now entering trader city Selca - god mode on"",""PLAIN DOWN""]; canbuild = false;";
    			expDesactiv="TitleText[""Now leaving trader city Selca - god mode off"",""PLAIN DOWN""]; canbuild = true;";
    			class Effects
    			{
    			};
    		};
    		class Item3
    		{
    			position[]={8688.6563,7.2285666,3129.0193};
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="TraderCity2_safezone";
    			expCond="(player distance TraderCity2) < 75;";
    			expActiv="inSafeZone = true;";
    			expDesactiv="inSafeZone = false;";
    			class Effects
    			{
    			};
    			};
    		class Item4
    		{
    			position[]={9051.5801,9.2987309,4073.2256};
    			a=100;
    			b=100;
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="HeroVendors";
    			expCond="(player distance HeroVendors) < 75; ";
    			expActiv="TitleText[""Now entering Hero Trader area - god mode on"",""PLAIN DOWN""]; canbuild = false;";
    			expDesactiv="TitleText[""Now leaving Hero Trader area - god mode off"",""PLAIN DOWN""]; canbuild = true;";
    			class Effects
    			{
    			};
    		};
    		class Item5
    		{
    			position[]={9051.5801,9.2987309,4073.2256};
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="HeroVendors_safezone";
    			expCond="(player distance HeroVendors) < 75;";
    			expActiv="inSafeZone = true;";
    			expDesactiv="inSafeZone = false;";
    			class Effects
    			{
    			};
    			};
    		class Item6
    		{
    			position[]={7207.6226,6.7110448,735.10217};
    			a=100;
    			b=100;
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="WholeSaler1";
    			expCond="(player distance WholeSaler1) < 75; ";
    			expActiv="TitleText[""Now entering South's Wholesale area - god mode on"",""PLAIN DOWN""]; canbuild = false;";
    			expDesactiv="TitleText[""Now Leaving South's Wholesale - god mode off"",""PLAIN DOWN""]; canbuild = true;";
    			class Effects
    			{
    			};
    		};
    		class Item7
    		{
    			position[]={7207.6226,6.7110448,735.10217};
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="WholeSaler1_safezone";
    			expCond="(player distance WholeSaler1) < 75;";
    			expActiv="inSafeZone = true;";
    			expDesactiv="inSafeZone = false;";
    			class Effects
    			{
    			};
    			};
    		class Item8
    		{
    			position[]={1891.4895,4.9686322,3603.2834};
    			a=100;
    			b=100;
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="BanditTrader";
    			expCond="(player distance BanditTrader) < 75; ";
    			expActiv="TitleText[""Now entering Bandit Trader area - god mode on"",""PLAIN DOWN""]; canbuild = false;";
    			expDesactiv="TitleText[""Now leaving Bandit Trader area - god mode off"",""PLAIN DOWN""]; canbuild = true;";
    			class Effects
    			{
    			};
    		};
    		class Item9
    		{
    			position[]={1891.4895,4.9686322,3603.2834};
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="BanditTrader_safezone";
    			expCond="(player distance BanditTrader) < 75;";
    			expActiv="inSafeZone = true;";
    			expDesactiv="inSafeZone = false;";
    			class Effects
    			{
    				
    			};
    			};
    		class Item10
    		{
    			position[]={4763.1572,3.6483271,7481.4204};
    			a=100;
    			b=100;
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="AWOLsAirField";
    			expCond="(player distance AWOLsAirField) < 75; ";
    			expActiv="TitleText[""Now entering Awol's airfield - god mode on"",""PLAIN DOWN""]; canbuild = false;";
    			expDesactiv="TitleText[""Now leaving Awol's airfield - god mode off"",""PLAIN DOWN""]; canbuild = true;";
    			class Effects
    			{
    			};
    		};
    		class Item11
    		{
    			position[]={4763.1572,3.6483271,7481.4204};
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="AWOLsAirField_safezone";
    			expCond="(player distance AWOLsAirField) < 75;";
    			expActiv="inSafeZone = true;";
    			expDesactiv="inSafeZone = false;";
    			class Effects
    			{
    				
    			};
    			};
    		class Item12
    		{
    			position[]={5228.0054,2.0105178,8230.0947};
    			a=100;
    			b=100;
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="Wholesaler2";
    			expCond="(player distance Wholesaler2) < 75; ";
    			expActiv="TitleText[""Now entering West's Wholesale - god mode on"",""PLAIN DOWN""]; canbuild = false;";
    			expDesactiv="TitleText[""Now Leaving West's Wholesale - god mode off"",""PLAIN DOWN""]; canbuild = true;";
    			class Effects
    			{
    			};
    		};
    		
    		class Item13
    		{
    			position[]={5228.0054,2.0105178,8230.0947};
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="Wholesaler2_safezone";
    			expCond="(player distance Wholesaler2) < 75;";
    			expActiv="inSafeZone = true;";
    			expDesactiv="inSafeZone = false;";
    			class Effects
    			{
    				
    			};
    			};
    		
    		class Item14
    		{
    			position[]={3352.03,0.83347434,2302.2358};
    			a=100;
    			b=100;
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="BoatVendor";
    			expCond="(player distance BoatVendor) < 75; ";
    			expActiv="TitleText[""Now entering Sams Boat Vendor - god mode on"",""PLAIN DOWN""]; canbuild = false;";
    			expDesactiv="TitleText[""Now Leaving Sams Boat Vendor - god mode off"",""PLAIN DOWN""]; canbuild = true;";
    			class Effects
    			{
    			};
    		};
    		
    		class Item15
    		{
    			position[]={3352.03,0.83347434,2302.2358};
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="BoatVendor_safezone";
    			expCond="(player distance BoatVendor) < 75;";
    			expActiv="inSafeZone = true;";
    			expDesactiv="inSafeZone = false;";
    			class Effects
    			{
    				
    			};
    			};
    		
    		class Item16
    		{
    			position[]={4338.6138,101.18414,6317.9023};
    			a=100;
    			b=100;
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="PlanicaTraders";
    			expCond="(player distance PlanicaTraders) < 75; ";
    			expActiv="TitleText[""Now entering trader city Planica - god mode on"",""PLAIN DOWN""]; canbuild = false;";
    			expDesactiv="TitleText[""Now leaving trader city Planica - god mode off"",""PLAIN DOWN""]; canbuild = true;";
    			class Effects
    			{
    			};
    		};
    		class Item17
    		{
    			position[]={4338.6138,101.18414,6317.9023};
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="PlanicaTraders_safezone";
    			expCond="(player distance PlanicaTraders) < 75;";
    			expActiv="inSafeZone = true;";
    			expDesactiv="inSafeZone = false;";
    			class Effects
    			{				
    			};
    		};		
    	};
    };
    

    Much Appreciated, but does it matter which safezone script it is?

×
×
  • Create New...