SolvedHow does one make an item ESP?

Posts 16 of 6 · Page 1 of 1
How does one make an item ESP?
Im not going to be asking for Item ESP's, but if you have a free one, linky :P

Anyways, I know things like teleportation and other hacks/glitches get detected/patched quite quickly and bans are handed out. But an item ESP would be almost impossible to detect right? Because nothing wrong would be happening to my DayZ character, I'd be moving at normal speeds, looting at normal speeds ect. So are Item ESP's undetectable? If so, how would I go about making them, I know some basic coding here and there several different languages ect.
In other words, could someone link me to a thread of where to start when making an esp hack or tell me here? Thanks
Also, the steam SA version, not the pirated one.
Heres a quick tutorial on item ESP in SQF and how to customize it.

Code:
n13 =
	{
		n132 = 
		{
			if (isNil 'n131') then {n131 = 0;};
			if (n131 == 0) then
			{
				hint "All Items ESP ON";
				n131 = 1;
				arr2 = [];
				while {n131 == 1} do
				{
					_entities = (allMissionObjects "inventorybase");
					{
						if !(_x in arr2) then {
							arr2 = arr2 + [_x];
							[_x] spawn n133;
							sleep 0.25;
						};
					} forEach _entities;
					sleep 5;
				};
			} else {
				hint "All Items ESP OFF";
				n131 = 0;
			};
		};
		n133 = 
		{
			disableSerialization;
			if (isNil 'ESP_Count') then {ESP_Count = 2733;};
			ESP_Count cutRsc ['rscDynamicText', 'PLAIN'];
			ESP_Count = ESP_Count + 1;
			_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
			_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
			_unit = _this select 0;
			while {(!isNull _unit) && ((player distance _unit) < 1000)} do
			{
				if (n131 == 0) exitWith {arr2 = arr2 - [_unit];_ctrl ctrlShow false;_ctrl ctrlEnable false;};
				_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2)];
				_pos2D = WorldToScreen _pos;
				if (count _pos2D > 0) then
				{
					_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
					_text = parseText format ["<t size='0.22' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
					_ctrl ctrlSetStructuredText _text;
					_ctrl ctrlCommit 0;
				};
				sleep 0.01;
			};
			arr2 = arr2 - [_unit];
			_ctrl ctrlShow false;
			_ctrl ctrlEnable false;
		};
		[] spawn n132;
	};
Find this line

Code:
 _entities = (allMissionObjects "inventorybase");
The part in quote wraps ("") can be changed to any item classname. for example "riflecore" would be all rifles in the game or "repeater" which would just be that one rifle.

They can also be combined to add multiple objects such as
Code:
(allMissionObjects "riflecore") + (allMissionObjects "ShotgunBase") + (allMissionObjects "pistolcore");
If you want vehicles instead do
Code:
(allMissionObjects "V3S_Cargo") or (allMissionObjects "LandVehicle");

Changing Color and Size

Find this line
Code:
_text = parseText format ["<t size='0.22' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
Change the quotes to what ever size you want
Code:
size='0.22'
Color is changed here it uses Html color code
Code:
color='#00FC97'
Quote Originally Posted by Mizzle420420 View Post
[COLOR="DarkRed"][COLOR="#890000"]Heres a quick tutorial on item ESP in SQF and how to customize it. -snip-
So with code like that would I need to get an injector and then use the code and inject it into DayZ?
Also, I need to learn SQF it seems :3

Edit - is allMissionObjects "inventorybase" everything? Or only things like canned food, drinks, ect. and is there a way to see all these different values and what is included in them for things like water pumps?
Yes you need a script injection method

- - - Updated - - -

Quote Originally Posted by pinkieseb74 View Post
Edit - is allMissionObjects "inventorybase" everything? Or only things like canned food, drinks, ect. and is there a way to see all these different values and what is included in them for things like water pumps?
It includes all items that can be stored in your inventory.
Quote Originally Posted by Mizzle420420 View Post
Yes you need a script injection method

- - - Updated - - -



It includes all items that can be stored in your inventory.
Okay. I should learn to Execute and inject this stuff first then :3 Thanks for all the help
Quote Originally Posted by pinkieseb74 View Post
Okay. I should learn to Execute and inject this stuff first then :3 Thanks for all the help
Believe this is solved.
/Closed
Posts 16 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?