 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Einhuhn Cheater
Reputation: 0
Joined: 06 Apr 2022 Posts: 44
|
Posted: Sun Jan 14, 2024 10:13 am Post subject: My Tutorial Game crash on this Code. What's wrong? |
|
|
cmp [rax+70],1 <- Enemy's stand on 0070 on 1. Player on 0
je Enemy <- Jump to the "Enemy" entry if 0070 1
add [rax]+60],1 <- Stand on 0060 for the maximal HP. For the Player
and the both Enemy's.
Because the CMP only the Player
become this. Because he has on 70 a 0.
Enemy:
sub [rax+60],1 <- Because the CMP, only the both Enemy's
become this. Because he has on 70 a 1.
ret
jmp return
What is wrong? |
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Jan 14, 2024 10:56 am Post subject: |
|
|
Assuming that you do not have comments written out in your script like you have shown here, then one thing that stands out is this:
Should probably read:
|
|
| Back to top |
|
 |
Einhuhn Cheater
Reputation: 0
Joined: 06 Apr 2022 Posts: 44
|
Posted: Sun Jan 14, 2024 6:29 pm Post subject: |
|
|
| ++METHOS wrote: | Assuming that you do not have comments written out in your script like you have shown here, then one thing that stands out is this:
Should probably read:
|
Yes. I had written too fast. I'm even embarrassed now, because I didn't even notice the error, even when I wrote the code here in the forum.
Thanks for pointing out my mistake.  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
'][0]['L_POST_REPLY_TOPIC'] : '') , '" align="middle" />
';
$_switch_quick_reply_count = (isset($this->_tpldata['switch_quick_reply'])) ? sizeof($this->_tpldata['switch_quick_reply']) : 0;for ($_switch_quick_reply_i = 0; $_switch_quick_reply_i < $_switch_quick_reply_count; $_switch_quick_reply_i++){
echo '
';
} // END switch_quick_reply
echo ' |
';
echo '
';
echo ' ' , ((isset($this->_tpldata['.'][0]['L_INDEX'])) ? $this->_tpldata['.'][0]['L_INDEX'] : '') , '
';
$_switch_parent_link_count = (isset($this->_tpldata['switch_parent_link'])) ? sizeof($this->_tpldata['switch_parent_link']) : 0;for ($_switch_parent_link_i = 0; $_switch_parent_link_i < $_switch_parent_link_count; $_switch_parent_link_i++){
echo ' -> ' , ((isset($this->_tpldata['.'][0]['PARENT_NAME'])) ? $this->_tpldata['.'][0]['PARENT_NAME'] : '') , '
';
} // END switch_parent_link
echo ' -> ' , ((isset($this->_tpldata['.'][0]['FORUM_NAME'])) ? $this->_tpldata['.'][0]['FORUM_NAME'] : '') , ' |
';
echo '
';
echo ' ' , ((isset($this->_tpldata['.'][0]['S_TIMEZONE'])) ? $this->_tpldata['.'][0]['S_TIMEZONE'] : '') , ' ' , ((isset($this->_tpldata['.'][0]['PAGINATION'])) ? $this->_tpldata['.'][0]['PAGINATION'] : '') , '
';
echo ' |
';
echo '
';
echo '