Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 06.02.2007, 12:46   #6
isit
Архивный участник
 
Join Date: Feb 2007
Posts: 4
Default

how to add new functions in l2server.exe?

in the AI i have this:

class 1 summon_physicalattack : default_npc
handler 13 8 // CREATED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

push_event // myself
push_const 704
add
fetch_i
push_const xx.xx0000
func_call 184614934 // func[AddPetDefaultDesire_Follow]
shift_sp -1
shift_sp -1
handler_end

handler 0 8 // NO_DESIRE
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

push_event // myself
push_const 704
add
fetch_i
push_const xx.xx0000
func_call 184614934 // func[AddPetDefaultDesire_Follow]
shift_sp -1
shift_sp -1
handler_end

handler 32 9 // MENU_SELECTED
variable_begin
"talker"
"ask"
"reply"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

push_event // ask
push_const 160
add
fetch_i4
push_const 1
equal
branch_false L10787
L10786
L10787
handler_end

class_end

i don't know where and what edit in this code for sending sysmsg about damage...

help please

sorry for my bad english again
isit 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 05:58.