[0.11.0] Invisible orcish shortsword

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
User avatar
King of Worms
Posts: 4752
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: [0.11.0] Invisible orcish shortsword

Post by King of Worms »

Please guys solve this, Its most likely not a problem with a DREAM mod, but I get these reports. :lol:
Fingers crossed, thank you

AuntiePixel
Posts: 44
Joined: Sat Jan 30, 2021 6:24 pm
Location: US-central KY

Re: [0.11.0] Invisible orcish shortsword

Post by AuntiePixel »

player.log and player-prev.log zipped and attached
Attachments
playerLog.zip
(8.55 KiB) Downloaded 71 times

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: [0.11.0] Invisible orcish shortsword

Post by BadLuckBurt »

AuntiePixel wrote: Thu Feb 11, 2021 7:40 pm player.log and player-prev.log zipped and attached
Thanks, I don't see anything out of the ordinary in there, maybe someone else will.

Do you happen to remember the type of enemy you got this weapon from? I assume it was a female, if nothing comes from the log, I wonder if I can recreate the bug.
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

AuntiePixel
Posts: 44
Joined: Sat Jan 30, 2021 6:24 pm
Location: US-central KY

Re: [0.11.0] Invisible orcish shortsword

Post by AuntiePixel »

About 90% confident it was an orc. Orc Sergeant maybe?

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: [0.11.0] Invisible orcish shortsword

Post by Interkarma »

These invalid texture indices previously crashed the inventory UI. I added hardening to prevent the crash and just display item as blank.

https://github.com/Interkarma/daggerfal ... 7c6c0747ab

I don't know root cause of bad texture indices, but it definitely correlates with orcs. I assumed it was related to mods as I've never seen it happen in base game.

User avatar
Hazelnut
Posts: 3015
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: [0.11.0] Invisible orcish shortsword

Post by Hazelnut »

I know what is causing this now, it's the orcish conversion from R&R:Items. It re-calls the apply material settings after resetting the item stats. However this decrements the archive for female characters and was decrementing twice.

I'll have it fixed in the imminent release of R&R:Items.

Thank you for preventing the breaking of DFU when this happens Interkarma... it's actually been incredibly useful while developing the new leather armor set for the mod, and will help other mod authors too.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: [0.11.0] Invisible orcish shortsword

Post by BadLuckBurt »

Nice, glad it wasn't too hard to track down. I did look through your code yesterday but didn't think to search for ApplyWeaponMaterial in there, I just focused on finding the texture archive id.
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

Post Reply