Inventory lag - and finding ways around it
Adul
Member Posts: 2,002
Hello everyone, I've been away from BG for a while, so I'm kind of out of the loop on recent developments with updates and modding. I've recently fired up BG to play and I noticed there are still bad lag spikes in the inventory whenever I handle equipment with a larger party.
There also seem to be occasional lag spikes possibly related to sound playing, and they even caused some serious bugs for me. A few times I've experienced lag spikes that caused items to disappear when I was quickly looting items from a container (or though the quick loot menu).
Have modders found ways to fix these lag issues? If not, can anyone with UI modding experience chime in whether or not it should be possible to fix these issues through modding? I'm thinking along the lines of completely disabling the item comparison and portrait highlighting algorithms, but I don't know if the current UI system is flexible enough to handle something like that.
Thanks!
There also seem to be occasional lag spikes possibly related to sound playing, and they even caused some serious bugs for me. A few times I've experienced lag spikes that caused items to disappear when I was quickly looting items from a container (or though the quick loot menu).
Have modders found ways to fix these lag issues? If not, can anyone with UI modding experience chime in whether or not it should be possible to fix these issues through modding? I'm thinking along the lines of completely disabling the item comparison and portrait highlighting algorithms, but I don't know if the current UI system is flexible enough to handle something like that.
Thanks!
0
Comments
I've been able to figure out how to disable the temporary stat comparisons in the inventory, which may have helped marginally with the lag. But I'm not sure if it actually did or if I'm just imagining it, to be honest.
The main culprit for the lag seems to be the portrait highlighting algorithms. Unfortunately, it also seems the portrait highlighting and inventory item management in general is handled by the engine at a lower level than what we have access to through UI.menu. Even removing the portraits completely didn't take care of the lag.
I could benefit from your wisdom, @Dee . Do you have any suggestions?
Overriding Infinity_SwapSlot from a M_*.lua file is possible and I've successfully done it, but the problem is that I don't have access to the function's source code. Without it I don't think I can restore its original functionality, which would be required for inventory item management to work at all.
I neither care nor want the useless portrait highlighting function, but it's forced on us, and a significant portion of the player base is experiencing diminished functionality. This feature of lighting up a portrait every time I click on a ring/potion/scroll/whatever is beyond worthless, and it results in a 200-300ms lag.
Can we PLEASE get an option to turn it off?
@Dee
@AncientCowboy
@subtledoctor
@lefreut
@pecca
Guys, is there any way to disable this 'functionality' via the UI.menu?
that bizarre inventory lag is so bad I just couldn't play the EE's anymore because of it, I play the game at warp speeds and when im forced to have my inventory items lag for no reason, my OCD goes bananas
It's a shame because there are a lot of good changes in the EEs but this overrides them all and kills any desire to play them.
Edit: Although it's worth noting that regardless of whether or not the bug is fixed, people would like an option to disable the item comparison functions, as some find them distracting.
Feature request for portrait highlighting.
Bug for inventory lag
You would need to switch their ID and UNID names/descriptions, and allow all items to be used while unidentified, and you would lose any purpose to identifying items.
I have asked a question whether they are planning to fix the inventory lag here:
https://forums.beamdog.com/discussion/70315/bg2-ee-will-inventory-lag-get-fixed-in-2-5-update
You can go there and Like the post, or add more comments. Maybe that will help to get the needed attention.
The need to identify items plays a very important part in my gameplay.
Perhaps an interesting idea for a mod, but not as a fix for a buggy new mechanic.
You go out onto the street and find something you never saw before and you immediately know what it is and how to handle it?
Is there a connection between inventory lag and identification, the item flags of who can use what are still there even if not identified.
https://forums.beamdog.com/discussion/comment/980277/#Comment_980277
Seeing a few reports of it, I think I should share an update on this issue: we are still working on the lag. Allowing players to disable item comparison might be a solution (or one of them). The team will test it thoroughly.