Don't have an answer to this problem, and you'll kick me for saying this, however hindsight is always 20/20 and you'll thank me for the suggestion next time you run into a problem like this. Never modify the only copy of your working code. Either look into using Revision Software that tracks changes and will let you backout to the last version, that still works, or at least copy all of the source to your stable working code elsewhere before you start the next round of hacking. Once you are done a hack session, its compiled, its ran and worked for a week or more with no problems and you are 100% secure its good to go, copy it into your 'good working source' folder. -------------------------------------------------------------------------- Ron Hensley (ronh@intercom.net) Network Administrator - ICNet Internet Services -------------------------------------------------------------------------- ----- Original Message ----- From: Emil Nilimaa <kyos_overlord@hotmail.com> To: <CIRCLE@post.queensu.ca> Sent: Wednesday, November 17, 1999 5:03 PM Subject: Olc, ASCII pfile, player char data... :P > Hmm, > This problem make me sick :P > > I have put ASCII pfiles in and Oasis olc, and everything seemed ok, > until i started messing with new stuff in char player data. > Which almost always ended up crashing the game when using the olc. > > Seems there must be some icky errors along the path of stuff > i added. most likely concerning ASCII pfiles and Oasis. > > Messed some with makefile, added the -lefence etc. > > and now game wont start. :) > And it seems as i start with autorun, something starts using > all of the computers memory or cpu. Really hacking down the computer. > It spits out a HUGE core file too :P > > this is what gdb tells: > > (gdb) bt > #0 0x80a6eed in fbgetline (fbfl=0x4015ffe8, line=0xbffffa34 "A") > at diskio.c:23 > #1 0x807601c in build_player_index () at db.c:461 > #2 0x8075c96 in boot_db () at db.c:326 > #3 0x807131c in init_game (port=4000) at comm.c:344 > #4 0x80712c5 in main (argc=3, argv=0xbffffc14) at comm.c:320 > #5 0x4005ecb3 in __libc_start_main (main=0x8071060 <main>, argc=3, > argv=0xbffffc14, init=0x80491fc <_init>, fini=0x80aa47c <_fini>, > rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc0c) > at ../sysdeps/generic/libc-start.c:78 > (gdb) > > in diskio.c : > > int fbgetline(FBFILE *fbfl, char *line) > { > char *r = fbfl->ptr, *w = line; > > if(!fbfl || !line || !*fbfl->ptr) > return FALSE; > > for(; *r && *r != '\n' && r <= fbfl->buf + fbfl->size; r++) <- 23! > *(w++) = *r; > > while(*r == '\r' || *r == '\n') > r++; > > *w = '\0'; > > if(r > fbfl->buf + fbfl->size) > return FALSE; > else { > fbfl->ptr = r; > return TRUE; > } > } > > > <- 23 shows which line is nr 23. > > > hmm.. anyone got a clue > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > > > +------------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | > +------------------------------------------------------------+ > +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST