So I've run into an interesting problem lately. Something that I've done hasãcompletely hosed the msg_area.scan_ptr, potentially in multiple message areas. ãI'm not sure what's caused it but I'm pretty sure that I've got rid of it. ã'Course either way I still need to be able to reset it to a 'sane' value soãthat I can resume testing this software with this login, or be able to recoverãa different login should I start using it.ã Here's a little dump of the debug information that I've got. Please noteãthat sBoard is a msg_area object and mBase is a MsgBase object.ãã-=-=-=-=-=-ããBabble> Using node #: 1ãRead backwardãEntered scanSub(); forward = false user.cursub: topegrpbabbleãsBoard.code: topegrpbabbleãOpened: topegrpbabble allegedly . . .ãmBase.error:ãsBoard.scan_ptr = 2060051968ãmBase.first_msg = 1ãmBase.total_msgs = 13ãmBase.last_msg = 13ãInc: -1 based on forwardãIn main scanSub() loop tmpPtr: 2060051969 total_msgs: 13 is_open: yesãDEBUG: Next MsgãEnd of scanSub() main loopãtmpPtr: 2060051968 inc: -1ãrcChoice() called w/base: topegrpbabble ndx: 2060051968ãUsing node #: 1ãReopened topegrpbabble to check for updatesãã[Babble> msg #2060051969 (-2060051955 remaining)] Read cmd -> ãã-=-=-=-=-=-ã If anybody has any ideas on how to reset that number easily (other than inãcode, I'm hoping) to something sane (ie in this case 1-13), I would very muchãappreciate it. I think at one point I just didn't have the edge case definedãwell enough and it ran off to the negative overflow area of a long when I wasãdoing a backwards message scan.ã Any ideas appreciated. Thanks for your time.ãã -D/Kãã---ãBorg Burgers: We do it our way; your way is irrelevant.ã þ Synchronet þ Tinfoil Tetrahedron BBS
telnet://tinfoil.synchro.netã