Deploy Quad Battleye

Deploy Quad Battleye

« posted: Feb 24, 2022, 11:49 AM »
I wanted to add the addon "Deploy Quad" by MercyfulFate, Nurdism and AryX.
Init looks like this:

Code: [Select]
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
//@file Version: 1.0
//@file Name: init.sqf
//@file Author: MercyfulFate (script code), Nurdism (idea and some code), AryX
//@file Created: 04/01/2020
//@file Description: Initialisation of the Quad (Create it)

MF_ITEMS_QUAD = "quad";
MF_ITEMS_QUAD_ICON = "client\icons\quad.paa";

mf_quad_can_deploy = [_this, "can_deploy.sqf"] call mf_compile;
mf_quad_deploy = [_this, "deploy.sqf"] call mf_compile;

[MF_ITEMS_QUAD, "Quad Bike", mf_quad_deploy, "", MF_ITEMS_QUAD_ICON, 1, true] call mf_inventory_create;

mf_quad_can_pack = [_this, "can_pack.sqf"] call mf_compile;
mf_quad_pack = [_this, "pack.sqf"] call mf_compile;
/*
[
  "quad-pack",
  [
    format["<img image='%1'/> Pack Quad bike", MF_ITEMS_QUAD_ICON], mf_quad_pack, nil, -5, true, false, "", "([cursorObject] call mf_quad_can_pack == '')"
  ]
] call mf_player_actions_set;
*/

Also I added
Code: [Select]
[MF_ITEMS_QUAD, 1] call mf_inventory_add;to spawnAction.sqf.

Problem is battleye restriction and getting kicked, after the quad is deployed.

Could anyone gimme a hint to avoid this?

  • Offline LeonZ
  • github.com/LeonZ2019/Lucky-s-Wasteland-Server
  • First Blood
  • ***
  • Posts: 71

Re: Deploy Quad Battleye

« Reply #1 posted: Feb 28, 2022, 05:51 PM »
try add this to the createVehicle.txt

Code: [Select]
1 "[BOIC]_Quabike"
LeonZ#1848 on Discord

Re: Deploy Quad Battleye

« Reply #2 posted: Mar 01, 2022, 10:10 AM »
Thx for the try. But still get kicked.
Anyway .. I keep it disabled.  ;)
  • Offline LeonZ
  • github.com/LeonZ2019/Lucky-s-Wasteland-Server
  • First Blood
  • ***
  • Posts: 71

Re: Deploy Quad Battleye

« Reply #3 posted: Mar 02, 2022, 02:14 PM »
Thx for the try. But still get kicked.
Anyway .. I keep it disabled.  ;)

Replace this from
Code: [Select]
5 "^[BOI]_(?!\d)(T_)?(AFV|APC|Heli|(Life)?Boat|LSV|LT|MBT|MRAP|Plane|Quadbike|SDV|Truck|U[AG]V|VTOL)(_|$)" !"_UAV_(AI|01|06)(_|$)" !"_UGV_02_" // Allows drone assembly
To
Code: [Select]
5 "^[BOI]_(?!\d)(T_)?(AFV|APC|Heli|(Life)?Boat|LSV|LT|MBT|MRAP|Plane|SDV|Truck|U[AG]V|VTOL)(_|$)" !"_UAV_(AI|01|06)(_|$)" !"_UGV_02_" // Allows drone assembly
Also you can add this too, my bad for the typo error quabike
Code: [Select]
1 "[BOIC]_Quadbike"
LeonZ#1848 on Discord

Re: Deploy Quad Battleye

« Reply #4 posted: Mar 02, 2022, 02:32 PM »
Still same restrictions kick .. (think it's my fault)

Unfortunately I have to prepare for a trip to Germany and can't test it further.  :o
  • Offline h4wk
  • Geared Up
  • **
  • Posts: 24

Re: Deploy Quad Battleye

« Reply #5 posted: Mar 13, 2022, 05:16 PM »
try

5 "^C_" !"C_Quadbike_01_F"
5 "^[BOI]_G_" !"I_G_Quadbike_01_F"