
Originally Posted by
Angiexx
Please please guys what's the offset in the world pointer for the mob entities! Help a girl out here
weird i just noticed this post
anyways doesn’t matter if ur a girl or a guy
i'm gonna explain how to reach the mobs
but not just mobs, u’ll actually be able to reach lots of stuff
like mobs, chests, skulls, and even machines u see around the world
CholeOwO also showed how to reach entities
but i totally get it if her way feels a bit hard for ppl who are super new to reverse engineering
so imma show u a more common way to get to the entities
and it's by using the address, pointer, and offsets
btw don’t worry too much abt how the code is written
this is just for explaining the logic
exapmle code:
Code:
# Name of the game module
module = 'Trove.exe'
# Pointer to the start of the entity list
entity_list_ptr = module + 0x1097504
# Offset to the first entity node
first_node = [0x7C]
# Step between entities in memory (used in for loop)
entity_step = [0x80] #int
# Total number of entities (used as range limit)
entity_list_size = [0x84] #int
# Entity coordinates (X, Y, Z)
coord_x_offsets = [0x7C, Entity_Offsets, 0xC4, 0x4, 0x80] # Float
coord_y_offsets = [0x7C, Entity_Offsets, 0xC4, 0x4, 0x88] # Float
coord_z_offsets = [0x7C, Entity_Offsets, 0xC4, 0x4, 0x84] # Float
# Entity health
health_offsets = [0x7C, Entity_Offsets, 0xC4, 0x84, 0x80] # double
# Entity level
level_offsets = [0x7C, Entity_Offsets, 0xC4, 0x54, 0x120] # int
# Entity name
name_offsets = [0x7C, Entity_Offsets, 0x64, 0x0] # string
# Entity scale (hitbox size)
scale_offsets = [0x7C, Entity_Offsets, 0xC4, 0x4, 0x80] + 0x74# Float
# Check if entity is dead
is_dead_offsets = [0x7C, Entity_Offsets, 0x0] # int
# Notes:
# - You can loop through entities like this:
# for i in range(size): addr = base + i * step
# - If step doesn't work, try using i * 0x8 instead
# - To check if an entity is a mob or boss:
# use either level or scale (hitbox size)