Oghma Infinium infinite boost?

For all talk about quests. Creating, testing, bugs, and development progress.
Post Reply
DigitalMonk
Posts: 54
Joined: Sun Nov 10, 2019 8:01 pm

Oghma Infinium infinite boost?

Post by DigitalMonk » Mon Dec 09, 2019 5:29 pm

DFUnity 0.10.13, QuestPack #1 and Warm Ashes (current to this date) (if they matter, which I doubt, but trying to be complete)

I don't have much experience with Daggerfall Classic, and I will freely admit to wanton console cheating to get the Oghma Infinium from the Daedra Lord who had it, but I was surprised at what seems to be a bug (sorry if this is well known from Classic):
Spoiler!
If you USE the Infinium directly from the ground, you get the level and the 30 points to your attributes, but the Infinium remains in the loot pile on the ground. You can do this as many times as you want.

Once you've boosted all your stats to 100, you can even pick up the Infinium and take it to a rusty relics shop and sell it for a significant pile of gold.

Once it has been used and you have picked it up, if you drop it does disappear, so that part is right.

I'm guessing that the script for use is "removing it from player inventory" instead of "removing it from game world".
My monk is now very impressive, for having just left Privateer's Hold :D

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

Re: Oghma Infinium infinite boost?

Post by Hazelnut » Mon Dec 09, 2019 5:40 pm

Great find!

You are quite correct that the code assumed the player is holding the item. Currently the callback method is not being given the item collection so cannot check and prevent use unless held or remove from the actual collection. Either that needs to be added to the IEntityEffect.EnchantmentPayloadCallback method signature, or alternatively DFU could disable using any magic items that are not being carried by the player.

Anyone able to test classic behaviour here?
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

Post Reply