File structure for Express BBS "USERLOG.DAT" ******************************************* This text file has been provided in the hopes that some enthusiastic Express BBS sysop will take on the task of writing a new and improved User Editor. I'd do it myself except that I just don't have time. It would be nice to have a larger assortment of SORT and PRINT functions. Our club librarian is (hopefully) writing a little sort/print utility that I will upload to GEnie when finished (if it's alright with him) but this will be NO aternative to a new UE. You'll notice upon inspection that I have omitted the odd byte here and there. I just didn't find its purpose and indeed there are purposes I didn't find the byte for as well. I'm not much of a programmer so I hope this text makes sense to one who is. Todd Johnson, Vantari Users' Group (BBS Sysop), Vancouver, B.C., Canada BBS:(604)731-3397 24 hrs. 3/12/2400 baud. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- * Records are 288 bytes each. ------------------ * Record 0 serves as a header and therefore contains no user data. ------------------ Header record (record 0): Bytes [1&2] = Number of records contained in the Userlog.dat file. (This does not include to two mask records at the end of the file that hold the configuration of "New users" and "Visitors".) [3&4]= Number of records that have been used. [5&6]= Version # of USERLOG.DAT file. Anything other than "0010" will cause an error message upon loading the file into User-Editor or BBS. [7-287] garbage. ------------------- * Records 1 thru total: ------------------- Byte [1] ? [2] 1 if record is ACTIVE, 0 if user has been deleted from BBS. [3] Character count for HANDLE field. (max. 30) [4] HANDLE of user. [35] Character count for NAME field. (max. 30) [36] NAME of user. [67] Character count for PASSWORD field (max. 15) [68] PASSWORD of user. [83] Character count for STREET ADDRESS field (max. 25) [84] STREET ADDRESS of user. [109] Character count for CITY field. (max. 20) [110] CITY of user. [131] Character count for STATE field (max. 2) [132] STATE field. [135] Charcter count for ZIP field. (max. 10) [136] ZIP field. [147] Character count for COUNTRY field. (max. 15) [148] COUNTRY field. [163] Character count for PHONE NUMBER field. (max. 15) [164] PHONE NUMBER of user. [180] AGE of user. (1 byte max.) [181] Character count for COMPUTER TYPE field. (max. 14) [182] COMPUTER TYPE field. [197] 32 single bit flags showing access-levels of user. [201] Character count for LAST CALL DATE field. (always 8) [202] LAST CALL DATE (mm/dd/yy) [211-12] Time permitted per call. [213-14] Time permitted per day. [215-16] Time already used today. [217-18] Number of highest message user has read. [219-20] permissable download/upload ratio. [221-22] Total number of files user has DOWNLOADED. [223-24] Total number of files user has UPLOADED. [225-26] Number of messages user has POSTED. [227-28] Number of PRIVATE E-MAIL MESSAGES user has sent. [229-30] Total number of calls user has made to this BBS. [232] Screen width (ascii character 40 or 80 expected) [234] Download protocol choice (Ymodem=2, Xmodem crc=1, Xmodem chk=0). [236] Transfer protocol padding (0=Size byte, 1=^Z) [242] Terminal emulation type (0=Atascii, 1=mono VT52, 2=colour VT52). [244] NEW USER flag. (1 if user is NEW, 0 if already validated) [245-248] 32 single bit flags showing which of 32 SURVEYS have been taken. [253-256] 32 single bit flags. READ ability in which of 32 message bases. [257-260] " " POST " " [261-264] " " EDIT ANY MESSAGE " [265-268] " " DELETE ANY MESSAGE " [269-272] " " PRINT ANY MESSAGE " [273-276] 32 single bit flags. ACCESS FILES in which of 32 file SIGS. [277-280] " " VALIDATE UPLOADS " [281-284] " " EDIT DESCRIPTIONS " [285-288] " " DELETE ANY FILE " -------------------------------------------------------------------------------- Down-Underware ************** This data structure was deciphered while undergoing severe cerebral stress. If you can find it within your heart to help alleviate some of this stress, I'd appreciate your donation of a 6-pack of Fosters or a live Koala. - Please support Down-Underware. - ------------------------------------------------------------------------------- | | | . | |======| / \ ( / \ / /----\ \ ( | \ )