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:

 

  Quote

{
_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

 

  Quote

 

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"

  Quote

 

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

At the end of the line that starts 

7 createDialog
  On 4/13/2015 at 1:41 AM, Brian Soanes said:

Add this to the end of the line 

!"QuickTake"

 
 

  On 4/15/2015 at 1:22 AM, DrScandalous said:

I just tried my hand at underwater salvaging myself and am getting the same kick. 
 
Did anyone try this fix and if so, did it work?

Link to comment
Share on other sites

  • 0
  On 4/15/2015 at 1:33 AM, Brian Soanes said:

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.

 

  Quote

 

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...