First I'm noticing that user names that are less than 8 characters are getting s ome piece of the word "unknown" appended to them. For
example, a username of "T rip" looks like "Tripown" when I pull it from the file (The BBS reads it properl y).
On 07 May 2021, Andy Gorman said the following...
First I'm noticing that user names that are less than 8 characters ar getting s ome piece of the word "unknown" appended to them. For example, a username of "T rip" looks like "Tripown" when I pull it fr the file (The BBS reads it properl y).
are you correctly fetching the first byte of the username as the length?
if you read through all the users using the same set of variables you can definitely end up with unexpected data in memory.
Second, when I loop through the file using the structure g00r00 has provided (th ank you! :) ), it seems that the byte count gets thrown off by one right after t he Birthday field. Which she is
Well, that seems to work. Main differences was that I didn't include
the record s file, I just included the RecUser type and things that I thought were needed. Clearly, I missed some of the required stuff.
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 02:09:31 |
Calls: | 93 |
Files: | 4,554 |
Messages: | 215,363 |