[CF-Devel] bugfix: unique maps
Andreas Vogl
andi.vogl at gmx.net
Mon Nov 20 20:39:17 CST 2000
Peter M. wrote:
>
> I think I looked at this before, and was not able to
>
> reproduce it. [...]
>
>
I also have NOT noticed this. [...]
Ignoring the bug was not exactly the kind of solution I
had in mind... =P
Here´s how to reproduce it (with current cvs-version):
- make a new character
- enter one of the perm. apartments (for the first time)
- drop some gold to the ground and leave the map
- re-enter the apartment: the gold is gone (because the
unique map did not get created in the playerdir yet).
I´ve already written a bugfix for that problem. It does
the following:
Every time a player leaves a unique map, there´s a check
if that map already exists in the player-dir. If not,
the unique map will be saved instantly after the player left.
I´m not sure weither this is really the most efficient
way to do it, but at least it works fine. I have attached the
diff file (server/main) for my bugfix, so if someone got
better ideas please tell me.
Andreas V.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c.patch
Type: application/octet-stream
Size: 1275 bytes
Desc: not available
Url :
http://shadowknight.real-time.com/pipermail/crossfire/attachments/20001121/bb9ad28b/main.c.obj
More information about the crossfire
mailing list