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 03.10.2005, 13:34   #17
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Sure, no sweat dude:

shift_sp 1 [center:df8b414c19]> Moves the Stock Pile 1 slot forward (places it on the top).[/center:df8b414c19]
push_event // talker [center:df8b414c19]> Says "Hey, lets target who's talking to me"[/center:df8b414c19]
push_const 32 [center:df8b414c19]> In conjuction with above.[/center:df8b414c19]
add [center:df8b414c19]> Adds one to the SP (Not sure though)[/center:df8b414c19]
fetch_i [center:df8b414c19]> Opens the "retrieving process"[/center:df8b414c19]
push_const 3139 [center:df8b414c19]> Pushes "3139", the itemID to be checked.[/center:df8b414c19]
func_call 81 // func[OwnItemCount] [center:df8b414c19]> Ai Function that does it ^^[/center:df8b414c19]
shift_sp -2 [center:df8b414c19]> Moves the SP 2 slots behind (to read the item count)[/center:df8b414c19]
push_const 6 [center:df8b414c19]> Pushes the number 6 for comparison.[/center:df8b414c19]
greater [center:df8b414c19]> Here it asks: is 6 < item_count on player?[/center:df8b414c19]
branch_false L1736612 [center:df8b414c19]> If false, jumps to instruction said.[/center:df8b414c19]

Damn AI.obj T_T. Pseudo-ASM SOX!

Hope it helps.

Oso
Osito2Dancer 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 10:56.