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.
wow之找人物坐标
最新推荐文章于 2024-07-22 19:45:00 发布
本文介绍了一种在魔兽世界游戏中定位动态分配内存位置的方法。通过利用静态指针及其偏移量来跟踪玩家位置等数据的变化,实现对动态内存区域的有效定位。文中详细描述了定位流程,并提出可通过追踪内核调用来进一步探索动态数据段。
部署运行你感兴趣的模型镜像
您可能感兴趣的与本文相关的镜像
Langchain-Chatchat
AI应用
Langchain
Langchain-Chatchat 是一个基于 ChatGLM 等大语言模型和 Langchain 应用框架实现的开源项目,旨在构建一个可以离线部署的本地知识库问答系统。它通过检索增强生成 (RAG) 的方法,让用户能够以自然语言与本地文件、数据库或搜索引擎进行交互,并支持多种大模型和向量数据库的集成,以及提供 WebUI 和 API 服务
5万+

被折叠的 条评论
为什么被折叠?



