Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

Known Bugs in the DG Scripts...


Patch Level 2 Bugs


Here are a few bugs that are known:

in dg_scripts.c, in the lines:

      if (!str_cmp(field, "north")) {
        if (r->dir_option[NORTH])
          sprintbit(r->dir_option[NORTH]->exit_info ,exit_bits, str);
        else
          *str = '\0';
      }

      if (!str_cmp(field, "east")) {
        if (r->dir_option[EAST])
          sprintbit(r->dir_option[EAST]->exit_info ,exit_bits, str);
        else
          *str = '\0';
      }
...
Add an else before each of the ifs for the 6 directions (more if you have them) so that they look like this:
      else if (!str_cmp(field, "north")) {
        if (r->dir_option[NORTH])
          sprintbit(r->dir_option[NORTH]->exit_info ,exit_bits, str);
        else
          *str = '\0';
      }


In the function is_num (in dg_scripts.c) add the following lines to the beginning of the function:

  if (*num == '-')
    num++;


This will fix up a bug with the use of negative numbers.


in comm.c, there is a bug that will cause actions and speech performed in a room with a mob to crash you ::eek::. The fix is very simple: edit comm.c, search for the function perform_act(), scroll to the bottom. Three lines from the bottom, you'll see SEND_TO_Q(CAP(lbuf), to->desc). Simply add a line BEFORE this so you have:


              if (to->desc)
                      SEND_TO_Q(CAP(lbuf), to->desc)



Return to the Death's Gate Script page