konstantin - 06-03-2011 00:43 GMT -
arkadaslar flame sanet atıp birbirine dalınca serverdebug verip con lost oluyor acil yardımlarınızı bekliorum
yardımlarınızı bekliorum
Son güncelleme: konstantin tarafından 06-03-2011 01:03 GMT tarihinde, önce.
arkadaslar flame sanet atıp birbirine dalınca serverdebug verip con lost oluyor acil yardımlarınızı bekliorum
Kod:
//---------------------------------
elseif (<argn> == 15) // Protection
if (<act.findtype.t_armor.cont.uid> == <act.uid>)
f_fizzle
return 1
endif
if (<act.uid> == <src.uid>)
spell_say Uus Sanct
sd 1
mg2
else
src.sysmessage @07a5,1,1 Bu buyuyu sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
On=@SpellEffect
//if (<MagicResistance> > 29.9) //&& (<magery> < 40.1)
//ARGN3 /= 3
//LOCAL.CARPMA=<eval ((<SRC.EVALUATINGINTEL>*3)/1000)>
//if <dlocal.carpma> <= 0
//local.carpma=2
//endif
//ARGN3 *=<dLocal.carpma>
//ARGN3 += (<ARGN3> * (<SRC.inscription>/100))/100
//ARGN3 += (<ARGN3> * (<SRC.INT>/10)+50)/100
//IF <SERV.SPELL.<ARGN1>.FLAGS>&SPELLFLAG_HARM
//LOCAL.RESIST = <eval ((<MAGICRESISTANCE> - 400) /50)*2>
//IF <dLOCAL.RESIST> < 0
//LOCAL.RESIST 0
//ENDIF
//ARGN3 -= ((<ARGN3> * <dLOCAL.RESIST>)/100)-5
//if (<MagicResistance> < 100.0) && !(<skillLock[26]>) && (<skilltotal> < 800.0))
//if (<magicresistance> < 60.0)
//IF (<EVAL RAND(<magicresistance>)> < 5.0)
//magicresistance += 1
//endif
//endif
//endif
//endif
if (<flags>&statf_dead) // oluye dokunulmaz, ayiptir
if (<argn> == 59)
sfx snd_spell_resurrection
findlayer(22).remove
color <oskin>
update
effect 3,0376a,2,20,1
else
return 1
endif
elseif ((<argn> == 9) || (<argn> == 10) || (<argn> == 16) || (<argn> == 17)) // stat fix
findlayer(32).remove // spell
findlayer(44).remove // potion
elseif ((<argn> == 49) || (<argn> == 55)) // eve disardan chain atsalar bile icerdeki yemez
//if (<src.region.type> == <region.type>)
// return 1
// endif
elseif (<argn> == 37) // mindblast
if (<src.int> > <int>)
var.mb (<src.int> - <int>)
var.mb <eval (<var.mb> / 2)>
if (<eval <var.mb>> > 40)
var.mb 40
endif
damage <eval (<var.mb> + {-5 5)>
else
damage {10 15}
endif
sfx snd_spell_mind_blast
effect 3,0374a,1,15,1
elseif ((<argn> == 41) || (<argn> == 54)) // dispel & mass dispel
if (<findid.i_morpher>)
if !(<findid.i_pre_morph>)
findid.i_morpher.remove
endif
endif
elseif ((<argn> == 20) || (<argn> == 39)) // poison, poison field
if !(<findid.i_rune_poison>) && (<flags>&statf_poisoned)
flags <flags>&~statf_poisoned
endif
if (<src.poisoning> == 120.0)
findid.i_rune_poison.morey += 50.0
endif
if !(<src.uid> == <uid>)
skill fail
endif
if (<eval (<src.poisoning> + 100)> > <eval <findid.i_rune_poison.morey>>)
findid.i_rune_paralyze.remove
findid.i_rune_paralyze_field.remove
findid.i_rune_poison.remove
if (<distance> > 3) && (<eval (<src.poisoning> + 100)> > 700)
poison (600 + {-100 100})
else
poison (<src.poisoning> + {-100 100})
endif
endif
sfx snd_spell_poison
effect 3,0374a,1,15,1
return 1
elseif ((<argn> == 38) || (<argn> == 47)) // paralyze & paralyze field
if (<findid.i_pouch_trapped>)
effect 3,i_fx_explode,3,25,1
sound snd_spell_explosion
damage 20
if (<findid.i_pouch_trapped.more2> > 1)
findid.i_pouch_trapped.more2 <eval <findid.i_pouch_trapped.more2>-1>
return 1
else
findid.i_pouch_trapped.remove
return 1
endif
endif
elseif (<argn> == 26) // no arch prot. over armor
if (<findtype.t_armor.cont.uid> == <uid>)
return 1
endif
elseif (<argn> == 25) // arch cure
if (<memoryfindtype.memory_town>) && !(<src.memoryfindtype.memory_town>)
return 1
elseif (<memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
return 1
endif
// if (<findid.i_rune_poison>)
// if (<findid.i_rune_poison.morey> > <eval ((<src.magery> + 400) / 2)>)
// if !(rand(8) == 1)
// effect 3,0374a,1,15,1
// sound snd_spell_poison
// return 1
// endif
// endif
// endif
elseif (<argn> == 4) || (<argn> == 29) || (<argn> == 11)
if (<memoryfindtype.memory_town>) && !(<src.memoryfindtype.memory_town>)
src.sysmessage @03b2,,1, Faction uyelerini iyilestiremezsiniz.
return 1
elseif (<memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
src.sysmessage @03b2,,1, Order/Chaos uyelerini iyilestiremezsiniz.
return 1
endif
if (<argn> == 4) || (<argn> == 29)
if (<findid.i_rune_poison>)
effect 3,0374a,1,15,1
sound snd_spell_poison
return 1
endif
endif
endif
On=@SkillStart
//ACTDIFF += 50
if (<action> == id(skill_stealth)) || (<action> == skill_stealth)
if (<eval (<ac> * 100)> > <eval (<stealth> + 200)>)
sysmessage @025,1,1 Asiri zirhlisiniz.
skill fail
return 1
elseif (<flags>&statf_onhorse)
sysmessage @025,1,1 Binek uzerindesiniz.
skill fail
return 1
endif
elseif (<action> == id(skill_hiding)) || (<action> == skill_hiding)
if (<eval (<ac> * 10)> > <eval (<hiding> + 200)>)
sysmessage @025,1,1 Asiri zirhlisiniz.
skill fail
return 1
endif
elseif ((<action> == id(skill_herding)) || (<action> == skill_herding))
if (<targ.id> == c_player_v)
skill fail
return 1
endif
elseif ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
if (<targ.topobj.id> == c_player_v)
skill fail
return 1
elseif !(<targ.topobj.ischar>)
sysmessage @0803 Sadece canli varliklardan calabilirsiniz.
skill fail
return 1
elseif !(<targ.isitem>)
sysmessage @0803 Sadece cantalarin icinden calabilirsiniz.
skill fail
return 1
// elseif (<targ.layer> == layer_hand1) || (<targ.layer> == layer_hand2)
// sysmessage @0803 Adamin elinden calamazsiniz.
// skill fail
// return 1
elseif !(<targ.cont.layer> == layer_pack)
sysmessage @0803 Sadece cantalarin iclerinden calabilirsiniz.
skill fail
return 1
// elseif (0<uid.<targ.uid>.cont>)
elseif (<uid.<uid.<targ.uid>.cont.uid>.ischar>)
sysmessage @0803 Sadece cantalarin icinden calabilirsiniz.
skill fail
return 1
//endif
if !(<uid.<uid.<targ.uid>.cont.uid>.type> == t_container)
sysmessage @0803 Sadece cantalarin icinden calabilirsiniz.
skill fail
return 1
endif
elseif (<targ.isitem>)
if (<targ.cont>)
if (<targ.cont.type> == t_eq_trade_window)
src.sysmessage @0803 Bunu calamazsiniz.
return 1
endif
endif
endif
endif
On=@Click
if !(<findid.i_rune_incognito>) && (<memoryfindtype.memory_guild>)
if (strmatch('<tag.gs_title>','')
if (<memoryfindtype.memory_guild.link.align> == 1)
message @03b2,,1, [<memoryfindtype.memory_guild.link.name> , Order]
elseif (<memoryfindtype.memory_guild.link.align> == 2)
message @03b2,,1, [<memoryfindtype.memory_guild.link.name> , Chaos]
else
message @0481,1,1,1, [<memoryfindtype.memory_guild.link.name>]
endif
else
if (<memoryfindtype.memory_guild.link.align> == 1)
// message @0bb2,,1 [Order]
message @03b2,,1, [<tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev>]
elseif (<memoryfindtype.memory_guild.link.align> == 2)
// message @0bb2,,1 [Chaos]
message @03b2,,1, [<tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev>]
else
message @0481,1,1,1 [<tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev>]
endif
endif
endif
On=@ItemSpell
if !((<argn> == 2) || (<argn> == 13) || (<argn> == 14) || (<argn> == 19)|| (<argn> == 21) || (<argn> == 23) || (<argn> == 24) || (<argn> == 28) || (<argn> == 32) || (<argn> == 34) || (<argn> == 39) || (<argn> == 45) || (<argn> == 46) || (<argn> == 47) || (<argn> == 48) || (<argn> == 50) || (<argn> == 54) || (<argn> == 55) || (<argn> == 57)) // no enchant
f_fizzle
return 1
endif
On=@ItemClick
if (<act.type> == t_weapon_axe) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_mace_smith)|| (<act.type> == t_weapon_mace_sharp) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_axe)
if (<src.act.morez> > 0)
src.sysmessage @049,,1 Bu Silah Zehirli.
else
src.sysmessage @049,,1 Bu Silah Zehirli degil.
endif
endif
if (<act.layer> == 21) && (<act.cont.ischar>)
act.message Inventory
if (<act.cont>==<uid>)
act.message @0481,,1 [<eval <rescount i_pouch_trapped>> Tp] [<eval <rescount i_bandage>> bandaj]
act.message @0481,,1 [<eval <rescount i_potion_HealGreat>+<rescount i_potion_Heal>> heal] [<eval <rescount i_potion_cureGreat>+<rescount i_potion_cure>> cure]
endif
return 1
else
if ((<act.attr>&attr_newbie) // blessed itemlari belirt
act.message @07a5,1,1 [newbified]
endif
if (<act.type> == t_container)
//if !(<act.baseid> == i_strong_box)
//if ((<act.attr>&attr_move_never) && !(strmatch('<act.region.tag0.owner>','0')) && (<act.region.type> == <region.type>))
// act.message [sabit]
//endif
if (<act.baseid> == i_bones)
act.message @07a5,1,1 [loot: <act.rescount> esya]
act.message @0 <act.name>
elseif (<act.rescount> > 0)
act.message @0 <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
else
act.message @0 <act.typedef.name>
endif
// if !(<act.topobj.id> == c_pv)
// return 1
// endif
//endif
endif
endif
if ((<act.topobj.uid> == <uid>)
if (<act.type> == t_weapon_xbow)
act.message [bolts: <eval <rescount <act.tdata3>>>]
elseif (<act.type> == t_weapon_bow)
act.message [arrows: <eval <rescount <act.tdata3>>>]
endif
endif
On=@ItemPickUp_Pack
//if (<act.topobj.id> == c_pv)
// if !(<uid> == <act.topobj.tag.owner>)
// return 1
// endif
endif
if !(0<act.cont.layer>) && (<findtype.t_eq_trade_window>)
sysmessage @0481,1,1 Geri almak için trade penceresini kapatin.
return 1
endif
if (<act.attr>&attr_move_never) || (<act.attr>==0401a)
return 1
endif
On=@ItemDropOn_Ground
if (<act.attr> == 04008) || (<act.attr> == 04018)
act.attr 0
endif
if !((<weight> + <act.weight>) > <maxweight>)
if ((<action> == id(skill_fishing)) || (<action> == skill_fishing))
if (<act.type> == t_fish) // tutulan baliklari
act.bounce // at cantaya
endif
elseif ((<action> == id(skill_magery)) || (<action> == skill_magery))
if (<act.type> == t_food) // yapilan yemekleri
act.bounce // at cantaya
endif
endif
endif
// end of main fixes
//if (<targ.topobj.id> == c_pv)
// if (<targ.type> == t_container)
// targ.open
// endif
// return 1
// endif
[events e_qchar]
On=@Death
hits 5
fame 10000
return 1
On=@GetHit
hits (<hits> + 15)
if (<hits> > <str>)
hits <str>
endif
On=@EnvironChange
if (<npc>)
food 999
endif
[itemdef i_bandajvar]
ID=i_memory
TYPE=t_eq_script
NAME=bandajvar
On=@Create
attr attr_decay|attr_newbie
On=@Equip
timer 2
On=@Timer
remove
return 1
[function getuid]
try uid.<args>.bounce=<src>
[EOF]
yardımlarınızı bekliorum
Son güncelleme: konstantin tarafından 06-03-2011 01:03 GMT tarihinde, önce.
Uo_Meadhros - 06-03-2011 00:57 GMT -
Sadece Flam sanet bölümünü koyarsan yaparım
bulamadım arasından
Sadece Flam sanet bölümünü koyarsan yaparım
bulamadım arasından
konstantin - 06-03-2011 01:03 GMT -
düzenledim.
düzenledim.
Uo_Meadhros - 06-03-2011 01:08 GMT -
Scriptte Bir Hata var sanırsam bulamadım ama bir sürü bug var baştan okudumda istersen sana bir fix scripti verebilirim
buyur
Scriptte Bir Hata var sanırsam bulamadım ama bir sürü bug var baştan okudumda istersen sana bir fix scripti verebilirim
Kod:
[function spell_say]
if (<src.isevent.e_ibraniceacik>) && (<src.magery> > 98.0) && (<src.meditation> > 98.0) && (<src.anatomy> > 98.0) && (<src.evaluatingintel> > 98.0) && !(<src.tactics> > 0.1) && !(<src.fencing> > 0.1) && !(<src.macefighting> > 0.1) && !(<src.swordsmanship> > 0.1) && !(<src.archery> > 0.1) && !(<src.wrestling> > 0.1)
say @0790,8 [ <args> _ \ ]
else
if (0<src.account.plevel> < 2)
sayua 0790,6,6,0 <args>
endif
endif
[events fix]
on=@login
On=@Profile
if (<src.uid> == <uid>) || (0<src.account.plevel> > 2)
src.sysmessage @07a5,1,1 Hesap tarihi: <account>, <eval (<account.totalconnecttime> / 60)>saat
src.sysmessage @07a5,1,1 Kayit tarihi: <account.firstconnectdate>
src.sysmessage @07a5,1,1 Karakter tarihi: <eval (<age> / 86400)> gun once dogmus.
src.sysmessage @07a5,1,1 Karakter: <eval (<age> / 60)/60> saat once dogmus.
endif
on=@death
//if (<fame> < 2500)
//act.sysmessage @56,1,1,1,1 Oldurdugunuz kisinin famesi [<act.fame>] puan ve bilet kazanmak icin [2500] fame gerekmektedir.
//endif
//if (<fame> > 9900) && (<memoryfindtype.memory_harmedby>) && (<act.uid> != <uid>)// && (0<act.npc> == 0)
// serv.b @07a1,,1 Lord <name>, <qval (<act.owner>) ? <act.name> (<uid.<act.owner>name>): <act.name>> tarafindan <region.name> dolaylarinda olduruldu..
if (<fame> > 2500) && (<memoryfindtype.memory_harmedby>) && (<act.uid> != <uid>)// && (0<act.npc> == 0)
serv.b @0481,1,1,1 <name>, <qval (<act.owner>) ? <act.name> (<uid.<act.owner>name>): <act.name>> tarafindan <region.name> dolaylarinda olduruldu..
act.tag0.duelwin +=1
serv.newitem i_gold,1000 // Buraya biletin id'sini yazman gerekir..
new.cont <act.uid>
trysrc <act.owner> src.birpuanverpls
act.fame +=300
src.fame -=250
endif
//endif
if (<src.findid.i_bleeding>) || (<src.findid.i_bleeding2>)
src.findid.i_bleeding.remove
src.findid.i_bleeding2.remove
src.events -e_bleed
endif
if (<findid.i_rune_poison>)
src.sysmessage @38,1,1 Zehir etkisini gecirdiniz.
findid.i_rune_poison.remove
return 1
endif
forchars 20 // 20 kare içinde
if <owner> == <src.uid> // sana ait npc varsa
go 5912,2016.1.0 // safeye gonder
hits <str>
endif //sorguyu kapat
endfor
src.hits <str>
src.str <hits>
src.go 5912,2016.1.0
//src.events e_bilet
src.events -e_gmtopuk
src.events -e_bilet
src.events -e_sans
src.events -e_expo
src.events -e_engelli
src.events -e_olumsuz
src.events -e_bilet
src.events -e_kartopu
src.events -e_bombaci
src.events -e_kosu
src.events -e_deathmatch
src.tag.kopruhakki 0
return 1
On=@Attack
If (<src.id> == c_pv)
src.hata Oyuncu vendoruna saldıramazsınız.
return 1
endif
on=@Mount
if (<argo.id> == c_bear_polar)
return 1
endif
if (<isgm>)
argo.findid.i_rune_poison.remove
endif
if (<argo.findid.i_rune_poison>)
On=@dismount
if (<argo.findid.i_rune_poison>)
argo.tag.poim <argo.findid.i_rune_poison.link>
argo.findid.i_rune_poison.remove
argo.poison 300
argo.findid.i_rune_poison.link <argo.tag0.poim>
argo.update
endif
if (<argo.findid.i_rune_poison_field>)
argo.tag.poim <argo.findid.i_rune_poison_field.link>
argo.findid.i_rune_poison_field.remove
argo.poison 300
argo.findid.i_rune_poison_field.link <argo.tag0.poim>
argo.update
endif
on=@SkillGain
if (<argn3> > 100.0)
if (<src.<argn1>> > 99.9) && <src.<argn1>> < <argn3>
if (rand(100)<30)
src.<argn1> += 1
return 1
endif
endif
endif
on=@spellselect
if (<meditation> > 99.8) && (<magery> > 99.8) && (<evaluatingintel> > 99.8)
argn2 -= <eval <serv.spell.<argn1>.manause>/2>
endif
on=@chardclick
if (<src.act.isevent.e_peacemaking>)
src.hata Uyuyan varlıklara bu uygulanmaz.
return 1
endif
on=@itembuy
//uid.<var0.pvpmaster>.newgold <eval <argn2>/3>
//src.hata Yaptığınız alışverişin 4/1 parası pvp 1.'si <eval <uid.<var0.pvpmaster.name>> gitmiştir.
//src.sms <argn1> adet eşya aldınız, aldığınız eşyaların toplamı <argn2> gp.
on=@dclick
//if (<src.uid> == <uid>)
//if (<src.flags>&statf_war)
//src.flags <src.flags>&~statf_war
//src.update
//endif
//endif
On=@ItemDClick
if (<act.type> == t_fish)
src.hata <act.amount> Kadar balık çantanıza alındı
act.bounce
endif
if (<act.type> == t_wand) || (<act.baseid>==i_torch) || (<act.baseid>==i_shepherds_crook)
src.hata Bu eşyanın kullanımı kaldırılmıştır.
act.remove
return 1
endif
if (<targ.topobj.id> == c_pv)
if (<targ.type> == t_container)
targ.open
return 1
endif
endif
if (<act.isweapon>)
if (<act.morey> == 200)
act.morey 250
act.color 0
endif
if (<act.morey> == 400)
act.morey 450
act.color 0
endif
if (<act.morey> == 600)
act.morey 650
act.color 0
endif
if (<act.morey> == 800)
act.morey 850
act.color 0
endif
if (<act.morey> == 1000)
act.morey 1100
act.color 0
endif
endif
if (<src.account.plevel> >= 2)
if (<act.baseid> == i_wall_stone_8) || (<act.baseid> == i_fx_field_paralyze) || (<act.baseid> == i_fx_poison_field) || (<act.baseid> == i_fx_field_fire) && (<act.baseid> == i_fx_energy_field) || (<act.type> == t_spell)
src.timerf 3,gouid <eval <act.link>>
src.hata Field sahibinin yanına gidiyorsunuz.
return 1
endif
endif
On=@GetHit
if (<findtype.t_eq_trade_window>)
findtype.t_eq_trade_window.remove
endif
On=@EnvironChange
if (0<src.account.plevel> == 1)
if (<src.skilltotal> > 500000.0)
src.sdialog d_skilldusur
src.hata Becerileriniz 500000.0'ı aşmış. Lütfen becerilerinizde fazlalık olanı düşürünüz.
return 1
endif
endif
if !(<memoryfindtype.memory_guild.link.align>) || (<kills> > 6)
if (<findlayer(2).baseid> == i_shield_chaos) || (<findlayer(2).baseid> == i_shield_order)
findlayer(2).unequip
endif
endif
On=@SpellCast
if (<src.findid.i_bandajvar>)
src.sysmessage @1153,,1 Bandaj etkisi altindayken buyu yapamazsin
return 1
endif
if (<src.findid.i_rb_delay> || (<src.findid.i_rb_delay2>)
src.hata Runebook kullanırken büyü atamazsınız.
return 1
endif
if (<act.ischar>)
if (<act.flags>&statf_stone) || (<act.region.safe>)
act.action -1
sysmessage @07a5,1,1 Safe zonedaki kisilere buyu atamazsiniz!
return 1
endif
endif
if (<argn> == 20)
if !(<act.uid> == <uid>)
else
src.hata Bu büyüyü kendinize atamazsınız.
return 1
endif
endif
if (<findlayer(1).type> == t_spellbook)
findlayer(2).unequip
endif
if !(<findlayer(2).type> == t_weapon_mace_staff)
findlayer(1).unequip
findlayer(2).unequip
endif
if (<flags>&statf_freeze) || (<flags>&statf_stone)
f_fizzle
return 1
endif
if (<findtype.t_armor.cont.uid> == <uid>)
f_fizzle
skill fail
action -1
return 1
endif
if (<act.ischar>)
if !(<act.flags>&statf_insubstantial) && (0<act.account.plevel> > 0<account.plevel>)
if !(<act.account.plevel>==7)
f_fizzle
return 1
endif
endif
endif
if ((<argn> == 7) || (<argn> == 15))
if (<act.findtype.t_armor.cont.uid> == <act.uid>)
f_fizzle
return 1
endif
endif
if (<argn> == 1) // Clumsy
spell_say Uus Jux
mg1
elseif (<argn> == 2) // Create food
src.timerf 1,newitem i_fruit_carrot
src.timerf 1,act.bounce
src.mana <mana>-5
spell_say In Mani Ylem
mg1
return 1
elseif (<argn> == 3) // Feeblemind
spell_say Rel Wis
mg1
elif (<argn> == 4) // Heal
spell_say In Mani
if (<src.findid.i_rune_poison>) || (<src.findid.i_rune_poison_field>) || (<src.act.findid.i_rune_poison>) || (<src.act.findid.i_rune_poison_field>)
src.hata Zehirliyken bu büyüyü kullanamazsınız.
f_fizzle
return 1
endif
sd 1
mg1
elseif (<argn> == 5) // Magic Arrow
spell_say In Por Ylem
mg1
elseif (<argn> == 6) // Night Sight
spell_say In Lor
mg1
elseif (<argn> == 7) // Reactive Armor
if (<act.uid> == <src.uid>)
spell_say Flam Sanct
if (<act.findtype.t_armor.cont.uid> == <act.uid>)
f_fizzle
return 1
endif
if ((<findid.i_spdelay_man>)
findid.i_spdelay_man.timer 1
elseif ((<findid.i_spdelay_woman>)
findid.i_spdelay_woman.timer 1
elseif ((<findid.i_spdelay_unisex>)
findid.i_spdelay_unisex.timer 1
else
sd 1
endif
mg1
else
src.hata Bu büyüyü sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 8) // Weaken
spell_say Des Mani
mg1
elseif (<argn> == 9) // Agility
if (<act.uid> == <src.uid>)
spell_say Ex Uus
mg2
else
src.hata Bu büyüyü sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 10) // Cunning
spell_say Uus Wis
mg2
elseif (<argn> == 11) // Cure
spell_say An Nox
if ((<findid.i_spdelay_man>)
findid.i_spdelay_man.timer 1
elseif ((<findid.i_spdelay_woman>)
findid.i_spdelay_woman.timer 1
elseif ((<findid.i_spdelay_unisex>)
findid.i_spdelay_unisex.timer 1
else
sd 1
endif
if (<findid.i_rune_poison>)
if (<findid.i_rune_poison.morey> > <eval ((<magery> + 400) / 2)>)
if !(rand(8) == 1)
effect 3,0374a,1,15,1
sound snd_spell_poison
f_fizzle
return 1
endif
endif
endif
mg3
elseif (<argn> == 12) // Harm
spell_say An Mani
sd 1
mg2
elseif (<argn> == 13) // Trap
spell_say In Jux
src.hata Bu büyü kapalıdır.
f_fizzle
return 1
elseif (<argn> == 14) // Untrap
spell_say An Jux
src.hata Bu büyü kapalıdır.
f_fizzle
return 1
elseif (<argn> == 15) // Protection
if (<act.findtype.t_armor.cont.uid> == <act.uid>)
f_fizzle
return 1
endif
if (<act.uid> == <src.uid>)
spell_say Uus Sanct
sd 1
mg2
else
src.hata Bu büyüyü sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 16) // Strength
spell_say Uus Mani
sd 1
mg2
elseif (<argn> == 17) // Bless
if (<act.uid> == <src.uid>)
spell_say Rel Sanct
sd 2
mg3
else
src.hata Bu büyüyü sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 18) // Fireball
spell_say Vas Flam
sd 1
mg3
elseif (<argn> == 19) // Lock
spell_say An Por
src.hata Bu büyü kapalıdır.
f_fizzle
return 1
elseif (<argn> == 20) // Poison
if !(<act.uid> == <src.uid>)
if (<act.ischar>)
if (<act.hits> < 1) || (<act.findid.i_rune_summon_creature>) || (<src.region.safe>)
f_fizzle
src.hata Hatalı işlem.
findid.i_poisonlvl.remove
return 1
endif
endif
spell_say In Nox
psg
sd 1
else
f_fizzle
findid.i_poisonlvl.remove
return 1
endif
elseif (<argn> == 21) // Telekinesis
spell_say Ort Por Ylem
src.hata Bu büyü kapalıdır.
f_fizzle
return 1
elseif (<argn> == 22) // Teleport
spell_say Rel Por
mg3
elseif (<argn> == 23) // Unlock
spell_say Ex Por
src.hata Bu büyü kapalıdır.
f_fizzle
return 1
elseif (<argn> == 24) // Wall
IF (<SRC.REGION.FLAGS>®ion_flag_ship) || (<src.isevent.e_house>)
f_fizzle
src.hata Evlere ve gemilere bu büyüyü kullanamazsınız.
return 1
endif
spell_say In Sanct Ylem
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 1
mg3
elseif (<argn> == 25) // Arch Cure
spell_say Vas An Nox
sd 2
mg4
elseif (<argn> == 26) // Arch Protection
spell_say Vas Uus Sanct
sd 2
mg4
elseif (<argn> == 27) // Curse
spell_say Des Sanct
sd 2
mg4
elseif <argn>==28) // fire field
if (strmatch('<src.region.guarded>','1'))
f_fizzle
src.hata Şehir içinde bu büyüyü kullanamazsınız.
return 1
endif
IF (<SRC.REGION.FLAGS>®ion_flag_ship) || (<src.isevent.e_house>)
f_fizzle
src.hata Evlere ve gemilere bu büyüyü kullanamazsınız.
return 1
endif
spell_say In Flam Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 2
mg4
findlayer(98).timer 3
elseif (<argn> == 29) // Greater Heal
if (<src.findid.i_rune_poison>) || (<src.findid.i_rune_poison_field>) || (<src.act.findid.i_rune_poison>) || (<src.act.findid.i_rune_poison_field>)
src.hata Zehirliyken bu büyüyü kullanamazsınız.
f_fizzle
return 1
endif
spell_say In Vas Mani
sd 2
mg4
findlayer(98).timer 4
elseif (<argn> == 30) // Lightning
spell_say Por Ort Grav
sd 2
mg3
elseif (<argn> == 31) // Mana Drain
spell_say Ort Rel
src.hata Bu büyü kapalıdır.
f_fizzle
return 1
elseif (<argn> == 32) // Recall
spell_say Kal Ort Por
sd 2
mg4
elseif (<argn> == 33) // Blade Spirits
spell_say In Jux Hur Ylem
sd 2
mg5
elseif (<argn> == 34) // Dispel Field
spell_say An Grav
if (<act.ischar>)
f_fizzle
return 1
endif
sd 2
mg5
elseif (<argn> == 35) // Incognito
spell_say Kal In Ex
sd 2
mg5
elseif (<argn> == 36) // Magic Reflect
if (<act.uid> == <src.uid>)
spell_say In Jux Sanct
sd 2
mg4
else
src.hata Bu büyüyü sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 37) // Mind Blast
spell_say Por Corp Wis
sd 3
mg5
elseif (<argn> == 38) // Paralyze
spell_say An Ex Por
sd 4
mg6
elseif (<argn> == 39) // Poison Field
if (strmatch('<src.region.guarded>','1'))
f_fizzle
src.hata Şehir içinde bu büyüyü kullanamazsınız.
return 1
endif
IF (<SRC.REGION.FLAGS>®ion_flag_ship) || (<src.isevent.e_house>)
f_fizzle
src.hata Evlere ve gemilere bu büyüyü kullanamazsınız.
return 1
endif
spell_say In Nox Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 2
mg5
findlayer(98).timer 3
elseif (<argn> == 40) // Summon Creature
if (strmatch('<src.region.guarded>','1'))
f_Fizzle
src.hata Şehir içinde bu büyüyü kullanamazsınız.
return 1
endif
spell_say Kal Xen
sd 2
mg5
elseif (<argn> == 41) // Dispel
spell_say An Ort
sd 2
mg6
elseif (<argn> == 42) // Energy Bolt
spell_say Corp Por
sd 2
mg5
elseif (<argn> == 43) // Explosion
if (strmatch('<src.region.guarded>','1'))
f_fizzle
src.hata Şehir içinde bu büyüyü kullanamazsınız.
return 1
endif
spell_say Vas Ort Flam
sd 2
mg6
elseif (<argn> == 44) // Invisibility
if (strmatch('<act.region.events>','r_house_system'))
if (0<act.npc> == 1)
src.hata Ev içinde NPC gizleyemezsiniz.
f_fizzle
return 1
endif
endif
spell_say An Lor Xen
sd 3
mg6
elseif (<argn> == 45) // Mark
spell_say Kal Por Ylem
sd 2
mg6
elseif (<argn> == 46) // Mass Curse
spell_say Vas Des Sanct
sd 2
mg6
elseif (<argn> == 47) // Paralyze Field
if (strmatch('<src.region.guarded>','1'))
f_fizzle
src.hata Şehir içinde bu büyüyü kullanamazsınız.
return 1
endif
IF (<SRC.REGION.FLAGS>®ion_flag_ship) || (<src.isevent.e_house>)
f_fizzle
src.hata Evlere ve gemilere bu büyüyü kullanamazsınız.
return 1
endif
spell_say In Ex Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 3
mg6
findlayer(98).timer 4
elseif (<argn> == 48) // Reveal
spell_say Wis Quas
sd 2
mg6
elseif (<argn> == 49) // Chain Lightning
if (strmatch('<src.region.guarded>','1'))
f_fizzle
src.hata Şehir içinde bu büyüyü kullanamazsınız.
return 1
endif
spell_say Vas Ort Grav
if (<act.uid> == <uid>)
f_fizzle
return 1
endif
sd 3
mg7
elseif (<argn> == 50) // Energy Field
if (strmatch('<src.region.guarded>','1'))
f_fizzle
src.hata Şehir içinde bu büyüyü kullanamazsınız.
return 1
endif
IF (<SRC.REGION.FLAGS>®ion_flag_ship) || (<src.isevent.e_house>)
f_fizzle
src.hata Evlere ve gemilere bu büyüyü kullanamazsınız.
return 1
endif
spell_say In Sanct Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 3
mg7
findlayer(98).timer 4
elseif (<argn> == 51) // Flame strike
spell_say Kal Vas Flam
if ((<findid.i_spdelay_man>)
findid.i_spdelay_man.timer 3
elseif ((<findid.i_spdelay_woman>)
findid.i_spdelay_woman.timer 3
elseif ((<findid.i_spdelay_unisex>)
findid.i_spdelay_unisex.timer 3
else
sd 3
endif
mg7
elseif (<argn> == 52) // Gate Travel
spell_say Vas Rel Por
src.hata Bu büyü kapalıdır.
f_fizzle
return 1
elseif (<argn> == 53) // Mana Vampire
spell_say Ort Sanct
src.hata Bu büyü kapalıdır.
f_fizzle
return 1
elseif (<argn> == 54) // Mass Dispel
spell_say Vas An Ort
sd 3
mg7
elseif (<argn> == 55) // Meteor Swarm
if (strmatch('<src.region.guarded>','1'))
f_fizzle
src.hata Şehir içinde bu büyüyü kullanamazsınız.
return 1
endif
if (<act.uid> == <uid>)
f_fizzle
return 1
endif
sd 3
mg7
spell_say Flam Kal Des Ylem
elseif (<argn> == 56) // Polymorph
src.hata Bu büyü kapalıdır.
f_fizzle
return 1
elseif (<argn> == 57) // Earthquake
if (strmatch('<src.region.guarded>','1'))
f_fizzle
src.hata Şehir içinde bu büyüyü kullanamazsınız.
return 1
endif
spell_say In Vas Por
sd 3
mg8
elseif (<argn> == 58) // Energy Vortex
if (strmatch('<src.region.guarded>','1'))
f_fizzle
src.hata Şehir içinde bu büyüyü kullanamazsınız.
return 1
endif
spell_say Vas Corp Por
sd 4
mg8
elseif (<argn> == 59) // Resurrect
if (<act.npc>)
src.hata Bu büyü Npclere uygulanmaz.
f_fizzle
return 1
endif
if (<act.hits> > 0)
src.hata Bu büyüyü sadece ölüler üzerinde kullanabilirsiniz.
f_fizzle
return 1
endif
spell_say An Corp
sd 3
mg8
elseif (<argn> == 60) // Air Elemental
spell_say Kal Vas Xen Hur
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
elseif (<argn> == 61) // Summon Deamon
spell_say Kal Vas Xen Corp
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
elseif (<argn> == 62) // Earth Elemental
spell_say Kal Vas Xen Ylem
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
elseif (<argn> == 63) // Fire Elemental
spell_say Kal Vas Xen Flam
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
elseif (<argn> == 64) // Water Elemental
spell_say Kal Vas Xen An Flam
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
endif
On=@SpellEffect
if (<flags>&statf_dead)
if (<argn> == 59)
sfx snd_spell_resurrection
findlayer(22).remove
color <oskin>
update
effect 3,0376a,2,20,1
else
return 1
endif
elseif ((<argn> == 9) || (<argn> == 10) || (<argn> == 16) || (<argn> == 17)) // stat fix
findlayer(32).remove // spell
findlayer(44).remove // potion
//elseif ((<argn> == 49) || (<argn> == 55)) // eve disardan chain atsalar bile icerdeki yemez
//if !(<src.region.type> == <src.region.type>)
//return 1
//endif
elseif (<argn> == 37) // mindblast
if (<src.int> > <int>)
var.mb (<src.int> - <int>)
var.mb <eval (<var.mb> / 2)>
if (<eval <var.mb>> > 40)
var.mb 40
endif
damage <eval (<var.mb> + {-5 5)>
else
damage {5 10}
endif
sfx snd_spell_mind_blast
effect 3,0374a,1,15,1
elseif ((<argn> == 20) || (<argn> == 39)) // poison, poison field
if !(<findid.i_rune_poison>) && (<flags>&statf_poisoned)
flags <flags>&~statf_poisoned
endif
if !(<src.uid> == <uid>)
skill fail
endif
if (<eval (<src.poisoning> + 100)> > <eval <findid.i_rune_poison.morey>>)
findid.i_rune_paralyze.remove
findid.i_rune_paralyze_field.remove
findid.i_rune_poison.remove
if (<distance> > 3) && (<eval (<src.poisoning> + 100)> > 700)
poison (600 + {-100 100})
else
poison (<src.poisoning> + {-100 100})
endif
endif
sfx snd_spell_poison
effect 3,0374a,1,15,1
return 1
elseif ((<argn> == 38) || (<argn> == 47)) // paralyze & paralyze field
if (<findid.i_pouch_trapped>)
effect 3,i_fx_smoke,3,25,1
sound snd_spell_explosion
damage 20
if (<findid.i_pouch_trapped.amount> > 1)
findid.i_pouch_trapped.amount <eval <findid.i_pouch_trapped.amount>-1>
return 1
else
findid.i_pouch_trapped.remove
return 1
endif
endif
if (<argn> == 26)
if (<findtype.t_armor.cont.uid> == <uid>)
return 1
endif
endif
if (<argn> == 25) // arch cure
if (<memoryfindtype.memory_town>) && !(<src.memoryfindtype.memory_town>)
return 1
elseif (<memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
return 1
endif
endif
if (<argn> == 4) || (<argn> == 29) || (<argn> == 11)
if (<memoryfindtype.memory_town>) && !(<src.memoryfindtype.memory_town>)
src.hata Faction üyelerini iyileştiremezsiniz.
return 1
endif
endif
if (<memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
src.hata Order/Chaos üyelerini iyileştiremezsiniz.
return 1
endif
if (<argn> == 4) || (<argn> == 29)
if (<findid.i_rune_poison>)
effect 3,0374a,1,15,1
sound snd_spell_poison
return 1
endif
endif
endif
On=@ItemSpell
if !((<argn> == 2) || (<argn> == 13) || (<argn> == 14) || (<argn> == 19)|| (<argn> == 21) || (<argn> == 23) || (<argn> == 24) || (<argn> == 28) || (<argn> == 32) || (<argn> == 34) || (<argn> == 39) || (<argn> == 45) || (<argn> == 46) || (<argn> == 47) || (<argn> == 48) || (<argn> == 50) || (<argn> == 54) || (<argn> == 55) || (<argn> == 57))
f_fizzle
return 1
On=@ItemClick
if (<act.cont>==<uid>)
if (<act.layer> == 21) && (<act.cont.ischar>)
act.message @07a1,,1 Inventory
act.message @0713,,1 Eşya : <act.rescount>
return 1
endif
endif
if (strmatch('','t_eq_trade_window'))
act.message @044,,1 [Güvenli]
endif
if (<act.isweapon>)
if (<src.act.morez> > 0)
src.sysmessage @38,,1 Silahta zehir var.
if ((<act.more1l> * 100) / <act.more1h>)> == 100)
src.Message @38,,1 Bu silah %<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> hasarlı.
else
src.sysmessage @07a1,1,1 Silahta hasar yok.
endif
endif
endif
if (<act.topobj.id> == c_pv)
if (strmatch('<act.price>',''))
act.message @38,,1 [Satılmaz]
elseif (<act.price> <= 0)
act.message @38,,1 [Satılık Değil]
else
if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_shield) || (<act.type> == t_clothing) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow))
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
act.message @044,,1 [<act.price> Gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> Eski]
else
act.message @044,,1 [<act.price> Gp]
endif
else
act.message @044,,1 [<act.price> Gp]
endif
endif
endif
if (<act.type> == t_potion)
act.message @0 <act.amount> <act.name>
return 1
endif
if ((<act.attr>&attr_newbie)
act.message @50,,1 [Newbiefied]
endif
if ((<act.topobj.uid> == <uid>)
if (<act.type> == t_weapon_xbow)
act.message @07a1,,1 [Bolts: <eval <rescount <act.tdata3>>>]
elseif (<act.type> == t_weapon_bow)
act.message @07a1,,1 [Arrows: <eval <rescount <act.tdata3>>>]
endif
endif
if (<act.type> == t_container)
if !(<act.baseid> == i_strong_box)
if (<act.attr>&attr_move_never) && !(strmatch('<act.region.tag.owner>,'')) && (<act.region.uid> == <region.uid>)
act.message @38,,1 [Sabit]
endif
if (<act.baseid> == i_bones)
act.message @07a1,,1 [Eşya : <act.rescount>]
act.message <act.name>
elseif (<src.act.rescount> > 0)
act.message @07a1,,1 <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
else
act.message @07a1,,1 <act.typedef.name>
endif
return 1
endif
endif
endif
On=@ItemPickUp_Pack
if (<act.topobj.id> == c_pv)
if !(<uid> == <act.topobj.tag.owner>)
return 1
endif
endif
if !(0<act.cont.layer>) && (<findtype.t_eq_trade_window>)
src.hata Transfer penceresinde bunu yapamazsınız.
return 1
endif
if (<act.attr>&attr_move_never) || (<act.attr> == 0401a) || (<act.attr> == 010)
return 1
endif
On=@ItemDropOn_Ground
if !((<weight> + <act.weight>) > <maxweight>))
if ((<action> == id(skill_fishing)) || (<action> == skill_fishing))
if (<act.type> == t_fish) // tutulan baliklari
act.bounce // at cantaya
endif
elseif ((<action> == id(skill_magery)) || (<action> == skill_magery))
if (<act.type> == t_food) // yapilan yemekleri
act.bounce // at cantaya
endif
endif
endif
if (<act.attr> == 04008) || (<act.attr> == 04018)
act.attr 0
endif
if (<act.baseid> == i_bar_piece)
act.flip
endif
if ((<action> == id(skill_magery)) || (<action> == skill_magery))
if (<act.type> == t_food)
act.bounce
endif
endif
[function getuid]
try uid.<args>.bounce=<src>
[EOF]
buyur
konstantin - 06-03-2011 01:17 GMT -
yine gidiyor bakalım napcaz
yine gidiyor bakalım napcaz
Uo_Meadhros - 06-03-2011 01:23 GMT -
Sphere Değiştirmeni Öneririm o zaman bide öyle dene
Sphere Değiştirmeni Öneririm o zaman bide öyle dene
Shaddar - 06-03-2011 01:41 GMT -
konsoldaki debug sorununu yazarmısın log kaydı tutuyorsan aynı sorun bendede vardıda bir bakayım.
konsoldaki debug sorununu yazarmısın log kaydı tutuyorsan aynı sorun bendede vardıda bir bakayım.
konstantin - 06-03-2011 11:03 GMT -
sphere version deiştirdim geçti şuanda bir sorun yok tsşkler
sphere version deiştirdim geçti şuanda bir sorun yok tsşkler
Uo_Meadhros - 06-03-2011 14:17 GMT -
Dediğim gibi iyi oyunlar konstantin
Dediğim gibi iyi oyunlar konstantin
Afronola - 07-03-2011 00:24 GMT -
Kişileri rencide edici söylemlerden kaçınınız...
// Basic
Son güncelleme: basic tarafından 07-03-2011 00:28 GMT tarihinde, önce.
Kişileri rencide edici söylemlerden kaçınınız...
// Basic
Son güncelleme: basic tarafından 07-03-2011 00:28 GMT tarihinde, önce.
Uo_Meadhros - 07-03-2011 00:28 GMT -
Afronola - 07-03-2011 00:30 GMT -
tebrikler bu kadar olunabilirdi zaten :P ciddi mana da süper bir yönetım anlayışı
Afronola :
Kişileri rencide edici söylemlerden kaçınınız...
// Basic
tebrikler bu kadar olunabilirdi zaten :P ciddi mana da süper bir yönetım anlayışı