Jump to content

Call in airdrops ...


Halvhjearne

Recommended Posts

https://www.dropbox.com/s/sxivno6fe25vwfx/mission_server_pbo.rar

 

i run epoch 1.0.4.2 on villayer

 

cant find the code for the servercleanup and the serverupdate_object :S

 

can you fix that for me :)

 

 

change this:

_Is_Admin		= UIDHERE;

to this:

_Is_Admin		= [UIDHERE];

see if that changes anything

 

server stuff has moved to server_functions.sqf

Link to comment
Share on other sites

for anyone that has problems placing laptops on the map, here is the sollution ... this will create a laptop in all ac-towers of any map: 

(required the map uses the default ac-tower "Land_Mil_ControlTower")

if(isServer)then{
	diag_log "[Airdrop]: Server Creating NoteBook's ...";
	_CtrlTowers = (getMarkerpos "center") nearObjects ["Land_Mil_ControlTower",35000];
	if (count _CtrlTowers > 0) then {
		{
			_Tower = _x;
			_pos = [
//				[[20.3086,2.09277,-10.1802],-150],
				[[4.81641,-1.77783,-0.388702],47.7715],
				[[7.53906,1.66455,-0.388733],-72.3575],
				[[7.55859,2.34717,-0.375366],-133.552],
				[[5.49609,-1.81641,-0.372833],-41.4404],
//				[[6.12598,3.99512,-0.250183],204.759],
				[[6.07617,3.9126,-0.627289],159.178],
//				[[6.08789,4.01172,0.128448],177.816],
//				[[1.72949,-1.8584,0.815277],37.6334],
				[[3.26563,-1.91504,0.809357],-14.5976],
				[[1.28906,2.94043,-0.41571],127.38]
			]call BIS_fnc_selectRandom;
			_iPos = _Tower modelToWorld (_pos select 0);
			_objDir = getDir _Tower;
			_dir = _objDir + (_pos select 1);
			_obj = createVehicle ["Notebook", _iPos, [], 0, "CAN_COLLIDE"];
			_obj setDir _dir;
			_obj setPos _iPos;
			_obj setVariable ["objectLocked", true, true];
//uncomment this, to get the positions aswell
/*
			_msg = format["[Airdrop]: Notebook Debug - Notebook: '%1' Tower: '%2' Pos: (%3) %4 BuildingPos,Dir: %5",_obj,_Tower,mapGridPosition _iPos,_iPos,_pos];
			diag_log _msg;
*/
		}forEach _CtrlTowers;
		_msg = format["[Airdrop]: Notebook's Created: '%1'",count _CtrlTowers];
		diag_log _msg;
	}else{
		diag_log "[Airdrop]: - ERROR - No ""Land_Mil_ControlTower"" found on this map ...";
	};
};

the commentet out positions are positions in the building that dosnt work propper ... imo unusable, but if you want to try them you are welcome.

 

remove the comment by the diag_log line to find the ingame cords in your rpt file

 

have fun

Link to comment
Share on other sites

Maybe im doing something wrong but, when i install this script i cant get into the server, says waiting for authentication and kicks me back to lobby.

 

I wonder if it has anything to do with this lines:

 

Server_updateObject.sqf

if (!_parachuteWest and !(locked _object)) then {
	if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable ["Sarge",0] != 1)) then
	{
		_object_position = getPosATL _object;
    	_isNotOk = true;
	};
};

server_functions.sqf

if(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1) && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {
			diag_log ("CLEANUP: KILLING A HACKER " + (name _x) + " " + str(_x) + " IN " + (typeOf vehicle _x));
			(vehicle _x) setDamage 1;
			_x setDamage 1;
			sleep 0.25;
		};

I followed the script install guide and double check everystep.

 

Another thing, [] execVM "Scripts\airdrop\notebooksample.sqf";

 

Is this file notebook_cherno.sqf right?

 

Thanks in advance!

Link to comment
Share on other sites

Maybe im doing something wrong but, when i install this script i cant get into the server, says waiting for authentication and kicks me back to lobby.

 

I wonder if it has anything to do with this lines:

 

Server_updateObject.sqf

if (!_parachuteWest and !(locked _object)) then {
	if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable ["Sarge",0] != 1)) then
	{
		_object_position = getPosATL _object;
    	_isNotOk = true;
	};
};

