Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.09.2005, 19:44   #1
Maytord
Архивный участник
 
Join Date: Jun 2005
Posts: 24
Default Hydro Screw is killing me

I need help to solve this error please.
i did everything Phantom2005
said to make it work but i can't find out where is the problem,
i check mi AI there was a duplicated files of
class blue_eye_a : summon_hydroscrew
class_end

class blue_eye_b : summon_hydroscrew
class_end

class blue_eye_c : summon_hydroscrew
class_end

class blue_eye_d : summon_hydroscrew
class_end

class blue_eye_e : summon_hydroscrew
class_end

class blue_eye_f : summon_hydroscrew
class_end

class blue_eye_g : summon_hydroscrew
class_end

class blue_eye_h : summon_hydroscrew
class_end

class blue_eye_i : summon_hydroscrew
class_end

class blue_eye_j : summon_hydroscrew
class_end

class blue_eye_k : summon_hydroscrew
class_end

class blue_eye_l : summon_hydroscrew
class_end

class blue_eye_m : summon_hydroscrew
class_end

class blue_eye_n : summon_hydroscrew
class_end
so i deleted them .Any idea what i'm doing wrong?????
Maytord is offline  
Old 23.09.2005, 20:08   #2
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

u dont have summon_hydroscrew ai.
Sauron is offline  
Old 23.09.2005, 20:24   #3
l2max
Архивный участник
 
Join Date: Sep 2005
Posts: 2
Default

add this to ur AI:

Code:
class summon_hydroscrew : default_npc
parameter_define_begin
	int DDMagic 300289
parameter_define_end
handler 13	//  CREATED
	variable_begin
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_const xx.xx0000
	func_call 14	//  func[AddPetDefaultDesire_Follow]
	shift_sp -1
	shift_sp -1
handler_end

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

	shift_sp 1
	push_const xx.xx0000
	func_call 14	//  func[AddPetDefaultDesire_Follow]
	shift_sp -1
	shift_sp -1
handler_end

handler 32	//  MENU_SELECTED
	variable_begin
		"ask"
		"reply"
		"i0"
		"c0"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_event	//  myself
	push_const 28
	add
	fetch_i	//  master
	push_const 2404
	add
	fetch_i	//  target_index
	push_const 384
	add
	fetch_i
	assign
	shift_sp -1
	push_event	//  i0
	push_const 192
	add
	fetch_i
	push_const 0
	less_equal
	branch_false L2101
L2100
	exit_handler
L2101
	push_event	//  c0
	push_const 272
	add
	push_reg_sp
	fetch_i
	shift_sp 1
	push_event	//  i0
	push_const 192
	add
	fetch_i
	func_call 30	//  func[GetCreatureFromIndex]
	shift_sp -1
	assign
	shift_sp -1
	push_event	//  c0
	push_const 272
	add
	fetch_i
	branch_false L2103
L2102
	shift_sp 1
	push_parameter DDMagic
	func_call 155	//  func[Skill_GetConsumeMP]
	shift_sp -1
	push_event	//  myself
	push_const 28
	add
	fetch_i	//  sm
	push_const 2400
	add
	fetch_i	//  mp
	push_const 352
	add
	fetch_d
	less
	push_reg_sp
	fetch_i
	branch_false L2104
	shift_sp 1
	push_parameter DDMagic
	func_call 154	//  func[Skill_GetConsumeHP]
	shift_sp -1
	push_event	//  myself
	push_const 28
	add
	fetch_i	//  sm
	push_const 2400
	add
	fetch_i	//  hp
	push_const 344
	add
	fetch_d
	less
	and
	push_reg_sp
	fetch_i
	branch_false L2104
	shift_sp 1
	push_parameter DDMagic
	func_call 160	//  func[Skill_InReuseDelay]
	shift_sp -1
	push_const 0
	equal
	and
L2104
	branch_false L2106
L2105
	shift_sp 1
	push_event	//  myself
	push_const 28
	add
	fetch_i	//  master
	push_const 2404
	add
	fetch_i	//  target_id
	push_const 388
	add
	fetch_i
	push_parameter DDMagic
	push_const 0
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 1000000
	func_call 11	//  func[AddUseSkillDesireEx]
	shift_sp -6
	shift_sp -1
L2106
L2103
handler_end

class_end
l2max is offline  
Old 23.09.2005, 20:30   #4
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

and add it BEFORE your eye classes.
Eliot is offline  
Old 23.09.2005, 21:24   #5
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

Yeah thats a common mistake done by ppl. Adding after the eye classes.
Metalmurphy is offline  
Old 23.09.2005, 21:36   #6
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

yup and that caused that error -_-
Phantom2005 is offline  
Old 23.09.2005, 23:25   #7
Maytord
Архивный участник
 
Join Date: Jun 2005
Posts: 24
Default

Thx i solved the problem
Maytord 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 16:13.