[MOUNT] Mount.diff - a crash !

From: Yohay Etsion (yohay_e@NETVISION.NET.IL)
Date: 08/30/98


Greetings everyone ,

I just ended hand-patching the mount.diff and
I have a little problem with it.

I have bpl14 patched with OLC2+ , the new class.c
(the latest patch that converts the tables to formulas)
and I work with MSVC5 on WIN95.

Now to the problem :
After I patched mount.diff by hand , I compiled
it , and the compilation ran smoothly except for 2
little warnings :
D:\Circle\CircleOasis2\src\class.c(210) : warning C4244: '=' :
conversion from 'double ' to 'float ', possible loss of data
D:\Circle\CircleOasis2\src\class.c(212) : warning C4244: 'return' :
conversion from 'float ' to 'unsigned char ', possible loss of data
it linked it fine , though.

When I executed it , it ran just fine and "went to sleep".
However , when I try to connect , it lets me , and after a
couple of seconds the MUD crashes.

The debugger points me to :
/* special in inventory? */
  for (i = ch->carrying; i; i = i->next_content)
->  if (GET_OBJ_SPEC(i) != NULL)
      if (GET_OBJ_SPEC(i) (ch, i, cmd, arg))
        return 1;

I tried to figure it out , but with no use.
Anyone has an idea what's wrong ?

Yohay


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