BLCM / OpenBLCMM

OpenBLCMM - Borderlands Community Mod Manager
GNU General Public License v3.0
33 stars 2 forks source link

OE can't load `BehaviorProviderDefinition'GD_Orchid_SM_Message_Data.MO_Orchid_XMarksTheSpot:BehaviorProviderDefinition_2'` #74

Open apocalyptech opened 7 months ago

apocalyptech commented 7 months ago

Reported by mopioid in shadowevil's server; OE returns:

Dump from BL2 data:
Unknown error reading object data: -10442450

I think that object might not actually properly be in the DB or something? When I plug it in initially it defaults to doing a search rather than pulling the object up...

sqlite> select * from object where name='GD_Orchid_SM_Message_Data.MO_Orchid_XMarksTheSpot:BehaviorProviderDefinition_2';
id|name|short_name|class|parent|separator|file_index|file_position|bytes|num_children|total_children
655236|GD_Orchid_SM_Message_Data.MO_Orchid_XMarksTheSpot:BehaviorProviderDefinition_2|BehaviorProviderDefinition_2|1536|655235|:|2|10493900|-10442450|108|108

... so it's in the database, but saying it's got -10442450 bytes. Fun!

Position 10493900 in BehaviorProviderDefinition.dump.2 happens to be the exact EOF, btw, so that object does not appear to actually be in the dumps.

Seems to probably be related to the dump files rolling over. This object is supposed to be the last in the file, but instead it doesn't exist. The next object in the processed dumps is the first of BehaviorProviderDefinition.dump.3. There's a little over 300 objects in the DB which seem to have this problem. I assume they're all going to end up being an example of this problem...