Hi hkmnhkmn,
Are these bugs in 1477's fixed version? I tried to avoid allocating memory when I made timestop, but ended up using memory locations which are used. This causes many weird unexplainable bugs.
http://www.lf-empire.de/forum/showthread...271&page=3
1477 rewrote it to allocate a separate region in memory and use that. That fixed a lot of problems.
State 18 bug can be fixed by disabling smoke during timestop.
I'm not sure how to fix Firzens Chase Ball. Maybe make timestop destroy all of his balls? This isn't perfect, but I don't have any other ideas.
Edit:
I haven't fully tested this, but this should stop the smoke if timestop is enabled:
invoke JmpPatch, 0042115Ch, addr timestop_s18
The addresses are for 2.0a. I don't have 2.0 no num lock installed anymore, sorry.
Are these bugs in 1477's fixed version? I tried to avoid allocating memory when I made timestop, but ended up using memory locations which are used. This causes many weird unexplainable bugs.
http://www.lf-empire.de/forum/showthread...271&page=3
1477 rewrote it to allocate a separate region in memory and use that. That fixed a lot of problems.
State 18 bug can be fixed by disabling smoke during timestop.
I'm not sure how to fix Firzens Chase Ball. Maybe make timestop destroy all of his balls? This isn't perfect, but I don't have any other ideas.
Edit:
I haven't fully tested this, but this should stop the smoke if timestop is enabled:
Code:
;state 18
ts_181 dd 0042116Ah
ts_182 dd 00421397h
.code
timestop_s18 proc
cmp timeStop, TRUE
je skip
cmp edx, 12h
je smoke
cmp edx,13h
jnz skip
smoke:
jmp dword ptr ds:[ts_182]
skip:
jmp dword ptr ds:[ts_181]
timestop_s18 endp
invoke JmpPatch, 0042115Ch, addr timestop_s18
The addresses are for 2.0a. I don't have 2.0 no num lock installed anymore, sorry.
10 ʏᴇᴀʀs sɪɴᴄᴇ ɪʀᴄ ɢᴏᴏᴅ.ɪ ᴡᴀʟᴋ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ᴇᴍᴘᴛʏ sᴛʀᴇᴇᴛs ᴛʀʏɪɴɢ ᴛᴏ ᴛʜɪɴᴋ ᴏғ sᴏᴍᴇᴛʜɪɴɢ ᴇʟsᴇ ʙᴜᴛ ᴍʏ ᴘᴀᴛʜ ᴀʟᴡᴀʏs ʟᴇᴀᴅs ᴛᴏ ᴛʜᴇ ɪʀᴄ. ɪ sᴛᴀʀᴇ ᴀᴛ ᴛʜᴇ sᴄʀᴇᴇɴ ғᴏʀ ʜᴏᴜʀs ᴀɴᴅ ᴛʀʏ ᴛᴏ sᴜᴍᴍᴏɴ ᴛʜᴇ ɢᴏᴏᴅ ɪʀᴄ. ɪ ᴡᴀᴛᴄʜ ᴏᴛʜᴇʀ ɪʀᴄ ᴄʜᴀɴɴᴇʟs ʙᴜᴛ ɪᴛ ɪs ɴᴏ ɢᴏᴏᴅ. ɪ ᴘᴇsᴛᴇʀ ᴢᴏʀᴛ ᴀɴᴅ ᴛʀʏ ᴛᴏ ʀᴇsɪsᴛ ʜɪs sᴇxɪɴᴇss ʙᴜᴛ ɪᴛ ɪs ᴀʟʟ ᴍᴇᴀɴɪɴɢʟᴇss. ᴛʜᴇ ᴇɴᴅ ɪs ɴᴇᴀʀ.ɪ ᴛʜᴇɴ ᴜsᴜᴀʟʟʏ ʀᴇᴀᴅ sᴏᴍᴇ ᴏʟᴅ ɪʀᴄ ʟᴏɢs ᴀɴᴅ ᴄʀʏ ᴍʏsᴇʟғ ᴛᴏ sʟᴇᴇᴘ.