Spells #99: Dropped items persist across games [NON-ISSUE]
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Spells #99: Dropped items persist across games [NON-ISSUE]
I left some items dropped in a Fighters Guild (which are persisting, not sure if that was classic). I then died and created a new character. The new character found the items in the Fighters Guild.
Last edited by Jay_H on Fri Feb 23, 2018 2:49 am, edited 1 time in total.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Spells #99: Dropped items persist across games
That's an interesting one - cache should only be valid for that character (it's even saved in that character's save data only).
Does closing and reopening the game solve this for the new character?
Does closing and reopening the game solve this for the new character?
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Spells #99: Dropped items persist across games
Closed and opened, the items are still there.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Spells #99: Dropped items persist across games
Cheers, I'll leave this one for Hazelnut to reproduce and resolve.
It's probably just something simple like needing to purge the live cache on a new game event. This might be how the old character's containers ended up saved with the new one.
It's probably just something simple like needing to purge the live cache on a new game event. This might be how the old character's containers ended up saved with the new one.
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: Spells #99: Dropped items persist across games
Are you confusing the pile of clothes loot piles that are appearing in the FG (need to fix that since they don't in classic) with stuff you dropped yourself? If not can you reproduce and provide steps please because this should not happen.
EDIT: Actually I may have missed the cache reset when you start a new game, so let me check that first.
EDIT: Actually I may have missed the cache reset when you start a new game, so let me check that first.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Spells #99: Dropped items persist across games
If you need it, there's a static event StartGameBehaviour.OnNewGame you can use to catch a new game starting.
I just realised I missed this myself for building discovery cache while trying to reproduce this bug.
I just realised I missed this myself for building discovery cache while trying to reproduce this bug.
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Spells #99: Dropped items persist across games
...Let me see because it is in the Fighters Guild and I assumed that was my stuff I had dropped I'll test this and come back.Hazelnut wrote:Are you confusing the pile of clothes loot piles that are appearing in the FG (need to fix that since they don't in classic) with stuff you dropped yourself?
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: Spells #99: Dropped items persist across games
The code already resets the scene cache on starting a new game, and I cannot reproduce this bug. Please let me know if you still have this issue.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Spells #99: Dropped items persist across games [NON-ISSUE]
I just tried it and it doesn't happen. I assumed the Fighters Guild stuff was mine, so this was a non-issue from the start Sorry everyone.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Spells #99: Dropped items persist across games [NON-ISSUE]
All good Jay! Still appreciate the report.