Page 1 of 1

Herbs not disappearing

Posted: Thu Jul 30, 2009 6:53 pm
by devo
L2J Revision Number: 3332
L2JDP Revision Number: 6445

I have issue with herbs. In few locations they are not disappearing even if I have set them to disappear after 30s.
For example on Hot Spring. They are on ground but its impossible to pick up them, and its making lags.

Re: Herbs not disappearing

Posted: Fri Jul 31, 2009 9:13 am
by gigiikun
We run into this problem too. I do not know what cause it, but I know why you can see the herbs but why can't you pick it up:
- Players can see the herb/item if it is in the region visible objects list
- Players can pick it up if it is in the L2World _allObjects list

So this means that the herb/item is in the region visible objects list but not in the world allObject list, but I do not know how this can happen. Anyone who has an idea why this happens please share it!

Re: Herbs not disappearing

Posted: Fri Jul 31, 2009 9:33 am
by _DS_
Main question - herbs disappearing after player relog ?

Re: Herbs not disappearing

Posted: Fri Jul 31, 2009 9:44 am
by gigiikun
_DS_ wrote:Main question - herbs disappearing after player relog ?
No, because they are part of the region visible object list so spawnItem packet is sended.

Re: Herbs not disappearing

Posted: Fri Jul 31, 2009 10:00 am
by _DS_
Hmmm... you testing it yourself ? (I absolutely not trust players :) )

Re: Herbs not disappearing

Posted: Fri Jul 31, 2009 10:04 am
by gigiikun
_DS_ wrote:Hmmm... you testing it yourself ? (I absolutely not trust players :) )
Yes, I sniffed packets ;). As I said on our server this sometimes happens :S.

Re: Herbs not disappearing

Posted: Fri Jul 31, 2009 11:40 am
by devo
Yep I have same issue, when it happen everyone see that herbs, but cant pick it up. After few hours there is a lot of herbs, and its making lags...

Re: Herbs not disappearing

Posted: Fri Jul 31, 2009 11:52 am
by _DS_
Last time I seen non-disappearing herbs on my live was ~4-5 months before...

Re: Herbs not disappearing

Posted: Fri Jul 31, 2009 12:12 pm
by MELERIX
sometimes happens with others items, not only herbs... I remember to see some items dropped near to taurin, visibles all time but impossible to pick up

Re: Herbs not disappearing

Posted: Fri Jul 31, 2009 12:48 pm
by devo
I'll post you a screen if have one, its like colorful zone, herbs everywhere. Usualy in Hot Spring, Dead Pass and Dragon Valley

Re: Herbs not disappearing

Posted: Fri Jul 31, 2009 1:13 pm
by devo
Problem is here:

java/net/sf/l2j/gameserver/taskmanager/KnownListUpdateTaskManager.java

Code: Select all

			// synchronized (region.getVisibleObjects())			{				for (L2Object object : vObj) // and for all members in region				{					[color=#FF0000]if (!object.isVisible())[/color]						continue; // skip dying objects