Jump to content
  • 0

BattlEye error?


eno

Question

Hi I have for a while now googled and looked but did not become so smart!

I have installed some scripts and without BattlEye If everything goes!

Now one should be yes, and I have in the script.log this message.

08/23/2015 09:01:00: Dark (*******************) ******************* ************* - # 15 "do
{
case "setdir": {_argument setdir _parametre;};
case "SetVelocity": {_argument SetVelocity _parametre;};
case "detachSetVelo"

Server log

 9:01:00 BattlEye Server: Script Log: # 0 Dark (a8b3c113a66e4b72e1f2221c993248c2) - # 15 "do
 9:01:00 {
 9:01:00 case "setdir": {_argument setdir _parametre;};
 9:01:00 case "SetVelocity": {_argument SetVelocity _parametre;};
 9:01:00 case "detachSetVelo"
 9:01:00 Player Dark kicked off by BattlEye: Script Restriction # 15 [/ code]

where I found the line is at R3F_LOG init.sqf line 137

[spoiler] [code] / **
 * Script principal qui le initialise systme de Logistique
 *
 * Copyright (C) 2014 Team ~ ~ R3F
 *
 * This program is free software: you can redistribute it and / or modify
 * It under the terms of the GNU General Public License as published by
 * The Free Software Foundation, Either version 3 of the License, or
 * (At your option) any later version.
 *
 * This program is distributed in the Hope that it will be useful,
 * But WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You Should Have Received A copy of the GNU General Public License
 * Alongwith this program. If not, see <http://www.gnu.org/licenses/>.
 * /

#include "R3F_LOG_ENABLE.h"

#ifdef R3F_LOG_enable
/ * DEBUT import config * /

// Initialise les listes Vides avant que le config.sqf les concatne
R3F_LOG_CFG_can_tow = [];
R3F_LOG_CFG_can_be_towed = [];
R3F_LOG_CFG_can_lift = [];
R3F_LOG_CFG_can_be_lifted = [];
R3F_LOG_CFG_can_transport_cargo = [];
R3F_LOG_CFG_can_be_transported_cargo = [];
R3F_LOG_CFG_can_be_moved_by_player = [];

// Initialise les listes Vides de config_creation_factory.sqf
R3F_LOG_CFG_CF_whitelist_full_categories = [];
R3F_LOG_CFG_CF_whitelist_medium_categories = [];
R3F_LOG_CFG_CF_whitelist_light_categories = [];
R3F_LOG_CFG_CF_blacklist_categories = [];

#include "config.sqf"
#include "config_creation_factory.sqf"

// Chargement du fichier de langage
call compile preprocessFile format ["R3F_LOG \% 1_strings_lang.sqf" R3F_LOG_CFG_language];

/ *
* On inverse l'ordre de toutes les listes de noms de donner pour classes
* La priority aux classes spcifiques sur les classes gnriques
* /
reverse R3F_LOG_CFG_can_tow;
reverse R3F_LOG_CFG_can_be_towed;
reverse R3F_LOG_CFG_can_lift;
reverse R3F_LOG_CFG_can_be_lifted;
reverse R3F_LOG_CFG_can_transport_cargo;
reverse R3F_LOG_CFG_can_be_transported_cargo;
reverse R3F_LOG_CFG_can_be_moved_by_player;

// On passe tous les noms de classes en minuscules
{R3F_LOG_CFG_can_tow set [_forEachIndex, toLower _x];} forEach R3F_LOG_CFG_can_tow;
{R3F_LOG_CFG_can_be_towed set [_forEachIndex, toLower _x];} forEach R3F_LOG_CFG_can_be_towed;
{R3F_LOG_CFG_can_lift set [_forEachIndex, toLower _x];} forEach R3F_LOG_CFG_can_lift;
{R3F_LOG_CFG_can_be_lifted set [_forEachIndex, toLower _x];} forEach R3F_LOG_CFG_can_be_lifted;
{R3F_LOG_CFG_can_transport_cargo select _forEachIndex set [0, toLower (_x select 0)];} forEach R3F_LOG_CFG_can_transport_cargo;
{R3F_LOG_CFG_can_be_transported_cargo select _forEachIndex set [0, toLower (_x select 0)];} forEach R3F_LOG_CFG_can_be_transported_cargo;
{R3F_LOG_CFG_can_be_moved_by_player set [_forEachIndex, toLower _x];} forEach R3F_LOG_CFG_can_be_moved_by_player;

// On construit la liste des classes of transporter dans les quantits Associes (pour les nearestObjects, count IsKindOf, ...)
R3F_LOG_classes_transporteurs = [];
{
R3F_LOG_classes_transporteurs pushback (_x select 0);
} ForEach R3F_LOG_CFG_can_transport_cargo;

// On construit la liste des classes of portable dans les quantits Associes (pour les nearestObjects, count IsKindOf, ...)
R3F_LOG_classes_objets_transportables = [];
{
R3F_LOG_classes_objets_transportables pushback (_x select 0);
} ForEach R3F_LOG_CFG_can_be_transported_cargo;

// Union of tableaux de d'objets types servant dans un IsKindOf
R3F_LOG_objets_depl_heli_remorq_transp = [];
{
IF! (_ x in R3F_LOG_objets_depl_heli_remorq_transp) then
{
R3F_LOG_objets_depl_heli_remorq_transp pushback _x;
};
} Foreach (R3F_LOG_CFG_can_be_moved_by_player + R3F_LOG_CFG_can_be_lifted + R3F_LOG_CFG_can_be_towed + R3F_LOG_classes_objets_transportables);

// Gestion compatibilit fichier de config 3.0 => 3.1 (dfinition de valeurs par dfaut)
if (IsNil "R3F_LOG_CFG_lock_objects_mode") then {R3F_LOG_CFG_lock_objects_mode = "side";};
if (IsNil "R3F_LOG_CFG_unlock_objects_timer") then {R3F_LOG_CFG_unlock_objects_timer = 30;};
if (IsNil "R3F_LOG_CFG_CF_sell_back_bargain_rate") then {R3F_LOG_CFG_CF_sell_back_bargain_rate = 0.75;};
if (IsNil "R3F_LOG_CFG_CF_creation_cost_factor") then {R3F_LOG_CFG_CF_creation_cost_factor = [];};

/ * FIN import config * /

if (IsServer) then
{
// On cre le point d'attache qui servira aux AttachTo pour les objets charger virtual ment dans les vhicules
R3F_LOG_PUBVAR_point_attache = "Land_HelipadEmpty_F" createVehicle [0,0,0];
R3F_LOG_PUBVAR_point_attache setPosASL [0,0,0];
R3F_LOG_PUBVAR_point_attache setVectorDirAndUp [[0,1,0], [0,0,1]];

// Partage du point d'attache avec tous les joueurs
public variable "R3F_LOG_PUBVAR_point_attache";

/ ** List of objets ne pas perdre dans un vehicule / cargo dtruit * /
R3F_LOG_liste_objets_a_proteger = [];

/ * Protge les objets dans R3F_LOG_liste_objets_a_proteger prsents * /
execVM "R3F_LOG \ surveiller_objets_a_proteger.sqf";
};

/ **
* Suite une PVEH, excute une commande en fonction de la localit de l'argument
*param 0 l'argument sur la commande lequel excuter
*param 1 la commande excuter (Chane de caractres)
*param 2 les ventuels paramtres de la commande (optionnel)
*note Il faut passer par la fonction R3F_LOG_FNCT_exec_commande_MP
* /
R3F_LOG_FNCT_PVEH_commande_MP =
{
private ["_argument", "_commande", "_parametre"];
_argument = _This select 1 select 0;
_commande = _This select 1 select 1;
_parametre = if (count (_This select 1) == 3) {_This then select 1 select 2} else {0};

// Commandes argument globally et effet local
switch (_commande) do
{
// Aucune pour l'instant
// Ex: case "switch move": {_argument switch move _parametre;};
};

// Commandes argument local et effet globally
if (local _argument) then
{
switch (_commande) do
{
case "setdir": {_argument setdir _parametre;};
case "SetVelocity": {_argument SetVelocity _parametre;};
case "detachSetVelocity": {detach _argument; _argument SetVelocity _parametre;};
};
};

// Commandes faire le serveur uniquement sur
if (IsServer) then
{
if (_commande == "setOwnerTo") then
{
_argument setowner (owner _parametre);
};
};
};
"R3F_LOG_PV_commande_MP" addPublicVariableEventHandler R3F_LOG_FNCT_PVEH_commande_MP;

/ **
* Ordonné l'une commande quelque soit excution d'la localit de l'argument ou de l'effet
*param 0 l'argument sur la commande lequel excuter
*param 1 la commande excuter (Chane de caractres)
*param 2 les ventuels paramtres de la commande (optionnel)
*usage [_objet, "Setdir", 160] call R3F_LOG_FNCT_exec_commande_MP
* /
R3F_LOG_FNCT_exec_commande_MP =
{
R3F_LOG_PV_commande_MP = _This;
public variable "R3F_LOG_PV_commande_MP";
["R3F_LOG_PV_commande_MP" R3F_LOG_PV_commande_MP] spawn R3F_LOG_FNCT_PVEH_commande_MP;
};

/ ** Pseudo mutex permettant de n'excuter qu'un script de manipulation d'objet la fois (true: vrouill) * /
R3F_LOG_mutex_local_verrou = false;

call compile preprocessFile "R3F_LOG \ fonctions_generales \ lib_geometrie_3D.sqf";

// Indices du tableau of fonctionnalits Retourn par R3F_LOG_FNCT_determiner_fonctionnalites_logistique
R3F_LOG_IDX_can_be_depl_heli_remorq_transp = 0;
R3F_LOG_IDX_can_be_moved_by_player = 1;
R3F_LOG_IDX_can_lift = 2;
R3F_LOG_IDX_can_be_lifted = 3;
R3F_LOG_IDX_can_tow = 4;
R3F_LOG_IDX_can_be_towed = 5;
R3F_LOG_IDX_can_transport_cargo = 6;
R3F_LOG_IDX_can_transport_cargo_cout = 7;
R3F_LOG_IDX_can_be_transported_cargo = 8;
R3F_LOG_IDX_can_be_transported_cargo_cout = 9;
R3F_LOG_CST_zero_log = [false, false, false, false, false, false, false, 0, false, 0];

R3F_LOG_FNCT_determiner_fonctionnalites_logistique = compile preprocessFile "R3F_LOG \ fonctions_generales \ determiner_fonctionnalites_logistique.sqf";

R3F_LOG_FNCT_calculer_chargement_vehicule = compile preprocessFile "R3F_LOG \ feed \ calculer_chargement_vehicule.sqf";
R3F_LOG_FNCT_transporteur_charger_auto = compile preprocessFile "R3F_LOG \ feed \ charger_auto.sqf";

// Un serveur DDI n'en a pas besoin
IF! (isDedicated) then
{
// Le client attend que le serveur et ai cr publi la rfrence de l'objet de point d'attache servant
WAITUNTIL {IsNil "R3F_LOG_PUBVAR_point_attache"};

/ ** Indique quel objet le joueur est en train de dplacer, objNull si aucun * /
R3F_LOG_joueur_deplace_objet = objNull;

/ ** Objet actuellement slectionner pour tre charg / remorqu * /
R3F_LOG_objet_selectionne = objNull;

/ ** Tableau contenant toutes les usines Cres * /
R3F_LOG_CF_liste_usines = [];

call compile preprocessFile "R3F_LOG \ fonctions_generales \ lib_visualisation_objet.sqf";

R3F_LOG_FNCT_objet_relacher = compile preprocessFile "R3F_LOG \ objet_deplacable \ relacher.sqf";
R3F_LOG_FNCT_objet_deplacer = compile preprocessFile "R3F_LOG \ objet_deplacable \ deplacer.sqf";

R3F_LOG_FNCT_heliporteur_heliporter = compile preprocessFile "R3F_LOG \ heliporteur \ heliporter.sqf";
R3F_LOG_FNCT_heliporteur_larguer = compile preprocessFile "R3F_LOG \ heliporteur \ larguer.sqf";
R3F_LOG_FNCT_heliporteur_init = compile preprocessFile "R3F_LOG \ heliporteur \ heliporteur_init.sqf";

R3F_LOG_FNCT_remorqueur_detacher = compile preprocessFile "R3F_LOG \ remorqueur \ detacher.sqf";
R3F_LOG_FNCT_remorqueur_remorquer_deplace = compile preprocessFile "R3F_LOG \ remorqueur \ remorquer_deplace.sqf";
R3F_LOG_FNCT_remorqueur_remorquer_direct = compile preprocessFile "R3F_LOG \ remorqueur \ remorquer_direct.sqf";
R3F_LOG_FNCT_remorqueur_init = compile preprocessFile "R3F_LOG \ remorqueur \ remorqueur_init.sqf";

R3F_LOG_FNCT_transporteur_charger_deplace = compile preprocessFile "R3F_LOG \ feed \ charger_deplace.sqf";
R3F_LOG_FNCT_transporteur_charger_selection = compile preprocessFile "R3F_LOG \ feed \ charger_selection.sqf";
R3F_LOG_FNCT_transporteur_decharger = compile preprocessFile "R3F_LOG \ feed \ decharger.sqf";
R3F_LOG_FNCT_transporteur_selectionner_objet = compile preprocessFile "R3F_LOG \ feed \ selectionner_objet.sqf";
R3F_LOG_FNCT_transporteur_voir_contenu_vehicule = compile preprocessFile "R3F_LOG \ feed \ voir_contenu_vehicule.sqf";
R3F_LOG_FNCT_transporteur_init = compile preprocessFile "R3F_LOG \ feed \ transporteur_init.sqf";

R3F_LOG_FNCT_usine_remplir_liste_objets = compile preprocessFile "R3F_LOG \ usine_creation \ remplir_liste_objets.sqf";
R3F_LOG_FNCT_usine_creer_objet = compile preprocessFile "R3F_LOG \ usine_creation \ creer_objet.sqf";
R3F_LOG_FNCT_usine_ouvrir_usine = compile preprocessFile "R3F_LOG \ usine_creation \ ouvrir_usine.sqf";
R3F_LOG_FNCT_usine_init = compile preprocessFile "R3F_LOG \ usine_creation \ usine_init.sqf";
R3F_LOG_FNCT_usine_revendre_deplace = compile preprocessFile "R3F_LOG \ usine_creation \ revendre_deplace.sqf";
R3F_LOG_FNCT_usine_revendre_selection = compile preprocessFile "R3F_LOG \ usine_creation \ revendre_selection.sqf";
R3F_LOG_FNCT_usine_revendre_direct = compile preprocessFile "R3F_LOG \ usine_creation \ revendre_direct.sqf";
R3F_LOG_FNCT_recuperer_liste_cfgVehicles_par_categories = compile preprocessFile "R3F_LOG \ usine_creation \ recuperer_liste_cfgVehicles_par_categories.sqf";
R3F_LOG_FNCT_determiner_cout_creation = compile preprocessFile "R3F_LOG \ usine_creation \ determiner_cout_creation.sqf";

R3F_LOG_FNCT_objet_init = compile preprocessFile "R3F_LOG \ objet_commun \ objet_init.sqf";
R3F_LOG_FNCT_objet_est_verrouille = compile preprocessFile "R3F_LOG \ objet_commun \ objet_est_verrouille.sqf";
R3F_LOG_FNCT_deverrouiller_objet = compile preprocessFile "R3F_LOG \ objet_commun \ deverrouiller_objet.sqf";
R3F_LOG_FNCT_definir_proprietaire_verrou = compile preprocessFile "R3F_LOG \ objet_commun \ definir_proprietaire_verrou.sqf";

R3F_LOG_FNCT_formater_fonctionnalites_logistique = compile preprocessFile "R3F_LOG \ fonctions_generales \ formater_fonctionnalites_logistique.sqf";
R3F_LOG_FNCT_formater_nombre_entier_milliers = compile preprocessFile "R3F_LOG \ fonctions_generales \ formater_nombre_entier_milliers.sqf";

// List of variable activant ou non les actions de menu
R3F_LOG_action_charger_deplace_valide = false;
R3F_LOG_action_charger_selection_valide = false;
R3F_LOG_action_contenu_vehicule_valide = false;

R3F_LOG_action_remorquer_deplace_valide = false;

R3F_LOG_action_heliporter_valide = false;
R3F_LOG_action_heliport_larguer_valide = false;

R3F_LOG_action_deplacer_objet_valide = false;
R3F_LOG_action_remorquer_direct_valide = false;
R3F_LOG_action_detacher_valide = false;
R3F_LOG_action_selectionner_objet_charge_valide = false;

R3F_LOG_action_ouvrir_usine_valide = false;
R3F_LOG_action_revendre_usine_direct_valide = false;
R3F_LOG_action_revendre_usine_deplace_valide = false;
R3F_LOG_action_revendre_usine_selection_valide = false;

R3F_LOG_action_deverrouiller_valide = false;

/ ** Sur ordre (public variable), rvler la prsence d'un objet au joueur (acclrer le retour des addActions) * /
R3F_LOG_FNCT_PUBVAR_reveler_au_joueur =
{
private ["_objet"];
_objet = _This select 1;

if (player alive) then
{
Player Reveal _objet;
};
};
"R3F_LOG_PUBVAR_reveler_au_joueur" addPublicVariableEventHandler R3F_LOG_FNCT_PUBVAR_reveler_au_joueur;

/ ** Event handler Getin: ne pas monter dans un vhicule qui est en cours de transport * /
R3F_LOG_FNCT_EH_GetIn =
{
if (local (_This select 2)) then
{
_This spawn
{
Sleep 0.1;
if ((! (IsNull (_This select 0 getVariable "R3F_LOG_est_deplace_par")) && (alive (_This select 0 getVariable "R3F_LOG_est_deplace_par")) && (isPlayer (_This select 0 getVariable "R3F_LOG_est_deplace_par"))) ||! (IsNull (_This Select 0 getVariable "R3F_LOG_est_transporte_par"))) then
{
(_This select 2) action ["GetOut" _This select 0];
(_This select 2) action ["Eject", _This select 0];
if (player == _This select 2) then {hintC format [STR_R3F_LOG_objet_en_cours_transport, getText (configFile >> "CfgVehicles" >> (typeof (_This select 0)) >> "displayName")];};
};
};
};
};

// Actions fair quand le joueur est Apparu
Spawn 0
{
WAITUNTIL {isNull player!};

// Ajout d'un event handler "WeaponDisassembled" pour le cas o bigger une poor est alors dmonte qu'elle est en cours de transport
player addEventHandler ["WeaponDisassembled"
{
private ["_objet"];

// Rcupration de l'poor dmonte avec cursor target au lieu de _This (http://feedback.arma3.com/view.php?id=18090)
_objet = cursor target;

if (! isNull _objet && {! IsNull (_objet getVariable ["R3F_LOG_est_deplace_par" objNull])}) then
{
_objet setVariable ["R3F_LOG_est_deplace_par" objNull, true];
};
}];
};

/ ** Variable publique pour passer true informer le script surveiller_nouveaux_objets.sqf de la cration d'un objet * /
R3F_LOG_PUBVAR_nouvel_objet_a_initialiser = false;

/ * Vrification permanent conditions of donnant Accs aux addAction * /
execVM "R3F_LOG \ surveiller_conditions_actions_menu.sqf";

/ * Car dtection permanent des objets sur le jeu * /
execVM "R3F_LOG \ surveiller_nouveaux_objets.sqf";

/ *
* Systme Assurant la protection contre les blessures lors du dplacement d'objets
* On choisit de ne pas faire tourner le systme sur un serveur DDI par conomie de ressources.
* Seuls les joueurs et les IA commandes par les joueurs (locales) seront protgs.
* Les IA n'tant pas un joueur commandes par ne seront pas protges, ce qui est un moindre times.
* /
execVM "R3F_LOG \ systeme_protection_blessures.sqf";
};

R3F_LOG_active = true;
#else
// Pour les actions du PC d'arti
R3F_LOG_joueur_deplace_objet = objNull;
R3F_LOG_active = false;
#endif [/ code] [/ spoiler]


The neckline of the line

[code] // Commandes argument local et effet globally
if (local _argument) then
{
switch (_commande) do
{
case "setdir": {_argument setdir _parametre;};
case "SetVelocity": {_argument SetVelocity _parametre;};
case "detachSetVelocity": {detach _argument; _argument SetVelocity _parametre;};
};
}; [/ code]


I have unfortunately wound about nothing and do not know more!

Script list

[url = https: //github.com/donkeypunchepoch/A3_R3F_LOG_Epoch '] R3F_LOG [/ url]

[url = 'http: //epochmod.com/forum/index.php / topic / 33013-release zhb-Zupas-hud-builder-v12 /?'] ZHB [/ url]

cmEarplugs

IgiLoad

Briefing

Welcome
soory for my bad engish
I hope you can help me
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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...