Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 09.12.2005, 01:06   #11
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

Quote:
Originally Posted by dar55
Quote:
Originally Posted by SoaPy
i made this but i dont know if my stack is right, cause maybe i need a push_reg_sp to copy one of the values, dont know yet cause didnt test.

add
fetch_i
push_const 1345
push_const 1320
func_call 55 // [Rand]
shift_sp -1
push_const 480
add
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
if i use this code, my L2npc crash
try with if you think its correctly added

func_call 77 // func[GiveItem1]
shift_sp -2
shift_sp -1

i have problems calculling the SP with the func Rand
SoaPy 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 15:04.