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
Prev Previous Post   Next Post Next
Old 09.07.2007, 16:32   #8
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Adding Monster Race for Schuttgart.

To add in teleporter class:
After:
Code:
	exit_handler
L4615
Add this:
Code:
	push_event	//  reply
	push_const 164
	add
	fetch_i4
	push_const 12
	equal
	branch_false L994615
L994614
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  talker
	push_const 40
	add
	fetch_i
	push_const 255
	push_const 1
	push_event	//  i0
	push_const 260
	add
	fetch_i4
	push_const 1200
	add
	func_call 184811618	//  func[SetMemoStateEx]
	shift_sp -4
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  talker
	push_const 40
	add
	fetch_i
	push_const 12661
	push_const 181687
	push_const 3540
	negate
	func_call 184811596	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	exit_handler
L994615
To add in mrkeeper class:

After:
Code:
	exit_handler
L20671
Add this:
Code:
	push_event	//  i1
	push_const 264
	add
	fetch_i4
	push_const 1195
	greater_equal
	push_reg_sp
	fetch_i
	branch_false L9920669
	push_event	//  i1
	push_const 264
	add
	fetch_i4
	push_const 1295
	less
	and
L9920669
	branch_false L9920671
L9920670
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  talker
	push_const 40
	add
	fetch_i
	push_const 87172
	push_const 143399
	negate
	push_const 1288
	negate
	func_call 184811596	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	exit_handler
L9920671

You must remember to count how many lines have the handler now...


in HTML
Code:
<a action="bypass -h menu_select?ask=255&reply=12" msg="811;Monster Derby Track">Move to Monster Derby Track. (Free of Charge) </a>
FidoW 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 11:26.