Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 27.03.2006, 19:31   #1
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default [SHARE] NPC ANIMATION GREET, WAVE ETC

its simple

In AI.OBJ into CLASS default_npc adding handlers:


[php:1:eafcdb47f6]


handler 3 // TALKED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

shift_sp 1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i
push_const 1
push_const 3000
push_const 10000
func_call 13 // func[AddEffectActionDesire]
shift_sp -4
shift_sp -1
handler_end

handler 5 // SEE_CREATURE
variable_begin
"creature"
"i0"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

shift_sp 1
push_const 4
func_call 55 // func[Rand]
shift_sp -1
push_const 0
equal
branch_false L74001
L74000
shift_sp 1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i
push_const 2
push_const 3000
push_const 10000
func_call 13 // func[AddEffectActionDesire]
shift_sp -4
shift_sp -1
L74001
handler_end


[/php:1:eafcdb47f6]

check for duplicate L branches

In all children classes (for all NPC) find "handler 3 // TALKED"
and before string "handler_end" in this handler insert "call_super"

if u make it correct ALL vendors will start cocial move greetings etc

its perfect for demo make an account to my server hehe :P
demon is offline  
Old 27.03.2006, 19:54   #2
darkkiss
Архивный участник
 
Join Date: Sep 2005
Posts: 41
Default

10x .. you're the best .. works 100%
darkkiss is offline  
Old 27.03.2006, 20:04   #3
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

You're on a Sharing Spree!
:P

Thx!

What's next?
Megatronpt is offline  
Old 27.03.2006, 20:08   #4
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

OMG sombody stop demon )) very good sharing....
Domzelan is offline  
Old 27.03.2006, 23:14   #5
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

been shared already

https://postpacific.mmorpg-game.onli...985&highlight=

and more then once on other posts as well that i can't find


Also its a mistake to add it to default_npc
Metalmurphy is offline  
Old 27.03.2006, 23:29   #6
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

Thanks a lot Demon, tested 100% and works
In case anyone has the same doubt I have you have to put the 'call_super' just before the 'handler_end' no matter if it's like this
Code:
    shift s -2
L70
    call_super
    handler_end
m4rk is offline  
Old 28.03.2006, 01:46   #7
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

push_const 2 <=== anim type
push_const 3000 <==== ????
push_const 10000 <=====???


anyone know?
hamidouch is offline  
Old 28.03.2006, 03:12   #8
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Quote:
Originally Posted by Metalmurphy
been shared already

https://postpacific.mmorpg-game.onli...985&highlight=

and more then once on other posts as well that i can't find


Also its a mistake to add it to default_npc
Maybe on citizen?

Oso
Osito2Dancer is offline  
Old 28.03.2006, 09:20   #9
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

Quote:
Originally Posted by Metalmurphy
been shared already

https://postpacific.mmorpg-game.onli...985&highlight=

and more then once on other posts as well that i can't find


Also its a mistake to add it to default_npc

yes it was but WRONG this is correct
demon is offline  
Old 28.03.2006, 10:10   #10
Validator
Архивный участник
 
Join Date: Dec 2005
Posts: 88
Default

Thx, works good.
Can u add fuction: turn to player (as off)?
Validator is offline  
Old 28.03.2006, 11:03   #11
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

i do in my server
demon is offline  
Old 28.03.2006, 11:58   #12
Validator
Архивный участник
 
Join Date: Dec 2005
Posts: 88
Default

Can u share it?
Validator is offline  
Old 28.03.2006, 12:12   #13
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

nope :|
demon is offline  
Old 28.03.2006, 12:49   #14
Morte
Архивный участник
 
Join Date: Mar 2006
Posts: 41
Default

Quote:
Originally Posted by hamidouch
push_const 2 <=== anim type
push_const 3000 <==== ????
push_const 10000 <=====???


anyone know?
anisochronous effect i think
Morte is offline  
Old 28.03.2006, 14:43   #15
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

push_const 2 <=== anim type
push_const 3000 <==== time
push_const 10000 <=====desire
hr is offline  
Old 28.03.2006, 16:23   #16
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

Quote:
Originally Posted by demon
i do in my server
I would like to see that.


And btw it wasnt wrong.
Metalmurphy is offline  
Old 28.03.2006, 17:11   #17
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

Quote:
Originally Posted by Metalmurphy
Quote:
Originally Posted by demon
i do in my server
I would like to see that.


And btw it wasnt wrong.
ok, it wasnt wrong but it was incomplete.

Happy NOW ??
demon is offline  
Old 28.03.2006, 17:46   #18
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

Quote:
Originally Posted by demon
Quote:
Originally Posted by Metalmurphy
Quote:
Originally Posted by demon
i do in my server
I would like to see that.


And btw it wasnt wrong.
ok, it wasnt wrong but it was incomplete.

Happy NOW ??
LOOOL
nothing to say more.
Aspire is offline  
Old 28.03.2006, 18:53   #19
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

How is it incomplete? Its only incomplete if ur a completle morron and can't add the code to ur own AI. It's the reason why most ppl dont learn stuff, others do all the work for them. What was posted was MORE then enough.

Btw i would still like to see that
Metalmurphy is offline  
Old 29.03.2006, 06:09   #20
mytynyk
Архивный участник
 
Join Date: Mar 2006
Posts: 33
Default

perfect job, ty ty
mytynyk is offline  
Old 29.03.2006, 07:23   #21
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

Quote:
Originally Posted by Metalmurphy
How is it incomplete? Its only incomplete if ur a completle morron and can't add the code to ur own AI. It's the reason why most ppl dont learn stuff, others do all the work for them. What was posted was MORE then enough.

Btw i would still like to see that
for once in your life can u stop bullshiting ppl ?

we'll let you win next euro np

dont cry now
demon is offline  
Old 29.03.2006, 08:32   #22
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

Sheesh.. guys.. please stop the bitchfights! :P

//Offtopic

Demon, you'll only win next Euro if Scolari isn't booted...
Megatronpt is offline  
Old 29.03.2006, 09:29   #23
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

:P see ya in eurovision :P
demon is offline  
Old 29.03.2006, 14:28   #24
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

Dude what the fuck has my nationality have anything to do with this?

Secondly what exactly did i say that was bullshit?

Third and last, fuck off!


Oh and im still waiting to see that
Metalmurphy is offline  
Old 29.03.2006, 14:56   #25
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

Metalmurphy, why u're comming to mod section for ?
i saw in search that your favorite section is game help, there you have 18 from your 20 threads..asking us for help.
So next time someone posts something for the general good try not to be rude BECAUSE U NEVER SHARED A SHIT except that stupid multisell for duals which is copy paste without brain usage..


Someone close threat plz.

thx.
demon 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 23:18.