(30.08.2015 20:48)majaczek Wrote: I have problem I descripted here
there are known adresses which hold summonable elementals, but it doesn't work with creatures number >127 because code threats it as signed (which makes them negative) and makes game crash soon.
there is screenshoot from ollydbg showing there is no enough room to do the unsigned or wider push.
I thought I would need a hook to fullfill my aim. So I came here for help.
There is no way to push a value onto stack with ERM. What you can do is replace this whole section altogether with ERM code using erm_hooker and rewrite all creature selection logic and all function calls in ERM, then return to the address that the jump command points to.
(30.08.2015 21:14)Картограф Wrote: Какой однако рассеянный гражданин, уже второй раз допускает опечатку.