mbbsemu / MBBSEmu

The MajorBBS Emulation Project is an Open Source, Cross-Platform emulator for easily running The MajorBBS & Worldgroup Modules
https://www.mbbsemu.com
MIT License
128 stars 14 forks source link

[WCCMMUD] MajorMud - Loading .DAT file with Btrieve #9

Closed lucid2310 closed 3 years ago

lucid2310 commented 3 years ago

There is an issue when loading the WCCTEXT.DAT file, it cannot find the textblock records.

lucid2310 commented 3 years ago

@enusbaum I couldn't add labels or assign, if you can add Majormud label and assign it to me, I am investigating the issue.

enusbaum commented 3 years ago

@lucid2310 If you can set a break point after the records are loaded from the .DAT file and use the WriteRecoveryFile() method to dump the records similar to how "BUTIL -RECOVER" would. This should allow you to trouble shoot if there's an offset issue with the records.

https://github.com/enusbaum/MBBSEmu/blob/master/MBBSEmu/Btrieve/BtrieveFileProcessor.cs#L1091

enusbaum commented 3 years ago

@lucid2310 This might be fixed in #14 as WCCTEXT.DAT used a numeric key, if it was performing a GetKeyNext() and getting zero on the first record.

image

lucid2310 commented 3 years ago

I will check it when I get home, thanks for taking a look at this as well.

tuday2 commented 3 years ago

@paladine This is fixed now right?

tuday2 commented 3 years ago

Fixed in #268