1-Arkadaslar ben newbi bage sadece pot koyulmasını nasıl yapabilirim.,
2-Veya Potları Newbi Yapsam Olur.
3-Potları Üst Üste Koyunca Birleşmesini Nasıl Yapabilirim.
Gercekten COk ugrastım Ama Yapamadım Hazıra Falan Konmuyorum Artık vücudumda ter kalmadı Lütfen Yardımcı Olun.
Newbie bag'e

On=@ItemDropon_item
if (<act.type>==t_potion) || (<act.baseid>==i_bandage) || (<act.type>==t_reagent) || (<act.baseid>==i_pouch_trapped) || (<act.baseid>==i_arrow) 
src.sysmessage @05,1,1 <ac.name> bage eklendi...
else
src.sysmessage @05,1,1 <act.name>'yi bu newbie bage koyamazsınız...
return 1
endif
endif

diğeri tiledata ile alakalı.
Bu Bag Sorunu

On=@ItemDropon_item
if (<argo.baseid> == i_bag)
if !(<act.type>==t_potion) && !(<act.type>==t_reagent) && !(<act.baseid>==i_bandage) && !(<act.type>==t_gold)
src.sysmessage @0845,3,1 Bu posete sadece iksir, bandaj ve reg koyabilirsiniz.
return 1
endif
endif

[ITEMDEF i_potion_AgilityGreat]
ID=i_bottle_empty
TYPE=T_POTION
NAME=greater agility potion
TDATA1=i_bottle_empty

RESOURCES=i_reag_blood_moss 3, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 35.1

on=@click
message @027,1,1 [Adet :<amount>]
message @065,1,1 <name>
return 1

ON=@Create
color=084a
MORE1=s_Agility
MORE2={ 70.1 80.0 }

ON=@DCLICK
//SRC.FINDLAYER(2).UNEQUIP
IF (<SRC.FINDID.i_rune_bless>)
	SRC.FINDID.i_rune_bless.REMOVE
ENDIF
IF (<SRC.FINDID.i_rune_agility>)
	SRC.FINDID.i_rune_agility.REMOVE
ENDIF
IF (<SRC.FINDID.i_rune_cunning>)
	SRC.FINDID.i_rune_cunning.REMOVE
ENDIF
IF (<SRC.FINDID.i_rune_strength>)
	SRC.FINDID.i_rune_strength.REMOVE
ENDIF



[ITEMDEF i_potion_CureGreat]
NAME=greater cure potion
ID=i_bottle_empty
TYPE=T_POTION
TDATA1=i_bottle_empty

RESOURCES=i_reag_garlic 6, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 65.1

on=@click
message @027,1,1 [Adet :<amount>]
message @065,1,1 <name>
return 1

ON=@Create
color=02b
MORE1=s_cure
MORE2=95.0

ON=@DClick
if <src.findid.i_rune_poison>
	if (<src.findid.i_rune_poison.moreY> > <more2>)
		src.effect snd_spell_poison
		src.sysmessage @38,,1 Bu iksir uzerinizdeki zehir etkisini gecirecek kadar etkili olmadi.
		remove
		return 1
	endif
endif

if <src.findid.i_rune_poison_field>
	if (<src.findid.i_rune_poison_field.moreY> > <more2>)
		src.effect snd_spell_poison
		src.sysmessage @38,,1 Bu iksir uzerinizdeki zehir etkisini gecirecek kadar etkili olmadi.
		remove
		return 1
	endif
endif



[ITEMDEF i_potion_HealGreat]
NAME=greater heal potion
ID=i_bottle_empty
TYPE=T_POTION
TDATA1=i_bottle_empty
RESOURCES=i_reag_ginseng 7, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 55.1

on=@click
message @027,1,1 [Adet :<amount>]
message @065,1,1 <name>
return 1

ON=@Create
color=07ad
MORE1=s_greater_heal
MORE2=80.0

on=@Stackon
return 1
On=@DClick
if (<src.findid.i_rune_poison>) || (<src.findid.i_rune_poison_field>)
	src.sysmessage @39,,1 Hata: Poison buyusunun etkisi altinda iken icemezsiniz
	return 1
endif





[ITEMDEF i_potion_StrengthGreat]
NAME=greater strength potion
ID=i_bottle_WHITE
TYPE=T_POTION
TDATA1=i_bottle_empty
RESOURCES=i_reag_mandrake_root 5, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 45.1

on=@click
message @027,1,1 [Adet :<amount>]
message @065,1,1 <name>
return 1

ON=@Create
MORE1=s_strength
MORE2=100.0

on=@Stackon
return 1

ON=@DCLICK
//SRC.FINDLAYER(2).UNEQUIP
IF (<SRC.FINDID.i_rune_bless>)
	SRC.FINDID.i_rune_bless.REMOVE
ENDIF
IF (<SRC.FINDID.i_rune_agility>)
	SRC.FINDID.i_rune_agility.REMOVE
ENDIF
IF (<SRC.FINDID.i_rune_cunning>)
	SRC.FINDID.i_rune_cunning.REMOVE
ENDIF
IF (<SRC.FINDID.i_rune_strength>)
	SRC.FINDID.i_rune_strength.REMOVE
ENDIF



[ITEMDEF i_potion_PoisonDeadly]
NAME=deadly poison potion
ID=i_bottle_empty
TYPE=T_POTION
TDATA1=i_bottle_empty
RESOURCES=i_reag_nightshade 8, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 90.1

on=@click
message @027,1,1 [Adet :<amount>]
message @065,1,1 <name>
return 1

ON=@Create
color=07e4
MORE1=s_poison
MORE2=105.0

//ON=@DCLICK
//SRC.FINDLAYER(2).UNEQUIP


