[DGD]mappings, use of.
E. Harte
harte at xs4all.nl
Fri Apr 16 15:14:53 CEST 1999
On Fri, 16 Apr 1999, The MUD Thingie wrote:
> > Check the savefile. Maybe restore_object() succeeds, but the variables
> > are 'restored' to nil. I prefer the following:
> I found the problem. For some reason restore_object() returns 1 when
> there is no savefile for it to refer to. ie. it seems to pretend it found
> the variables. If I detected whether the file existed or not before using
> restore_object() to load the variables it worked.
>
> BTW Im using 1.1.59 DGD. However Im writing this from memory,
> so I may be wrong :) But Im pretty sure the above is what I noticed
> before I fixed it.
I'm using 1.1.59 DGD right now and it's most definitely not returning '1'
if the file does not exist, there must've been something else that you
overlooked and fixed in the process of adding the file checks.
Erwin.
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list