[NEWBIE]OLC/DGScripts...more problems

From: Christina Orr (torr@MAIL.TQCI.NET)
Date: 04/22/98


I finally got the mud (pl12) to compile with the patch for Oasis+DGScripts
from Equoria's webpage but it crashes almost immediately after booting.
The code is completely stock other than this addition.

There are a couple warnings I get that may be the problem but I can't locate
the actual problem code.

****************************************************************************
*********************
db.c(2138) : warning C4022: 'free' : pointer mismatch for actual parameter 1
db.c(2140) : warning C4022: 'free' : pointer mismatch for actual parameter 1

if (ch->player_specials->poofin)
      free(ch->player_specials->poofin);
    if (ch->player_specials->poofout)
      free(ch->player_specials->poofout);

****************************************************************************
*********************
act.wizard.c(1418) : warning C4047: '=' : 'char ** ' differs in levels of
indirection from 'char (*)[201]'
act.wizard.c(1419) : warning C4047: '=' : 'char ** ' differs in levels of
indirection from 'char (*)[201]'

ACMD(do_poofset)
{
  char **msg;

  switch (subcmd) {
(1418) -->  case SCMD_POOFIN:    msg = &(POOFIN(ch));    break;
(1419) -->  case SCMD_POOFOUT:   msg = &(POOFOUT(ch));   break;
  default:    return;    break;
  }

  skip_spaces(&argument);

  if (*msg)
    free(*msg);

  if (!*argument)
    *msg = NULL;
  else
    *msg = str_dup(argument);

  send_to_char(OK, ch);
}

If its any help at all, Windows gives me this info when the mud crashes:

CIRCLE caused an invalid page fault in
module KERNEL32.DLL at 015f:bff76838.
Registers:
EAX=005f0458 CS=015f EIP=bff76838 EFLGS=00010246
EBX=005f0458 SS=0167 ESP=005f0000 EBP=005f0014
ECX=005f0098 DS=0167 ESI=8177fe94 FS=5a27
EDX=bff7684d ES=0167 EDI=005f00c0 GS=0000
Bytes at CS:EIP:
ff 75 0c ff 75 08 ff 55 18 83 c4 10 64 8f 05 00
Stack dump:
005f00dc 005f0098 005f0458 bff7684d 005f0458 005f00a8 bff87f0f 005f00c0
005f0458 005f00dc 005f0098 bffbf7e4 8177fed8 8177fd14 00000000 00000000


As I have said in previous posts I am a newbie at this.  I have actually
successfully installed other patches to another copy of the code but
anything involving Oasis always seems to kick my butt. : )  Any ideas/help
anyone could offer would be greatly appreciated.

-Casandra


     +------------------------------------------------------------+
     | 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