打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
转载:看看代码读写了哪些地址
CE的帮助中有不少有用的知识和技巧,我粗略地翻译了一下,应该不算真正的翻译,只能算是导读吧,供那些英文不好的朋友参考一下,不一定准确,我附上原文供大家对照,建议大家参照着原文来看。

  Find out what addresses are accessed by a piece of code

  Originally posted by Dark Byte

  Sometimes when you've found a address and the code to change that address is also used to change other addresses (like that of the enemy) the following function will be usefull:

  When you've found the code that accesses the address you've found you can save that and use it to find the address you are looking for, so you don't have to go through the slow scanning routine again. (unless of course scanning for it is a lot faster than this, like finding a piece of text and then recalculating the rest)

  Go to the advanced window, rightclick the code and choose "Find out what addresses this code writes to" (or reads from depending on what kind of code it is, and can sometimes be a write instead of a read but that doesn't matter) and play the game. after a while the list will be filled up with all the addresses that that code used. (enemy's energy including if it is also used to handle the enemy)

  Only downside is that this (currently) only works for instructions that have a [...] part. So instructions like "rep movsb" won't work, but that is a instruction thats useless to cheating anyhow)

  看看代码读写了哪些地址

  原帖由Dark Byte(CE作者)发表

  有时当你找到了一个地址,并且改变这个地址的指令还同时用来改变别的地址(象是敌人的同样地址(CCB:就象是修改你HP的指令同时也用来修改敌人的HP)),以下的功能会对这种情况很有用:

  当你找到了一条指令读写你找到的一个地址时,你可以保存这条指令并用它来找你要找的地址,这样你就不用再次经过漫长的搜索过程。(除非搜索过程比用指令来找要更快,就象是找文本的一部分并重新计算出剩下的)

  打开"Advanced"窗口,右击那一条指令并选择“Find out what addresses this code writes to(CCB:看看这条指令写入什么地址)"(或者“读取什么地址”,看是哪一类型的指令而定,并且有时可用“写入”代替“读取”但这并不重要)并继续游戏。过一会儿之后列表中会填上所有这条指令曾经使用过的地址。(包括敌人的能源值,如果这条指令也用来处理敌人的数值的话)

  唯一的缺点是(目前来说)这个方法只对那些包含有[...]部分的指令有效(CCB:指令中的操作数有包含方括号的,方括号里面的就是内存地址)。所以象那些“rep movsb”之类的指令,这个方法无效。不过这样的指令对于游戏的修改没什么用处。

  【CCB总结】

  这可是CE作者写的哦,呵呵。这个功能和Find out what access this address(看看哪条指令读写这个地址)是一对双胞胎,不过这一个相对少用一些,但很有用,有时根据一个地址找到了读写这个地址的指令之后,再反过来从这条找到的指令找找看这个指令读写了哪些地址,有时也很有用。比如说从找到你的HP的地址,再找到读写你HP的指令,然后从这条指令又找到了敌人的HP,这在单机游戏上来说也很有用,特别是敌人的HP有时不象我们自己的HP那样可以很容易地看到当前的数值的时候,用这种方式就比较方便了。

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
通达信设置外挂
对stm32启动代码DCD sfe(CSTACK)的理解
SAP MM 由于没有维护Plant的Address信息导致不能在ME51N和ME21N界面里输入工厂代码
Swift code和Swift bic是一样的吗?
分享7天速成一款RTS游戏的经验 | GamerBoom.com 游戏邦
"邮政"相关的图文英语词汇
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服