On Wed, 28 Jan 1998, Robert Sinland wrote:
>$2 = {pfilepos = 1074394360, nr = -2824, in_room = 16393, was_in_room =
>890,
> was_battle = 0, player = {passwd = "Slr9fSGhRE",
> name = 0x83d4348 "\204&\023\bÀò\t@\020", prefix = 0x80bd72e "",
> short_descr = 0x0, long_descr = 0x0, description = 0x0,
> title = 0x81329f0 "Èò\t@Èò\t@dpupil",
> prompt = 0x83b9428 " ó\t@ ó\t@nt&Y: &B%o &W/ &cTank&Y:
>&B%t%_&r%h&Y(&R%H&Y)&whitp &c%m&Y(&C%M&Y)&wmana
>&g%v&Y(&G%V&Y)&wmove&Y>p", poofin = 0x0,
See as how 'nr' is _never_ set to anything other than 0 (for PC's), I
suspect your character just got tramped by a strcpy() or the like. Do you
have 16,393 rooms in your MUD? Do you have 1,074,394,360 players in your
pfile? Probably not. :)
I think adding magic bytes to the structures would be a great way to catch
(although not fix) these problems.
--
George Greer - Me@Null.net | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST