Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 24.06.2006, 21:14   #16
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

I have tontor patch and not problem..

I have another problem.. in html is price 1000a per buff.. but in AI code is not any line about checking amount adena and deleting it.. please can anyone help me and tell me what add to this code to get this buff payed?

Im think about this..but dunno where to paste it..

Code:
//ASK ABOUT BUFF==========>
L91040
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 384	//  bypass -h menu_select?ask=-384
	negate
	equal
	branch_false L91042	//  ˛»ĘÇŇ˝ÁĆ·ţÎńµÄ ask id
//CHECK FOR MONEY========>
L140500
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 50000
	greater_equal
	branch_false L140800
//DELETE MONEY==============>
L140700
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	push_const 50000
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
//CAST BUFF ON PLAYER ========>
L91041
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 0
	push_const 1
	push_const 1000000
	func_call 10	//  func[AddUseSkillDesire]
	shift_sp -5
	shift_sp -1
//CAUSE IF PLAYER DONT HAVE ADENA =============>
L140800
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNotEnoughAdena
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L91042
handler_end
Is this OK? I understand AI a little..but can't make my own code...
rodier 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 18:44.