Sign in to follow this  
Followers 0
Haz

[SOLVED] BE Script Restriction #8 (Portable Generator Sound)

5 posts in this topic

Posted (edited)

Hi all. I am getting kicked for BE Script Restriction #8 and I am unsure what the correct filters are for BE. I have tried but haven't any luck in getting it fixed. It happens when I switch off a portable generator.

These don't work:

!="};\nif !(isNull _sound) then \n{\ndeleteVehicle _sound;\n};\n_portableGenerator setVariable ["Sound", objNu"" !="if !(isNull _sound) then \n{\ndeleteVehicle _sound;\n};\n_portableGenerator setVariable ["Sound", objNu""

I added them to the scripts.txt at the end of the "7 eventHandler" line.

script.log:

};
if !(isNull _sound) then
{
deleteVehicle _sound;
};
_portableGenerator setVariable ["Sound", objNu"

Any help is much appreciated!

Edited by Haz

Share this post


Link to post
Share on other sites
17 hours ago, Haz said:

Hi all. I am getting kicked for BE Script Restriction #8 and I am unsure what the correct filters are for BE. I have tried but haven't any luck in getting it fixed. It happens when I switch off a portable generator.

These don't work:


!="};\nif !(isNull _sound) then \n{\ndeleteVehicle _sound;\n};\n_portableGenerator setVariable ["Sound", objNu"" !="if !(isNull _sound) then \n{\ndeleteVehicle _sound;\n};\n_portableGenerator setVariable ["Sound", objNu""

I added them to the scripts.txt at the end of the "7 eventHandler" line.

script.log:


};
if !(isNull _sound) then
{
deleteVehicle _sound;
};
_portableGenerator setVariable ["Sound", objNu"

Any help is much appreciated!

!="};\nif !(isNull _sound) then\n{\ndeleteVehicle _sound;\n};\n_portableGenerator setVariable [\"Sound\", objNu"

end of your line #10

Share this post


Link to post
Share on other sites
Advertisement

Line 10 is 7 deleteVehicle but I still get kicked with the same error. I have also tried the following lines:

7 eventHandler

7 showCommandingMenu

Also, the error is #8 which is showCommandingMenu according to this:

It's driving me crazy! :(

Share this post


Link to post
Share on other sites
1 hour ago, red_ned said:

deleteVehicle _sound

looks like delete vehicle to me,

 BE Script Restriction #8 = line 10 due to it starting to count from 0, after ignoring the //new line line 1 of actual scripts become be kick #0 which is line 2 of your file.

make sure you copy the log file lines from the start of the kick to the last " as any white space can be an issue

also if it helps I happen to have the same exception

Quote

!="Sound_PortableGenerator\";\n};\nif !(isNull _sound) then \n{\ndeleteVehicle _sound;\n};\n_portableGenerator setVariable [\"Sound\", objNu"

its on line 10 at the end starting 7 deleteVehicle.

if that doesn't work check through the line for any previous mistakes like not closing the previous filter with " and that there is a space between each

 

here is my entire line 10 for you

Spoiler

7 deleteVehicle !="BIS_fnc_initPlayable\",\"BIS_fnc_missionTimeLeft\",\"BIS_fnc_deleteVehicleCrew\",\"BIS_fnc_MP\",\"BIS_fnc_MPexec\",\"BIS_fnc_countdown\",\"B" !="[\"exile_client\\trashBin\\fn_deleteVehicleCrew.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\",\"deleteVehicleCrew\"]" !="dPlayerObject isKindOf \"Exile_Unit_GhostPlayer\") then \n{\ndeleteVehicle _oldPlayerObject;\n};\nplayer setVariable [\"ExileXM8IsOnlin" !="PlayerInSafezone) then \n{\nif (local _projectile) then \n{\ndeleteVehicle _projectile;\n};\n}\nelse \n{\nif (_ammo isKindOf \"Exile_Ammo_" !=" = _this;\nif !(isNull ExileClientModelBoxVehicle) then\n{\ndeleteVehicle ExileClientModelBoxVehicle;\n};\nExileClientModelBoxVehicle" !=" = _this;\nif !(isNull ExileClientModelBoxVehicle) then\n{\ndeleteVehicle ExileClientModelBoxVehicle;\n};\nExileClientModelBoxVehicle" !="inate\", \"back\"];\nterminate ExileClientModelThreadHandle;\ndeleteVehicle ExileClientModelBoxVehicle;\ndeleteVehicle ExileClientMode" !="jectile = _this select 6;\nif (local _projectile) then \n{\ndeleteVehicle _projectile;\n};\n" !=" >> \"Snow\" >> \"enable\")) isEqualTo 1) exitWith {false}; \ndeleteVehicle ExileSnowClose;\ndeleteVehicle ExileSnowNear;\ndeleteVehicl" !=" ExileClient_construction_simulationCountDown;\n}\nelse \n{\ndeleteVehicle ExileClientConstructionObject;\n};\n[\"ConstructionMovedTooF" !="e\n{\n_objects = _flag getVariable \"ExileRadiusObjects\";\n{\ndeleteVehicle _x;\n}\nforEach _objects;\n_flag setVariable [\"ExileRadiusSh" !=",-2])]) > 1\n||\n((getPosATL player) select 2) < 2\n)then\n{\ndeleteVehicle (vehicle player);\nplayer switchMove \"\";\nplayer setVelocit" !="o [_v,[0,0,0],\"engine_effect_1\"];\n_pos = getPos _smoke1;\ndeleteVehicle _smoke1;\n_smoke1 = \"#particlesource\" createVehicleLocal g" !="x isKindOf \"Rabbit_F\" || agent _x isKindOf \"Bird\") then {deleteVehicle agent _x};\n} forEach agents;\nsleep 10;\nfalse;\n};" !="TAT COLLISION: %1 @ %2\", _objet2, time];};\n\nsleep 0.02;\n\ndeleteVehicle _objet_test1;\ndeleteVehicle _objet_test2;\n\n_collision\n};\n" !="sNull R3F_LOG_VIS_objet) then {detach R3F_LOG_VIS_objet; deleteVehicle R3F_LOG_VIS_objet;};\nR3F_LOG_VIS_objet = objNull;\n\nR3F_LO" !="nter = nil;\n   CCGbdRadius = nil;\n   {if(!isNull _x)then{deleteVehicle _x;};} foreach CCGbdObjs;\n   CCGbdObjs = [];\n  };\n };\n fn" !="count _magazines > 0 || count _items > 0)then\n    {\n     deleteVehicle _obj;\n     _log = format['Loadout Bot found @%1 %2 with [" !=" %1 with netId 0:0 @%2',_type,getPosATL _curVehicle];\n   deleteVehicle _curVehicle;\n   [_name,_puid,'BAN',toArray(_log)] call _A" !="Sound_PortableGenerator\";\n};\nif !(isNull _sound) then \n{\ndeleteVehicle _sound;\n};\n_portableGenerator setVariable [\"Sound\", objNu" !="lPosition];\n_globalPosition = visiblePositionASL _logic;\ndeleteVehicle _logic;\n\n_missile setPosASL _globalPosition;\n\ntrue" !="x setDropInterval 0} foreach _emitters};\nsleep 0.05;\n};\n{deleteVehicle _x} foreach _emitters;\nsleep 3;\n};\n};\nif (isnil \"nes4day_" !="urces,_source3];\n} forEach _this;\n\nsleep (55+random 3);\n{deleteVehicle _x} forEach _sources;\n};\n};"

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.