Re: [OAISIS] Sedit Crash

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 09/27/97


On Sat, 27 Sep 1997, Ron Hensley wrote:

>The backtrace goes on forever in an endless loop.
>My oasis is the original, not the one people have been workign with the
>past year. It seems to be to do with the shopkeeper function getting
>called when my builder types 'sedit' in the shop itself. I find noowhere
>in sedit where assign_the_shopkeers is caleld to update things when a new
>shop is made, nor SHOP_FUNC().....

Looks like the shopkeepers other special procedure was erroneously set to
be a shopkeeper.  Thus the shopkeeper function checks to see if the mob has
another special procedure, and if it does (like say puff) then it executes
it.  Here, the other special procedure is a shop special so when it
executes that, the new shop special checks for a secondary special and lo
and behold, executes itself again.

Check for places that shop_index[].func is assigned and make sure it is not
set to shopkeeper.

 --
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST