TKC-Community

Hacking and Art => Armed Assault 3 => Armed Assault 2 => Topic started by: O_GREEN_O on June 04, 2012, 06:51:36 pm

Title: Vehicles,players map mark
Post by: O_GREEN_O on June 04, 2012, 06:51:36 pm
I tried to find this script, but it does not exist in our D:
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 04, 2012, 06:55:38 pm
heres a tip

setgroupiconsvisible

createmarkerlocal

go to work.
Title: Re: Vehicles,players map mark
Post by: joopig on June 04, 2012, 06:58:48 pm
Code: [Select]
hint "Adding Player Markers";

unitList = allUnits;
j = count unitList;
i = 0;
markPos = true;

while {markPos} do
{
unitList = allUnits;
j = count unitList;
i = 0;

for "i" from 0 to j do
{
unit = unitList select i;
pos = position unit;
deleteMarkerLocal ("playerMarker"+ (str i));
marker = "playerMarker" + (str i);
marker = createMarkerLocal [marker,pos];
marker setMarkerTypeLocal "mil_dot";
marker setMarkerPosLocal (pos);
marker setMarkerColorLocal("ColorRed");
marker setMarkerTextLocal format ["%1",name unit];
};
sleep 0.5;
};
hint "Player Marking Stopping";
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 04, 2012, 07:00:01 pm
Code: [Select]
hint "Adding Player Markers";

unitList = allUnits;
j = count unitList;
i = 0;
markPos = true;

while {markPos} do
{
unitList = allUnits;
j = count unitList;
i = 0;

for "i" from 0 to j do
{
unit = unitList select i;
pos = position unit;
deleteMarkerLocal ("playerMarker"+ (str i));
marker = "playerMarker" + (str i);
marker = createMarkerLocal [marker,pos];
marker setMarkerTypeLocal "mil_dot";
marker setMarkerPosLocal (pos);
marker setMarkerColorLocal("ColorRed");
marker setMarkerTextLocal format ["%1",name unit];
};
sleep 0.5;
};
hint "Player Marking Stopping";

or copy paste it and learn nothing.  :icon_laugh
Title: Re: Vehicles,players map mark
Post by: joopig on June 04, 2012, 07:03:34 pm
or copy paste it and learn nothing.  :icon_laugh
Thats what they came here for might as well give them what they want.
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 04, 2012, 07:06:07 pm
or copy paste it and learn nothing.  :icon_laugh
Thats what they cam here for might as well give them what they want.

Much better to teach them by pointing them in the right direction , or they will keep doing it.

Copy paste is a sure fire way to get lazy.
Title: Re: Vehicles,players map mark
Post by: joopig on June 04, 2012, 07:09:16 pm
Much better to teach them by pointing them in the right direction , or they will keep doing it.

Copy paste is a sure fire way to get lazy.
They see an example look how it works and alter it to their liking if they actually want to learn, if they don't they get working code to have fun with, everyone wins.
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 04, 2012, 08:02:33 pm
Much better to teach them by pointing them in the right direction , or they will keep doing it.

Copy paste is a sure fire way to get lazy.
They see an example look how it works and alter it to their liking if they actually want to learn, if they don't they get working code to have fun with, everyone wins.

Take it you copy paste a lot then.
Title: Re: Vehicles,players map mark
Post by: O_GREEN_O on June 04, 2012, 08:39:45 pm
Thank you so much, tell me please how to make a map of how vehicles op spawn vehicles (i try spawn but im death :D )



i am retard
Title: Re: Vehicles,players map mark
Post by: cairney on June 04, 2012, 09:03:30 pm
Much better to teach them by pointing them in the right direction , or they will keep doing it.

Copy paste is a sure fire way to get lazy.
They see an example look how it works and alter it to their liking if they actually want to learn, if they don't they get working code to have fun with, everyone wins.

Thanks for posting this. I've been wondering about it for a bit, so it is good to be able to read the code like you said, see how it works, analyse it and try to improve it.

@Medic

I don't see why you try to call these guys out left, right and centre... they might be selling a mod-app, but, so what if yours is better? They have fun using mod-apps and are helping others learn as well... Medic stop caring about how big you 'e-penis' is and start to help make the posts on here a bit better/higher quality... I am not saying I am an amazing poster or that I post some really helpful shit, but you seem to only care about calling people out, internet fame and the odd riddle or two.  If I had your ability and skill/experience - which you do have admittedly - I would stop caring about all that fame bullshit and just fuck some shit up/have some fun.
Title: Re: Vehicles,players map mark
Post by: Uruoki on June 04, 2012, 09:08:10 pm
Much better to teach them by pointing them in the right direction , or they will keep doing it.

Copy paste is a sure fire way to get lazy.
They see an example look how it works and alter it to their liking if they actually want to learn, if they don't they get working code to have fun with, everyone wins.

Thanks for posting this. I've been wondering about it for a bit, so it is good to be able to read the code like you said, see how it works, analyse it and try to improve it.

@Medic

I don't see why you try to call these guys out left, right and centre they might be selling a mod-app, but, so what if yours is better? They have fun using mod-apps and are helping others learn as well... Medic stop caring about how big you 'e-penis' is and start to help make the posts on here a bit better/higher quality... I am not saying I am an amazing poster or that I post some really helpful shit, but you seem to only care about calling people out, internet fame and the odd riddle or two.  If I had your ability and skill/experience - which you do have admittedly - I would stop caring about all that fame bullshit and just fuck some shit up/have some fun.

Why you calling him out like that? Calling the kettle black are we?
Title: Re: Vehicles,players map mark
Post by: cairney on June 04, 2012, 09:12:03 pm
Much better to teach them by pointing them in the right direction , or they will keep doing it.

Copy paste is a sure fire way to get lazy.
They see an example look how it works and alter it to their liking if they actually want to learn, if they don't they get working code to have fun with, everyone wins.

Thanks for posting this. I've been wondering about it for a bit, so it is good to be able to read the code like you said, see how it works, analyse it and try to improve it.

@Medic

I don't see why you try to call these guys out left, right and centre they might be selling a mod-app, but, so what if yours is better? They have fun using mod-apps and are helping others learn as well... Medic stop caring about how big you 'e-penis' is and start to help make the posts on here a bit better/higher quality... I am not saying I am an amazing poster or that I post some really helpful shit, but you seem to only care about calling people out, internet fame and the odd riddle or two.  If I had your ability and skill/experience - which you do have admittedly - I would stop caring about all that fame bullshit and just fuck some shit up/have some fun.

Why you calling him out like that? Calling the kettle black are we?

I really didn't want to respond to this, but I feel forced to respond.

I've been here since 2009 it isn't long in comparison to some other members, but I have seen enough of this 'fame-game' stuff and general flaming/attitude... it is in nearly every thread and it isn't helping anyone. I've watched all of this for a long time like a few others around here and finally thought I should post what I thought of it @Uruoki you have been registered a day if you stick around you will understand.

I'm not trying to start more shit, but just stating the way I view things.

/also responds to below post
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 04, 2012, 09:12:27 pm
Much better to teach them by pointing them in the right direction , or they will keep doing it.

Copy paste is a sure fire way to get lazy.
They see an example look how it works and alter it to their liking if they actually want to learn, if they don't they get working code to have fun with, everyone wins.

Thanks for posting this. I've been wondering about it for a bit, so it is good to be able to read the code like you said, see how it works, analyse it and try to improve it.

@Medic

I don't see why you try to call these guys out left, right and centre... they might be selling a mod-app, but, so what if yours is better? They have fun using mod-apps and are helping others learn as well... Medic stop caring about how big you 'e-penis' is and start to help make the posts on here a bit better/higher quality... I am not saying I am an amazing poster or that I post some really helpful shit, but you seem to only care about calling people out, internet fame and the odd riddle or two.  If I had your ability and skill/experience - which you do have admittedly - I would stop caring about all that fame bullshit and just fuck some shit up/have some fun.

Your doing exactly what your complaining about cairney , think before you post.
Title: Re: Vehicles,players map mark
Post by: Jagfreeze on June 06, 2012, 01:53:21 pm
This only shows players but not vehicles. How do I get it to show vehicles on the map?
Title: Re: Vehicles,players map mark
Post by: BanHammer on June 06, 2012, 02:36:33 pm
This only shows players but not vehicles. How do I get it to show vehicles on the map?

Code: [Select]
hint "Adding Vehicle Markers";

unitList = allMissionObjects "LandVehicle"; // or unitList = nearestobjects [[8000,8000],["air","car","tank"],20000]; //or  unitList = allmissionobjects "LandVehicle" + allmissionobjects "Air";
j = count unitList;
i = 0;
markPos = true;

while {markPos} do
{
unitList = allMissionObjects "LandVehicle";
j = count unitList;
i = 0;

for "i" from 0 to j do
{
unit = unitList select i;
                        _name = configName (configFile >> "CfgVehicles" >> (typeof unit)); // or _name = gettext (configFile >> "CfgVehicles" >> (typeof unit) >> "displayName");
pos = position unit;
deleteMarkerLocal ("playerMarker"+ (str i));
marker = "playerMarker" + (str i);
marker = createMarkerLocal [marker,pos];
marker setMarkerTypeLocal "mil_dot";
marker setMarkerPosLocal (pos);
marker setMarkerColorLocal("ColorRed");
marker setMarkerTextLocal format ["%1",_name];
};
sleep 0.5;
};
hint "Vehicle Marking Stopping";
Title: Re: Vehicles,players map mark
Post by: O_GREEN_O on June 06, 2012, 03:23:19 pm
I'm retarded and, even with this script is not displayed vehicles
Title: Re: Vehicles,players map mark
Post by: BanHammer on June 06, 2012, 03:30:15 pm
I'm retarded and, even with this script is not displayed vehicles
it means only one, No vehicles on the server)))))
Title: Re: Vehicles,players map mark
Post by: skylmt666 on June 06, 2012, 03:32:52 pm
I'm retarded and, even with this script is not displayed vehicles
it means only one, No vehicles on the server)))))

To find car i changed maybe 3-2 servers
Title: Re: Vehicles,players map mark
Post by: O_GREEN_O on June 06, 2012, 03:34:00 pm
I use script
Quote
_obj="VEHICLESNAME";
_objects = allMissionObjects _obj;
_lbl = "";
_count = 1;
{
   _marker = Format["%1Markers%2",_count,_obj];
   createMarkerLocal [_marker,position _x];
   _marker setMarkerTypeLocal "dot";
   _marker setMarkerColorLocal "ColorBlue";
   _marker setMarkerSizeLocal [1,1];
   _lbl = Format["%1 [%2]",_obj,_count];
   _marker setMarkerTextLocal _lbl;
   _count = _count + 1;
} forEach _objects;
and it's work
Title: Re: Vehicles,players map mark
Post by: BanHammer on June 06, 2012, 03:42:41 pm
I'm retarded and, even with this script is not displayed vehicles
it means only one, No vehicles on the server)))))

To find car i changed maybe 3-2 servers
mark vehicle on map,
If the server has a car use this:
Code: [Select]
_x = getPosATL player select 0;
_y = getPosATL player select 1;
_z = getPosATL player select 2;
_objects = allmissionobjects "car";
_car = (_objects select 0);
_car setpos [_x+2;_y,z];
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 06, 2012, 06:07:59 pm
I'm retarded and, even with this script is not displayed vehicles
it means only one, No vehicles on the server)))))

To find car i changed maybe 3-2 servers
mark vehicle on map,
If the server has a car use this:
Code: [Select]
_x = getPosATL player select 0;
_y = getPosATL player select 1;
_z = getPosATL player select 2;
_objects = allmissionobjects "car";
_car = (_objects select 0);
_car setpos [_x+2;_y,z];

anti copy paste , nice !  :smile
Title: Re: Vehicles,players map mark
Post by: plosky1 on June 06, 2012, 11:09:45 pm
Does someone have a list of what servers have vehicles enabled on them?
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 07, 2012, 05:27:30 am
Does someone have a list of what servers have vehicles enabled on them?

Never seen a list of vehicle enabled servers only , Maybe try making a list yourself , Im sure people would add to it if they find any you missed.



Title: Re: Vehicles,players map mark
Post by: curious on June 07, 2012, 06:38:13 am
If I'm using the weaponcrate tut. Can I just paste this into my sqs file after skipping a line and keep my sqf the same? So when I click vote_kick it will spawn a crate, plus show vehicles and players on the map, plus give me blood?

As in
Code: [Select]
_abox = _this select 0;
_dayz_wep =["M14_EP1","Remington870_lamp","M4A3_CCO_EP1","M4A1_AIM_SD_camo","BAF_L85A2_RIS_CWS","BAF_AS50_scoped","Winchester1866","LeeEnfield","revolver_EP1","FN_FAL","FN_FAL_ANPVS4","m107_DZ",
   "Mk_48_DZ","DMR","M16A2","M16A2GL","bizon_silenced","AK_74","M4A1_Aim","AKS_74_kobra","AKS_74_U","AK_47_M","M24","M1014","M4A1","MP5SD","MP5A5","huntingrifle","Crossbow","glock17_EP1","M9",
   "M9SD","Colt1911","UZI_EP1","Binocular","Binocular_Vector","NVGoggles","ItemGPS","ItemMap","ItemCompass","ItemWatch","ItemFlashlight","ItemFlashlightRed","ItemKnife","ItemHatchet","ItemMatchbox",
   "ItemEtool","ItemToolbox"];

_dayz_mag =["30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","20Rnd_762x51_DMR","30Rnd_762x39_AK47","5Rnd_762x51_M24","10Rnd_127x99_m107","8Rnd_B_Beneli_74Slug","1Rnd_HE_M203","FlareWhite_M203",
   "FlareGreen_M203","1Rnd_Smoke_M203","200Rnd_556x45_M249","8Rnd_B_Beneli_Pellets","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","100Rnd_762x51_M240","15Rnd_W1866_Slug","5x_22_LR_17_HMR",
   "10x_303","15Rnd_9x19_M9","15Rnd_9x19_M9SD","7Rnd_45ACP_1911","17Rnd_9x19_glock17","8Rnd_9x18_Makarov","6Rnd_45ACP","8Rnd_9x18_Makarov","BoltSteel","PipeBomb","HandGrenade_west",
   "FoodSteakRaw","FoodSteakCooked","FoodCanBakedBeans","FoodCanSardines","FoodCanPasta","ItemSodaCoke","ItemSodaPepsi","ItemWaterbottle","HandRoadFlare","HandChemGreen","HandChemBlue",
   "HandChemRed","ItemSandbag","ItemTankTrap","ItemWire","ItemBandage","ItemPainkiller","ItemMorphine","ItemEpinephrine","ItemAntibiotic","ItemBloodbag","ItemHeatPack","PartWoodPile","PartWheel",
   "PartFueltank","PartGlass","PartEngine","PartGeneric","PartVRotor","ItemJerrycan","ItemGenerator","ItemTent","Skin_Soldier1_DZ","Skin_Survivor2_DZ","Skin_Camo1_DZ","Skin_Sniper1_DZ"];

_dayz_bpk =["DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_CivilBackpack_EP1","DZ_ALICE_Pack_EP1","DZ_Backpack_EP1"];

{_abox addWeaponCargo [_x,100];} forEach _dayz_wep;
{_abox addMagazineCargo [_x,100];} forEach _dayz_mag;
{_abox addBackpackCargo [_x,2];} forEach _dayz_bpk;

hint "Adding Player Markers";

unitList = allUnits;
j = count unitList;
i = 0;
markPos = true;

while {markPos} do
{
unitList = allUnits;
j = count unitList;
i = 0;

for "i" from 0 to j do
{
unit = unitList select i;
pos = position unit;
deleteMarkerLocal ("playerMarker"+ (str i));
marker = "playerMarker" + (str i);
marker = createMarkerLocal [marker,pos];
marker setMarkerTypeLocal "mil_dot";
marker setMarkerPosLocal (pos);
marker setMarkerColorLocal("ColorRed");
marker setMarkerTextLocal format ["%1",name unit];
};
sleep 0.5;
};
hint "Player Marking Stopping";

