Herbs not disappearing

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Herbs not disappearing

Post 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.
A hero of war is that what they see...
User avatar
gigiikun
L2j Veteran
L2j Veteran
Posts: 637
Joined: Wed Jan 24, 2007 10:00 am
Location: Hungary

Re: Herbs not disappearing

Post 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!
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Herbs not disappearing

Post by _DS_ »

Main question - herbs disappearing after player relog ?
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
gigiikun
L2j Veteran
L2j Veteran
Posts: 637
Joined: Wed Jan 24, 2007 10:00 am
Location: Hungary

Re: Herbs not disappearing

Post 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.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Herbs not disappearing

Post by _DS_ »

Hmmm... you testing it yourself ? (I absolutely not trust players :) )
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
gigiikun
L2j Veteran
L2j Veteran
Posts: 637
Joined: Wed Jan 24, 2007 10:00 am
Location: Hungary

Re: Herbs not disappearing

Post 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.
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Re: Herbs not disappearing

Post 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...
A hero of war is that what they see...
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Herbs not disappearing

Post by _DS_ »

Last time I seen non-disappearing herbs on my live was ~4-5 months before...
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Herbs not disappearing

Post 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
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Re: Herbs not disappearing

Post 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
A hero of war is that what they see...
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Re: Herbs not disappearing

Post 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
A hero of war is that what they see...
Post Reply