![]() |
[HELP] - How to clean unpicked drops
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... |
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
|
Quote:
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.
|
Quote:
|
Quote:
I dont know how to do it... because I even try using DelItem2Packet from cached but isnt working with unowned items. |
Quote:
|
Quote:
|
You can ask djvogans , dex ( www.lineage.ro ) have a system like this . :D :D
http://forum.lineage.ro/index.php?topic=14885.0 |
Quote:
|
Quote:
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 ;) |
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 items cleared is a private project no longer supported in last version of amped. cypher made it just to prove it is possible. |
Quote:
|
amped 2.0 c :D rox lot :D
|
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
|
| All times are GMT. The time now is 22:51. |