_v =player;
_v setDammage 0;
"dynamicBlur" ppEffectAdjust [0];"dynamicBlur" ppEffectCommit 5;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1],  [1, 1, 1, 1]];"colorCorrections" ppEffectCommit 5;
r_interrupt = false;
r_doLoop = false;
r_self = false;
r_drag_sqf = false;
r_action = false;
r_action_unload = false;
r_player_handler = false;
r_player_handler1 = false;
r_player_dead = false;
r_player_unconscious = false;
r_player_infected = false;
r_player_injured = false;
r_player_inpain = false;
r_player_loaded = false;
r_player_cardiac = false;
r_fracture_legs = false;
r_fracture_arms = false;
r_player_blood = 12000;
r_player_lowblood = false;
r_player_timeout = 0;
r_handlerCount = 0;
dayz_hunger = 0;
dayz_thirst = 0;
dayz_temperatur = 100;
hint "done!";

and my sqf
Code: [Select]
_abox = createVehicle ["AmmoBoxBig" , position player, [], 0, "NONE"];

[_abox] execVM "\Scripts\ammo.sqs";

sleep 120;

deletevehicle _abox;

if (true) exitWith {};

Title: Re: Vehicles,players map mark
Post by: Pride on June 07, 2012, 07:39:05 am
Does someone have a list of what servers have vehicles enabled on them?

Never seen a list of vehicle enabled servers only , Maybe try making a list yourself , Im sure people would add to it if they find any you missed.


They (the dayz devs) have to add the vehicles... one server at a time. So sad.
Title: Re: Vehicles,players map mark
Post by: Energizer on June 07, 2012, 10:35:33 am
Does someone have a list of what servers have vehicles enabled on them?

Never seen a list of vehicle enabled servers only , Maybe try making a list yourself , Im sure people would add to it if they find any you missed.


They (the dayz devs) have to add the vehicles... one server at a time. So sad.

What? you are sure?
Title: Re: Vehicles,players map mark
Post by: Vizio on June 07, 2012, 08:29:20 pm
can someone say me naval vehicle classname (like Landvehicle) for mark them on the map?
thanks
Title: Re: Vehicles,players map mark
Post by: XJ on June 07, 2012, 11:57:29 pm
can someone say me naval vehicle classname (like Landvehicle) for mark them on the map?
thanks

Ship or Boat, both should work.
Title: Re: Vehicles,players map mark
Post by: xylef on June 11, 2012, 02:36:52 am
I use script
Quote
_obj="VEHICLESNAME";
_objects = allMissionObjects _obj;
_lbl = "";
_count = 1;
{
   _marker = Format["%1Markers%2",_count,_obj];
   createMarkerLocal [_marker,position _x];
   _marker setMarkerTypeLocal "dot";
   _marker setMarkerColorLocal "ColorBlue";
   _marker setMarkerSizeLocal [1,1];
   _lbl = Format["%1 [%2]",_obj,_count];
   _marker setMarkerTextLocal _lbl;
   _count = _count + 1;
} forEach _objects;
and it's work

So if I want to use this instead of whatever else script, I'll make it a .sqf file? (Sorry, but I'm terribly new to this. I'm just learning!)
Title: Re: Vehicles,players map mark
Post by: joopig on June 11, 2012, 03:04:32 am
Player markers

Code: [Select]
execVM "YourFolder\vehicleMarkers.sqf";
hint "Adding Player Markers";

unitList = allUnits;
j = count unitList;
i = 0;
markPos = true;

while {markPos} do
{
unitList = allUnits;
j = count unitList;
i = 0;

for "i" from 0 to j do
{
unit = unitList select i;
pos = position unit;
deleteMarkerLocal ("playerMarker"+ (str i));
marker = "playerMarker" + (str i);
marker = createMarkerLocal [marker,pos];
marker setMarkerTypeLocal "mil_dot";
marker setMarkerPosLocal (pos);
marker setMarkerColorLocal("ColorRed");
marker setMarkerTextLocal format ["%1",name unit];
};
sleep 0.5;
};
hint "Player Marking Stopping";

i = 0;
for "i" from 0 to j do
{
veh = unitList select i;
deleteMarkerLocal ("playerMarker"+ (str i));
};


Vehicle Markers

Code: [Select]
hint "Adding Vehicle Markers";

vehicleList = vehicles;
j = count vehicleList;
i = 0;
markPosVeh = true;

while {markPosVeh} do
{
vehicleList = vehicles;
j = count vehicleList;
i = 0;

for "i" from 0 to j do
{
veh = vehicleList select i;

deleteMarkerLocal ("VehMarker"+ (str i));
marker2 = "VehMarker" + (str i);
marker2 = createMarkerLocal [marker2,getPos veh];
marker2 setMarkerTypeLocal "mil_dot";
marker2 setMarkerPosLocal (getPos veh);
marker2 setMarkerColorLocal("ColorGreen");
marker2 setMarkerTextLocal format ["%1",typeOf veh];
};
sleep 20;
};
hint "Vehicle Markings Stopping";
i = 0;
for "i" from 0 to j do
{
veh = vehicleList select i;
deleteMarkerLocal ("VehMarker"+ (str i));
};
Title: Re: Vehicles,players map mark
Post by: link757 on June 11, 2012, 03:38:40 am
Much better to teach them by pointing them in the right direction , or they will keep doing it.

Copy paste is a sure fire way to get lazy.
They see an example look how it works and alter it to their liking if they actually want to learn, if they don't they get working code to have fun with, everyone wins.

Thats how I learned lol
Title: Re: Vehicles,players map mark
Post by: xylef on June 11, 2012, 03:41:58 am
Is the vehicle marker you (joopig) posted undetected?
Title: Re: Vehicles,players map mark
Post by: joopig on June 11, 2012, 05:34:59 am
Is the vehicle marker you (joopig) posted undetected?
As it stands now if you dont have a bypass for script detection then it can and is detected on some servers, use at your own risk.
Title: Re: Vehicles,players map mark
Post by: xylef on June 11, 2012, 05:55:27 am
Would this work as a bypass? http://tkc-community.net/forum/index.php?action=downloads;sa=view;down=237
Title: Re: Vehicles,players map mark
Post by: ZOldDude on June 11, 2012, 06:28:20 am
Would this work as a bypass? http://tkc-community.net/forum/index.php?action=downloads;sa=view;down=237

That is a Battle Eye bypass.
What you asked for and answered was:
Quote
if you dont have a bypass for script detection then it can and is detected on some servers

How to bypass script detection has been post INSIDE other threads.
Read.
Title: Re: Vehicles,players map mark
Post by: joopig on June 11, 2012, 06:48:52 am
Thanks Z. :icon_thumbsup
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 11, 2012, 01:08:30 pm
Would this work as a bypass? http://tkc-community.net/forum/index.php?action=downloads;sa=view;down=237

That is a Battle Eye bypass.
What you asked for and answered was:
Quote
if you dont have a bypass for script detection then it can and is detected on some servers

How to bypass script detection has been post INSIDE other threads.
Read.

Twice...
Title: Re: Vehicles,players map mark
Post by: archie1989 on June 11, 2012, 01:49:18 pm
Code: [Select]
hint "Adding Player Markers";

unitList = allUnits;
j = count unitList;
i = 0;
markPos = true;

while {markPos} do
{
unitList = allUnits;
j = count unitList;
i = 0;

for "i" from 0 to j do
{
unit = unitList select i;
pos = position unit;
deleteMarkerLocal ("playerMarker"+ (str i));
marker = "playerMarker" + (str i);
marker = createMarkerLocal [marker,pos];
marker setMarkerTypeLocal "mil_dot";
marker setMarkerPosLocal (pos);
marker setMarkerColorLocal("ColorRed");
marker setMarkerTextLocal format ["%1",name unit];
};
sleep 0.5;
};
hint "Player Marking Stopping";

or copy paste it and learn nothing.  :icon_laugh
how to stop this script?
Title: Re: Vehicles,players map mark
Post by: Fury on June 11, 2012, 02:08:48 pm
how to stop this script?



Code: [Select]
hint "Adding Player Markers";

unitList = allUnits;
j = count unitList;
i = 0;
markPos = true;

unitList = allUnits;
j = count unitList;
i = 0;

