I'm not sure what is causing your problem, but a couple of suggestions on troubleshooting if you haven't already tried them: You mention that it causes problem when you try to use longer race names containing color codes.....did you try using a long race name (the same size as the one you tried) except with no color codes? If it works without the color codes, it points you towards your problem. Another thing you might want to try is a shorter race name with color codes. Again, if it doesn't work with the color codes you may have an idea of where to start. These are just a few suggestions to take a look at the color code. The fact that it only does it the first time they log off also seems to be a very important fact. It's been a while since I've taken a good look at the code, but someone could probably tell you if there is something saved differently the first time then it is after that. Good luck --Tyr-- Currently Mudless (Damn Server) >From: emil nilimaa <kyos_overlord@HOTMAIL.COM> >Reply-To: Circle Discussion List <CIRCLE@post.queensu.ca> >To: CIRCLE@post.queensu.ca >Subject: CODE Question -> Race war, changes.... >Date: Mon, 26 Jul 1999 16:07:18 -0700 > >Hi coders and stuff.... > >myself is new to all what it means... >but still trying. > >ok Im planning on having racewar fashion on the mud.. > >where all good races see the evil as "An Ogre is standing here..." bla >bla.. etc. >and also target by "Ogre" instead of the character name... > >what i did was adding a "racename" in the pfile, >that was specified as the player chosed the race.. >(and changed the db.c to save it..) >however i encountered a problem... >if a character had a long racename... >like for expample &gWoodland&n &cElf&n with ansi included.. >it worked fine for the player to log in but when loggin off.. the game >crashed. however.. if he logged on again.. and logged off.. it didnt crash. > only the first time. heh >i tried to define a race name length for it... made it 80 chars... >but still game crashed as they logged off for the first time. > >shorter name like Human worked fine. > >ohh well. if someone have some ideas about coding this stuff... >maybe you could give some hints.. >eventually i will get it to work... >but maybe there is a better way. > > >Using circlemud 3.0 bpl15 >and linux red hat 6 > >/Kyos > > >______________________________________________________ >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 | > +------------------------------------------------------------+ _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com +------------------------------------------------------------+ | 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