Jump to content

[v35.17] SFO2E library bugs


Recommended Posts

Well, trying to get back into the swing of things, I updated the SFO2E version in my mods and found a bug already. ^^

In str_eff_v2.2da, the offset for dicesize should be 0x3c, not 0x3a.  This lead to a nasty crash to desktop on my installation.

--- a/mih_sp/third_party/sfo2e/structures/str_eff_v2.2da
+++ b/mih_sp/third_party/sfo2e/structures/str_eff_v2.2da
@@ -14,7 +14,7 @@ probability1[100]             0x2c            short
 probability2                    0x2e           short
 resource                               0x30            ascii_8
 dicenumber                     0x38            long
-dicesize                               0x3a            long
+dicesize                               0x3c            long
 save_vs_spells                         0x40            flag_0
 save_vs_breath                         0x40            flag_1
 save_vs_poison                         0x40            flag_2

 

Link to comment

Didn’t we have this conversation a few months ago?

SFO2e got written from scratch, it’s not in any granular sense a conversion of 1e. I haven’t found myself needing functions that add HLAs on a per-kit basis so I haven’t written them. If you want one it should be easy enough for you to build one using lib_2da functions.

Link to comment
1 hour ago, DavidW said:

Didn’t we have this conversation a few months ago?

SFO2e got written from scratch, it’s not in any granular sense a conversion of 1e. I haven’t found myself needing functions that add HLAs on a per-kit basis so I haven’t written them. If you want one it should be easy enough for you to build one using lib_2da functions.

Mm, I don't recall discussing this one specifically, but I don't claim to have flawless memory so if we did I apologize.

And yes, I already wrote my own version, it wasn't very hard to do.

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...