Re: [dgscripts] pl8 real_trigger()

From: The Fungi (fungi@yuggoth.org)
Date: 08/03/02


On Sat, Aug 03, 2002 at 12:25:32PM +0200, Thomas Arp wrote:
> ++  if (bot >= top)
> ++      return (NOTHING);
> >     if (trig_index[mid]->vnum == vnum)
> >       return (mid);
> --  if (bot >= top)
> --      return (NOTHING);
> >     if (trig_index[mid]->vnum > vnum)
> >       top = mid - 1;
> >     else
> >       bot = mid + 1;
> >   }
> > }
>
> This should fix your problem.

I tried the fix above, but suddenly the room test trigger (4) and
others are deemed not to exist. I can use trigedit to create it in
memory and it works fine, but it never gets saved to file and 0.trg
gets stripped down to about 10 triggers when it tries. I haven't
looked too closely yet to see if I can determine why it thinks
they're invalid. If anybody else beats me to a solution lemme know.
--
{ IRL(Jeremy_Stanley); PGP(9E8DFF2E4F5995F8FEADDC5829ABF7441FB84657);
SMTP(fungi@yuggoth.org); IRC(fungi@irc.yuggoth.org#ccl); ICQ(114362511);
AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER(fungi@yuggoth.org);
MUD(Nergel@mud.yuggoth.org:2325); WWW(http://fungi.yuggoth.org/); }

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT