View Full Version : [HELP] - How to clean unpicked drops
gammexane
01.08.2007, 15:32
Hi all, some time ago, I played in a private server in which the drops, that were not picked up in a fixed amount of time, dissapeared in order to avoid Lag problem. I'd like to implement that feature in my own server. Is there any known way to do this?
I have surfed this forum all morning and i didn't find any possible solution maybe because my english :D
Thanks in advance and sorry for my english.
Hi gammexane :)
There is no way to do it, not automatically at least, not by a safe way.
An option is with AI... using SEE_ITEM handler and AddGetItemDesire function, but that's a problematic way since npc will pick up all drops... dropped by players even...
Of course items are deleted each time server is restart with lin_DeleteNotOwnedItem that is executed by CacheD, but that isn't what you want...
Anyway.. i will say you... in my server thats not really a problem, tons of items on the floor have not important effects on server performance, for sure, maybe... in high rates server that will be noted a little... but one of the old systems to catch bots was thousand of invisible items on the floor... and server works complete perfect with it. The main problem of the items on the floor is for the computer of the player, cpu will work hard because more polygons to show... more work of the graphic card, etc, etc...
gammexane
01.08.2007, 16:27
A very old friend of mine did it, his server was not a L2J and the drops on floor disappeared after 30 minutes.
Unfortunately I lost his IM :(
BTW, thank you very much for your help.
If you're high rate server and drops nod needed at all I suggest you remove them, I myself removed all unimportant drops from npcs
gammexane
01.08.2007, 17:47
If you're high rate server and drops nod needed at all I suggest you remove them, I myself removed all unimportant drops from npcs
The rates are 5x, so drops are not a big problem. BTW I see the script that delete the drops... it is a good options, in fact I should delete just the arrows :P
Thanks for you answer.
I would love to see an NPC picking up a dead player's drops.
Simply fantastic.
it is possible, a good friend of mine made it for an C4 server once.
it is possible, a good friend of mine made it for an C4 server once.
I know, but just the thought of it makes me laugh. Nothing would be comparable to the player's face when a mob suddenly picks up its "spoils of war", hahahahahaaha xD
it is possible, a good friend of mine made it for an C4 server once.
So many info is going to congest the forum...
I dont know how to do it... because I even try using DelItem2Packet from cached but isnt working with unowned items.
gammexane
01.08.2007, 21:27
it is possible, a good friend of mine made it for an C4 server once.
Could you ask him about how he did it? Perhaps we are talking about the same person :-P
gammexane
01.08.2007, 21:30
I know, but just the thought of it makes me laugh. Nothing would be comparable to the player's face when a mob suddenly picks up its "spoils of war", hahahahahaaha xD
ROFL, the NPC should say: "DROP!!!!!"
You can ask djvogans , dex ( www.lineage.ro ) have a system like this . :D :D
http://forum.lineage.ro/index.php?topic=14885.0
You can ask djvogans , dex ( www.lineage.ro ) have a system like this . :D :D
http://forum.lineage.ro/index.php?topic=14885.0
If cypher is the guy do that like that forum says for sure is with a hook and not by some existing way by default... so... start coding a DLL or die :rolleyes:
gammexane
02.08.2007, 13:10
You can ask djvogans , dex ( www.lineage.ro ) have a system like this . :D :D
http://forum.lineage.ro/index.php?topic=14885.0
That is exactly what i want but:
Update: item clearing disabled until further notice.
:(
I going to ask the reason...
Fidow you say about a table in MSSQL DB right ? the lin_items... and you say that cached clear it in every server restart. I am sure that you can make a php script like this you have made for hero skill aquire witch can exexute this action (clear table).
--
This problem with the drops have the most server i know with hoght rates.
Anyway i will wait for answer ;)
djvogans
04.08.2007, 07:03
u won't have lag from items droped on the floor .
it is possible to clean drops from ground . but you will get a lot of players with " i droped my armour,etc " and when i come back to the place where i died i found nothing .
this is the reason we disabled the option.
about mobs picking up drops ..that was something in c4 modded. best implementation i know in l2 :) . players made parties to find mobs who get items droped . very funny.
@gammexane (https://postpacific.loc-online.com/forums/member.php?u=2384) items cleared is a private project no longer supported in last version of amped. cypher made it just to prove it is possible.
items cleared is a private project no longer supported in last version of amped. cypher made it just to prove it is possible.
Yep, like i say... a DLL implementation :p i love cypher
l2pvppower
04.08.2007, 11:52
amped 2.0 c :D rox lot :D
djvogans
04.08.2007, 12:05
l2pvpower are u idiot or something ?
amped2.0c ? what is that ? u managed to steal something ? ppl like you make good coders leave the l2 coding side.
advice: soon you will beg for another fix and there will be no cypher to fix it for you. i hope someone else will make a fix for you or 90 % of private servers will be closed , since cypher is out of l2 world.
i'm talking about warehouse dupe exploit.
there is also a new skill exploit :p