Update diag_log

This commit is contained in:
Skaronator
2014-01-24 20:56:28 +01:00
parent faaa645922
commit 482a1ddcdf

View File

@@ -1,43 +1,43 @@
//Prevent SVI hack using BattleFieldClearance & al. //Prevent SVI hack using BattleFieldClearance & al.
class Logic; class Logic;
class BattleFieldClearance: Logic class BattleFieldClearance: Logic
{ {
vehicleClass = "Modules"; vehicleClass = "Modules";
class Eventhandlers class Eventhandlers
{ {
init = "if (isServer) then { diag_log(""WARNING, b4ttlefieldclearance attack from player PID#""+str(owner this)); deleteVehicle this;};"; init = "if (isServer) then { diag_log(""WARNING, b4ttlefieldclearance attack from player PID#""+str(owner this)); deleteVehicle this;};";
}; };
}; };
class HighCommandSubordinate: Logic class HighCommandSubordinate: Logic
{ {
vehicleClass = "Modules"; vehicleClass = "Modules";
class Eventhandlers class Eventhandlers
{ {
init = "if (isServer) then { diag_log(""WARNING, HighCommand5ubordinate attack from player PID#""+str(owner this)); deleteVehicle this;};"; init = "if (isServer) then { diag_log(""WARNING, HighCommand5ubordinate attack from player PID#""+str(owner this)); deleteVehicle this;};";
}; };
}; };
class FirstAidSystem: Logic class FirstAidSystem: Logic
{ {
vehicleClass = "Modules"; vehicleClass = "Modules";
class Eventhandlers class Eventhandlers
{ {
init = "if (isServer) then { diag_log(""WARNING, First4idSystem attack from player PID#""+str(owner this)); deleteVehicle this;};"; init = "if (isServer) then { diag_log(""WARNING, First4idSystem attack from player PID#""+str(owner this)); deleteVehicle this;};";
}; };
}; };
class AlternativeInjurySimulation: Logic class AlternativeInjurySimulation: Logic
{ {
vehicleClass = "Modules"; vehicleClass = "Modules";
class Eventhandlers class Eventhandlers
{ {
init = "if (isServer) then { diag_log(""WARNING, 4lternativeInjurySimulation attack from player PID#""+str(owner this)); deleteVehicle this;};"; init = "if (isServer) then { diag_log(""WARNING, 4lternativeInjurySimulation attack from player PID#""+str(owner this)); deleteVehicle this;};";
}; };
}; };
class FunctionsManager : Logic { class FunctionsManager : Logic {
vehicleClass = "Modules"; vehicleClass = "Modules";
class Eventhandlers class Eventhandlers
{ {
init = "diag_log format ['PRELOAD_ Functions\init %1', [_this, BIS_functions_mainscope]];if (isnil 'BIS_functions_mainscope') then { BIS_functions_mainscope = _this select 0; if (isServer) then {_this execVM 'ca\modules\functions\main.sqf'};} else {_this spawn { diag_log format ['PRELOAD_ Functions\init ERROR: deleting redundant FM! %1', [_this, (_this select 0), BIS_functions_mainscope]]; _mygrp = group (_this select 0); deleteVehicle (_this select 0); deleteGroup _mygrp;};};if (isnil 'RE') then {diag_log 'MPframework inited';[] execVM '\ca\Modules\MP\data\scripts\MPframework.sqf'};"; init = "diag_log format ['DayZ Epoch: PRELOAD Functions\init %1', [_this, BIS_functions_mainscope]];if (isnil 'BIS_functions_mainscope') then { BIS_functions_mainscope = _this select 0; if (isServer) then {_this execVM 'ca\modules\functions\main.sqf'};} else {_this spawn { diag_log format ['DayZ Epoch: PRELOAD Functions\init ERROR: deleting redundant FM! %1', [_this, (_this select 0), BIS_functions_mainscope]]; _mygrp = group (_this select 0); deleteVehicle (_this select 0); deleteGroup _mygrp;};};if (isnil 'RE') then {diag_log 'DayZ Epoch: MPframework inited';[] execVM '\ca\Modules\MP\data\scripts\MPframework.sqf'};";
}; };
}; };