Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
i get kicked the hole time
here my script.txt
i only have a old_script.txt because i use Dayz Epoch
i tried: with 1 with 5 nothing works
all buses are destroyed
maybe this is the error:
22:09:41 "DEBUG: unable to find sutable vehicle to spawn"
Is that bus allowed on epoch ? If not try a different bus class name.i get kicked the hole time
here my script.txt
i only have a old_script.txt because i use Dayz Epoch
i tried: with 1 with 5 nothing works
http://www.speedshare.org/download.php?id=FC7FF8161
hivelog:
http://www.speedshare.org/download.php?id=2B0778E41
all buses are destroyed
maybe this is the error:
22:09:41 "DEBUG: unable to find sutable vehicle to spawn"
As for your buses being detroyed this is what I found,
"CLEANUP: KILLING A HACKER Ewan Jones R 1-1-C:1 REMOTE IN Ikarus_TK_CIV_EP1"
In you scripts.txt try changing line 21, "createVehicle" from 5 -1 and if it still kicks you add this into it
!"addons\units\add_unit.sqf" !"addons\busroute\bus_driver.sqf"
/*
[_object,_type] spawn server_updateObject;
*/
private ["_object","_type","_objectID","_uid","_lastUpdate","_needUpdate","_object_position","_object_inventory","_object_damage","_isNotOk"];
_object = _this select 0;
_type = _this select 1;
_parachuteWest = typeOf _object == "ParachuteWest";
_isNotOk = false;
_objectID = _object getVariable ["ObjectID","0"];
_uid = _object getVariable ["ObjectUID","0"];
if ((typeName _objectID != "string") || (typeName _uid != "string")) then
{
diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
//force fail
_objectID = "0";
_uid = "0";
};
if (!_parachuteWest) then {
if (_objectID == "0" && _uid == "0") then
{
_object_position = getPosATL _object;
diag_log(format["Deleting object %1 with invalid ID at pos [%2,%3,%4]",
typeOf _object,
_object_position select 0,
_object_position select 1,
_object_position select 2]);
_isNotOk = true;
};
};
if (_isNotOk) exitWith { deleteVehicle _object; };
_lastUpdate = _object getVariable ["lastUpdate",time];
_needUpdate = _object in needUpdate_objects;
// TODO ----------------------
_object_position = {
private["_position","_worldspace","_fuel","_key"];
_position = getPosATL _object;
_worldspace = [
round(direction _object),
_position
];
_fuel = 0;
if (_object isKindOf "AllVehicles") then {
_fuel = fuel _object;
};
_key = format["CHILD:305:%1:%2:%3:",_objectID,_worldspace,_fuel];
diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
};
_object_inventory = {
private["_inventory","_previous","_key"];
_inventory = [
getWeaponCargo _object,
getMagazineCargo _object,
getBackpackCargo _object
];
_previous = str(_object getVariable["lastInventory",[]]);
if (str(_inventory) != _previous) then {
_object setVariable["lastInventory",_inventory];
if (_objectID == "0") then {
_key = format["CHILD:309:%1:%2:",_uid,_inventory];
} else {
_key = format["CHILD:303:%1:%2:",_objectID,_inventory];
};
diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
};
};
_object_damage = {
private["_hitpoints","_array","_hit","_selection","_key","_damage"];
_hitpoints = _object call vehicle_getHitpoints;
_damage = damage _object;
_array = [];
{
_hit = [_object,_x] call object_getHit;
_selection = getText (configFile >> "CfgVehicles" >> (typeOf _object) >> "HitPoints" >> _x >> "name");
if (_hit > 0) then {_array set [count _array,[_selection,_hit]]};
_object setHit ["_selection", _hit]
} forEach _hitpoints;
_key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];
diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
_object setVariable ["needUpdate",false,true];
};
_object_killed = {
private["_hitpoints","_array","_hit","_selection","_key","_damage"];
_hitpoints = _object call vehicle_getHitpoints;
_damage = damage _object;
_array = [];
{
_hit = [_object,_x] call object_getHit;
_selection = getText (configFile >> "CfgVehicles" >> (typeOf _object) >> "HitPoints" >> _x >> "name");
if (_hit > 0) then {_array set [count _array,[_selection,_hit]]};
_hit = 1;
_object setHit ["_selection", _hit]
} forEach _hitpoints;
_damage = 1;
if (_objectID == "0") then {
_key = format["CHILD:306:%1:%2:%3:",_uid,_array,_damage];
} else {
_key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];
};
diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
_object setVariable ["needUpdate",false,true];
};
_object_repair = {
private["_hitpoints","_array","_hit","_selection","_key","_damage"];
_hitpoints = _object call vehicle_getHitpoints;
_damage = damage _object;
_array = [];
{
_hit = [_object,_x] call object_getHit;
_selection = getText (configFile >> "CfgVehicles" >> (typeOf _object) >> "HitPoints" >> _x >> "name");
if (_hit > 0) then {_array set [count _array,[_selection,_hit]]};
_object setHit ["_selection", _hit]
} forEach _hitpoints;
_key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];
diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
_object setVariable ["needUpdate",false,true];
};
// TODO ----------------------
_object setVariable ["lastUpdate",time,true];
switch (_type) do {
case "all": {
call _object_position;
call _object_inventory;
call _object_damage;
};
case "position": {
if (!(_object in needUpdate_objects)) then {
diag_log format["DEBUG Position: Added to NeedUpdate=%1",_object];
needUpdate_objects set [count needUpdate_objects, _object];
};
};
case "gear": {
call _object_inventory;
};
case "damage": {
if ( (time - _lastUpdate) > 5) then {
call _object_damage;
} else {
if (!(_object in needUpdate_objects)) then {
diag_log format["DEBUG Damage: Added to NeedUpdate=%1",_object];
needUpdate_objects set [count needUpdate_objects, _object];
};
};
};
case "killed": {
call _object_killed;
};
case "repair": {
call _object_damage;
};
};
22:22:33 Error in expression <"0";
};
if (!_parachuteWest) then {
if (_objectID == "0" && _uid == "0") then
{
>
22:22:33 Error position: <_objectID == "0" && _uid == "0") then
{
>
22:22:33 Error Undefined variable in expression: _objectid
22:22:33 File z\addons\dayz_server\compile\server_updateObject.sqf, line 24
22:22:33 "HIVE: WRITE: "CHILD:305:<null>:[0,[0,0,0]]:0:""
22:22:33 Error in expression <
};
_key = format["CHILD:305:%1:%2:%3:",_objectID,_worldspace,_fuel];
diag_log (>
22:22:33 Error position: <_objectID,_worldspace,_fuel];
diag_log (>
22:22:33 Error Undefined variable in expression: _objectid
22:22:33 File z\addons\dayz_server\compile\server_updateObject.sqf, line 59
22:22:33 Error in expression <Inventory",[]]);
if (str(_inventory) != _previous) then {
_object setVariable["l>
22:22:33 Error position: <_previous) then {
_object setVariable["l>
22:22:33 Error Undefined variable in expression: _previous
22:22:33 File z\addons\dayz_server\compile\server_updateObject.sqf, line 72
22:22:33 "HIVE: WRITE: "CHILD:306:<null>:[]:0:""
22:22:33 Error in expression <s;
_key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];
diag_log ("HI>
22:22:33 Error position: <_objectID,_array,_damage];
diag_log ("HI>
22:22:33 Error Undefined variable in expression: _objectid
22:22:33 File z\addons\dayz_server\compile\server_updateObject.sqf, line 96
22:22:33 Error in expression <iable ["ObjectUID","0"];
if ((typeName _objectID != "string") || (typeName _uid>
22:22:33 Error position: <_objectID != "string") || (typeName _uid>
22:22:33 Error Undefined variable in expression: _objectid
22:22:33 File z\addons\dayz_server\compile\server_updateObject.sqf, line 16
if (!_parachuteWest) then {
if (_objectID == "0" && _uid == "0") then
{
_object_position = getPosATL _object;
diag_log(format["Deleting object %1 with invalid ID at pos [%2,%3,%4]",
typeOf _object,
_object_position select 0,
_object_position select 1,
_object_position select 2]);
_isNotOk = true;
};
};
_key = format["CHILD:305:%1:%2:%3:",_objectID,_worldspace,_fuel];
diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
};
_object_inventory = {
private["_inventory","_previous","_key"];
_inventory = [
getWeaponCargo _object,
getMagazineCargo _object,
getBackpackCargo _object
];
_previous = str(_object getVariable["lastInventory",[]]);
if (str(_inventory) != _previous) then {
_object setVariable["lastInventory",_inventory];
if (_objectID == "0") then {
_key = format["CHILD:309:%1:%2:",_uid,_inventory];
} else {
_key = format["CHILD:303:%1:%2:",_objectID,_inventory];
};
diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
};
};
_key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];
diag_log ("HIVE: WRITE: "+ str(_key));
_key call server_hiveWrite;
_object setVariable ["needUpdate",false,true];
};
if ((typeName _objectID != "string") || (typeName _uid != "string")) then
{
diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
//force fail
_objectID = "0";
ok well that was already in your scripts file, I just copied it with the assumption that was the file paths in your busRoute addon.
So if that is incorrect, have you tried a couple of different methods as that is not a normal battleye addidtion?
I have obtained the most recent Epoch BattlEye scripts.txt. and I have already set the appropriate lines for axeman's busRoute mod , If you have any other mods you will need to make the required changes to prevent kicks relating to them.
Remove and Backup your current scripts.txt and then place the new one below in your battleye file where your old scripts.txt was and try it out. NO guarantees!
The Bus Should Spawn No Worries, I Have Checked The Vehicle Table And It Appears To Be In There.
scripts.txt: http://www.speedshare.org/download.php?id=CC862A9E1
thx u for that but i think we arte talking about differnt things.
1.) dayz epoch has no script.txt only old_script.txt
2.) i dont have the file add_unit.sqf i think thats the main problem
3.) here is my old_script.txt http://www.speedshare.org/download.php?id=726EA3061
1.) I got the script.txt off one of my servers running EPOCH and it is named "scripts.txt" as is on every other map.
2.) the add_unit.sqf line come out of your old_script.txt, it is on line 9. Open it with Notepad++ and take a look.
3.) You said that you can change and edit the script but still get kicked.
Is it possible by some chance that you may have found a back-up scripts.txt that has been renamed?
Mabybe have a look in your BattlEye folder for any other scripts.txt file, otherwise, I dunno.
0:55:07 "BUSCREW: Creating Replacement BAF_Soldier_L_DDPM by <NULL-object> at [4094.55,2640.72,0]. Result:<NULL-object> | Loadout:any / Num:any | Group:<NULL-group>"
first of all : thank u for your time
1.) no kicks
2.) i dont looked the hole coast but i dont saw no bus (maybe I should take a closer look)
BUT
check out my hive log @ 20:59:29
http://www.speedshare.org/download.php?id=E78815A11
Code:0:55:07 "BUSCREW: Creating Replacement BAF_Soldier_L_DDPM by <NULL-object> at [4094.55,2640.72,0]. Result:<NULL-object> | Loadout:any / Num:any | Group:<NULL-group>"
PS: and it dont stop it goes on and on and on