07-16-2008, 02:06 PM
I was trying to copy firzen`s AI(CMP DWORD PTR DS:[ECX+6F4],33)
But when I test the game ,it crashed. :confused:
is there some thing wrong??
I tried to copy Firzen`s AI (ID: 51) to ID 60:
0040C7B6 . E9 575E0300 JMP S.00442612
0040C7BB 00 DB 00
0040C7BC 33 DB 33 ; CHAR '3'
0040C7BD . 0F85 28020000 JNZ S.0040C9EB
0040C7C3 > 8B48 70 MOV ECX,DWORD PTR DS:[EAX+70]
0040C7C6 . 81F9 09010000 CMP ECX,109
0040C7CC . 7E 65 JLE SHORT S.0040C833
0040C7CE . 81F9 18010000 CMP ECX,118
00442612 83B9 F4060000 >CMP DWORD PTR DS:[ECX+6F4],33 (51)
00442619 ^0F84 A4A1FCFF JE S.0040C7C3
0044261F 83B9 F4060000 >CMP DWORD PTR DS:[ECX+6F4],3C (60)
00442626 ^0F84 97A1FCFF JE S.0040C7C3
0044262C .^0F84 B9A3FCFF JE S.0040C9EB
But when I test the game ,it crashed. :confused:
is there some thing wrong??
I tried to copy Firzen`s AI (ID: 51) to ID 60:
0040C7B6 . E9 575E0300 JMP S.00442612
0040C7BB 00 DB 00
0040C7BC 33 DB 33 ; CHAR '3'
0040C7BD . 0F85 28020000 JNZ S.0040C9EB
0040C7C3 > 8B48 70 MOV ECX,DWORD PTR DS:[EAX+70]
0040C7C6 . 81F9 09010000 CMP ECX,109
0040C7CC . 7E 65 JLE SHORT S.0040C833
0040C7CE . 81F9 18010000 CMP ECX,118
00442612 83B9 F4060000 >CMP DWORD PTR DS:[ECX+6F4],33 (51)
00442619 ^0F84 A4A1FCFF JE S.0040C7C3
0044261F 83B9 F4060000 >CMP DWORD PTR DS:[ECX+6F4],3C (60)
00442626 ^0F84 97A1FCFF JE S.0040C7C3
0044262C .^0F84 B9A3FCFF JE S.0040C9EB