server_functions.sqf

if(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1) && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {
			diag_log ("CLEANUP: KILLING A HACKER " + (name _x) + " " + str(_x) + " IN " + (typeOf vehicle _x));
			(vehicle _x) setDamage 1;
			_x setDamage 1;
			sleep 0.25;
		};

I followed the script install guide and double check everystep.

 

Another thing, [] execVM "Scripts\airdrop\notebooksample.sqf";

 

Is this file notebook_cherno.sqf right?

 

Thanks in advance!

 

remove the dubble "" around "Sarge" and it should work ...

 

whatever that file is called, just change the content with what is in the post above, rename it to what you desire and it will work on any map

Link to comment
Share on other sites

  • 2 weeks later...

i need to know what you have done and rpt logs/errors to figure out what the problem is, i have no idea of what you did from this.

I forgot to repack the pbo..... BUUUUUTTTTTTT, after I packed it, its stuck at Waiting for Authentication Page now..... The number on the Bottom Right just keeps going up?

 

My fn_selfActions:

http://pastebin.com/dvSPq9st

 

My server_updateObject:

http://pastebin.com/KTfPFQQZ

 

My server_functions:

http://pastebin.com/uggfWZ1F

 

Thanks!

 

Also, Heres my RTP file:

 

23:14:46   Error Undefined variable in expression: server_spawnevents
23:14:46 File z\addons\dayz_server\system\server_monitor.sqf, line 354
23:14:48 "SAR_AI: Static Spawning for Helicopter patrols finished"
23:14:48 "SAR_AI: Static Spawning for infantry and heli patrols finished"
23:15:24 "Res3tting B!S effects..."
23:16:23 [DZMS]: Starting DayZ Mission System.
23:16:23 [DZMS]: SargeAI Found! Using SargeAI's Relations!
23:16:23 [DZMS]: Currently Running Version: RC1.1
23:16:23 [DZMS]: Mission and Extended Configuration Loaded!
23:16:23 [DZMS]: chernarus Detected. Map Specific Settings Adjusted!
23:16:23 [DZMS]: DayZ Epoch Detected! Some Scripts Adjusted!
23:16:23 [DZMS]: Loading ExecVM Functions.
23:16:23 [DZMS]: Loading Compiled Functions.
23:16:23 [DZMS]: Loading All Other Functions.
23:16:23 [DZMS]: Mission Functions Script Loaded!
23:16:23 [DZMS]: Major Mission Clock Starting!
23:16:23 [DZMS]: Minor Mission Clock Starting!
23:16:23 [DZMS]: Mission Marker Loop for JIPs Starting!
23:16:56 Client: Remote object 2:4 not found
23:16:56 Client: Remote object 2:5 not found
23:16:56 Client: Remote object 2:6 not found
Link to comment
Share on other sites

I forgot to repack the pbo..... BUUUUUTTTTTTT, after I packed it, its stuck at Waiting for Authentication Page now..... The number on the Bottom Right just keeps going up?

 

My fn_selfActions:

http://pastebin.com/dvSPq9st

 

My server_updateObject:

http://pastebin.com/KTfPFQQZ

 

My server_functions:

http://pastebin.com/uggfWZ1F

 

Thanks!

 

im not gonna fix your files for you, you might aswell forget that ... show me your rpt logs, they will give a hint as to what is wrong

 

edit:

 

whatever you added there suggest you have a problem in server_monitor.sqf, it would be a good idea to include the whole log as you have cut out some of this and who knows if you have other errors.

Edited by Halvhjearne
Link to comment
Share on other sites

  • 3 weeks later...

can't get the scroll menu to show when i walk up to the laptop. is there something else needed when you don't have antihack? map loads fine just not given the option to "fix laptop [airdrop]".

 

Fixed - now working on BE Filters

Edited by Devour52k
Link to comment
Share on other sites

  • 1 month later...

can't get the scroll menu to show when i walk up to the laptop. is there something else needed when you don't have antihack? map loads fine just not given the option to "fix laptop [airdrop]".

 

Fixed - now working on BE Filters

what BE  filters did you need ??

Link to comment
Share on other sites

  • 1 year later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...