DG scripts with OLC interface

From: Gennady Gurov (gurov@FRII.COM)
Date: 07/27/98


i'm still trying to solve the problem with displaying triggers from
oedit/medit/redit crashing the mud, here's what happens...:

D) Applies menu
E) Extra descriptions menu
S) Script      : Set.
Q) Quit
Enter choice : s

     Script Editor

     Trigger List:
      1) [106] new trigger

 N)  New trigger for this script
 D)  Delete a trigger in this script
 X)  Exit Script Editor

     Enter choice :    X

D) Applies menu
E) Extra descriptions menu
S) Script      : Set.
Q) Quit
Enter choice :   s

     Script Editor

     Trigger List:
      1) [106] new trigger

 N)  New trigger for this script
 D)  Delete a trigger in this script
 X)  Exit Script Editor
     Enter choice :    X

D) Applies menu
E) Extra descriptions menu
S) Script      : Set.
Q) Quit
Enter choice :  S

*crash*
gdb returns this:

#0  0x80cd0a6 in dg_script_menu (d=0x837e110) at dg_olc.c:682
682         sprintf(buf,"     %2d) [%s%d%s] %s%s%s", ++i, cyn,
editscript->vnum, nrm, cyn,
trig_index[real_trigger(editscript->vnum)]->proto->name, nrm)

(gdb) print *editscript
$1 = {vnum = 1074596008, next = 0x400d08a8}

crash would occur if i chose Quit and saved the object internaly, Has
anybody had the same problem ?
Any help would be appreciated


     +------------------------------------------------------------+
     | 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/15/00 PST