[CF-Devel] WG: [Crossfire-cvs] CVS commit: crossfire
crossfire-devel at archives.real-time.com
crossfire-devel at archives.real-time.com
Thu Dec 18 16:01:09 CST 2003
Hit wrong list.
>
>
On Daimonin this part will break the server and on
>
crossfire i think too.
>
>
The reason is that the server use clear_object() in
>
this context:
>
clear_object()
>
update_speed()
>
>
update_speed() will notice now the speed 0 and remove this
>
object from active list.
>
>
This is a bit hidden in the source because the function are
>
called over some edges.
>
>
You can proof it by login in a new started server... go in a map
>
with monster and logout (server still runing). Login back and all
>
monster should stay around without acting. If not this is still not
>
a proof - this effect will happens because the player as active object
>
should be before loaded map content (= mobiles).
>
>
MT
>
>
> ***************
>
> *** 534,540 ****
>
> op->head=NULL;
>
> op->map=NULL;
>
> op->refcount=0;
>
> ! /* What is not cleared is next, prev, active_next,
>
> active_prev, and count */
>
>
>
> op->expmul=1.0;
>
> op->face = blank_face;
>
> --- 534,542 ----
>
> op->head=NULL;
>
> op->map=NULL;
>
> op->refcount=0;
>
> ! op->active_next = NULL;
>
> ! op->active_prev = NULL;
>
> ! /* What is not cleared is next, prev, and count */
>
>
>
> op->expmul=1.0;
>
> op->face = blank_face;
>
>
>
>
-------------------------------------------------------
>
This SF.net email is sponsored by: IBM Linux Tutorials.
>
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
>
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
>
Click now!
http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
>
_______________________________________________
>
Crossfire-cvs mailing list
>
Crossfire-cvs at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/crossfire-cvs
_______________________________________________
crossfire-devel mailing list
crossfire-devel at lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
More information about the crossfire
mailing list