As a temporary solution, one can add following line to the '[Settings]' section of mm8.ini:
Code: Select all
DisableHooks=44D96C,44DD9A,4541C9,47DA26,47DAA8,497A69
Code: Select all
DisableHooks=44D96C,44DD9A,4541C9,47DA26,47DAA8,497A69
Yes, next three bytes are unused. It's just me regularly having a problem with local variable names in IDA (var_1F, var_20 for 'ebp-0x!F', 'ebp-0x20').
Code: Select all
procedure FixMonsterSpells;
asm
mov dx, [ebp + $C]
mov [ebp - m7*$23 - m8*$1F], dx
end;
You have wrong Items.txt somewhere. Current Items.txt has indexes [0, 2200].XDSvennyXD wrote: ↑13 Dec 2021, 20:58 ...\Might and Magic VIII\Scripts\General\LocalizeTables.lua:24: array index (2200) out of bounds [0, 2199]
Is there already a solution available to this problem?
Code: Select all
dump(Party[0].Items[Party[0].ItemCloak])
Code: Select all
Party[0].ItemCloak=0