Thank you may just get mw the answer i needed :)
a copy of char may just be the problem. I will
check that.

-----Original Message-----
From: Chad Simmons [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 09, 2002 8:54 AM
To: Despret, Jerome
Cc: [email protected]
Subject: RE: do_quit bug ?



--- "Despret, Jerome" <[EMAIL PROTECTED]> wrote:
> Don't remember changing this code so it should be 95% stock
> in Gdb i see the code going back and forth to "if ( wch->reply == ch )"
> in extract char when someone quit ( happen like 0.02 % of the time )
> 
> I really do suspect this loop in do_quit :) but as you it seems ok to me :)
> hard to reproduce tho.

I shouldn't think it'd be too hard to induce.. Just make 2 player files with 
the same ID, log them both on, and have one quit. As a temporary fix you should

look through your player files and make sure that they all have unique id's. 
This usually get's overlooked when you are trying to make a copy of a character

with a different name, but the id's should be updated. In anycase, I don't see 
anything that would cause an infinite loop in either your extract_char or 
do_quit functions (assuming of course that your character_list is not linked 
improperly)

~Kender

=====
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/L/C/O d-(+) s++:+ a-- C+++$>++++ UBLS++++$ 
P+++(--)$ L++>+++ E--- W+>++$ N !o K? w(--) !O 
M- !V PS+ PE(++) Y+ PGP->+ t- 5 X+() R(+) tv+@ 
b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
------END GEEK CODE BLOCK------

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

Reply via email to