1) I hope this is not a stupid question, but has been bugging me I have a question concerning the global buffers declared in db.h. Are these allocated for each socket connected to the mud server? I notice that these buf's get set to NULL in a lot of functions as well as overwritten with strcpy and sprintf. Is it possible for two players to trigger two functions in such a manner that one function destroys what the other function has done with the buffer? Maybe a need some sleep or something but this is boggling me. 2) I have done a 'poor man's hack' of 128 bits using the old AFF2_, AFF3_ method and added three more bitvector_t's to the affected structure. Everything works great, spells are applied correctly and etc... however, I noticed that casting affect spells such as curse on a mob yields a corrupted duration setting. In magic.c I set the duration to 1 + GET_LEVEL(ch) where level = 110. The duration is defined as a short int (I believe 4 bytes on my machine) anyway 111 should fit into a 2 byte int anyways. So, when I stat the mob it lists the duration as 898. I checked do_stat_char and I do not see a problem there. Any ideas? Thanks, Chuck +------------------------------------------------------------+ | 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