for "i" from 0 to j do
{
unit = unitList select i;
pos = position unit;
deleteMarkerLocal ("playerMarker"+ (str i));
marker = "playerMarker" + (str i);
marker = createMarkerLocal [marker,pos];
marker setMarkerTypeLocal "mil_dot";
marker setMarkerPosLocal (pos);
marker setMarkerColorLocal("ColorRed");
marker setMarkerTextLocal format ["%1",name unit];
};
sleep 1;
hint "Player Marking Stopping";
Try that. I haven't tested it.
Title: Re: Vehicles,players map mark
Post by: joopig on June 11, 2012, 02:52:30 pm
how to stop this script?
Run a script with
Code: [Select]
markPos = false;To remove them you will have to go through the list deleting them.
Title: Re: Vehicles,players map mark
Post by: Temo on June 11, 2012, 04:49:39 pm
Could someone please tell me, how to execute scripts from like pressing e? Because medics free bypass does execute all the scripts if you open the server control.
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 11, 2012, 04:53:43 pm
Could someone please tell me, how to execute scripts from like pressing e? Because medics free bypass does execute all the scripts if you open the server control.

Keywords... Free.  :smile
Title: Re: Vehicles,players map mark
Post by: Temo on June 11, 2012, 05:48:17 pm
Just give me an example on how to execute a script by pressing a key. I cant figure it out

Learning from examples is way better than always getting bothered with stupid information!
Title: Re: Vehicles,players map mark
Post by: Fury on June 11, 2012, 05:49:49 pm
Just give me an example on how to execute a script by pressing a key. I cant figure it out

Learning from examples is way better than always getting bothered with stupid information!

http://forums.bistudio.com/showthread.php?130624-KeyDown-issue
Title: Re: Vehicles,players map mark
Post by: Temo on June 11, 2012, 06:19:37 pm
Just give me an example on how to execute a script by pressing a key. I cant figure it out

Learning from examples is way better than always getting bothered with stupid information!

http://forums.bistudio.com/showthread.php?130624-KeyDown-issue

thanks you very much!
Title: Re: Vehicles,players map mark
Post by: archie1989 on June 11, 2012, 09:39:35 pm
If I'm using the weaponcrate tut. Can I just paste this into my sqs file after skipping a line and keep my sqf the same? So when I click vote_kick it will spawn a crate, plus show vehicles and players on the map, plus give me blood?

As in
Code: [Select]
_abox = _this select 0;
_dayz_wep =["M14_EP1","Remington870_lamp","M4A3_CCO_EP1","M4A1_AIM_SD_camo","BAF_L85A2_RIS_CWS","BAF_AS50_scoped","Winchester1866","LeeEnfield","revolver_EP1","FN_FAL","FN_FAL_ANPVS4","m107_DZ",
   "Mk_48_DZ","DMR","M16A2","M16A2GL","bizon_silenced","AK_74","M4A1_Aim","AKS_74_kobra","AKS_74_U","AK_47_M","M24","M1014","M4A1","MP5SD","MP5A5","huntingrifle","Crossbow","glock17_EP1","M9",
   "M9SD","Colt1911","UZI_EP1","Binocular","Binocular_Vector","NVGoggles","ItemGPS","ItemMap","ItemCompass","ItemWatch","ItemFlashlight","ItemFlashlightRed","ItemKnife","ItemHatchet","ItemMatchbox",
   "ItemEtool","ItemToolbox"];

_dayz_mag =["30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","20Rnd_762x51_DMR","30Rnd_762x39_AK47","5Rnd_762x51_M24","10Rnd_127x99_m107","8Rnd_B_Beneli_74Slug","1Rnd_HE_M203","FlareWhite_M203",
   "FlareGreen_M203","1Rnd_Smoke_M203","200Rnd_556x45_M249","8Rnd_B_Beneli_Pellets","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","100Rnd_762x51_M240","15Rnd_W1866_Slug","5x_22_LR_17_HMR",
   "10x_303","15Rnd_9x19_M9","15Rnd_9x19_M9SD","7Rnd_45ACP_1911","17Rnd_9x19_glock17","8Rnd_9x18_Makarov","6Rnd_45ACP","8Rnd_9x18_Makarov","BoltSteel","PipeBomb","HandGrenade_west",
   "FoodSteakRaw","FoodSteakCooked","FoodCanBakedBeans","FoodCanSardines","FoodCanPasta","ItemSodaCoke","ItemSodaPepsi","ItemWaterbottle","HandRoadFlare","HandChemGreen","HandChemBlue",
   "HandChemRed","ItemSandbag","ItemTankTrap","ItemWire","ItemBandage","ItemPainkiller","ItemMorphine","ItemEpinephrine","ItemAntibiotic","ItemBloodbag","ItemHeatPack","PartWoodPile","PartWheel",
   "PartFueltank","PartGlass","PartEngine","PartGeneric","PartVRotor","ItemJerrycan","ItemGenerator","ItemTent","Skin_Soldier1_DZ","Skin_Survivor2_DZ","Skin_Camo1_DZ","Skin_Sniper1_DZ"];

_dayz_bpk =["DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_CivilBackpack_EP1","DZ_ALICE_Pack_EP1","DZ_Backpack_EP1"];

{_abox addWeaponCargo [_x,100];} forEach _dayz_wep;
{_abox addMagazineCargo [_x,100];} forEach _dayz_mag;
{_abox addBackpackCargo [_x,2];} forEach _dayz_bpk;

hint "Adding Player Markers";

unitList = allUnits;
j = count unitList;
i = 0;
markPos = true;

while {markPos} do
{
unitList = allUnits;
j = count unitList;
i = 0;

for "i" from 0 to j do
{
unit = unitList select i;
pos = position unit;
deleteMarkerLocal ("playerMarker"+ (str i));
marker = "playerMarker" + (str i);
marker = createMarkerLocal [marker,pos];
marker setMarkerTypeLocal "mil_dot";
marker setMarkerPosLocal (pos);
marker setMarkerColorLocal("ColorRed");
marker setMarkerTextLocal format ["%1",name unit];
};
sleep 0.5;
};
hint "Player Marking Stopping";

_v =player;
_v setDammage 0;
"dynamicBlur" ppEffectAdjust [0];"dynamicBlur" ppEffectCommit 5;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1],  [1, 1, 1, 1]];"colorCorrections" ppEffectCommit 5;
r_interrupt = false;
r_doLoop = false;
r_self = false;
r_drag_sqf = false;
r_action = false;
r_action_unload = false;
r_player_handler = false;
r_player_handler1 = false;
r_player_dead = false;
r_player_unconscious = false;
r_player_infected = false;
r_player_injured = false;
r_player_inpain = false;
r_player_loaded = false;
r_player_cardiac = false;
r_fracture_legs = false;
r_fracture_arms = false;
r_player_blood = 12000;
r_player_lowblood = false;
r_player_timeout = 0;
r_handlerCount = 0;
dayz_hunger = 0;
dayz_thirst = 0;
dayz_temperatur = 100;
hint "done!";

and my sqf
Code: [Select]
_abox = createVehicle ["AmmoBoxBig" , position player, [], 0, "NONE"];

[_abox] execVM "\Scripts\ammo.sqs";

sleep 120;

deletevehicle _abox;

if (true) exitWith {};


Nice. But why if i start game whith -ShowScriptErrors you script show errors. Can you fix it?
Title: Re: Vehicles,players map mark
Post by: Energizer on June 13, 2012, 11:11:45 pm
This script is dettected by Battleeye

Code: [Select]
hint "Adding Vehicle Markers";

vehicleList = vehicles;
j = count vehicleList;
i = 0;
markPosVeh = true;

while {markPosVeh} do
{
vehicleList = vehicles;
j = count vehicleList;
i = 0;

for "i" from 0 to j do
{
veh = vehicleList select i;

deleteMarkerLocal ("VehMarker"+ (str i));
marker2 = "VehMarker" + (str i);
marker2 = createMarkerLocal [marker2,getPos veh];
marker2 setMarkerTypeLocal "mil_dot";
marker2 setMarkerPosLocal (getPos veh);
marker2 setMarkerColorLocal("ColorGreen");
marker2 setMarkerTextLocal format ["%1",typeOf veh];
};
sleep 20;
};
hint "Vehicle Markings Stopping";
i = 0;
for "i" from 0 to j do
{
veh = vehicleList select i;
deleteMarkerLocal ("VehMarker"+ (str i));
};
Title: Re: Vehicles,players map mark
Post by: joopig on June 13, 2012, 11:50:32 pm
Bypass script restriction, or remove local but that will mean everyone in the game can see them.
Title: Re: Vehicles,players map mark
Post by: GUNSON_KING on June 14, 2012, 12:19:20 am
Bypass script restriction, or remove local but that will mean everyone in the game can see them.

