Auto Refuel, Deploy-able Bikes

did you change call in compiles folder to the Fn_selfactions.sqf, also did you leave a line underneath the self bloodbag script (just things i can think of)
 
BTW,i used to add some vehicles by map editor(ALT+E),but the same shit happened .
Someone in other bbs told me that i didn't change "filter" so my vehicles are deemed to be craft by hacker.I still dont k how to do it
 
Can you tell me the path you used to place the fn_selfactions and the folder.


my fn_selfAction.sqf is located @ MPMissions\dayz_1.chernarus\Fixes
I've also created spawnbike folder inside @ MPMissions\dayz_1.chernarus\

like what noobseals said, the filter is thinking that the bike has been spawned by a hacker.....
the script itself works perfectly fine, it's just that the "death bike" issue is making me ripping my own hair off atm......
 
To change it to where you can upgrade to a motorcycle place this above fn_selfActions above the previous coding for the bike:
Code:
if((speed player <= 1) && cursorTarget isKindOf "TT650_Civ" && _canDo) then {
if (s_player_deploybike4 < 0) then {
s_player_deploybike4 = player addaction[("<t color=""#007ab7"">" + ("Re-Pack Motorcycle") +"</t>"),"spawnbike\bike4.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike4;
s_player_deploybike4 = -1;
};
 
if((speed player <= 1) && cursorTarget isKindOf "Old_bike_TK_CIV_EP1" && _canDo) then {
if (s_player_deploybike3 < 0) then {
s_player_deploybike3 = player addaction[("<t color=""#007ab7"">" + ("Upgrade to Motorcycle") +"</t>"),"spawnbike\bike3.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike3;
s_player_deploybike3 = -1;
};

and then put these in your spawnbike folder:

bike3
http://pastebin.com/jhHqWmz6

bike4
http://pastebin.com/LPr074Qw

Now if you are wanting to upgrade it to a gyrocopter like I have done add this above the motorcycle coding in fn_selfActions:
Code:
if((speed player <= 1) && cursorTarget isKindOf "CSJ_GyroC" && _canDo) then {
if (s_player_deploybike6 < 0) then {
s_player_deploybike6 = player addaction[("<t color=""#007ab7"">" + ("Re-Pack GyroCopter") +"</t>"),"spawnbike\bike6.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike6;
s_player_deploybike6 = -1;
};
 
if((speed player <= 1) && cursorTarget isKindOf "TT650_Civ" && _canDo) then {
if (s_player_deploybike5 < 0) then {
s_player_deploybike5 = player addaction[("<t color=""#007ab7"">" + ("Upgrade to GyroCopter") +"</t>"),"spawnbike\bike5.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike5;
s_player_deploybike5 = -1;
};

and spawnbike folder

bike5
http://pastebin.com/MtukUviM

bike6
http://pastebin.com/J08mBgLu
 
To change it to where you can upgrade to a motorcycle place this above fn_selfActions above the previous coding for the bike:
Code:
if((speed player <= 1) && cursorTarget isKindOf "TT650_Civ" && _canDo) then {
if (s_player_deploybike4 < 0) then {
s_player_deploybike4 = player addaction[("<t color=""#007ab7"">" + ("Re-Pack Motorcycle") +"</t>"),"spawnbike\bike4.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike4;
s_player_deploybike4 = -1;
};
 
if((speed player <= 1) && cursorTarget isKindOf "Old_bike_TK_CIV_EP1" && _canDo) then {
if (s_player_deploybike3 < 0) then {
s_player_deploybike3 = player addaction[("<t color=""#007ab7"">" + ("Upgrade to Motorcycle") +"</t>"),"spawnbike\bike3.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike3;
s_player_deploybike3 = -1;
};

and then put these in your spawnbike folder:

bike3
http://pastebin.com/jhHqWmz6

bike4
http://pastebin.com/LPr074Qw

Now if you are wanting to upgrade it to a gyrocopter like I have done add this above the motorcycle coding in fn_selfActions:
Code:
if((speed player <= 1) && cursorTarget isKindOf "CSJ_GyroC" && _canDo) then {
if (s_player_deploybike6 < 0) then {
s_player_deploybike6 = player addaction[("<t color=""#007ab7"">" + ("Re-Pack GyroCopter") +"</t>"),"spawnbike\bike6.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike6;
s_player_deploybike6 = -1;
};
 
if((speed player <= 1) && cursorTarget isKindOf "TT650_Civ" && _canDo) then {
if (s_player_deploybike5 < 0) then {
s_player_deploybike5 = player addaction[("<t color=""#007ab7"">" + ("Upgrade to GyroCopter") +"</t>"),"spawnbike\bike5.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike5;
s_player_deploybike5 = -1;
};

and spawnbike folder

bike5
http://pastebin.com/MtukUviM

bike6
http://pastebin.com/J08mBgLu
awesome job buddy!
 
my fn_selfAction.sqf is located @ MPMissions\dayz_1.chernarus\Fixes
I've also created spawnbike folder inside @ MPMissions\dayz_1.chernarus\

like what noobseals said, the filter is thinking that the bike has been spawned by a hacker.....
the script itself works perfectly fine, it's just that the "death bike" issue is making me ripping my own hair off atm......
Only thing I can think it might be is antihacks line.. try putting // infront of it then test. I don't have antihacks running due to the amount of bugs and shit it's got.
 
Only thing I can think it might be is antihacks line.. try putting // infront of it then test. I don't have antihacks running due to the amount of bugs and shit it's got.


yeah, I am pretty sure it's the 1.7.7.1 anti hack is causing the problem, even found the line where they set Damage to 1 to kill players and break their leg etc, but if I remove those lines then that means hacker can just come in and spawn vehicles? :/
 
yeah, I am pretty sure it's the 1.7.7.1 anti hack is causing the problem, even found the line where they set Damage to 1 to kill players and break their leg etc, but if I remove those lines then that means hacker can just come in and spawn vehicles? :/
where can i find those lines?
 
Ah found it. Just commented out this in server_updateObject.sqf
if (!_parachuteWest) then {
if (_objectID == "0" && _uid == "0") then
{
_object_position = getPosATL _object;
#ifdef OBJECT_DEBUG
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]);
#endif
_isNotOk = true;
};
};
 
where can i find those lines?
inside your init.sqf there will be a line around line 90 that says:
Code:
[] execVM "\z\addons\dayz_code\system\antihack.sqf";

change that to

Code:
 // [] execVM "\z\addons\dayz_code\system\antihack.sqf";

If you are worried about hackers then battleye will still detect them, antihack is just another piece of shit they are giving us that won't work :p
 
inside your init.sqf there will be a line around line 90 that says:
Code:
[] execVM "\z\addons\dayz_code\system\antihack.sqf";

change that to

Code:
 // [] execVM "\z\addons\dayz_code\system\antihack.sqf";

If you are worried about hackers then battleye will still detect them, antihack is just another piece of shit they are giving us that won't work :p


that " [] execVM "\z\addons\dayz_code\system\antihack.sqf"; " has already been commented out, I am using this anti hack here: http://www.opendayz.net/threads/1-7-7-1-new-antihack-script.8552/ and I think THIS is the one causing the death bike problem..... QQ
 
Back
Top