[VERY RARE] Some dropped items by players get bugged
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: [VERY RARE] Some dropped items by players get bugged
so.. is there a testing scenario how this bug with non-pickable items can be reproduced and tested?
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: [VERY RARE] Some dropped items by players get bugged
isnt it client bug like item is already deleted wit item auto destroy?
- denser
- Posts: 1392
- Joined: Wed May 30, 2007 9:13 pm
- Location: Russia
- Contact:
Re: [VERY RARE] Some dropped items by players get bugged
no, JIV, when i hot-on config to save items to db, save it, and restart server - you can login and pick it up. so item stays on ground..may be geo bug? i use geo all the time..
Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
L2J - the place where glad to see you any time!
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: [VERY RARE] Some dropped items by players get bugged
possible, i dont see geo check there.
- Pere
- Posts: 400
- Joined: Sat Jan 05, 2008 11:09 am
- Location: Catalunya, Berguedà
Re: [VERY RARE] Some dropped items by players get bugged
denser wrote:no, JIV, when i hot-on config to save items to db, save it, and restart server - you can login and pick it up. so item stays on ground..may be geo bug? i use geo all the time..
Lol, I already told you what happensJIV wrote:possible, i dont see geo check there.

No geo bug!
2 possibilities:
- Item is not saved in L2World._allObjects (during drop it isn't saved, because it should be from the beginning. To add a security check there fixed the problem for me). When this happens, players can click it and nothing happens.
- Item's location is ItemLocation.INVENTORY instead ItemLocation.NONE. On L2CharacterAI.onPickup() (or something like that), the item's location is checked before picking up the item. If it is not NONE, the function returns (I've fixed that checking if the item is in the character's knownlist and if so, setting the item's location to VOID. If it was really inside an inventory like its location said, it wouldn't be in the picker's knownlist). When this happens, players who click on it don't receive the ACTIONFAILED packet and to move again have to restart or target theirselves.
I repeat, on my server this is "fixed", doesn't happen anymore (and I've posted a patch for the second case in the first post), but the way to fix that isn't correct. We should know why the dropped items sometimes are not in L2World's allObjects list or their location isn't set to VOID.
EDIT: Nice one JIV!! This sync can be our salvation

Bones tardes amics meus tots!
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: [VERY RARE] Some dropped items by players get bugged
Such way (with knownlist check) is highly not recommended - all those checks are done on purpose.
I suspect dupe attempts from players.
I suspect dupe attempts from players.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- Pere
- Posts: 400
- Joined: Sat Jan 05, 2008 11:09 am
- Location: Catalunya, Berguedà
Re: [VERY RARE] Some dropped items by players get bugged
That's why I posted this, my fix is only temporal...
Bones tardes amics meus tots!
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: [VERY RARE] Some dropped items by players get bugged
dont think so that 4093 fix it (if there was bug),, also that geocheck should be added cause right now you can drop anywhere in 150 range