wow之找人物坐标

本文介绍了一种在魔兽世界游戏中定位动态分配内存位置的方法。通过利用静态指针及其偏移量来跟踪玩家位置等数据的变化,实现对动态内存区域的有效定位。文中详细描述了定位流程,并提出可通过追踪内核调用来进一步探索动态数据段。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I think I found a way to track down dynamic allocated data: some static pointers(like player position) are very kindly mirrored by WoW into the dynamic zones, at known offsets.
The routine is pretty simple:
1. Read static pointer
2. Scan memory for that value
3. Move character just a bit
4. Repeat
5. ...
6. Profit?


Considering they are float and you know their exact value at any time by reading the static pointers, you only need maybe 3 or 4 scans of memory to identify the dynamic allocated memory origins.

Another aproach could be to track down the calls for kernel32.VirtualAlloc (11 calls in WoW) to find the start address of the dynamic data segments when they get allocated by the system.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值