The vehicle fix is on line 266. Not 226
EpochMod Server Files For Arma 3 [0.2.0.1]
Hello,
Vehicle fix worked for me as well.
____________________________________________
Change this:
line 266_vehicle enableSimulationGlobal false;
To this:
line 266 _vehicle enableSimulationGlobal true;
___________________________________________
profit
Vehicle fix worked for me as well.
____________________________________________
Change this:
line 266_vehicle enableSimulationGlobal false;
To this:
line 266 _vehicle enableSimulationGlobal true;
___________________________________________
profit
Hello,
Is anyone working on Krypto & Energy Saving?
I've been working on it the last couple of days and would like to collaborate with someone so progress can be made a little faster.
Thanks
Is anyone working on Krypto & Energy Saving?
I've been working on it the last couple of days and would like to collaborate with someone so progress can be made a little faster.
Thanks
Also would like to remove / disable the accelerated time ... tell me? plz
it does not help: epoch.Altis/core_time.fsm
init.sqf
//Briefing
[] execVM "briefing.sqf"; //Load Briefing
//DayNight
//[8,false,false] execFSM "core_time.fsm";
call compile preprocessFileLineNumbers "\x\addons\a3_epoch_code\init\both_init.sqf";
if (isDedicated) then {
call compile preprocessFileLineNumbers "\x\addons\a3_epoch_server\init\server_init.sq f";
} else {
call compile preprocessFileLineNumbers "scripts\client_init.sqf";
};
it does not help: epoch.Altis/core_time.fsm
init.sqf
//Briefing
[] execVM "briefing.sqf"; //Load Briefing
//DayNight
//[8,false,false] execFSM "core_time.fsm";
call compile preprocessFileLineNumbers "\x\addons\a3_epoch_code\init\both_init.sqf";
if (isDedicated) then {
call compile preprocessFileLineNumbers "\x\addons\a3_epoch_server\init\server_init.sq f";
} else {
call compile preprocessFileLineNumbers "scripts\client_init.sqf";
};
Does anyone know where the DB is located on this?
Hi there.
Anyone else got an error with locked vehicles ?
My RPT says taht :
Error in expression <oGlobal _vehObj;
[_vehObj,true] call EPOCH_server_lockVehicle;
_position set>
Error position: <EPOCH_server_lockVehicle;
_position set>
Error Undefined variable in expression: epoch_server_lockvehicle
File x\addons\a3_epoch_server\compile\epoch_sf_vehicle\ EPOCH_spawn_vehicles.sqf, line 72
Plus, in file EPOCH_load_vehicles.sqf, the last line is "true" with no semi-colon
diag_log format["VEH SPAWN TIMER %1",diag_tickTime-_diag];
true
Is that normal ?
Anyone else got an error with locked vehicles ?
My RPT says taht :
Error in expression <oGlobal _vehObj;
[_vehObj,true] call EPOCH_server_lockVehicle;
_position set>
Error position: <EPOCH_server_lockVehicle;
_position set>
Error Undefined variable in expression: epoch_server_lockvehicle
File x\addons\a3_epoch_server\compile\epoch_sf_vehicle\ EPOCH_spawn_vehicles.sqf, line 72
Plus, in file EPOCH_load_vehicles.sqf, the last line is "true" with no semi-colon
diag_log format["VEH SPAWN TIMER %1",diag_tickTime-_diag];
true
Is that normal ?
only problem i have is the shelf kit and tp is not building!! is that something i have to edit to get it working??
everything else is working fine.!
everything else is working fine.!
Thank you very much for your answer ...
we found the following issues:
1. the group cant be upgraded
2. stamina and krypto wont be saved
3. heli crash sites spawn (blackfoots) but not Loot is spawning
4. painting the metal base walls dont work
1. the group cant be upgraded
2. stamina and krypto wont be saved
3. heli crash sites spawn (blackfoots) but not Loot is spawning
4. painting the metal base walls dont work
We have the same issus, and these also:
1. the frequenci jammer dont works. I try to change things there but not result set. Im noob in this, but i try
EPOCH_lockCheck = compileFinal '
_jammer = nearestObjects[player, ["PlotPole_EPOCH"], 300];
_jammed = false;
if !(_jammer isEqualTo[]) then{
{
if (alive _x) then{
_jammed = !((_x getVariable["BUILD_OWNER", "-1"]) in[getPlayerUID player, Epoch_my_GroupUID]);
};
if (_jammed) exitWith{};
} forEach _jammer;
};
_jammed
';
EPOCH_isBuildAllowed = compileFinal '
private["_jammed", "_jammerNear", "_jammer", "_restricted", "_restrictedLocations", "_return"];
_jammed = false;
_jammerNear = false;
_jammer = nearestObjects[player, ["PlotPole_EPOCH"], 300];
if !(_jammer isEqualTo[]) then{
if (_this == "PlotPole_EPOCH") then{
{
if (alive _x) exitWith{
_jammed = true;
};
} forEach _jammer;
} else {
{
if (alive _x) then{
_jammed = !((_x getVariable["BUILD_OWNER", "-1"]) in[getPlayerUID player, Epoch_my_GroupUID]);
};
if (_jammed) exitWith{};
} forEach _jammer;
};
};
_restricted = nearestObjects[player, ["ProtectionZone_Invisible_F"], 300];
_restrictedLocations = nearestLocations[player, ["NameCityCapital"], 300];
_return = (!_jammed && _restricted isEqualTo[] && _restrictedLocations isEqualTo[]);
_return
';//Compiles
call compile preprocessFileLineNumbers "scripts\client_compile.sqf";
//PublicEH's
call compile preprocessFileLineNumbers "\x\addons\a3_epoch_code\init\client_publicEH.sqf" ;
//Variables
EPOCH_buildDirection = 0;
EPOCH_tradeDone = false;
EPOCH_trashLootList = ["garbagebags_f.p3d","garbagepallet_f.p3d","cratesw ooden_f.p3d","cratesshabby_f.p3d","sacks_goods_f.p 3d","garbagecontainer_closed_f.p3d","garbagebin_01 _f.p3d","sacks_heap_f.p3d","garbagebarrel_01_f.p3d ","sack_f.p3d","phonebooth_02_f.p3d","basket_f.p3d ","woodenbox_f.p3d"];
EPOCH_animalAiTables = ["Sheep_random_EPOCH", "Sheep_random_EPOCH", "Goat_random_EPOCH", "Goat_random_EPOCH", "Goat_random_EPOCH", ["Cock_random_EPOCH", "Hen_random_EPOCH"], "Rabbit_EPOCH", "Rabbit_EPOCH", "Rabbit_EPOCH", "Snake_random_EPOCH", ["Fin_random_EPOCH", "Alsatian_Random_EPOCH"]];
EPOCH_lastTrash = diag_tickTime;
EPOCH_localCleanup = compileFinal "";
EPOCH_previousDmg = 0;
EPOCH_lastTargetTime = diag_tickTime;
EPOCH_lastSave = diag_tickTime;
EPOCH_arr_countdown = [];
EP_light = objNull;
EPOCH_p2ptradeTarget = objNull;
EPOCH_lastPlayerPos = getPosATL player;
EPOCH_Holstered = "";
Epoch_invited_GroupUID = "";
Epoch_invited_GroupName = "";
Epoch_invited_GroupUIDs = [];
Epoch_invited_GroupUIDsPrev = [];
_path = "x\addons\a3_epoch_code\data\";
EPOCH_group_level_img = [_path+"owner.paa",_path+"mod.paa",_path+"member.pa a"];
EPOCH_lastPlayerPos = [0,0,0];
EPOCH_prevOffer = [];
EPOCH_drawIcon3d = false;
EPOCH_velTransform = false;
EPOCH_stabilityTarget = objNull;
onEachFrame EPOCH_onEachFrame;
//ON INIT
call EPOCH_clientInit;
EPOCH_loots = [
["shelfPos", "Shelf_EPOCH", true],
["fridgePos", "Fridge_EPOCH", true],
["bedPos", "Bed_EPOCH", false],
["couchPos", "Couch_EPOCH", false],
["wardrobePos", "wardrobe_epoch", false],
["cookerPos", "cooker_epoch", false],
["chairPos", ["Chair_EPOCH", "ChairRed_EPOCH"], true],
["filingPos", "Filing_epoch", true],
["pelicanPos", "Pelican_EPOCH", false],
["tablePos", "Table_EPOCH", false],
["lockerPos", "Locker_EPOCH", false],
["toolRackPos", "ToolRack_EPOCH", false],
["shoeboxPos", "Shoebox_EPOCH", false]
];
EPOCH_lootClasses = [];
_cfgLootClasses = configFile >> "CfgBuildingLootPos";
for "_i" from 0 to((count _cfgLootClasses) - 1) do {
_buildingClass = configName(_cfgLootClasses select _i);
if !(_buildingClass in EPOCH_lootClasses) then{
EPOCH_lootClasses pushBack _buildingClass;
};
};
// diag_log format["EPOCH_lootClasses %1", EPOCH_lootClasses];
Epoch_updateLoadingScreen = compileFinal '
disableSerialization;
_display = uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull];
if (!isNull _display) then {
(_display displayCtrl 50) ctrlSetText _this;
};
';
[] execFSM "\x\addons\a3_epoch_code\system\player_login.f sm";
trueif (isNull _this) exitWith{ false };
_return = false;
_jammed = false;
_jammer = nearestObjects[player, ["PlotPole_EPOCH"], 300];
if !(_jammer isEqualTo[]) then{
{
if (alive _x) then{
_jammed = !((_x getVariable["BUILD_OWNER", "-1"]) in[getPlayerUID player, Epoch_my_GroupUID]);
};
if (_jammed) exitWith{};
} forEach _jammer;
};
if (_jammed)exitWith{
0 = ["<t size = '0.8' shadow = '0' color = '#99ffffff'>Building disallowed: Frequency Jammed< / t>", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;
};
if (_this isKindOf "Constructions_static_F") then {
// take upgrade item from player here
_upgrade = getArray(configFile >> "CfgVehicles" >> (typeOf _this) >> "upgradeBuilding");
if !(_upgrade isEqualTo []) then{
_upgradeParts = _upgrade select 1;
_canUpgrade = true;
_canUpgradePartCount = 0;
_missingParts = [];
{
_part = _x select 0;
_partCheck = {_x == _part} count (magazines player);
if (_partCheck < _x select 1) then{
_canUpgrade = false;
_missingParts pushBack format["Missing %1 %2", (_x select 1 - _partCheck), (_part call EPOCH_itemDisplayName)];
};
_canUpgradePartCount = _canUpgradePartCount + (_x select 1);
} forEach _upgradeParts;
_removedPartCount = 0;
if (_canUpgrade) then{
{
for "_i" from 1 to (_x select 1) do {
if ((_x select 0) in (magazines player)) then{
player removeMagazine (_x select 0);
_removedPartCount = _removedPartCount + 1;
};
};
} forEach _upgradeParts;
if (_canUpgradePartCount == _removedPartCount) then{
// send to server for upgrade
EPOCH_UPBUILD = _this;
publicVariableServer "EPOCH_UPBUILD";
_return = true;
0 = ["<t size='0.8' shadow='0' color='#99ffffff'>Upgraded</t>", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;
};
} else {
0 = [format["<t size='0.8' shadow='0' color='#99ffffff'>%1</t>", _missingParts], 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;
};
};
};
_return wŬw*îB?2©ˆu;z\Ev
2. The doors and safes are posible to unlock by the builder but the rest of my group can't unlock.
3. Energy dont save.
4. Frequency jammer not is posible to mantain.
5. Loot in beds, chairs, etc, not posible to open.
6. The shipment containers don't have loot.
I try to fix this issus but my knowledge in this area are very smalls, I will continue trying things, and if I fix anything share with yours. If you fix something, please share. This mod is driving me crazy.
1. the frequenci jammer dont works. I try to change things there but not result set. Im noob in this, but i try

spoiler
EPOCH_lockCheck = compileFinal '
_jammer = nearestObjects[player, ["PlotPole_EPOCH"], 300];
_jammed = false;
if !(_jammer isEqualTo[]) then{
{
if (alive _x) then{
_jammed = !((_x getVariable["BUILD_OWNER", "-1"]) in[getPlayerUID player, Epoch_my_GroupUID]);
};
if (_jammed) exitWith{};
} forEach _jammer;
};
_jammed
';
EPOCH_isBuildAllowed = compileFinal '
private["_jammed", "_jammerNear", "_jammer", "_restricted", "_restrictedLocations", "_return"];
_jammed = false;
_jammerNear = false;
_jammer = nearestObjects[player, ["PlotPole_EPOCH"], 300];
if !(_jammer isEqualTo[]) then{
if (_this == "PlotPole_EPOCH") then{
{
if (alive _x) exitWith{
_jammed = true;
};
} forEach _jammer;
} else {
{
if (alive _x) then{
_jammed = !((_x getVariable["BUILD_OWNER", "-1"]) in[getPlayerUID player, Epoch_my_GroupUID]);
};
if (_jammed) exitWith{};
} forEach _jammer;
};
};
_restricted = nearestObjects[player, ["ProtectionZone_Invisible_F"], 300];
_restrictedLocations = nearestLocations[player, ["NameCityCapital"], 300];
_return = (!_jammed && _restricted isEqualTo[] && _restrictedLocations isEqualTo[]);
_return
';//Compiles
call compile preprocessFileLineNumbers "scripts\client_compile.sqf";
//PublicEH's
call compile preprocessFileLineNumbers "\x\addons\a3_epoch_code\init\client_publicEH.sqf" ;
//Variables
EPOCH_buildDirection = 0;
EPOCH_tradeDone = false;
EPOCH_trashLootList = ["garbagebags_f.p3d","garbagepallet_f.p3d","cratesw ooden_f.p3d","cratesshabby_f.p3d","sacks_goods_f.p 3d","garbagecontainer_closed_f.p3d","garbagebin_01 _f.p3d","sacks_heap_f.p3d","garbagebarrel_01_f.p3d ","sack_f.p3d","phonebooth_02_f.p3d","basket_f.p3d ","woodenbox_f.p3d"];
EPOCH_animalAiTables = ["Sheep_random_EPOCH", "Sheep_random_EPOCH", "Goat_random_EPOCH", "Goat_random_EPOCH", "Goat_random_EPOCH", ["Cock_random_EPOCH", "Hen_random_EPOCH"], "Rabbit_EPOCH", "Rabbit_EPOCH", "Rabbit_EPOCH", "Snake_random_EPOCH", ["Fin_random_EPOCH", "Alsatian_Random_EPOCH"]];
EPOCH_lastTrash = diag_tickTime;
EPOCH_localCleanup = compileFinal "";
EPOCH_previousDmg = 0;
EPOCH_lastTargetTime = diag_tickTime;
EPOCH_lastSave = diag_tickTime;
EPOCH_arr_countdown = [];
EP_light = objNull;
EPOCH_p2ptradeTarget = objNull;
EPOCH_lastPlayerPos = getPosATL player;
EPOCH_Holstered = "";
Epoch_invited_GroupUID = "";
Epoch_invited_GroupName = "";
Epoch_invited_GroupUIDs = [];
Epoch_invited_GroupUIDsPrev = [];
_path = "x\addons\a3_epoch_code\data\";
EPOCH_group_level_img = [_path+"owner.paa",_path+"mod.paa",_path+"member.pa a"];
EPOCH_lastPlayerPos = [0,0,0];
EPOCH_prevOffer = [];
EPOCH_drawIcon3d = false;
EPOCH_velTransform = false;
EPOCH_stabilityTarget = objNull;
onEachFrame EPOCH_onEachFrame;
//ON INIT
call EPOCH_clientInit;
EPOCH_loots = [
["shelfPos", "Shelf_EPOCH", true],
["fridgePos", "Fridge_EPOCH", true],
["bedPos", "Bed_EPOCH", false],
["couchPos", "Couch_EPOCH", false],
["wardrobePos", "wardrobe_epoch", false],
["cookerPos", "cooker_epoch", false],
["chairPos", ["Chair_EPOCH", "ChairRed_EPOCH"], true],
["filingPos", "Filing_epoch", true],
["pelicanPos", "Pelican_EPOCH", false],
["tablePos", "Table_EPOCH", false],
["lockerPos", "Locker_EPOCH", false],
["toolRackPos", "ToolRack_EPOCH", false],
["shoeboxPos", "Shoebox_EPOCH", false]
];
EPOCH_lootClasses = [];
_cfgLootClasses = configFile >> "CfgBuildingLootPos";
for "_i" from 0 to((count _cfgLootClasses) - 1) do {
_buildingClass = configName(_cfgLootClasses select _i);
if !(_buildingClass in EPOCH_lootClasses) then{
EPOCH_lootClasses pushBack _buildingClass;
};
};
// diag_log format["EPOCH_lootClasses %1", EPOCH_lootClasses];
Epoch_updateLoadingScreen = compileFinal '
disableSerialization;
_display = uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull];
if (!isNull _display) then {
(_display displayCtrl 50) ctrlSetText _this;
};
';
[] execFSM "\x\addons\a3_epoch_code\system\player_login.f sm";
trueif (isNull _this) exitWith{ false };
_return = false;
_jammed = false;
_jammer = nearestObjects[player, ["PlotPole_EPOCH"], 300];
if !(_jammer isEqualTo[]) then{
{
if (alive _x) then{
_jammed = !((_x getVariable["BUILD_OWNER", "-1"]) in[getPlayerUID player, Epoch_my_GroupUID]);
};
if (_jammed) exitWith{};
} forEach _jammer;
};
if (_jammed)exitWith{
0 = ["<t size = '0.8' shadow = '0' color = '#99ffffff'>Building disallowed: Frequency Jammed< / t>", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;
};
if (_this isKindOf "Constructions_static_F") then {
// take upgrade item from player here
_upgrade = getArray(configFile >> "CfgVehicles" >> (typeOf _this) >> "upgradeBuilding");
if !(_upgrade isEqualTo []) then{
_upgradeParts = _upgrade select 1;
_canUpgrade = true;
_canUpgradePartCount = 0;
_missingParts = [];
{
_part = _x select 0;
_partCheck = {_x == _part} count (magazines player);
if (_partCheck < _x select 1) then{
_canUpgrade = false;
_missingParts pushBack format["Missing %1 %2", (_x select 1 - _partCheck), (_part call EPOCH_itemDisplayName)];
};
_canUpgradePartCount = _canUpgradePartCount + (_x select 1);
} forEach _upgradeParts;
_removedPartCount = 0;
if (_canUpgrade) then{
{
for "_i" from 1 to (_x select 1) do {
if ((_x select 0) in (magazines player)) then{
player removeMagazine (_x select 0);
_removedPartCount = _removedPartCount + 1;
};
};
} forEach _upgradeParts;
if (_canUpgradePartCount == _removedPartCount) then{
// send to server for upgrade
EPOCH_UPBUILD = _this;
publicVariableServer "EPOCH_UPBUILD";
_return = true;
0 = ["<t size='0.8' shadow='0' color='#99ffffff'>Upgraded</t>", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;
};
} else {
0 = [format["<t size='0.8' shadow='0' color='#99ffffff'>%1</t>", _missingParts], 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;
};
};
};
_return wŬw*îB?2©ˆu;z\Ev
2. The doors and safes are posible to unlock by the builder but the rest of my group can't unlock.
3. Energy dont save.
4. Frequency jammer not is posible to mantain.
5. Loot in beds, chairs, etc, not posible to open.
6. The shipment containers don't have loot.
I try to fix this issus but my knowledge in this area are very smalls, I will continue trying things, and if I fix anything share with yours. If you fix something, please share. This mod is driving me crazy.

In which file i have to add the electronic part?
In a3_epoch_server.pbo where say generic, you have to put this: {"CircuitParts"}
class Generic {
items[] = {{"PaintCanBlk"},{"CircuitParts"},{"PaintCanBlu"}, {"PaintCanBrn"},{"PaintCanGrn"},{"PaintCanOra"},{" PaintCanPur"},{"PaintCanRed"},{"PaintCanTeal"},{"P aintCanYel"},{"ItemDocument"},{"ItemMixOil"},{"emp tyjar_epoch"},{"FoodBioMeat"},{"ItemSodaOrangeSher bet"},{"ItemSodaOrangeSherbet"},{"ItemSodaRbull"}, {"ItemSodaRbull"},{"sardines_epoch"},{"meatballs_e poch"},{"scam_epoch"},{"sweetcorn_epoch"},{"Towele tte"},{"Towelette"},{"Towelette"},{"Towelette"},{" Towelette"},{"HeatPack"},{"HeatPack"},{"ColdPack"} ,{"ColdPack"},{"VehicleRepair"},{"VehicleRepair"}, {"ItemCorrugated"},{"ItemCorrugated"}};
itemType = "magazine";
};
code
class Generic {
items[] = {{"PaintCanBlk"},{"CircuitParts"},{"PaintCanBlu"}, {"PaintCanBrn"},{"PaintCanGrn"},{"PaintCanOra"},{" PaintCanPur"},{"PaintCanRed"},{"PaintCanTeal"},{"P aintCanYel"},{"ItemDocument"},{"ItemMixOil"},{"emp tyjar_epoch"},{"FoodBioMeat"},{"ItemSodaOrangeSher bet"},{"ItemSodaOrangeSherbet"},{"ItemSodaRbull"}, {"ItemSodaRbull"},{"sardines_epoch"},{"meatballs_e poch"},{"scam_epoch"},{"sweetcorn_epoch"},{"Towele tte"},{"Towelette"},{"Towelette"},{"Towelette"},{" Towelette"},{"HeatPack"},{"HeatPack"},{"ColdPack"} ,{"ColdPack"},{"VehicleRepair"},{"VehicleRepair"}, {"ItemCorrugated"},{"ItemCorrugated"}};
itemType = "magazine";
};
This thread is closed for replies.