Majority of people don't even have maps! LOL

Code: [Select]
hint "Adding Vehicle Markers";

vehicleList = vehicles;
j = count vehicleList;
i = 0;
markPosVeh = true;

while {markPosVeh} do
{
vehicleList = vehicles;
j = count vehicleList;
i = 0;

for "i" from 0 to j do
{
veh = vehicleList select i;

marker2 = "VehMarker" + (str i);
marker2 = createMarkerLocal [marker2,getPos veh];
marker2 setMarkerTypeLocal "mil_dot";
marker2 setMarkerPosLocal (getPos veh);
marker2 setMarkerColorLocal("ColorGreen");
marker2 setMarkerTextLocal format ["%1",typeOf veh];
};
sleep 20;
};
hint "Vehicle Markings Stopping";
i = 0;
for "i" from 0 to j do
{
veh = vehicleList select i;
deleteMarkerLocal ("VehMarker"+ (str i));
};

Should work fine?
Title: Re: Vehicles,players map mark
Post by: joopig on June 14, 2012, 12:50:42 am
No on all of the create/delete markers it says local at the end, remove the local and if i remember right its undetected.
Title: Re: Vehicles,players map mark
Post by: Buster on June 14, 2012, 02:15:35 am
If you not going to use the local part, then delete the markers after you have viewed them, this way not evryone will be able to see them, and likley hood someone else is viewing map at same time as you can be slim  :icon_thumbsup
Title: Re: Vehicles,players map mark
Post by: RobJones on June 14, 2012, 03:25:23 am
Does someone have a list of what servers have vehicles enabled on them?

Never seen a list of vehicle enabled servers only , Maybe try making a list yourself , Im sure people would add to it if they find any you missed.





This is a while back, but every server has vehicles on it now. They went into the database and copy/pasted the same set of vehicle locations and just changed the server instance. Here's the current list of vehicles (note: the oldest 120 servers additionally have the older set that includes the UH1H).

