Game Hacks and Cheats

Dayz SA Source

Submitted by CAPVACSPARROW, , Thread ID: 141468

Thread Closed
CAPVACSPARROW
Newbie
Level:
0
Reputation:
0
Posts:
14
Likes:
0
Credits:
9
25-08-2019, 09:43 PM
#1
Code:
using ptr_t = reborn::offset_pointer<uint64_t, uint64_t>;

union Position
{
ptr_t::variable<float, 0x00> x;
ptr_t::variable<float, 0x04> y;
ptr_t::variable<float, 0x08> z;
};
union Entity_RenderVisualState
{
ptr_t::variable<Position, 0x2C> pos;
ptr_t::variable<int, 0x02> var;
};
union String
{
ptr_t::variable<uint32_t, 0x08> size;
ptr_t::variable_cstr<0x10> name;
};
union EntityType
{
ptr_t::variable<String*, 0x68> type_name;
ptr_t::variable<String*, 0x450> clean_name;
};
union Entity
{
ptr_t::variable<EntityType*, 0xE0> render_entity_type;
ptr_t::variable<Entity_RenderVisualState*, 0x130> render_visual_state;
};
union EntityTableEntry
{
ptr_t::variable<uint32_t, 0x00> item_type;
ptr_t::variable<Entity*, 0x08> entity0;
ptr_t::variable<Entity*, 0x10> entity1;
};
union EntityTable
{
ptr_t::variable_arr<EntityTableEntry, 0x00, 0x18> entries;
};
union World
{
ptr_t::variable<EntityTable*, 0xD30> bullet_table;
ptr_t::variable<EntityTable*, 0xE78> near_animal_table;
ptr_t::variable<EntityTable*, 0xFC0> far_animal_table;
ptr_t::variable<EntityTable*, 0x1F28> slow_animal_table;
ptr_t::variable<EntityTable*, 0x1F78> item_table;
};
union Base
{
ptr_t::variable<World*, 0xDD4ED0> world;
};

int main()
{
mapper_dayz_external::init();
Base b{mapper_dayz_external::base};
uint32_t errors = 0;
int32_t start = -1;
for (std::size_t i = 0; i < 3000; i++)
{
        // just in case a exception is thrown (I don't know whether 3000 is correct)
try
{
auto entry = b.world->item_table->entries[i];
if (*entry->item_type != 0)
{
auto entity0 = entry->entity0;
auto render_entity_type = entity0->render_entity_type;
auto type_name = render_entity_type->type_name;
std::string name = *type_name->name;
std::cout << name << std::endl;
}
}
catch (...)
{
}
}
}
The hugest benefit of this library is, that this code can be used internal as well as external.
Code:
using ptr_t = reborn::native_ptr<uint64_t, uint64_t, mapper_dayz_external>;


You just have to change the ptr_t typedef, e.g. to:

RE: Dayz SA Source

saya
Junior Member
Level:
0
Reputation:
0
Posts:
50
Likes:
0
Credits:
0
25-08-2019, 10:22 PM
#2
what type of leak is this now exactly? like a cheat source leak or what?

RE: Dayz SA Source

Nest1
Junior Member
Level:
0
Reputation:
0
Posts:
56
Likes:
1
Credits:
0
25-08-2019, 10:26 PM
#3
what type of leak is this now exactly? like a cheat source leak or what?

RE: Dayz SA Source

captainploo
Closed Account
Level:
0
Reputation:
0
Posts:
14
Likes:
0
Credits:
14
17-01-2020, 12:37 AM
#4
Thank you so much for this script now I can finally play the game a lot easier than I was before

RE: Dayz SA Source

itsthessd
Newbie
Level:
0
Reputation:
0
Posts:
17
Likes:
0
Credits:
11
27-02-2020, 07:29 AM
#5
Dope bro good post good to see people out here livin

RE: Dayz SA Source

wimm
Lurker
Prime
Level:
0
Reputation:
0
Posts:
5
Likes:
0
Credits:
27
17-10-2021, 09:54 AM
#6
Ehm, doesn't seem to be anything to be honest. Also, don't hack your game and don't get attached to your gear

RE: Dayz SA Source

Ye4
Newbie
Level:
1
Reputation:
0
Posts:
14
Likes:
0
Credits:
15
11-11-2021, 07:04 PM
#7
[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]thanks ufor the sourcebuddy, hella cool too[/font]

RE: Dayz SA Source

Orbuzus
Newbie
Level:
1
Reputation:
0
Posts:
14
Likes:
0
Credits:
0
10-02-2022, 12:34 AM
#8
what type of leak is this now exactly? like a cheat source leak or what?

Users browsing this thread: 1 Guest(s)