Galed Friedmann wrote: > > Hello, > Where can i find the 'autowiz' thing, that updates the wizlist any time > somebody get advanced? its not removing immortals when i remove them, > and i want to add new god positions that i would like to be added automaticly. > > Where is it located at? the wizlist does not get updated when players are removed or demoted but only when a player is added. The next time you advance someone the wizlist and immlist should be updated correctly. If you want to modify the source so that the list is updated when players are removed from the list it should be fairly simple (note, untested)... in the function gain_exp_regaurdless look for these lines... } set_title(ch, NULL); check_autowiz(ch); } } } move the check_autowiz line down so it looks like this... } set_title(ch, NULL); } check_autowiz(ch); } } Then in interpreter.c in the nanny function find the following... sprintf(buf, "%s (lev %d) has self-deleted.", GET_NAME(d->character), GET_LEVEL(d->character)); mudlog(buf, NRM, LVL_PR, TRUE); STATE(d) = CON_CLOSE; return; ...And add a check_autowiz line as follows... sprintf(buf, "%s (lev %d) has self-deleted.", GET_NAME(d->character), GET_LEVEL(d->character)); mudlog(buf, NRM, LVL_PR, TRUE); + check_autowiz(ch); STATE(d) = CON_CLOSE; return; Good luck and I hope this helps:) Peter +------------------------------------------------------------+ | 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