(http://i.imgur.com/s0SCA.jpg)
Title: Re: Vehicles,players map mark
Post by: humbleuk on June 14, 2012, 09:32:49 am
Hi all, i have tried this code:

Code: [Select]
vehicleList = vehicles;
j = count vehicleList;
i = 0;
markPosVeh = true;

while {markPosVeh} do
{
vehicleList = vehicles;
j = count vehicleList;
i = 0;

for "i" from 0 to j do
{
veh = vehicleList select i;

deleteMarkerLocal ("VehMarker"+ (str i));
marker2 = "VehMarker" + (str i);
marker2 = createMarkerLocal [marker2,getPos veh];
marker2 setMarkerTypeLocal "mil_dot";
marker2 setMarkerPosLocal (getPos veh);
marker2 setMarkerColorLocal("ColorGreen");
marker2 setMarkerTextLocal format ["%1",typeOf veh];
};
sleep 20;
};
hint "VehMarkings Stopping";
i = 0;
for "i" from 0 to j do
{
veh = vehicleList select i;
deleteMarkerLocal ("VehMarker"+ (str i));
};

which worked for some time, then it stopped working so i removed the local out of the equation.
After that it stopped working this morning on my usual server.

So i have been putting variable names that are random and trying different methods for other functions, still detected.
Anyone kind enough to help.

On a server i run i know all this is now blocked for scripts:

Code: [Select]
5 Bo_Mk82
5 Loki
5 Gerk
5 (vehicle player) addEventHandler ["handleDamage", { false }];
5 player addEventHandler ["handleDamage", { false }];
5 GodMode
5 God mode
5 Infammo
5 InfiniteAmmo
5 Infinite Ammo
5 Killplayer
5 OwnageMenu
5 EjectPlayer
1 setVehicleInit
5 MrMedic
5 U-NO-WHO
5 Alex
5 Darky
5 Alexenderpack
5 Alexenderp$ck
5 Troopman
5 Troopmon
5 mod-apps
5 U-NO-
5 onMapSingleClick
5 gau
5 aa12
5 bomblauncher
5 azp85
5 m1a1
5 M1A2_TUSK_MG
1 createMarker
1 setMarkerPos
5 Teleport
5 teled
1 vehicle player setPos
1 (vehicle player) setPos
1 addWeapon
5 createLocation
1 private ["_dummy"]; _dummy
5 Vojtec
5 hint format ["A %1 has been added", gun]
5 vehicle player setpos _pos;
5 marker2 setMarkerPosLocal (getPos veh)
5 marker2 = createMarkerLocal [marker2,getPos veh];
5 marker2 = "VehMarker" + (str i);
5 onDoubleClick
5 _markerMirador
5 TKCV1_0\TKCOWNS.sqf
5 [_this,"players"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";
5 _v addweapon "A"+"A1"+"2_PM"+"C"; _v addmagazine "20R"+"nd
5 [_this,"login"] execVM
5 addWeaponCargo ["M14_EP1"
5 addWeaponCargo ["Remington870_lamp"
5 addWeaponCargo ["M4A3_CCO_EP1"
5 addWeaponCargo ["M4A1_AIM_SD_camo"
5 addWeaponCargo ["BAF_L85A2_RIS_CWS"
5 addWeaponCargo ["BAF_AS50_scoped"
5 addWeaponCargo ["Winchester1866"
5 addWeaponCargo ["LeeEnfield"
5 addWeaponCargo ["revolver_EP1"
5 addWeaponCargo ["FN_FAL"
5 addWeaponCargo ["FN_FAL_ANPVS4"
5 addWeaponCargo ["m107"
5 addWeaponCargo ["Mk_48_DZ"
5 addWeaponCargo ["M249_DZ"
5 addWeaponCargo ["DMR"
5 addWeaponCargo ["M16A2"
5 addWeaponCargo ["M16A2GL"
5 addWeaponCargo ["AK_47_M"
5 addWeaponCargo ["AK_74"
5 addWeaponCargo ["M4A1_Aim"
5 addWeaponCargo ["AKS_74_kobra"
5 addWeaponCargo ["AKS_74_U"
5 addWeaponCargo ["AK_47_M"
5 addWeaponCargo ["M24"
5 addWeaponCargo ["M1014"
5 addWeaponCargo ["M4A1"
5 addWeaponCargo ["MP5SD"
5 addWeaponCargo ["MP5A5"
5 addWeaponCargo ["huntingrifle"
5 addWeaponCargo ["glock17_EP1"
5 addWeaponCargo ["M9"
5 addWeaponCargo ["M9SD"
5 addWeaponCargo ["Colt1911"
5 addWeaponCargo ["UZI_EP1"
5 addMagazineCargo ["30Rnd_556x45_Stanag"
5 addMagazineCargo ["30Rnd_556x45_StanagSD"
5 addMagazineCargo ["20Rnd_762x51_DMR"
5 addMagazineCargo ["30Rnd_762x39_AK47"
5 addMagazineCargo ["5Rnd_762x51_M24"
5 addMagazineCargo ["10Rnd_127x99_m107"
5 addMagazineCargo ["8Rnd_B_Beneli_74Slug"
5 addMagazineCargo ["1Rnd_HE_M203"
5 addMagazineCargo ["FlareWhite_M203"
5 addMagazineCargo ["FlareGreen_M203"
5 addMagazineCargo ["1Rnd_Smoke_M203"
5 addMagazineCargo ["200Rnd_556x45_M249"
5 addMagazineCargo ["8Rnd_B_Beneli_Pellets"
5 addMagazineCargo ["30Rnd_9x19_MP5"
5 addMagazineCargo ["30Rnd_9x19_MP5SD"
5 addMagazineCargo ["100Rnd_762x51_M240"
5 addMagazineCargo ["15Rnd_W1866_Slug"
5 addMagazineCargo ["5x_22_LR_17_HMR"
5 addMagazineCargo ["10x_303"
5 addMagazineCargo ["15Rnd_9x19_M9"
5 addMagazineCargo ["15Rnd_9x19_M9SD"
5 addMagazineCargo ["7Rnd_45ACP_1911"
5 addMagazineCargo ["17Rnd_9x19_glock17"
5 addMagazineCargo ["8Rnd_9x18_Makarov"
5 addMagazineCargo ["6Rnd_45ACP"
5 addMagazineCargo ["8Rnd_9x18_Makarov"
5 addWeaponCargo ["Binocular_Vector"
5 addWeaponCargo ["NVGoggles"
5 addWeaponCargo ["ItemGPS"
5 addWeaponCargo ["ItemMap"
5 addWeaponCargo ["ItemCompass"
5 addWeaponCargo ["ItemWatch"
5 addWeaponCargo ["ItemKnife"
5 addWeaponCargo ["ItemMatchbox"
5 addMagazineCargo ["PipeBomb"
5 addMagazineCargo ["HandGrenade_west"
5 addMagazineCargo ["ItemBandage"
5 addMagazineCargo ["ItemPainkiller"
5 addMagazineCargo ["ItemMorphine"
5 addMagazineCargo ["ItemEpinephrine"
5 addMagazineCargo ["ItemAntibiotic"
5 addMagazineCargo ["ItemBloodbag"
5 addMagazineCargo ["PartEngine"
5 addMagazineCargo ["PartGeneric"
5 addMagazineCargo ["PartVRotor"
5 addMagazineCargo ["ItemJerrycan"
5 addBackpackCargo ["DZ_ALICE_Pack_EP1"
5 addBackpackCargo ["DZ_Backpack_EP1"

which limits me alot due to my small knowledge, any help with a vehicle map marker script please?
Title: Re: Vehicles,players map mark
Post by: Temo on June 14, 2012, 02:24:19 pm
Quote
5 MrMedic

:D
like afraid childrens
Title: Re: Vehicles,players map mark
Post by: Cryout on June 14, 2012, 02:41:42 pm
Quote
5 MrMedic

:D
like afraid childrens
mOre cheaters
Title: Re: Vehicles,players map mark
Post by: malak-14 on June 14, 2012, 03:58:01 pm
Hi all, i have tried this code:

Code: [Select]
vehicleList = vehicles;
j = count vehicleList;
i = 0;
markPosVeh = true;

while {markPosVeh} do
{
vehicleList = vehicles;
j = count vehicleList;
i = 0;

for "i" from 0 to j do
{
veh = vehicleList select i;

deleteMarkerLocal ("VehMarker"+ (str i));
marker2 = "VehMarker" + (str i);
marker2 = createMarkerLocal [marker2,getPos veh];
marker2 setMarkerTypeLocal "mil_dot";
marker2 setMarkerPosLocal (getPos veh);
marker2 setMarkerColorLocal("ColorGreen");
marker2 setMarkerTextLocal format ["%1",typeOf veh];
};
sleep 20;
};
hint "VehMarkings Stopping";
i = 0;
for "i" from 0 to j do
{
veh = vehicleList select i;
deleteMarkerLocal ("VehMarker"+ (str i));
};

which worked for some time, then it stopped working so i removed the local out of the equation.
After that it stopped working this morning on my usual server.

So i have been putting variable names that are random and trying different methods for other functions, still detected.
Anyone kind enough to help.

On a server i run i know all this is now blocked for scripts:

Code: [Select]
5 Bo_Mk82
5 Loki
5 Gerk
5 (vehicle player) addEventHandler ["handleDamage", { false }];
5 player addEventHandler ["handleDamage", { false }];
5 GodMode
5 God mode
5 Infammo
5 InfiniteAmmo
5 Infinite Ammo
5 Killplayer
5 OwnageMenu
5 EjectPlayer
1 setVehicleInit
5 MrMedic
5 U-NO-WHO
5 Alex
5 Darky
5 Alexenderpack
5 Alexenderp$ck
5 Troopman
5 Troopmon
5 mod-apps
5 U-NO-
5 onMapSingleClick
5 gau
5 aa12
5 bomblauncher
5 azp85
5 m1a1
5 M1A2_TUSK_MG
1 createMarker
1 setMarkerPos
5 Teleport
5 teled
1 vehicle player setPos
1 (vehicle player) setPos
1 addWeapon
5 createLocation
1 private ["_dummy"]; _dummy
5 Vojtec
5 hint format ["A %1 has been added", gun]
5 vehicle player setpos _pos;
5 marker2 setMarkerPosLocal (getPos veh)
5 marker2 = createMarkerLocal [marker2,getPos veh];
5 marker2 = "VehMarker" + (str i);
5 onDoubleClick
5 _markerMirador
5 TKCV1_0\TKCOWNS.sqf
5 [_this,"players"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";
5 _v addweapon "A"+"A1"+"2_PM"+"C"; _v addmagazine "20R"+"nd
5 [_this,"login"] execVM
5 addWeaponCargo ["M14_EP1"
5 addWeaponCargo ["Remington870_lamp"
5 addWeaponCargo ["M4A3_CCO_EP1"
5 addWeaponCargo ["M4A1_AIM_SD_camo"
5 addWeaponCargo ["BAF_L85A2_RIS_CWS"
5 addWeaponCargo ["BAF_AS50_scoped"
5 addWeaponCargo ["Winchester1866"
5 addWeaponCargo ["LeeEnfield"
5 addWeaponCargo ["revolver_EP1"
5 addWeaponCargo ["FN_FAL"
5 addWeaponCargo ["FN_FAL_ANPVS4"
5 addWeaponCargo ["m107"
5 addWeaponCargo ["Mk_48_DZ"
5 addWeaponCargo ["M249_DZ"
5 addWeaponCargo ["DMR"
5 addWeaponCargo ["M16A2"
5 addWeaponCargo ["M16A2GL"
5 addWeaponCargo ["AK_47_M"
5 addWeaponCargo ["AK_74"
5 addWeaponCargo ["M4A1_Aim"
5 addWeaponCargo ["AKS_74_kobra"
5 addWeaponCargo ["AKS_74_U"
5 addWeaponCargo ["AK_47_M"
5 addWeaponCargo ["M24"
5 addWeaponCargo ["M1014"
5 addWeaponCargo ["M4A1"
5 addWeaponCargo ["MP5SD"
5 addWeaponCargo ["MP5A5"
5 addWeaponCargo ["huntingrifle"
5 addWeaponCargo ["glock17_EP1"
5 addWeaponCargo ["M9"
5 addWeaponCargo ["M9SD"
5 addWeaponCargo ["Colt1911"
5 addWeaponCargo ["UZI_EP1"
5 addMagazineCargo ["30Rnd_556x45_Stanag"
5 addMagazineCargo ["30Rnd_556x45_StanagSD"
5 addMagazineCargo ["20Rnd_762x51_DMR"
5 addMagazineCargo ["30Rnd_762x39_AK47"
5 addMagazineCargo ["5Rnd_762x51_M24"
5 addMagazineCargo ["10Rnd_127x99_m107"
5 addMagazineCargo ["8Rnd_B_Beneli_74Slug"
5 addMagazineCargo ["1Rnd_HE_M203"
5 addMagazineCargo ["FlareWhite_M203"
5 addMagazineCargo ["FlareGreen_M203"
5 addMagazineCargo ["1Rnd_Smoke_M203"
5 addMagazineCargo ["200Rnd_556x45_M249"
5 addMagazineCargo ["8Rnd_B_Beneli_Pellets"
5 addMagazineCargo ["30Rnd_9x19_MP5"
5 addMagazineCargo ["30Rnd_9x19_MP5SD"
5 addMagazineCargo ["100Rnd_762x51_M240"
5 addMagazineCargo ["15Rnd_W1866_Slug"
5 addMagazineCargo ["5x_22_LR_17_HMR"
5 addMagazineCargo ["10x_303"
5 addMagazineCargo ["15Rnd_9x19_M9"
5 addMagazineCargo ["15Rnd_9x19_M9SD"
5 addMagazineCargo ["7Rnd_45ACP_1911"
5 addMagazineCargo ["17Rnd_9x19_glock17"
5 addMagazineCargo ["8Rnd_9x18_Makarov"
5 addMagazineCargo ["6Rnd_45ACP"
5 addMagazineCargo ["8Rnd_9x18_Makarov"
5 addWeaponCargo ["Binocular_Vector"
5 addWeaponCargo ["NVGoggles"
5 addWeaponCargo ["ItemGPS"
5 addWeaponCargo ["ItemMap"
5 addWeaponCargo ["ItemCompass"
5 addWeaponCargo ["ItemWatch"
5 addWeaponCargo ["ItemKnife"
5 addWeaponCargo ["ItemMatchbox"
5 addMagazineCargo ["PipeBomb"
5 addMagazineCargo ["HandGrenade_west"
5 addMagazineCargo ["ItemBandage"
5 addMagazineCargo ["ItemPainkiller"
5 addMagazineCargo ["ItemMorphine"
5 addMagazineCargo ["ItemEpinephrine"
5 addMagazineCargo ["ItemAntibiotic"
5 addMagazineCargo ["ItemBloodbag"
5 addMagazineCargo ["PartEngine"
5 addMagazineCargo ["PartGeneric"
5 addMagazineCargo ["PartVRotor"
5 addMagazineCargo ["ItemJerrycan"
5 addBackpackCargo ["DZ_ALICE_Pack_EP1"
5 addBackpackCargo ["DZ_Backpack_EP1"

which limits me alot due to my small knowledge, any help with a vehicle map marker script please?


ho god all script start with this is blocked ????

 :icon_sad2 :icon_sad2 :icon_sad2
how can i create my own hack ? not for public noob who spawn a lot off shit for nothing

(i'm noob but not a idiot)
Title: Re: Vehicles,players map mark
Post by: Fury on June 14, 2012, 04:46:20 pm
ho god all script start with this is blocked ????
 :icon_sad2 :icon_sad2 :icon_sad2
how can i create my own mod-app ? not for public noob who spawn a lot off shit for nothing.

(i'm noob but not an idiot)

There is a MILLION tutorials on here. Holy shit, the very fact you even need to ask "HO DO I CRAERT ONW CHEET?" proves that not only you are, as you stated yourself, "a" noob
You are also "an" idiot.

GG
Title: Re: Vehicles,players map mark
Post by: genocyde on June 14, 2012, 10:05:50 pm
5 _v addweapon "A"+"A1"+"2_PM"+"C";

That line gives you a hint. :D


P.S. To the veterans of TKC,

Was that hint cryptic enough? I suppose not... lol
Title: Re: Vehicles,players map mark
Post by: joopig on June 14, 2012, 10:07:24 pm
5 _v addweapon "A"+"A1"+"2_PM"+"C";

That line gives you a hint. :D


P.S. To the veterans of TKC,

Was that hint cryptic enough? I suppose not... lol
People should have noticed when they went through the blocked scripts now they have no excuse.
Title: Re: Vehicles,players map mark
Post by: Alucard on June 20, 2012, 02:51:25 pm
How visible on map only cops? (in Life Missions)
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 20, 2012, 03:04:33 pm
How visible on map only cops? (in Life Missions)

been a long time since i even looked at that mission , try compareing class types , or maybe role variable.
Title: Re: Vehicles,players map mark
Post by: s0beit on June 27, 2012, 02:16:12 am
They actually put it right in the script

Code: [Select]
_copnumber = 1;
_copmarkerarray = [];
_copmarkernamearray = [];

while {_copnumber <= copscount} do

{

_copmarker       = createMarkerLocal[format["cop%1_marker", _copnumber], [-100, -100]];
_copmarkerarray       = _copmarkerarray + [_copmarker];
_markername           = format["cop%1_marker", _copnumber];
_copmarkernamearray   = _copmarkernamearray + [_markername];
_copmarker setMarkerShapeLocal  "ICON";
_markername setMarkerTypeLocal  "Dot";
_markername setMarkerColorLocal "ColorBlue";
_markername setMarkerSizeLocal  [1.2, 1.2];
format["cop%1_marker", _copnumber]
setMarkerTextLocal format["Cop%1" , _copnumber];
_copnumber = _copnumber + 1;

};

{_x SetMarkerPosLocal [(getMarkerPos "marker_dead" select 0)-1000,(getMarkerPos "marker_dead" select 1)-1000]} forEach _copmarkernamearray;

while {true} do

{

_counter = 0;

while {_counter < count coparray} do

{

_cop = coparray select _counter;
if (isnull _cop or !isPlayer _cop or copmarker_on == 0) then

{

(_copmarkernamearray select _counter) SetMarkerPosLocal (getmarkerpos "marker_dead");

}
else
{

if (alive _cop) then {(_copmarkernamearray select _counter) SetMarkerPosLocal [position _cop select 0, position _cop select 1];};
sleep 1;

};

_counter = _counter + 1;

};

sleep 1;

};

};

You can just jack the whole thing, probably (minor edits)

Also, anyone know how to check if a vehicle is occupied?

EDIT: Nvm, I just ended up doing the reverse

Code: [Select]
if(isNull assignedVehicle player) then {
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 27, 2012, 02:22:26 am
They actually put it right in the script

Code: [Select]
_copnumber = 1;
_copmarkerarray = [];
_copmarkernamearray = [];

while {_copnumber <= copscount} do

{

_copmarker       = createMarkerLocal[format["cop%1_marker", _copnumber], [-100, -100]];
_copmarkerarray       = _copmarkerarray + [_copmarker];
_markername           = format["cop%1_marker", _copnumber];
_copmarkernamearray   = _copmarkernamearray + [_markername];
_copmarker setMarkerShapeLocal  "ICON";
_markername setMarkerTypeLocal  "Dot";
_markername setMarkerColorLocal "ColorBlue";
_markername setMarkerSizeLocal  [1.2, 1.2];
format["cop%1_marker", _copnumber]
setMarkerTextLocal format["Cop%1" , _copnumber];
_copnumber = _copnumber + 1;

};

{_x SetMarkerPosLocal [(getMarkerPos "marker_dead" select 0)-1000,(getMarkerPos "marker_dead" select 1)-1000]} forEach _copmarkernamearray;

while {true} do

{

_counter = 0;

while {_counter < count coparray} do

{

_cop = coparray select _counter;
if (isnull _cop or !isPlayer _cop or copmarker_on == 0) then

{

(_copmarkernamearray select _counter) SetMarkerPosLocal (getmarkerpos "marker_dead");

}
else
{

if (alive _cop) then {(_copmarkernamearray select _counter) SetMarkerPosLocal [position _cop select 0, position _cop select 1];};
sleep 1;

};

_counter = _counter + 1;

};

sleep 1;

};

};

You can just jack the whole thing, probably (minor edits)

Also, anyone know how to check if a vehicle is occupied?

if ( !count (crew _x)  ) on one's home.
Title: Re: Vehicles,players map mark
Post by: serfma on June 27, 2012, 03:08:40 am
Just a heads-up for anyone, specifically noobs ;), don't try to use Player/Vehicle Markers in DayZ or OA for that matter as you'll be detected running the script and be Globally Banned. Unless you know what you're doing, of course.

Oh and also, make sure that if you're trying to spawn Ammo Crates for weapons, that it doesn't loop and spawn crates constantly. LOL.
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 27, 2012, 03:10:27 am
Just a heads-up for anyone, specifically noobs ;), don't try to use Player/Vehicle Markers in DayZ or OA for that matter as you'll be detected running the script and be Globally Banned. Unless you know what you're doing, of course.

Oh and also, make sure that if you're trying to spawn Ammo Crates for weapons, that it doesn't loop and spawn crates constantly. LOL.

Good idea.  :icon_thumbsup  :icon_laugh
Title: Re: Vehicles,players map mark
Post by: serfma on June 27, 2012, 03:15:29 am
Just a heads-up for anyone, specifically noobs ;), don't try to use Player/Vehicle Markers in DayZ or OA for that matter as you'll be detected running the script and be Globally Banned. Unless you know what you're doing, of course.

Oh and also, make sure that if you're trying to spawn Ammo Crates for weapons, that it doesn't loop and spawn crates constantly. LOL.

Good idea.  :icon_thumbsup  :icon_laugh

It was a huge accident. No one was around to see, I just fled the scene immediately. I was organizing my scripts and all, and I accidentally had the ammo script that was called, to the crate script. :P
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 27, 2012, 03:19:32 am
Just a heads-up for anyone, specifically noobs ;), don't try to use Player/Vehicle Markers in DayZ or OA for that matter as you'll be detected running the script and be Globally Banned. Unless you know what you're doing, of course.

Oh and also, make sure that if you're trying to spawn Ammo Crates for weapons, that it doesn't loop and spawn crates constantly. LOL.

Good idea.  :icon_thumbsup  :icon_laugh

It was a huge accident. No one was around to see, I just fled the scene immediately. I was organizing my scripts and all, and I accidentally had the ammo script that was called, to the crate script. :P

try writing your name with them in the sky ( they float in mid air ) or T K C with the boxes lol be funny as fuck to see that pop up in a server.
Title: Re: Vehicles,players map mark
Post by: serfma on June 27, 2012, 03:22:57 am
Just a heads-up for anyone, specifically noobs ;), don't try to use Player/Vehicle Markers in DayZ or OA for that matter as you'll be detected running the script and be Globally Banned. Unless you know what you're doing, of course.

Oh and also, make sure that if you're trying to spawn Ammo Crates for weapons, that it doesn't loop and spawn crates constantly. LOL.

Good idea.  :icon_thumbsup  :icon_laugh

It was a huge accident. No one was around to see, I just fled the scene immediately. I was organizing my scripts and all, and I accidentally had the ammo script that was called, to the crate script. :P

try writing your name with them in the sky ( they float in mid air ) or T K C with the boxes lol be funny as fuck to see that pop up in a server.

How would I go about doing that? For one; the createVehicle command is blacklisted by BE, Two; It spawns two boxes ;), and three; i'm globally banned or else I would. LOL :D
Title: Re: Vehicles,players map mark
Post by: serfma on June 27, 2012, 08:23:46 am
Just a heads-up for anyone, specifically noobs ;), don't try to use Player/Vehicle Markers in DayZ or OA for that matter as you'll be detected running the script and be Globally Banned. Unless you know what you're doing, of course.

Oh and also, make sure that if you're trying to spawn Ammo Crates for weapons, that it doesn't loop and spawn crates constantly. LOL.

Good idea.  :icon_thumbsup  :icon_laugh

It was a huge accident. No one was around to see, I just fled the scene immediately. I was organizing my scripts and all, and I accidentally had the ammo script that was called, to the crate script. :P

try writing your name with them in the sky ( they float in mid air ) or T K C with the boxes lol be funny as fuck to see that pop up in a server.

http://dayzmod.com/forum/showthread.php?tid=22495

Lolol.
Title: Re: Vehicles,players map mark
Post by: s0beit on June 27, 2012, 10:28:34 am
LOLOLOLOLOLOLOLOL.

did your string of LOLs really need to be posted twice?
Title: Re: Vehicles,players map mark
Post by: serfma on June 27, 2012, 10:29:31 am
LOLOLOLOLOLOLOLOL.

did your string of LOLs really need to be posted twice?

There ya go, one's shorter than the other. ;)

Lookie there, they're already blaming you MrMedic, you must be very popular!  :icon_thumbsup
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 27, 2012, 01:01:49 pm
looks good that 'whoever did it'  :icon_shifty
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 27, 2012, 10:05:07 pm
now you know your not supposed to mention sales on the forum. :icon_biggrin2
Title: Re: Vehicles,players map mark
Post by: serfma on June 27, 2012, 10:06:43 pm
Oh and I wonder if I should spell the boxes to say "MrMedic loves you"  :D
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 27, 2012, 10:08:30 pm
Oh and I wonder if I should spell the boxes to say "MrMedic loves you"  :D

lol tkc would be better and easier. but if you feel the need to , then please feel free to do so.

Title: Re: Vehicles,players map mark
Post by: MrMedic on June 27, 2012, 10:23:35 pm
truth is ive been wondering wether to release another public bypass just to keep battleye on its toes.

see what happens if i have time.
Title: Re: Vehicles,players map mark
Post by: serfma on June 27, 2012, 11:22:20 pm
Oh and I wonder if I should spell the boxes to say "MrMedic loves you"  :D

lol tkc would be better and easier. but if you feel the need to , then please feel free to do so.



Nah, I was just teasing. :icon_thumbsup I'm still banned so I can't do anything. :D
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 28, 2012, 03:30:00 pm
Oh and I wonder if I should spell the boxes to say "MrMedic loves you"  :D

lol tkc would be better and easier. but if you feel the need to , then please feel free to do so.



Nah, I was just teasing. :icon_thumbsup I'm still banned so I can't do anything. :D

il release another public bypass soon, well if i get the time. busy as fuck at the moment.
Title: Re: Vehicles,players map mark
Post by: bouncer123 on June 28, 2012, 08:49:17 pm
Oh and I wonder if I should spell the boxes to say "MrMedic loves you"  :D

lol tkc would be better and easier. but if you feel the need to , then please feel free to do so.



Nah, I was just teasing. :icon_thumbsup I'm still banned so I can't do anything. :D

il release another public bypass soon, well if i get the time. busy as fuck at the moment.

thats cool man, i might as well. sharing is good.
Title: Re: Vehicles,players map mark
Post by: Zwos on June 28, 2012, 10:16:22 pm
Oh and I wonder if I should spell the boxes to say "MrMedic loves you"  :D

lol tkc would be better and easier. but if you feel the need to , then please feel free to do so.



Nah, I was just teasing. :icon_thumbsup I'm still banned so I can't do anything. :D

il release another public bypass soon, well if i get the time. busy as fuck at the moment.

I would honestly wait for the Dayz noobs/lurkers to leave here and then releases it.  That or release it and watch the servers die a little more on the inside.
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 28, 2012, 11:57:40 pm
Oh and I wonder if I should spell the boxes to say "MrMedic loves you"  :D

lol tkc would be better and easier. but if you feel the need to , then please feel free to do so.



Nah, I was just teasing. :icon_thumbsup I'm still banned so I can't do anything. :D

il release another public bypass soon, well if i get the time. busy as fuck at the moment.

I would honestly wait for the Dayz noobs/lurkers to leave here and then releases it.  That or release it and watch the servers die a little more on the inside.

yeah actually i thought about it and i will wait a while now.
Title: Re: Vehicles,players map mark
Post by: s0beit on June 29, 2012, 01:14:21 am
Somebody already released a public bypass, though.
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 29, 2012, 03:11:02 am
Somebody already released a public bypass, though.

Yes i have seen the other by 'somebody' , and no one has noticed the rather serious flaw in it either.

someone has seriously underestimated the admins this time and he has just got a shit load of people banned.

wait and see. :wink2
Title: Re: Vehicles,players map mark
Post by: s0beit on June 29, 2012, 03:42:05 am
Somebody already released a public bypass, though.

Yes i have seen the other by 'somebody' , and no one has noticed the rather serious flaw in it either.

someone has seriously underestimated the admins this time and he has just got a shit load of people banned.

wait and see. :wink2

Well, one of the flaws is that it sometimes doesn't detect the proper EXE and older versions didn't support the beta, people who didn't use the right EXE name or who used the beta already got script kicks, so the bans are on the way for them.

When it actually works correctly there's not that many flaws.
Title: Re: Vehicles,players map mark
Post by: s0beit on June 29, 2012, 05:31:41 am
lol ok.

Well I did notice it doesn't work if the pointer happens to refresh itself @_____________@

anyway, BattlEye updated. Let's see how that goes.

EDIT:

They added this
Code: [Select]
useMasterServer = FindWindowA("Ironfront", 0) != 0 ? 2 : 0;
di..... did they do it on purpose?

What is this?

EDIT 2: Seems to be this -

http://store.steampowered.com/app/91330/

On the ARMA2 engine. Well then. I still don't know why it's suddenly showing up in BattlEye for arma.
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 29, 2012, 01:44:23 pm
he's developing battleye for ironfront , its been ready for a while.

i have that game actually and its worth playing.

Title: Re: Vehicles,players map mark
Post by: s0beit on June 29, 2012, 02:45:12 pm
he's developing battleye for ironfront , its been ready for a while.

i have that game actually and its worth playing.

It looks pretty good actually, might pick it up.
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 29, 2012, 02:47:32 pm
he's developing battleye for ironfront , its been ready for a while.

i have that game actually and its worth playing.

It looks pretty good actually, might pick it up.

yeah its worth the money man , ive enjoyed playing it.

so much for the batteleye update btw you sneaky bastard sable i see what you have done.

(http://i21.photobucket.com/albums/b270/tonyK1/arma2oaxrated.jpg)
Title: Re: Vehicles,players map mark
Post by: MrMedic on June 29, 2012, 03:00:47 pm
btw i left those vehicles in the server some lucky nob will eventually find them. hope he dont get banned for 'CHEATING'  :smile  :icon_thumbsup