Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 01.08.2007, 15:32   #1
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default [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

Thanks in advance and sorry for my english.
gammexane is offline  
Old 01.08.2007, 16:13   #2
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

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...
FidoW is offline  
Old 01.08.2007, 16:27   #3
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default

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.
gammexane is offline  
Old 01.08.2007, 17:36   #4
KOC2000
Архивный участник
 
Join Date: Jun 2006
Posts: 100
Default

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
KOC2000 is offline  
Old 01.08.2007, 17:47   #5
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default

Quote:
Originally Posted by KOC2000 View Post
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.
gammexane is offline  
Old 01.08.2007, 19:57   #6
Arcia
Архивный участник
 
Join Date: Dec 2006
Posts: 135
Default

I would love to see an NPC picking up a dead player's drops.

Simply fantastic.
Arcia is offline  
Old 01.08.2007, 20:13   #7
Ryatzu
Архивный участник
 
Join Date: Jun 2006
Posts: 35
Default

it is possible, a good friend of mine made it for an C4 server once.
Ryatzu is offline  
Old 01.08.2007, 20:18   #8
Arcia
Архивный участник
 
Join Date: Dec 2006
Posts: 135
Default

Quote:
Originally Posted by Ryatzu View Post
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
Arcia is offline  
Old 01.08.2007, 20:19   #9
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by Ryatzu View Post
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.
FidoW is offline  
Old 01.08.2007, 21:27   #10
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default

Quote:
Originally Posted by Ryatzu View Post
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 is offline  
Old 01.08.2007, 21:30   #11
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default

Quote:
Originally Posted by Arcia View Post
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!!!!!"
gammexane is offline  
Old 01.08.2007, 23:12   #12
emanuel
Архивный участник
 
Join Date: May 2007
Posts: 86
Default

You can ask djvogans , dex ( www.lineage.ro ) have a system like this .
http://forum.lineage.ro/index.php?topic=14885.0
emanuel is offline  
Old 01.08.2007, 23:35   #13
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by emanuel View Post
You can ask djvogans , dex ( www.lineage.ro ) have a system like this .
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
FidoW is offline  
Old 02.08.2007, 13:10   #14
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default

Quote:
Originally Posted by emanuel View Post
You can ask djvogans , dex ( www.lineage.ro ) have a system like this .
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...
gammexane is offline  
Old 03.08.2007, 22:20   #15
Fot@r@s
Архивный участник
 
Join Date: Mar 2007
Posts: 118
Default

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
Fot@r@s is offline  
Old 04.08.2007, 07:03   #16
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

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.
djvogans is offline  
Old 04.08.2007, 10:19   #17
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by djvogans View Post
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 i love cypher
FidoW is offline  
Old 04.08.2007, 11:52   #18
l2pvppower
Архивный участник
 
Join Date: Jul 2007
Posts: 15
Default

amped 2.0 c rox lot
l2pvppower is offline  
Old 04.08.2007, 12:05   #19
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

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.
djvogans is offline  
Old 04.08.2007, 15:13   #20
nish
Архивный участник
 
Join Date: May 2006
Posts: 237
Default

there is also a new skill exploit
nish is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:18.