Changing a source code

Posts 1–3 of 3 · Page 1 of 1
Changing a source code
Hello, if anyone would be able to help me I would appreciate it

DWORD_PTR pADroppedItemGroup = mem->RPM<DWORD_PTR>(DroppedItemGroupArray + j * 0x10, 0x8);
Vector3 relative = mem->RPM<Vector3>(pADroppedItemGroup + 0x1E0, 0xC);
Vector3 screenloc = WorldToScreen(GetActorPos(entity) + relative, global::cameracache);
DWORD_PTR pUItem = mem->RPM<DWORD_PTR>(pADroppedItemGroup + 0x448, 0x8);
DWORD_PTR pUItemFString = mem->RPM<DWORD_PTR>(pUItem + 0x40, 0x8);
DWORD_PTR pItemName = mem->RPM<DWORD_PTR>(pUItemFString + 0x28, 0x8);

So theres the code, im not exactly sure what its doing all I know is its detecting items in game, is there anywhere in this code im able to disable certain items? Or does it scan for all items. Also if anyone has item ESP source code for PUBG I would <3 you forever.
Its obvious that it gets the some Info of any thing:
-Ingame Vector3 Position
-Screen Coords
-Item Name

For saying if u can "disable" items, i'm not sure what are u talking about.
If u want just ignore certain items in this loop..
well you have at least the Item Name, so you can do at least String Compare.

If this is PUBG then the answer for your ESP Request is extremly simple, because you have here already the Screen Coords
you have just to draw a Rect there.
Quote Originally Posted by Eclipse View Post
Hello, if anyone would be able to help me I would appreciate it




So theres the code, im not exactly sure what its doing all I know is its detecting items in game, is there anywhere in this code im able to disable certain items? Or does it scan for all items. Also if anyone has item ESP source code for PUBG I would <3 you forever.
i dont personally know anything about PUBG, so...
i also don't know what you're asking. looks like you're trying to say that you don't know c/c++ and dont know what that code is doing.

the code is creating a few variables. the two used datatypes are a DWORD pointer and a 3D Vector (which is used as a coordinate, not a vector).

(pointer to dropped item group A) pADroppedItemGroup's value is achieved by reading the memory of PUBG. specifically, an offset from DroppedItemGroupArray. it's basically just checking to see it's group identity.

(screen location) screenloc just gets the location of your view (think of your head in game) by taking some previously found information from relative+pADroppedItemGroup. this is just for DRAWING, not actually relevant rn.

now if you mean disable the item from use, i'm sure you could investigate the weapon structure in game and see if there's something you can do to disable it. if you've seen it in other cheats commonly, it's probably easy to find what address you need to write to to disable it by looking at their sources. if you haven't and are trying to make something new, I doubt it exists - granted i havent look at the structure myself.

now if you mean disabling the item from being drawn, just take a look at what you're reading. item string and item name are likely going to be unique for every weapon, create a filter list before drawing it.
black list it (if item is !ak&&!glock, draw) or whitelist it (if item is m4||deagle, draw). you'll have to look at the return values from what you're reading.

if you're trying to disable drawing weapons with certain subactives (like silencer or something), then i don't think you're able to with just the code you've provided. you'll have to look through the weapon structure (pUItem specifically) to see if there's something that shows subactives. same logic as before, make a filter list before drawing.
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us