> Does anyone know why when your in zedit, redit, medit or sedit that you > don't show up on where or who? I would prefer that I could see them, > maybe set a lvl their visible to when doing this. It's because when you're building, you're not in CON_PLAYING (you're in one of the CON_xEDIT states if you're using Oasis). The solution that I came up with was to create an IS_BUILDING macro and replace "if (d->connected)" in do_who with "if (d->connected && !IS_BUILDING(d))" Here's my IS_BUILDING macro: #define IS_BUILDING(d) ((d)->connected == CON_REDIT || \ (d)->connected == CON_MEDIT || \ (d)->connected == CON_OEDIT || \ (d)->connected == CON_SEDIT || \ (d)->connected == CON_ZEDIT) ___ Jon A. Nielsen Lazarus of Spear of Insanity MUD spear.kilnar.com:1066 http://spear.kilnar.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 : 04/10/01 PDT