Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 19.08.2007, 17:18   #376
palace
Архивный участник
 
Join Date: Jul 2006
Posts: 118
Default

Hi Ma4o

Do you have one example to drop npc, Herb of Life, Herb of Mana, And Instant effect when they are picked up.
palace is offline  
Old 19.08.2007, 17:44   #377
Gaikotsu
Архивный участник
 
Join Date: Apr 2006
Posts: 74
Default

simple way to realize herbs drop - use eventdata. auto use so simply do is not got.

one of the variant: define the herbs its, custom item type and add in l2server custom function, which will operate when selecting given type of the subject and immediately use herb.

sample:
Code:
item_begin	herb_item	8600	[herb_of_life]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=potion	...
exactly so auto use is made beside us on server

P.S. sorry my bad english
Gaikotsu is offline  
Old 20.08.2007, 06:33   #378
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

If you can share your knowledge how to do this - not exact way/patch but knowledge or hints, i'd be very thankfull. I think, everybody here would be thankfull a lot.
Kenjiro is offline  
Old 20.08.2007, 08:44   #379
Ma4o
Архивный участник
 
Join Date: Jul 2006
Posts: 277
Default

2palace

All npc who have x1 HP

P.S. In attachment

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
herb.JPG — 61238 байт
Ma4o is offline  
Old 20.08.2007, 08:48   #380
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by Kenjiro View Post
If you can share your knowledge how to do this - not exact way/patch but knowledge or hints, i'd be very thankfull. I think, everybody here would be thankfull a lot.
Hex/DLL/Whatever

Hooking the pick up function i guess would be the best choice.
FidoW is offline  
Old 20.08.2007, 08:51   #381
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

Well theres another option if smb dont want to play with it.
Make herbs like normal inst potions and give them height like LAWL, so player have to use it when picked up.
That sux badly but its always a way to solve problem somehow
Drag is offline  
Old 20.08.2007, 10:53   #382
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

Quote:
Originally Posted by FidoW View Post
Hex/DLL/Whatever

Hooking the pick up function i guess would be the best choice.
Yes, it sound so easy, but for me not knowing exact details, even where to search, with little x86 assembly skills it is nearly impossible to reinvent "the wheel"...

So i ask for 'hints' - e.g. where are function tables (if there are some) without disassembling full l2server.exe code and checking line by line, maybe some other. I do not expect full procedure or 'how to' but any hint is true gold for learning people like me.
Kenjiro is offline  
Old 20.08.2007, 12:17   #383
palace
Архивный участник
 
Join Date: Jul 2006
Posts: 118
Default

8608 Herb of Atk. Spd.
8609 Herb of Casting Spd.
8610 Herb of Critical Attack.
8611 Herb of Speed
8612 Herb of the Warrior
8613 Herb of the Mystic

This item is impossible to drop, because, animation item drop dont is compatible (c4). But the item funtion in gmshop.

I put these in the single Gmshop to prove today.

but thinking about a function, serious for example, like npc that throws the malaria, from hp, and mp. Or same tree cristmas funtion.

I am not sure that it works but seeing all the game I believe that makes something same..

i dont know function in the Ai.obj



--------------------------------------------

Hi Mr fidow

I try to possible in spanish and you traslate correct.

No se si la funcion podria ser parecida para el mp y el hp. Existe un npc que echa la malaria dentro del juego, no se si es posible hacer algo parecido. o algo parecido a la funcion que usa el arbol de navidad.

Nunca he provado o echo una funcion asi, ustedes tienen mas conocimiento que yo con el ai.obj.

Thank.
palace is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 06:28.