Well, it didn't take long for you to do your magic and find the culprit ![]()
Here are my files, I guess that by log you meant the .debug file, yes? I attached also the JA#BGT_TWEAK .debug file, just in case.
Posted 21 October 2015 - 07:45 AM
Well, it didn't take long for you to do your magic and find the culprit ![]()
Here are my files, I guess that by log you meant the .debug file, yes? I attached also the JA#BGT_TWEAK .debug file, just in case.
Posted 21 October 2015 - 07:48 AM
Ok I guess some technicals wouldn't hurt either ![]()
What Jarl's code is trying to do is change the item "AX1H01.ITM" found in some random container in AR0602.ARE into the mod's "JA#AX1H01.ITM"
Jarl probably found that ITM's reference at offset 0x72c8 in AR0602.ARE in his game and his code reflects that:
1) He tries to READ the ASCII value of offset 0x72c8
2) He compares it with "AX1H01.ITM" - and the code is totally wrong because
- STRING_COMPARE will return TRUE if the left side != right side (he should've used STRING_EQUALS)
- also the ASCII value doesn't have ".ITM" in it so he should've used only "AX1H01"
3) If the condition in step (2) is TRUE, he proceeds to write "JA#AX1H01" at offset 0x72c8
Easy yes? Now why does this fuck AR0602 in a megamodded game you ask?
Because Jarl's mod isn't the only mod affecting AR0602.ARE in the BWP. For example, in the anonymous Guest's game, the Cursed Items mod added the item #GSOR.ITM to a container in AR0602.ARE.
Now this shifted all items after #GSOR.ITM by a few offsets (including AX1H01.ITM) I think you're getting the picture when something assumes that AX1H01 is at offset 0x72c8 and tries to change it to something else ![]()
In the Guest's game, before Jarl's Tweakpack came along, offset 0x72c4 in AR0602.ARE pointed to the item reference "POTN52" in Container #33 - which means offset 0x72c8 points to the "52" part of "POTN52"
JA#BGT_Tweaks came along and changed it to "POTNJA#A" (as you can see in the lolfixer logs - because it is a non-existent creepy amalgamation of "POTN52" and "JA#AX1H01" and the lolfixer tries to remove it)
The effects are different because not everyone's installation is the same - if I sat down and tried to debug enkku's AR0602's you'll notice the same thing
(Jarl replaced SPER01.ITM in Container #28 in his game
)
"I am the smiley addict, yellow and round, this is my grin
when I'm usually around
.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"
BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST
GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod
Posted 21 October 2015 - 08:02 AM
Ok I guess some technicals wouldn't hurt either![]()
What Jarl's code is trying to do is change the item "AX1H01.ITM" found in some random container in AR0602.ARE into the mod's "JA#AX1H01.ITM"
Jarl probably found that ITM's reference at offset 0x72c8 in AR0602.ARE in his game and his code reflects that:
1) He tries to READ the ASCII value of offset 0x72c8
2) He compares it with "AX1H01.ITM" - and the code is totally wrong because
- STRING_COMPARE will return TRUE if the left side != right side (he should've used STRING_EQUALS)
- also the ASCII value doesn't have ".ITM" in it so he should've used only "AX1H01"
3) If the condition in step (2) is TRUE, he proceeds to write "JA#AX1H01" at offset 0x72c8
Easy yes? Now why does this fuck AR0602 in a megamodded game you ask?
Because Jarl's mod isn't the only mod affecting AR0602.ARE in the BWP. For example, in the anonymous Guest's game, the Cursed Items mod added the item #GSOR.ITM to a container in AR0602.ARE.
Now this shifted all items after #GSOR.ITM by a few offsets (including AX1H01.ITM) I think you're getting the picture when something assumes that AX1H01 is at offset 0x72c8 and tries to change it to something else
In the Guest's game, before Jarl's Tweakpack came along, offset 0x72c4 in AR0602.ARE pointed to the item reference "POTN52" in Container #33 - which means offset 0x72c8 points to the "52" part of "POTN52"
JA#BGT_Tweaks came along and changed it to "POTNJA#A" (as you can see in the lolfixer logs - because it is a non-existent creepy amalgamation of "POTN52" and "JA#AX1H01" and the lolfixer tries to remove it)
The effects are different because not everyone's installation is the same - if I sat down and tried to debug enkku's AR0602's you'll notice the same thing
(Jarl replaced SPER01.ITM in Container #28 in his game
)
Thanks, this is clear now - I was guessing it had to do with the offset but was not sure how. And I have #GSOR.ITM in Irenicus room. I understand this has shifted axe and prevented me from having jarl fire on me.
Posted 21 October 2015 - 08:15 AM
Ahem - Jarl isn't the only one at fault here ![]()
Affected peoples! Grab the fixed lolfixer.tp2 and reinstall the MAJESTIC Area Fixer
Will not fix areas already visited in savegames though...
Edited by Lollorian, 21 October 2015 - 08:16 AM.
"I am the smiley addict, yellow and round, this is my grin
when I'm usually around
.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"
BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST
GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod
Posted 21 October 2015 - 08:16 AM
Ok I guess some technicals wouldn't hurt either![]()
What Jarl's code is trying to do is change the item "AX1H01.ITM" found in some random container in AR0602.ARE into the mod's "JA#AX1H01.ITM"
Jarl probably found that ITM's reference at offset 0x72c8 in AR0602.ARE in his game and his code reflects that:
1) He tries to READ the ASCII value of offset 0x72c8
2) He compares it with "AX1H01.ITM" - and the code is totally wrong because
- STRING_COMPARE will return TRUE if the left side != right side (he should've used STRING_EQUALS)
- also the ASCII value doesn't have ".ITM" in it so he should've used only "AX1H01"
3) If the condition in step (2) is TRUE, he proceeds to write "JA#AX1H01" at offset 0x72c8
Easy yes? Now why does this fuck AR0602 in a megamodded game you ask?
Because Jarl's mod isn't the only mod affecting AR0602.ARE in the BWP. For example, in the anonymous Guest's game, the Cursed Items mod added the item #GSOR.ITM to a container in AR0602.ARE.
Now this shifted all items after #GSOR.ITM by a few offsets (including AX1H01.ITM) I think you're getting the picture when something assumes that AX1H01 is at offset 0x72c8 and tries to change it to something else
In the Guest's game, before Jarl's Tweakpack came along, offset 0x72c4 in AR0602.ARE pointed to the item reference "POTN52" in Container #33 - which means offset 0x72c8 points to the "52" part of "POTN52"
JA#BGT_Tweaks came along and changed it to "POTNJA#A" (as you can see in the lolfixer logs - because it is a non-existent creepy amalgamation of "POTN52" and "JA#AX1H01" and the lolfixer tries to remove it)
The effects are different because not everyone's installation is the same - if I sat down and tried to debug enkku's AR0602's you'll notice the same thing
(Jarl replaced SPER01.ITM in Container #28 in his game
)
Thank you for an explanation that even non-modder like me can (rudimentarily) understand. Looks like the whole game is quite delicate structure, and very easy wreak havoc with. So I'll skip the mod then. Actually, most of it's functions can be achieved by other mods, and I wouldn't probably have ever used those add-on items anyway ![]()
Posted 21 October 2015 - 08:19 AM
Many thanks to both of you for the help debugging ![]()
"I am the smiley addict, yellow and round, this is my grin
when I'm usually around
.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"
BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST
GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod
Posted 22 October 2015 - 08:27 AM
Thank you both lollorian and Roxanne for helping and getting to the bottom of this.
It's a shame with jarl's mods as I really like them. I hope they will be updated some day to fix these overwriting problems they have.