CamDawg Posted July 14, 2007 Share Posted July 14, 2007 http://forums.pocketplane.net/index.php/topic,24152 We're not updating effects indices on the ability headers. Not a big deal for Windows players, but the much stricter OS X version of the engine crashes. Link to comment
Nythrun Posted December 11, 2007 Share Posted December 11, 2007 Bumping this so it doesn't get lost for next version. End users can replace the code at 28,012 to 28,037 with the below, or wait for Cam's more nicely written patch // giant weapons get damage v small people bonuses COPY_EXISTING ~giafir.itm~ ~override~ ~giafir2.itm~ ~override~ ~giafir3.itm~ ~override~ ~giants01.itm~ ~override~ PATCH_IF (SOURCE_SIZE > 0x71) THEN BEGIN // protects against invalid files READ_LONG 0x64 "ho" FOR (READ_SHORT 0x68 "hc"; "hc" > 0x00; "hc" -= 0x01) BEGIN READ_SHORT ("ho" + ("hc" * 0x38) - 0x18) "ei" WRITE_SHORT ("ho" + ("hc" * 0x38) - 0x18) ("ei" + 0x03) END READ_LONG 0x6a "fx_off" READ_SHORT 0x70 "fx_num" WRITE_SHORT 0x70 ("%fx_num%" + 3) FOR (index3 = 1; index3 < 4; index3 = index3 + 1) BEGIN INSERT_BYTES ("%fx_off%" ) 0x30 // insert new effect WRITE_SHORT ("%fx_off%" ) 177 // use eff file WRITE_BYTE ("%fx_off%" + 0x02) 1 // target: self WRITE_LONG ("%fx_off%" + 0x04) 142 // giant WRITE_LONG ("%fx_off%" + 0x08) 4 // race.ids WRITE_BYTE ("%fx_off%" + 0x0c) 2 // instant/while equipped WRITE_BYTE ("%fx_off%" + 0x12) 100 // prob WRITE_ASCIIE ("%fx_off%" + 0x14) ~giant%index3%~ // eff files END END BUT_ONLY_IF_IT_CHANGES Link to comment
CamDawg Posted December 11, 2007 Author Share Posted December 11, 2007 Fixed in my local copy, thanks. Moving to archives. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.