Oh well.. Fighting with the code and so on..
I've now traced the strange swapbug I have to something I put in
interpreter.c, so I would be very glad if someone would look it over and
see if they find any errors. Symptoms is this:
Serces has a bag and a dagger, He puts the dagger in the bag, saves and
quits. Then rejoins, the dagger is now outside the bag. Quits again and
rejoins, dagger is now all of a sudden inside bag. *VERY* VERY weird.
Looking at the locations of the objects it tells me this much :
Bag Dagger
After 1. Quit 0 0
After 1. join 0 -1
After 2. Quit 0 -1
AFter 2. join 0 0
Mucho Weirdo, So I had to track everything down, since this is only when
I join that it swaps place, and took a very long look at Look at what
happens when players join the mud.
Up to this part, everything is pretty much standard.
act("$n has entered the game.", TRUE, d->character, 0, 0, TO_ROOM);
save_room = world[d->character->in_room].number;
SET_BIT_AR(PLR_FLAGS(d->character), PLR_LOADROOM);
GET_LOADROOM(d->character) = save_room;
save_char(d->character, save_room);
Crash_crashsave(d->character);
send_to_char("The Game has forced you to save.\r\n", d->character);
And here's the *VERY* weird stuff. If I remark the
Crash_crashsave(d->character) it doesn't swap objects around anymore,
but on the other hand, it doesn't take the dagger and put it in the Bag.
Here I seem to give up, it doesn't make any sense to me. Anyone who has
applied the autoeqpatch from the FTP site with the same/similar
problems??? Or is it just me who's being totally lame?
/Serces
+------------------------------------------------------------+
| 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/08/00 PST