Jump to content
  • 0

How to fix Monster die and can't gone


Question

7 answers to this question

Recommended Posts

  • 0
Posted
11 hours ago, M a p l e said:

killed the attacked monster or by command?

This usually happens when using command to kill all monsters

But try changing the hexed version.

I think thats a client issue if you use @refresh that will fix the issue of monster showing on screen even its dead.

  • 0
Posted (edited)
15 hours ago, Radian said:

I think thats a client issue if you use @refresh that will fix the issue of monster showing on screen even its dead.

Thank you

Edited by theong456
  • 0
Posted

Is there no other way to fix this? I am getting support questions about this. I did enable players to utilize @refresh btu is there no other solution to this issue?

  • 0
Posted

Add more time to check if the monster is dead or not, i was fighting with this for months but the solution was very simple, add more delay to check if the monster is dead or no.

in mob.cpp under mob_dead function change this:


 


		if( pcdb_checkid(md->vd->class_) ) {//Player mobs are not removed automatically by the client.
			/* first we set them dead, then we delay the outsight effect */
			clif_clearunit_area(&md->bl,CLR_DEAD);
			clif_clearunit_delayed(&md->bl, CLR_OUTSIGHT,tick+8000);
		} else
			/**
			 * We give the client some time to breath and this allows it to display anything it'd like with the dead corpose
			 * For example, this delay allows it to display soul drain effect
			 **/
			clif_clearunit_delayed(&md->bl, CLR_DEAD, tick+1000);

Just adjust the delayed value in clif_clearunit_delayed, the only side effect is the mob will show the animation of dead with a little bit of delay, but it's better than enable @refresh to all players to clean the "ghost" Mobs.

I hope this help.

Ropower Admin

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...