Re: [CODE?] Syserr when booting objects..

From: Torgny Bjers (
Date: 08/08/00

-----Original Message-----
From: Peter Ajamian <>
Date: tisdag, 8 augusti 2000 13:25
Subject: Re: [CIRCLE] [CODE?] Syserr when booting objects..

>Torgny Bjers wrote:
>> -----Original Message-----
>> From: Peter Ajamian <>
>> >Torgny Bjers wrote:
>> >
>> >> Why does it say UNDEFINED when you should set it to 0 (or -1 as you
>> >> here) if it is unassigned?  I think that stock OasisOLC sets it to 0,
>> >> it not supposed to be 0, but -1?
>> >
>> >Yes, it HAS to be -1 for no spell.
>> Id est, there is something wrong with genobj.c saving them down as 0,
>> It should save them as -1, is that correct?
>No, actually, the oedit command sets all 4 values to 0 for any object of
>any type by default.  It just happens that scrolls won't work if they
>have values set to 0 so you have to change them when you create the
>Regards, Peter

You mean that I have to manually change the world files every time someone
creates a friggin scroll?  That's about retarded if you ask me.  How do I go
about and fix this?  Should I force it in Oedit.c or fix it in the db.c boot
when it reads the object?  I tried to set the value in the world file to -1
and it worked, but I don't want to have to open every file up manually
whenever a builder edits a scroll.. :)

So, where do I fix it so it saves it down / reads it properly?

Kind regards,

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 04/11/01 PDT