Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   anti l2walker (https://postpacific.loc-online.com/showthread.php?t=3223)

pipise4ko 02.02.2006 21:33

anti l2walker
 
In many servers i have seen cool feature like invisible item (anti-l2walker). This item drops from each npc and can be picked up ONLY by l2walker client and have a great weight, they cannot be destroyed or dropped. In other words, char became unusable... :lol: Does someone know, how i can do that feature on my server?

//rus на ельморе увидел классную фишку с якорями, они дропаются со всех мобов и подобрать их может тока л2валкер. Якоря очень много весят и их нельзя сломать или выкинуть, кароче чар запарывается и у юзера отпадает желание снова запускать бота :) ктонибудь имеет представление как можно замутить подобное?

Eanae 02.02.2006 22:24

Create an item with no drop texture or meshes, and add the item with a high weight number in itemdata. Shouldn't be that hard at all.

Edit: Thats a bad idea as well, because what if a normal player is using the pickup button?

pipise4ko 02.02.2006 22:34

i will try to do that... anyway, it is impossible to add this item to each mob's corpse_list... this is a big problem =\ may be some script in ai, like in l2day event?

Metalmurphy 02.02.2006 22:57

Quote:

Originally Posted by Eanae
Create an item with no drop texture or meshes, and add the item with a high weight number in itemdata. Shouldn't be that hard at all.

Edit: Thats a bad idea as well, because what if a normal player is using the pickup button?

As amazingly as it might seem even using the pickup button they dont pickup invisible items. I know this couse i once released a faulty patcher for my client that made some players have invalid files. One of the players complained the mobs werent droping adena, when i got there the ground was filled with adena and he couldnt see it, when i told him to use /pickup nothing happened :p

horyfilipe 02.02.2006 23:39

interesting, would anybody have guide fr item with no drop texture + inserting to all npc drops?

Eanae 02.02.2006 23:43

Hmm.. never knew that. Thanks for the interesting info. And to make an item invisible on the ground:

For example, to make arrows invisible when dropped:

Code:

drop_mesh={[dropitems.drop_quiver_m00]}        drop_texture={[dropitemstex.drop_quiver_t00]}
Replace With:

Code:

drop_mesh={[none]}        drop_texture={[none]}

pipise4ko 02.02.2006 23:51

arrows is not dropping from all mobs ^^

for example create item in itemdata.txt with unique id and name:

Code:

item_begin        etcitem        666666        [fuck_l2walker]        item_type=etcitem        slot_bit_type={none}        armor_type=none        etcitem_type=none        blessed=0        weight=20000        default_action=action_none        consume_type=consume_type_stackable        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        immediate_effect=1        price=0        default_price=0        item_skill=[none]        critical_attack_skill=[none]        material_type=paper        crystal_type=none        crystal_count=0        is_trade=0        is_drop=0        is_destruct=0        physical_damage=0        random_damage=0        weapon_type=none        can_penetrate=0        critical=0        hit_modify=0        avoid_modify=0        dual_fhit_rate=0        shield_defense=0        shield_defense_rate=0        attack_range=0        effective_range=0        damage_range={}        attack_speed=0        reuse_delay=0        mp_consume=0        magical_damage=0        durability=0        damaged=0        physical_defense=0        magical_defense=0        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end
i wil add this item to the single npc for test, but i don't know how to add this to all mobs =\ any ideas?

Eanae 03.02.2006 00:02

Use find and replace.

Find:

additional_make_multi_list={

Replace With:

additional_make_multi_list={{[fuck_l2walker];<drop rate you want here>};

Edit: be carefull with drops though, because they'll have the same effect on server preformance as any item being dropped and left on the ground.

pipise4ko 03.02.2006 00:16

thanx ! in test...
btw corpse_make_list it is spoil
we need to edit additional_make_multi_list ;)
i have 100-150 ppl online, that so server perfomance is not a problem :)
may be someone have another another way to add this item to mobs? ai code ro something?

Eanae 03.02.2006 00:25

Whoops, my mistake. Not paying attention today. :D

horyfilipe 03.02.2006 02:14

whats the tool we can use to add drop on all npc multi list?

Eanae 03.02.2006 02:31

Notepad works. I personally prefer ultra edit.

SoaPy 03.02.2006 03:14

but you will have lag for a dropped items :P

Grundik 03.02.2006 04:48

Quote:

Originally Posted by horyfilipe
whats the tool we can use to add drop on all npc multi list?

Press ALT+H
And Replace :additional_make_list={} to:
additional_make_list={{[fuck_l2walker];1;1;10}}
And Press Replace All
It's very easy

TheOrder 03.02.2006 07:30

Is there any way to make a SQL Injection so that L2Walker players will autopick the item ???

gamedeveloper 04.02.2006 11:33

Quote:

Originally Posted by Eanae
Edit: Thats a bad idea as well, because what if a normal player is using the pickup button?

Nothing happens. Regular client knows nothing about items with illegal ids.

Metalmurphy 04.02.2006 11:57

Yes i think i just said that gamedeveloper... :p

Mattho 04.02.2006 20:17

It seems like good idea, but if player don't have l2walker, item will stay on ground.. in few hours u will be have many items lieing on ground.. => lags i think...

paul 04.02.2006 21:27

Yeah and i bet all your players pick up every last drop...

unk1 04.02.2006 22:07

i think it's no good idea, because in your l2walker, you can customize pickup for all items... you can set pickup only for adena or some materials...

pipise4ko 04.02.2006 22:30

create many invisible items with different ID & names... only left is add them to drop :) but how?

toolpunk 04.02.2006 22:49

Quote:

Originally Posted by paul
Yeah and i bet all your players pick up every last drop...

even if they dont this will still increase the lag.
thus its not a good idea, in my opinion.
well, maybe a good idea, but hard to realize...

Kryak 05.02.2006 00:12

<rus>Сделал давно, работает хорошо, кучу ботов переловил. Лагов нет, даже когда всё завалено мусором. Единственный минус - если бот в пати, то при рандомном луте страдают остальные. Юзаю отдельную папку system для админского чара.</rus>

TheOrder 05.02.2006 00:33

I hate when ppl talk in Russian all of a sudden

pipise4ko 05.02.2006 10:40

Quote:

Originally Posted by Kryak
<rus>Сделал давно, работает хорошо, кучу ботов переловил. Лагов нет, даже когда всё завалено мусором. Единственный минус - если бот в пати, то при рандомном луте страдают остальные. Юзаю отдельную папку system для админского чара.</rus>

it's ok :)

</rus>как ты вставлял в дроп эти итемы? просто в дроп каждого моба как описано выше или както еще?<rus>


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