Arkadaşlar çok gudik bir sorun yaşamaktayım. Kullanmakta olduğum ethereal binek scriptinde (horse ve llama için) olan bir hata nedeniyle playerlar (nedense) bir süre sonra otomatik olarak war/peace yapmış oluyorlar. Böylelikle useskill veya attack gibi aksiyonları sona eriyor.
Script :
[itemdef i_pl_horse]
name=Horse
id=i_mt_horse_brown_dk
TDATA3=c_staff
layer=25
on=@create
color=00
on=@equip
link=<src.uid>
on=@unequip
src.newitem i_ethereal_horse2
src.act.bounce
[chardef c_staff]
id=c_horse_brown_lt
on=@create
color=12
on=@click
remove
return 1
on=@death
remove
return 1
[itemdef i_ethereal_horse2]
NAME=Ethereal Horse
id=i_pet_horse_brown_dk
type=t_normal
SUBSECTION=Ethereal Horse
DESCRIPTION=Ethereal Horse
on=@create
color=00
attr=14
on=@click
message @0481,1,1 <name>
return 1
on=@dclick
if !(<src.findlayer.25.uid>)
src.newitem i_pl_horse
src.act.link <src.uid>
src.act.more2 <src.uid>
src.act.more1=c_staff
src.act.equip
src.update
remove
return 1
else
src.message @0481,1,1 Zaten bir binege biniyorsunuz.
return 1
endif
/////
[itemdef i_pl_llama]
name=Llama
id=i_mt_llama
TDATA3=c_staff_llama
layer=25
on=@create
color=00
on=@equip
link=<src.uid>
on=@unequip
src.newitem i_ethereal_llama2
src.act.bounce
[chardef c_staff_llama]
id=c_llama
on=@create
color=12
on=@click
remove
return 1
on=@death
remove
return 1
[itemdef i_ethereal_llama2]
NAME=Ethereal Llama
id=i_pet_llama
type=t_normal
SUBSECTION=Ethereal Llama
DESCRIPTION=Ethereal Llama
on=@click
message @0481,1,1 <name>
return 1
on=@create
color=00
attr=14
on=@dclick
if !(<src.findlayer.25.uid>)
src.newitem i_pl_llama
src.act.link <src.uid>
src.act.more2 <src.uid>
src.act.more1=c_staff_llama
src.act.equip
src.update
remove
return 1
else
src.message @0481,1,1 Zaten bir binege biniyorsunuz.
return 1
endif
Çözebilen olursa pek sevineceğim.