bug修正
1、第15点,当4018=n(2<= n <=100时 我友命中率大于n则必中、敌军命中率小于n则必不中)
此项修正为 如果设置4018=n、4017为n1,则不分阵营,命中>=n必中 命中<n1必不中 在n1至n之间时看脸
0043B4EA |. 3BC2 CMP EAX,EDX
0043B4EC |. 73 46 JNB SHORT Ekd5.0043B534
0043B4EE |. 3B05 C45E5000 CMP EAX,DWORD PTR DS:[505EC4]
0043B4F4 |. 73 0F JNB SHORT Ekd5.0043B505
0043B4F6 |. 90 NOP
0043B4F7 |. 90 NOP
0043B4F8 |. 90 NOP
0043B4F9 |. 90 NOP
0043B4FA |. 90 NOP
0043B4FB |. 90 NOP
0043B4FC |. 90 NOP
0043B4FD |. 90 NOP
0043B4FE |. 90 NOP
0043B4FF |. 90 NOP
0043B500 |. 90 NOP
如4017=30,4018=80 则当 命中 >=80 时必中,当 30<=命中<80 时看脸,当 命中<30 时必不中
二、修正 出战预览绘图错误
0044C290 8B4D EC MOV ECX,DWORD PTR SS:[EBP-14]
三、修正 s形象使用了png格式的部队在受到策略攻击时闪退
0040BD1C B8 00B40000 MOV EAX,0B400
0040BD34 C781 9C020000 00040B00 MOV DWORD PTR DS:[ECX+29C],0B0400
四、修正 AI使用策略方面的几个bug
a:ai很少使用群体性策略
00439822 |. 807D E0 FF CMP BYTE PTR SS:[EBP-20],0FF
00439826 |. 74 3A JE SHORT Ekd5.00439862
00439828 |. 8B45 D4 MOV EAX,DWORD PTR SS:[EBP-2C]
0043982B |. 3C 00 CMP AL,0
0043982D |. 74 1B JE SHORT Ekd5.0043984A
0043982F |. B0 FF MOV AL,0FF
00439831 |. 50 PUSH EAX ; /Arg6
00439832 |. 50 PUSH EAX ; |Arg5
00439833 |. FF75 D8 PUSH DWORD PTR SS:[EBP-28] ; |Arg4
00439836 |. FF75 DC PUSH DWORD PTR SS:[EBP-24] ; |Arg3
00439839 |. FF75 D4 PUSH DWORD PTR SS:[EBP-2C] ; |Arg2
80 7D E0 FF 74 3A 8B 45 D4 3C 00 74 1B B0 FF 50 50 FF 75 D8 FF 75 DC FF 75 D4
b:衰气的价值错误
00417A71 |. /73 1D |JNB SHORT Ekd5.00417A90
00417A73 |. |8B4D F4 |MOV ECX,DWORD PTR SS:[EBP-C]
00417A76 |. |8A4411 18 |MOV AL,BYTE PTR DS:[ECX+EDX+18]
00417A7A |. |3C 03 |CMP AL,3
00417A7C |.^|72 EA |JB SHORT Ekd5.00417A68
00417A7E |. |8A8A ED1D4800 |MOV CL,BYTE PTR DS:[EDX+481DED] ;
00417A84 |. |004D F8 |ADD BYTE PTR SS:[EBP-8],CL
00417A87 |. |3C 03 |CMP AL,3
00417A89 |.^|74 DD |JE SHORT Ekd5.00417A68
00417A8B |. |FF45 F8 |INC DWORD PTR SS:[EBP-8]
00417A8E |.^|EB D8 \JMP SHORT Ekd5.00417A68
00417A90 |> \58 POP EAX
73 1D 8B 4D F4 8A 44 11 18 3C 03 72 EA 8A 8A ED 1D 48 00 00 4D F8 3C 03 74 DD FF 45 F8 EB D8 58
00481DED 01 DB 01
00481DEE 02 DB 02
00481DEF 01 DB 01
c:觉醒的价值错误
0043966E |. 33C0 XOR EAX,EAX
00439670 |. 8945 C8 MOV DWORD PTR SS:[EBP-38],EAX
00439673 |. 8945 C4 MOV DWORD PTR SS:[EBP-3C],EAX
33 C0 89 45 C8 89 45 C4
004399AF |> \8B4D F0 MOV ECX,DWORD PTR SS:[EBP-10] ; B 觉醒
004399B2 |. E8 AFA0FCFF CALL Ekd5.00403A66
004399B7 |. 8BD0 MOV EDX,EAX
004399B9 |> 8B45 C8 /MOV EAX,DWORD PTR SS:[EBP-38]
004399BC |. 3C 04 |CMP AL,4
004399BE |. 73 1F |JNB SHORT Ekd5.004399DF
004399C0 |. 8490 D2404200 |TEST BYTE PTR DS:[EAX+4240D2],D>
004399C6 |. 74 12 |JE SHORT Ekd5.004399DA
004399C8 |. 8A88 D8954300 |MOV CL,BYTE PTR DS:[EAX+4395D8]
004399CE |. 384D FC |CMP BYTE PTR SS:[EBP-4],CL
004399D1 |. 73 03 |JNB SHORT Ekd5.004399D6
004399D3 |. 884D FC |MOV BYTE PTR SS:[EBP-4],CL
004399D6 |> 8345 C4 01 |ADD DWORD PTR SS:[EBP-3C],1
004399DA |> FF45 C8 |INC DWORD PTR SS:[EBP-38]
004399DD |.^ EB DA \JMP SHORT Ekd5.004399B9
004399DF |> 90 NOP
004399E0 |. 90 NOP
004399E1 |. 90 NOP
004399E2 |. 90 NOP
004399E3 |. 90 NOP
004399E4 |. 8B45 C4 MOV EAX,DWORD PTR SS:[EBP-3C]
004399E7 |. 0045 FC ADD BYTE PTR SS:[EBP-4],AL
004399EA |. B0 05 MOV AL,5
004399EC |. 0045 FC ADD BYTE PTR SS:[EBP-4],AL
8B 4D F0 E8 AF A0 FC FF 8B D0 8B 45 C8 3C 04 73 1F 84 90 D2 40 42 00 74 12 8A 88 D8 95 43 00 38
4D FC 73 03 88 4D FC 83 45 C4 01 FF 45 C8 EB DA 90 90 90 90 90 8B 45 C4 00 45 FC B0 05 00 45 FC
004395D8 19 DB 19 ; 麻
004395D9 1E DB 1E ; 禁
004395DA 23 DB 23 ; 混
004395DB 19 DB 19 ; 毒
注:由于6.5版对不良状态的效果进行了调整,因此在判断觉醒的价值时把 麻痹是否坚守原地、是否被动出击的判断;禁咒是否文官的判断都去掉了,同时也提高了解毒的价值。
再补充一点:
以往使用毒计时中毒和损血是分别计算命中的,因此会有4种结果
把 004235F1 PUSH 0 改成 push eax (只要毒成功则必损血)
以及6.5已经取消了不对中毒部队继续使用毒计的限制
五、修正 使用信息传送4让人物习得策略后又会丢失的bug
00412248 |. /73 18 |JNB SHORT 00412262
0041224A |. |99 |CDQ
0041224B |. |66:891445 008A5000 |MOV WORD PTR DS:[EAX*2+508A00],DX ‘这句用二进制编辑方式来输入
00412253 |. |52 |PUSH EDX ; /Arg2
00412254 |. |50 |PUSH EAX ; |Arg1
00412255 |. |8B4D 08 |MOV ECX,DWORD PTR SS:[EBP+8] ; |
00412258 |. |E8 6F620000 |CALL 004184CC ;
0041225D |. |FF45 F8 |INC DWORD PTR SS:[EBP-8]
00412260 |.^|EB DF \JMP SHORT 00412241
00412262 |> \E8 D4490100 CALL 00426C3B
00412267 |> 8B45 FC /MOV EAX,DWORD PTR SS:[EBP-4]
0041226A |. 3C FA |CMP AL,0FA
0041226C |. 73 30 |JNB SHORT 0041229E
0041226E |. 99 |CDQ
0041226F |. 66:4A |DEC DX
00412271 |. 3C 14 |CMP AL,14
00412273 |. 73 17 |JNB SHORT 0041228C
00412275 |. 837D F4 00 |CMP DWORD PTR SS:[EBP-C],0
00412279 |. 75 11 |JNZ SHORT 0041228C
0041227B |. 0FB71445 50B34800 |MOVZX EDX,WORD PTR DS:[EAX*2+48B350] ‘这句用二进制编辑方式来输入
00412283 |. 66:83FA FF |CMP DX,0FFFF ‘这句用二进制编辑方式来输入
00412287 |. 75 03 |JNZ SHORT 0041228C
00412289 |. FF45 F4 |INC DWORD PTR SS:[EBP-C]
0041228C |> 50 |PUSH EAX
0041228D |. E8 3E6B0000 |CALL 00418DD0
00412292 |. 8910 |MOV DWORD PTR DS:[EAX],EDX
00412294 |. 33C9 |XOR ECX,ECX
00412296 |. 8948 08 |MOV DWORD PTR DS:[EAX+8],ECX
00412299 |. FF45 FC |INC DWORD PTR SS:[EBP-4]
0041229C |.^ EB C9 \JMP SHORT 00412267
73 18 99 66 89 14 45 00 8A 50 00 52 50 8B 4D 08 E8 6F 62 00 00 FF 45 F8 EB DF E8 D4 49 01 00 8B
45 FC 3C FA 73 30 99 66 4A 3C 14 73 17 83 7D F4 00 75 11 0F B7 14 45 50 B3 48 00 66 83 FA FF 75
03 FF 45 F4 50 E8 3E 6B 00 00 89 10 33 C9 89 48 08 FF 45 FC EB C9
此项修正需要重新开档
六 修正复制人使用对话2的bug
00459764 |. /74 1F JE SHORT 00459785
00459766 |> |894D F8 MOV DWORD PTR SS:[EBP-8],ECX
00459769 |> |8B4D F8 MOV ECX,DWORD PTR SS:[EBP-8]
0045976C |. |E8 4CFFFFFF CALL 004596BD
00459771 |. |6A 01 PUSH 1
00459773 |. |FF75 F8 PUSH DWORD PTR SS:[EBP-8]
00459776 |. |FF75 10 PUSH DWORD PTR SS:[EBP+10]
00459779 |. |FF75 08 PUSH DWORD PTR SS:[EBP+8]
0045977C |. |E8 4DFFFFFF CALL 004596CE
00459781 |. |84C0 TEST AL,AL
00459783 |. |75 0B JNZ SHORT 00459790
00459785 |> \8B45 10 MOV EAX,DWORD PTR SS:[EBP+10]
00459788 |. 8945 0C MOV DWORD PTR SS:[EBP+C],EAX
0045978B |. E8 1AFFFFFF CALL 004596AA
00459790 |> 8BE5 MOV ESP,EBP
00459792 |. 5D POP EBP
00459793 \. C2 0C00 RETN 0C
00459796 90 NOP
00459797 90 NOP
00459798 90 NOP
00459799 90 NOP
0045979A 90 NOP
74 1F 89 4D F8 8B 4D F8 E8 4C FF FF FF 6A 01 FF 75 F8 FF 75 10 FF 75 08 E8 4D FF FF FF 84 C0 75
0B 8B 45 10 89 45 0C E8 1A FF FF FF 8B E5 5D C2 0C 00 90 90 90 90 90
七 能力辅助作为宝物特效时, 辅助全能力会辅助100%
00423CF4 |. 6A 00 PUSH 0
00423CF6 |> 837D F8 02 /CMP DWORD PTR SS:[EBP-8],2
00423CFA |. 73 27 |JNB SHORT Ekd5.00423D23
00423CFC |. C645 FC 00 |MOV BYTE PTR SS:[EBP-4],0
00423D00 |> 8B45 FC |/MOV EAX,DWORD PTR SS:[EBP-4]
00423D03 |. 3C 05 ||CMP AL,5
00423D05 |. 73 17 ||JNB SHORT Ekd5.00423D1E
00423D07 |. 54 ||PUSH ESP
00423D08 |. FF75 0C ||PUSH DWORD PTR SS:[EBP+C]
00423D0B |. FF75 10 ||PUSH DWORD PTR SS:[EBP+10]
00423D0E |. 8B4D 08 ||MOV ECX,DWORD PTR SS:[EBP+8]
00423D11 |. E8 F2EEFEFF ||CALL Ekd5.00412C08
00423D16 |. 8945 10 ||MOV DWORD PTR SS:[EBP+10],EAX
00423D19 |. FF45 FC ||INC DWORD PTR SS:[EBP-4]
00423D1C |.^ EB E2 |\JMP SHORT Ekd5.00423D00
00423D1E |> FF45 F8 |INC DWORD PTR SS:[EBP-8]
00423D21 |.^ EB D3 \JMP SHORT Ekd5.00423CF6
6A 00 83 7D F8 02 73 27 C6 45 FC 00 8B 45 FC 3C 05 73 17 54 FF 75 0C FF 75 10 8B 4D 08 E8 F2 EE
FE FF 89 45 10 FF 45 FC EB E2 FF 45 F8 EB D3
00412C0D . 8B55 10 MOV EDX,DWORD PTR SS:[EBP+10]
00412C10 . 8B52 04 MOV EDX,DWORD PTR DS:[EDX+4]
00412C13 . 52 PUSH EDX
00412C14 . 51 PUSH ECX
00412C15 . FF1495 702C41>CALL DWORD PTR DS:[EDX*4+412C70]
00412C1C . 85C0 TEST EAX,EAX
00412C1E . 74 47 JE SHORT Ekd5.00412C67
00412C20 . E8 07110100 CALL Ekd5.00423D2C
00412C25 > 8B4D FC MOV ECX,DWORD PTR SS:[EBP-4]
00412C28 . 80F9 05 CMP CL,5
00412C2B . 73 3A JNB SHORT Ekd5.00412C67
00412C2D . 3B4D 0C CMP ECX,DWORD PTR SS:[EBP+C]
00412C30 . 75 05 JNZ SHORT Ekd5.00412C37
00412C32 . F6C2 01 TEST DL,1
00412C35 . 75 07 JNZ SHORT Ekd5.00412C3E
00412C37 > D1EA SHR EDX,1
00412C39 . FF45 FC INC DWORD PTR SS:[EBP-4]
00412C3C .^ EB E7 JMP SHORT Ekd5.00412C25
00412C3E >^ E9 DD9EFFFF JMP Ekd5.0040CB20
00412C43 90 NOP ; |
00412C44 |. E8 8A200000 CALL 00414CD3 ;
00412C49 . 837D F8 00 CMP DWORD PTR SS:[EBP-8],0
00412C4D . 74 0D JE SHORT Ekd5.00412C5C
00412C4F . 50 PUSH EAX ; /Arg2
00412C50 . 6A 14 PUSH 14 ; |Arg1 = 00000014
00412C52 . E8 822E0100 CALL Ekd5.00425AD9 ; \Ekd5.00425AD9
00412C57 . 0145 08 ADD DWORD PTR SS:[EBP+8],EAX
00412C5A . EB 0B JMP SHORT Ekd5.00412C67
00412C5C > 837D 0C 04 CMP DWORD PTR SS:[EBP+C],4
00412C60 . 74 08 JE SHORT Ekd5.00412C6A
00412C62 . 3945 08 CMP DWORD PTR SS:[EBP+8],EAX
00412C65 . 76 03 JBE SHORT Ekd5.00412C6A
00412C67 > 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
8B 55 10 8B 52 04 52 51 FF 14 95 70 2C 41 00 85 C0 74 47 E8 07 11 01 00 8B 4D FC 80 F9 05 73 3A
3B 4D 0C 75 05 F6 C2 01 75 07 D1 EA FF 45 FC EB E7 E9 DD 9E FF FF 90 E8 8A 20 00 00 83 7D F8 00
74 0D 50 6A 14 E8 82 2E 01 00 01 45 08 EB 0B 83 7D 0C 04 74 08 39 45 08 76 03 8B 45 08
0040CB20 > /B1 01 MOV CL,1
0040CB22 . |91 XCHG EAX,ECX
0040CB23 . |837D F8 00 CMP DWORD PTR SS:[EBP-8],0
0040CB27 . |74 0F JE SHORT Ekd5.0040CB38
0040CB29 . |D3E0 SHL EAX,CL
0040CB2B . |8B55 10 MOV EDX,DWORD PTR SS:[EBP+10]
0040CB2E . |8502 TEST DWORD PTR DS:[EDX],EAX
0040CB30 . |0F85 31610000 JNZ Ekd5.00412C67
0040CB36 . |0902 OR DWORD PTR DS:[EDX],EAX
0040CB38 > |6A 00 PUSH 0
0040CB3A . |51 PUSH ECX
0040CB3B . |8B4D F4 MOV ECX,DWORD PTR SS:[EBP-C]
0040CB3E . |E9 01610000 JMP Ekd5.00412C44
B1 01 91 83 7D F8 00 74 0F D3 E0 8B 55 10 85 02 0F 85 31 61 00 00 09 02 6A 00 51 8B 4D F4 E9 01
61 00 00
八 原版的随机模式下,异常状态不能恢复
00424082 FF75 0C PUSH DWORD PTR SS:[EBP+C]
2024-2-22
更新形象指定器
修正导入地形后最后2字节数据异常的bug
[ 本帖最后由 star175 于 2024-4-22 10:26 编辑 ]
|