Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 16.08.2005, 19:41   #1
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default [Seeks Help]C3 skills: s_quiver_of_arrow_grade_a/s

anyone can help me with that ?
this is my code from skilldata

and this is not OK . Skill has no effect (do not create arrows)



Code:
skill_begin	skill_name = [s_quiver_of_arrow_grade_a]	/* [c3 skill] */	skill_id = 323	level = 1	operate_type = A1	magic_level = 56	effect = {}	operate_cond = {}	is_magic = 1	mp_consume2 = 250	cast_range = -1	effective_range = -1	skill_hit_time = 0	skill_cool_time = 0	skill_hit_cancel_time = 0.5	attribute = attr_none	effect_point = 108	target_type = self	affect_scope = single	next_action = none	skill_end
skill_begin	skill_name = [s_quiver_of_arrow_grade_s]	/* [c3 skill] */	skill_id = 324	level = 1	operate_type = A1	magic_level = 60	effect = {}	operate_cond = {}	is_magic = 1	mp_consume2 = 500	cast_range = -1	effective_range = -1	skill_hit_time = 0	skill_cool_time = 0	skill_hit_cancel_time = 0.5	attribute = attr_none	effect_point = 120	target_type = self	affect_scope = single	next_action = none	skill_end
djvogans is offline  
Old 16.08.2005, 21:22   #2
Fulminus
Архивный участник
 
Join Date: Jul 2005
Posts: 23
Default

Unfortunately, I cannot answer your question. What I would like to mention is that someone else had asked help before about how to make a skill that creates an item. As far as I remember, nobody was able to help him back then...Some had said it's impossible, some said it's possible but requires hexing (therefore it's too hard), and in any case nobody gave any solutions...
I wish you luck...and if you find out how to do that, I'd like to learn, too! There are some neat skills one can come up with if we get this working
Fulminus is offline  
Old 17.08.2005, 12:58   #3
knife_sj
Архивный участник
 
Join Date: Feb 2005
Posts: 165
Default

a stupid propouse, maybe, the skill can summon a npc :P
and then u kill the npc and the npc drop the arrows.

Stupid but Efficient
knife_sj is offline  
Old 17.08.2005, 13:30   #4
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

Its actually quite simple, make a skill that summons a npc - make the npc give you item "on summon" and despawn..

badabing you got a somewhat working skill ;-)

And theres a second option, but ill leave that up for your exploration (its in ai.obj)
archy is offline  
Old 17.08.2005, 20:03   #5
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Quote:
Originally Posted by archy
Its actually quite simple, make a skill that summons a npc - make the npc give you item "on summon" and despawn..

badabing you got a somewhat working skill ;-)

And theres a second option, but ill leave that up for your exploration (its in ai.obj)
Very Nice Idea you evil SoB :lol: . (No offense, just j/k)

Ill implement that! (first one. The second... ill ask you how xD).

Oso
Osito2Dancer is offline  
Old 18.08.2005, 07:37   #6
tespio
Архивный участник
 
Join Date: May 2005
Posts: 34
Default

Maybe just using the effect = {{p_create_item;[mithril_arrow];400}} but i'm still trying to figure which would be the operate_cond for this.
tespio is offline  
Old 18.08.2005, 08:49   #7
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

Didnt even know that skill effect existed..
Does it? or are you just making shit up now, im at work so cant try it :-)
archy is offline  
Old 18.08.2005, 10:36   #8
tespio
Архивный участник
 
Join Date: May 2005
Posts: 34
Default

Well does it? I was using as refference an entry in the skilldata.txt as it follows

Code:
skill_begin	skill_name = [s_create_item1]	/* [????? ???] */	skill_id = 172	level = 1	operate_type = P	effect = {{p_create_item;1}}	skill_end
So does p_create_item exists?
tespio is offline  
Old 18.08.2005, 11:47   #9
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

I dont think it does, your reference is the ability to create items of level 1.
Not create item id 1
archy is offline  
Old 18.08.2005, 13:08   #10
dVampire
Архивный участник
 
Join Date: Jun 2005
Posts: 14
Default

In my server (la2.intersat.md), i have already this skill, it work like summon npc. I share only ai script. I think skilldata and npcdata for this skill you can do.
Code:
class Quiver_a : (null)
handler 13	//  CREATED
	variable_begin
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_event	//  myself
	push_const 28
	add
	fetch_i	//  master
	push_const 2404
	add
	fetch_i
	push_const 1344
	shift_sp 1
	push_const 1320
	func_call 55	//  func[Rand]
	shift_sp -1
	push_const 480
	add
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	func_call 175      // func[Despawn]
	shift_sp -1
handler_end
class_end
dVampire is offline  
Old 18.08.2005, 13:27   #11
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

Yep, thats the first option i described, one of the problems with it is that its very easy to crash the l2npc server using this method.
Or at least, put some rather high latency on it, depending on the amount of players you have.
archy is offline  
Old 18.08.2005, 14:39   #12
tespio
Архивный участник
 
Join Date: May 2005
Posts: 34
Default

What you simply dont get is that this skill is not supposed to work the way i already see others are using it. It's not supposed to spawn/summon a monster but simply based on a item_consume ={} var to create a friggin quiver of arrows. And archy yeah i know that 1 is the level of create item skill .. the base ideea of it is that the skill effect exists. You got my point wrong.. I'm sure must be a workaround for this skill.
tespio is offline  
Old 18.08.2005, 15:50   #13
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

well tespio, i think the work around would be to modify the item_consume into allowing positive items, as in give items and take items..

But hex yet again.
archy 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 21:59.