[ITEMDEF i_potion_RefreshTotal]
ID=i_bottle_empty
NAME=total refresh potion
TYPE=T_POTION
TDATA1=i_bottle_empty
RESOURCES=i_reag_black_pearl 5, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 25.1

on=@click
message @027,1,1 [Adet :<amount>]
message @065,1,1 <name>
return 1

ON=@Create
color=0846
MORE1=s_Refresh
MORE2=50.0

on=@Stackon
return 1


Buda 3.sorun

Bunlar Çalıntı değil kendi serverım için kullandıgım scplerdir.. Benim yazdığım..
potlari birleştirmek istersen idini i_bottle_empty yapabilirsin
Newbi bagda Bunu Kullanırsan (SAdece Pot Kouluor içine) Sorunun Çözülmüş Olur...

[itemdef i_bagnewb]
defname i_bagnewb
id i_bag
name Newbie Bag

On=@Create
color 0fb2
attr attr_newbie



on=@dclick
if (<more1> == 0)
more1 <src.uid>
src.sysmessage @70,1,1 Bu bagi artik sizden baska kimse kullanamaz!.
elseif (<more1> != <src.uid>)
src.sysmessage @38,1,1 Bu bag sizin degil!
return 1
elseif (<topobj.uid> != <src.uid>)
src.sysmessage @38,1,1 Bagi kullanabilmek icin uzerinize almalisiniz.
return 1
else
src.sysmessage @07a1,1 Yanlizca Bandaj , Potion , Bilet , Reg , Tp , Recall Rune , Saman ve Animal deed koyabilirsiniz.
endif


On=@dropon_self
if (<more1> != <src.uid>)
src.sysmessage @38,1,1 Sizin olmayan bag e item koyamazsiniz!.
return 1
elseif (<argo.type> == t_reagent)
     return 0
elseif (<argo.type> == t_potion)
     return 0
elseif (<argo.baseid> == i_arrow)
     return 0
elseif (<argo.baseid> == i_trappedpouch)
     return 0
elseif (<argo.baseid> == i_silver_piece)
     return 0
elseif (<argo.baseid> == i_rune_marker)
     return 0
elseif (<argo.baseid> == i_shrink_deed)
     return 0
elseif (<argo.baseid> == i_hay_sheaf)
     return 0
elseif (<argo.baseid> == i_gold)
     return 0
elseif (<argo.baseid> == i_lockpick)
     return 0
elseif (<argo.baseid> == i_bandage)
     return 0
elseif (<argo.baseid> == i_bag)
     return 1
else
     src.sysmessage @07a1 Bunu Koyamazsiniz.Bu bagin icine yanlizca belirtilen itemler koyulabilir.
return 1
endif
bu kadar uzatmaya ne gerek var ki ?
Arkadaşlar çok saolun Yardmlarınız İcin Fakat Bu Pot Birleştirmeyi Anlayamadım Biraz Daha Acık Sölerseniz Size Dua Ederim:D
bak şimdi sphere_potions gibi bi script olcak hepsinin id sini i_bottle_empty yap sonra renklerinide sarı turuncu yeşil işte neyse o renkler yap hepsi üstüste düşer
tmm yaptım ama renkleri tam tuttaramıyom potionlar tam olarak renklerini SÖlermisin.Bide niewbi bagde olmuyor nerde hata var acaba?


[itemdef i_bagnewb]
defname i_bagnewb
id i_bag
name Newbie Bag

On=@Create
color 1965
attr attr_newbie

On=@ItemDropon_item
if (<act.type>==t_potion) || (<act.baseid>==i_bandage) || (<act.type>==t_reagent) || (<act.baseid>==i_pouch_trapped) || (<act.baseid>==i_arrow) 
src.sysmessage @05,1,1 <ac.name> bage eklendi...
else
src.sysmessage @05,1,1 <act.name>'yi bu newbie bage koyamazsınız...
return 1
endif
endif


Bu konu tugay77 tarafından düzenlendi(2008-07-31 02:36, 16 yıl önce)
On=@ItemDropon_item

dropon_self dene
Ölede Olmuyor Bide Potionların Rengini Sölersen Sevinirim Tam Olarak Renklerini
bu newbie bag


[itemdef i_pvpbag]
id=i_bag
name Pvp Bag
weight=2

on=@create
color=0455
attr=attr_newbie

on=@click
message @048,,1 [<serv.name>]
message @048,,1 [<name>]
return 1

on=@dclick
src.sysmessage @0481 Bu Bag'a Sadece Potion Ve Bandage Koyabilirsiniz..!

buda eventi eventi playerlere ver sorun kalmaz

[events e_pvpbag]
On=@ItemDropon_item
if (<argo.baseid> == i_pvpbag)
if (<act.type>==t_potion) || (<act.baseid>==i_bandage) 
src.sysmessage @0481 Bag'a [<act.name>]'yi Attiniz...
else
src.sysmessage @0481 Bag'a [<act.name>]'yi Atamassiniz...
return 1
endif
endif
Eyw Kardes pvpbag oldu ama Su Potionların rengini SÖlermisiniz Tam olarak renlerini nasıl yazcam cure heal deadly refres agility fln Lütfen Ben Arıyom Ama Tam Olmuyor
o potionları ben amountu yükseltince olmuoyr yanyana olması için bişi mi yapmak lazım acaba
Bak Orda Yukarda Arkadas Yardımcı Oldu shepre_potions scpye gir itemsin icinden Ondan Sonra i_bottle_empty Yap hepsini oluyor fakat renkleri olmuyor Aynısı Tam Olarak Tutmuyor Npcam Lütfen Yardımcı Olun



Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.