Jump to content
  • 0

Script restriction #40 (opening underwater loot boxes)


Oddy-B

Question

Hi

 

This has been the first time since updating to 3.0.2, we have been diving.

on finding the loot box and opening it Battleye is kicking with the above reason.

 

the scrits log shows:

 

{
_index = lbAdd[1500, getText(configfile >> "CfgMagazines" >> "
13.04.2015 02:05:42: Mercian - #40 "
createDialog "QuickTake";
{
_magazines = magazinesAmmoCargo _x;
{
_index = lbAdd[1500, getText(configfile >> "CfgMagazines" >> "

 

and the lines in the script.txt are:

 

line 40 7 createTeam

line 41 7 createDialog !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if (!dialog) then {createDialog 'Skaronator_AdminMenu'};" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\";"

 

 

could anyone please tell me how to fix this error?

 

many thanks

O-B

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

Thanks, i can now search the box, and see the contents, on selecting take all i get kicked for the following: restiction #25

 

 

13.04.2015 04:49:45: Mercian  - #25 ";
{
if !(player canAdd (_x select 0)) exitWith {};
player addMagazine[_x select 0, _x select 1];
} foreach _magazines;
} foreach"

 

line 25 7 onMapSingleClick !="onMapSingleClick '';"

line 26 7 addMagazine !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;"

 

thanks

 

Update: after rejoining, the box is empty and items are in my inventory. But the restriction #25 kick is atill there

Link to comment
Share on other sites

  • 0

alright, 

so if it's script restriction... go to scripts.txt

 

#25? go to line 26. look at the log. pick a keyword, string etc. . 

 

line 1 - is script restriction #0, and it counts downwards from there.

 

so line 26 is for addmagazine. in your position i would add the following. 

!="player addMagazine[_x select 0, _x select 1];" 

so basically ! and != are two similar but different things in battleye filters, arguably using != is more 'secure', as the string must match exactly, or will still result in kicks

!"string" 
// anything containing string will be exempt

!="random string"  
// only "random string" will be exempt, but not "my string" "predefined string" etc. 

at least this is my understanding of filters, if i'm wrong, please correct me. I'd like to know. 

 

but i hope this helps

Link to comment
Share on other sites

  • 0

100% works, if you look in your Battleye folder for scripts.log, you will see the kick contains QuickTake

Add what I put in my post above to the line suggested and refresh scripts using rcon.

 

 

41 7 createDialog !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if (!dialog) then {createDialog 'Skaronator_AdminMenu'};" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\"; !"QuickTake";"

Link to comment
Share on other sites

  • 0

Everything works.

 

7 createDialog !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if (!dialog) then {createDialog 'Skaronator_AdminMenu'};" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\";" !="QuickTake"

 

7 addMagazine !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;" !="player addMagazine[_x select 0, _x select 1];"

 

thank

Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...