Kayıt ol!             
Şifremi unuttum ?
   

  
 

Karakter Boyutu:  

Etiketler: spell delay

Yazar Mesaj

Camper_Devil

U-Ser

Online durumu

Nereden: Turkey İST_
Meslek: Camper The Apperantice Scripter
Yaş: 19

#293372   2008-05-09 17:17 GMT      


Player char büyü atmasına rağmen koşabiliyor yani delay yok sorun nedir?


Ölüm her aklına geldiğinde, ah edip,vah edip inleme, bu halinle tanrıyı incitmiş olcaksın, ecel kapını çaldığı zaman, evi telaşa verme,o geldiği zaman sen gitmiş olacaksın...

canavar2212



Online durumu

Nereden:
Meslek:
Yaş:

#293374   2008-05-09 17:38 GMT      


Üzerinde büyü atarken attığın büyü yazıyormu ?


Camper_Devil

U-Ser

Online durumu

Nereden: Turkey İST_
Meslek: Camper The Apperantice Scripter
Yaş: 19

#293403   2008-05-09 21:56 GMT      


Yazıyor büyüyü atıyor ama hareket edebiliyorsun...


Ölüm her aklına geldiğinde, ah edip,vah edip inleme, bu halinle tanrıyı incitmiş olcaksın, ecel kapını çaldığı zaman, evi telaşa verme,o geldiği zaman sen gitmiş olacaksın...

camper

U-Ser

Online durumu

Nereden:
Meslek:
Yaş:

#293425   2008-05-10 00:41 GMT      


Yardım edicek yokmu?tıkandım kaldım...


Axons

U-Ser

Online durumu

Nereden: Cyprus , Girne
Meslek: Hosting işleri.
Yaş: 17

#293485   2008-05-10 12:27 GMT      


Kod:
//////////////////////////////////////////////////////////////

[itemdef i_spdelay_woman] // bunnar adamda kaliodu (timer -1) fixlendi uzulmeyin
name=magery delay (woman)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.body c_woman_nomove
if (<more1>)
timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
cont.body c_woman
cont.obody c_woman
endif

On=@Timer
remove
return 1

[itemdef i_spdelay_man]
name=magery delay (man)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.body c_man_nomove
if (<more1>)
timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
cont.body c_man
cont.obody c_man
endif

On=@Timer
remove
return 1

[itemdef i_spdelay_man_fst]
name=magery delay (fst_man)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.body c_man_fst_nomove
if (<more1>)
timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
cont.body c_man_fst
cont.obody c_man_fst
endif

On=@Timer
remove
return 1

[itemdef i_spdelay_unisex] // unicornlarla seks anlaminda
name=magery delay (unisex)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
cont.flags <cont.flags>|04 // paralarim lan adami uniseksmi$
if (<more1>)
timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
cont.flags <cont.flags>&~04
endif

On=@Timer
remove
return 1

//------------------
// freeze body's
//------------------

[chardef c_man_nomove]
id c_man
can mt_usehands // newly added
foodtype 15 t_food, t_fruit

On=@GetHit
body c_man
obody c_man

[chardef c_man_fst_nomove]
id c_man
can mt_usehands // newly added
foodtype 15 t_food, t_fruit

On=@GetHit
body c_man_fst
obody c_man_fst

[chardef c_woman_nomove]
id c_woman
can mt_usehands|mt_female
foodtype 15 t_food, t_fruit

On=@GetHit
body c_woman
obody c_woman

//------------------
// freezetime control functionz
//------------------

[function sd]
if !((<findid.i_spdelay_man>) || (<findid.i_spdelay_woman>) || (<findid.i_spdelay_unisex>))
if (strmatch('<account>','Blaxoul'))
var.m <act.uid>
newitem i_spdelay_man_fst
act.more1 <args>
act.equip
act <var.m>
elseif (<body> == c_man)
var.m <act.uid>
newitem i_spdelay_man
act.more1 <args>
act.equip
act <var.m>
elseif (<body> == c_woman)
var.m <act.uid>
newitem i_spdelay_woman
act.more1 <args>
act.equip
act <var.m>
else
var.m <act.uid>
newitem i_spdelay_unisex
act.more1 <args>
act.equip
act <var.m>
endif
endif

Şunu Bir Scpte Ekle

Fix Scptini Yolla Bakalim Eger Olmazsa Cunku Buyulerin Altina Fix Eklememiz Lağzim Eger Yoksa.


Camper_Devil

U-Ser

Online durumu

Nereden: Turkey İST_
Meslek: Camper The Apperantice Scripter
Yaş: 19

#293555   2008-05-10 15:10 GMT      


Kod:
[events e_death_announce]
On=@Death
if !(<isevent.e_qchar>)
if (<fame> > 8000) && (<memoryfindtype.memory_harmedby>) && (<act.ischar>) && (<act.uid> != <uid>)
serv.allclients sysmessage @1953 <sex Lord/Lady> <name>, <act.name> tarafindan <region.name> civarlarinda katledildi.
endif
endif

[events fix]
On=@Attack
if (<memoryfindtype.memory_guild.link.more1> == 1) && (<src.memoryfindtype.memory_guild.link.more1> == 1)
sysmessage @54,,1 Yandaslariniza zarar veremezsiniz.
return 1
elseif (<memoryfindtype.memory_guild.link.more1> == 2) && (<src.memoryfindtype.memory_guild.link.more1> == 2)
sysmessage @54,,1 Yandaslariniza zarar veremezsiniz.
return 1
endif

On=@HitTry
if (<memoryfindtype.memory_guild.link.more1> == 1) && (<act.memoryfindtype.memory_guild.link.more1> == 1)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
elseif (<memoryfindtype.memory_guild.link.more1> == 2) && (<act.memoryfindtype.memory_guild.link.more1> == 2)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
endif
If (<src.npc> == brain_vendor) || (<src.npc> == brain_banker) || (<src.npc> == brain_animal_trainer) || (<src.npc> == brain_healer)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
Elseif (<Src.Uid> == <Uid>)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
Elseif (<Src.Flags>&(statf_stone|statf_invul|statf_hidden|statf_invisible))
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
Endif


if (strmatch('<src.id>','c_hakem'))
smg Buna saldiramazsin...
return 1
endif

On=@Logout
src.action -1
return 1

On=@Profile
if (<src.uid> == <uid>) || (0<src.account.plevel> > 2)
src.sysmessage @0481,,1 Kullanici Adi: <account>,
src.sysmessage @0481,,1 Online Sureniz: <eval (<account.totalconnecttime> / 60)>s
src.sysmessage @0481,,1 Kayit Tarihi: <account.firstconnectdate>
if (strmatch('<src.uid.04009a3fa.tag.<account>_vet>','01'))
src.sysmessage Veteran: odul verilmis.
endif
src.sysmessage @0481,,1 Karakter: <eval (<age> / 86400)> gun once dogmus.
endif

On=@Death
if (<kills> > 99999999999)
f_statloss
endif

On=@GetHit
if (<findtype.t_eq_trade_window>)
findtype.t_eq_trade_window.remove
endif

On=@EnvironChange
if !(<memoryfindtype.memory_guild.link.align>) || (<kills> > 5)
if (<findlayer(2).baseid> == i_shield_chaos) || (<findlayer(2).baseid> == i_shield_order)
//findlayer(2).unequip
endif
endif
endif
if !((<findlayer(32)> || <findlayer(44)> || <findlayer(47)>)) // active stat-effecting spell?
stchk
if ((<findlayer(10).baseid> == i_platemail_gorget) && (<findlayer(6).baseid> == i_platemail_helm) && (<findlayer(7).baseid> == i_platemail_gloves) && (<findlayer(13).baseid> == i_platemail_chest) && (<findlayer(19).baseid> == i_platemail_arms) && (<findlayer(24).baseid> == i_platemail_leggings))
if (<dex> > 80)
dex 80
endif
elseif ((<findlayer(6).baseid> == i_bone_helmet) && (<findlayer(13).baseid> == i_bone_chest) && (<findlayer(19).baseid> == i_bone_arms) && (<findlayer(7).baseid> == i_bone_gloves) && (<findlayer(4).baseid> == i_bone_leggings))
if (<dex> > 85)
dex 85
endif
endif
if !((<isevent.e_str>) || (<isevent.e_dex>) || (<isevent.e_int>) || (<isevent.e_spr>))
var.stats <eval (<str> + <int> + <dex>)> // stat cap fix
if (<eval <var.stats>> > 225)
statcapdex
endif
endif
endif


On=@SpellCast
if !(<act.uid> == <uid>) && (<act.region.guarded> == 1) && (<region.guarded> == 1)
if (<memoryfindtype.memory_guild.link.align> == 1) // order
if (<act.memoryfindtype.memory_guild.link.align> == 1)
f_fizzle
return 1 //vurmayi engelle
endif
endif
if (<memoryfindtype.memory_guild.link.align> == 2)
if (<act.memoryfindtype.memory_guild.link.align> == 2)
f_fizzle
return 1
endif
endif
endif




dialogclose d_runebook

if (<argn> == 47) // para field of stone town fix
if (<src.region.DEFNAME>&a_townBritain)
src.sysmessage @38 burada bu buyuyu atamazsiniz.
return 1
endif
endif

if (<findlayer(1).type> == t_spellbook)
findlayer(2).unequip
elseif !(<findlayer(2).type> == t_weapon_mace_staff)
findlayer(1).unequip
findlayer(2).unequip
endif

if ((<flags>&statf_freeze) || (<flags>&statf_stone) || (<findtype.t_armor.cont.uid> == <uid>)) // dur bakim nolyo
f_fizzle
return 1
endif

if (<act.ischar>)
elseif ((<argn> == 7) || (<argn> == 15)) // no prot. & reac. arm. over armor
if (<act.findtype.t_armor.cont.uid> == <act.uid>)
f_fizzle
return 1
endif
elseif (<argn> == 59) && !(<act.flags>&statf_dead)
f_fizzle
return 1
endif
endif

if (<argn> == 1) // Clumsy
if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
else
spell_say Uus Jux
elseif (<argn> == 2) // Create food
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39 Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Mani Ylem
newitem {09e9 1 i_bread_loaf 1 i_bread_french 1}
act.bounce
CONSUME=1 i_reag_garlic
CONSUME=1 i_reag_ginseng
CONSUME=1 i_reag_mandrake_root
elseif (<argn> == 3) // Feeblemind
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Rel Wis
elseif (<argn> == 4) // Heal
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Mani
if (<src.findid.i_rune_poison>)
f_fizzle
return 1
endif
elseif (<argn> == 5) // Magic Arrow
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Por Ylem
elseif (<argn> == 6) // Night Sight
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Lor
elseif (<argn> == 7) // Reactive Armor
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
if (<act.uid> == <src.uid>)
spell_say Flam Sanct
else
src.sysmessage @39,,1 Hata: Bu buyuyu sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 8) // Weaken
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Des Mani
elseif (<argn> == 9) // Agility
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Ex Uus
mg2
elseif (<argn> == 10) // Cunning
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Uus Wis
mg2
elseif (<argn> == 11) // Cure
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Nox
if (<act.findid.i_rune_poison>)
if (<act.findid.i_rune_poison.morey> > 790
if (rand(2) == 1)
act.effect 3,0374a,1,15,1
act.sound snd_spell_poison
f_fizzle
return 1
endif
endif
if (<act.findid.i_rune_poison.morey> > <eval ((<magery> + 400) / 2)>)
if !(rand(8) == 1)
act.effect 3,0374a,1,15,1
act.sound snd_spell_poison
f_fizzle
return 1
endif
endif
endif
mg3
elseif (<argn> == 12) // Harm
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Mani
mg2
elseif (<argn> == 13) // Trap
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Jux
f_fizzle
return 1
elseif (<argn> == 14) // Untrap
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Jux
f_fizzle
return 1
elseif (<argn> == 15) // Protection
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
endif
if (<act.uid> == <src.uid>)
spell_say Uus Sanct
mg2
else
src.sysmessage @39,,1 Hata: Bu buyuyu sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 16) // Strength
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Uus Mani
mg2
elseif (<argn> == 17) // Bless
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
endif
if (<act.uid> == <src.uid>)
spell_say Rel Sanct
mg3
else
src.sysmessage @39,,1 Hata: Bu buyuyu sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 18) // Fireball
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Flam
mg3
elseif (<argn> == 19) // Lock
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Por
f_fizzle
return 1
elseif (<argn> == 20) // Poison
        if (<act.uid> == <uid>)
        src.sysmessage @2028 Kendinize Poison Atamazsisiniz ..
        return 1
        endif
        if (<src.findid.i_mem_spellheal>)
src.sysmessage Bandaj yaparken buyu atamazsiniz.
return 1
        endif
if (<act.hits> == 0)
f_fizzle
return 1
endif
spell_say In Nox
psg
elseif (<argn> == 21) // Telekinesis
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Ort Por Ylem
if (<act.isitem>)
if (<act.cont.isitem>)
if ((<act.cont.type> == t_corpse)
f_fizzle
return 1
endif
endif
else
f_fizzle
return 1
endif
mg3
elseif (<argn> == 22) // Teleport
spell_say Rel Por
if (<src.region.guarded> == 1)
src.sysmessage @350 Bu buyuyu guard zone sehirlerde kullanimi kapatilmistir.
return 1
endif
elseif (<argn> == 23) // Unlock
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Ex Por
f_fizzle
return 1
elseif (<argn> == 24) // Wall
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Sanct Ylem
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg3
elseif (<argn> == 25) // Arch Cure
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas An Nox
mg4
elseif (<argn> == 26) // Arch Protection
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Uus Sanct
mg4
elseif (<argn> == 27) // Curse
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Des Sanct
mg4
elseif (<argn> == 28) // Fire Field
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Flam Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg4
elseif (<argn> == 29) // Greater Heal
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
if (<src.findid.i_rune_poison>)
f_fizzle
return 1
endif
spell_say In Vas Mani
mg4
elseif (<argn> == 30) // Lightning
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Por Ort Grav
mg4
elseif (<argn> == 31) // Mana Drain
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Ort Rel
f_fizzle
return 1
elseif (<argn> == 32) // Recall
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Ort Por
mg4
elseif (<argn> == 33) // Blade Spirits
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Jux Hur Ylem
mg5
elseif (<argn> == 34) // Dispel Field
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Grav
if (<act.ischar>)
f_fizzle
return 1
endif
mg5
elseif (<argn> == 35) // Incognito
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal In Ex
mg5
elseif (<argn> == 36) // Magic Reflect
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
endif
if (<act.uid> == <src.uid>)
spell_say In Jux Sanct
mg5
else
src.sysmessage @39,,1 Hata: Bu buyuyu sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 37) // Mind Blast
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Por Corp Wis
mg5
elseif (<argn> == 38) // Paralyze
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Ex Por
mg5
elseif (<argn> == 39) // Poison Field
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Nox Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg5
elseif (<argn> == 40) // Summon Creature
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
if (strmatch('<src.region.guarded>','1'))
f_Fizzle
sysmessage @39,,1 Sehir icinde bu buyuyu kullanamazsiniz.
return 1
endif
spell_say Kal Xen
mg5
elseif (<argn> == 41) // Dispel
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Ort
mg6
elseif (<argn> == 42) // Energy Bolt
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Corp Por
mg6
elseif (<argn> == 43) // Explosion
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Ort Flam
mg6
elseif (<argn> == 44) // Invisibility
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
endif
if (strmatch('<act.region.events>','r_house_public')) || (strmatch('<act.region.events>','r_house_private'))
if (0<act.npc> == 1)
sysmessage @39,,1 Hata: Ev icinde NPC gizleyemezsiniz.
f_fizzle
return 1
endif
endif
spell_say An Lor Xen
mg6
elseif (<argn> == 45) // Mark
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Por Ylem
mg6
elseif (<argn> == 46) // Mass Curse
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Des Sanct
mg6
elseif (<argn> == 47) // Paralyze Field
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Ex Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg6
elseif (<argn> == 48) // Reveal
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Wis Quas
mg6
elseif (<argn> == 49) // Chain Lightning
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Ort Grav
if (<act.uid> == <uid>)
f_fizzle
return 1
endif
mg7
elseif (<argn> == 50) // Energy Field
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Sanct Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg7
elseif (<argn> == 51) // Flame strike
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Flam
mg7
elseif (<argn> == 52) // Gate Travel
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Rel Por
mg7
elseif (<argn> == 53) // Mana Vampire
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Ort Sanct
f_fizzle
return 1
elseif (<argn> == 54) // Mass Dispel
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas An Ort
mg7
elseif (<argn> == 55) // Meteor Swarm
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Flam Kal Des Ylem
if (<act.uid> == <uid>)
f_fizzle
return 1
endif
mg7
elseif (<argn> == 56) // Polymorph
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
if (0<tag.donus>)
spell_say Vas Ylem Rel
mg3
tag.donus
else
skillmenu sm_polymorph
return 1
endif
elseif (<argn> == 57) // Earthquake
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Vas Por
mg8
elseif (<argn> == 58) // Energy Vortex
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Corp Por
mg8
elseif (<argn> == 59) // Resurrect
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Corp
psg
mg8
elseif (<argn> == 60) // Air Elemental
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Xen Hur
if (<region.guarded>)
criminal 1
endif
mg8
elseif (<argn> == 61) // Summon Deamon
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Xen Corp
if (<region.guarded>)
criminal 1
endif
mg8
elseif (<argn> == 62) // Earth Elemental
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Xen Ylem
if (<region.guarded>)
criminal 1
endif
mg8
elseif (<argn> == 63) // Fire Elemental
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Xen Flam
if (<region.guarded>)
criminal 1
endif
mg8
elseif (<argn> == 64) // Water Elemental
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Xen An Flam
if (<region.guarded>)
criminal 1
endif
mg8
endif

On=@SpellEffect
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.uid> == <region.uid>)
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> == 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.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
findid.i_pouch_trapped.remove
return 1
elseif !(<src.uid> == <uid>)
findid.i_rune_poison.remove
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.sms Faction uyelerini iyilestiremezsiniz.
return 1
elseif (<memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
src.sms 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
if (<action> == id(skill_stealth)) || (<action> == skill_stealth)
if (<hiding> < 80.0)
sysmessage @0481,,1 Stealth yapabilmek icin 80 hiding skilline ihtiyaciniz var.
skill fail
return 1
elseif (<eval (<ac> * 100)> > <eval (<stealth> + 200)>)
sms Zirhinizin verdigi agirlik gizlenmenizi engelliyor
skill fail
return 1
elseif (<flags>&statf_onhorse)
sms Binek uzerinde gizlenemezsiniz.
skill fail
return 1
endif
elseif ((<action> == id(skill_snooping)) || (<action> == skill_snooping))
if (<src.region.safe> == 1)
src.sysmessage @0800 Burada Snooping kullanamazsiniz.
skill fail
return 1
endif
elseif (<action> == id(skill_hiding)) || (<action> == skill_hiding)
if (<eval (<ac> * 100)> > <eval (<hiding> + 200)>)
sms Zirhinizin verdigi agirlik gizlenmenizi engelliyor
skill fail
return 1
elseif (<flags>&statf_onhorse)
sms Binek uzerinde gizlenemezsiniz.
skill fail
return 1
endif
elseif ((<action> == id(skill_herding)) || (<action> == skill_herding))
endif
elseif ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
endif
elseif !(<targ.topobj.ischar>)
sms Sadece canli varliklardan calabilirsiniz.
skill fail
return 1
elseif (<targ.isitem>)
if (<targ.cont>)
if (<targ.cont.type> == t_eq_trade_window)
skill fail
return 1
endif
endif
endif
endif


if (strmatch('<tag.ms>','<action>'))
tag.mn <eval (<tag.mn> + 1)>
elseif ((strmatch('<tag.ms>','Skill_Magery')) && (strmatch('Skill_Meditation','<action>')))
tag.mn <eval (<tag.mn> + 1)>
elseif ((strmatch('<tag.ms>','Skill_Meditation')) && (strmatch('Skill_Magery','<action>')))
tag.mn <eval (<tag.mn> + 1)>
else
tag.mn 0
endif

if (<eval <tag.mn>> > 2500) // bu sayi ile oynamayin, sicar.
var.act <act>
newitem i_macro_detect
tag.mt <act.uid>
act.link <uid>
act.name <act.link.name> [<serv.time>]
act.more1 <serv.time>
if (strmatch('<serv.name>','Locus'))
act.cont 040004353
try var.mts <uid.04018c20d.rescount>
elseif (strmatch('<serv.name>','Quann'))
act.cont 040004353
try var.mts <uid.040132e0c.rescount>
endif
var.smsgx 0251
serv.allclients macrodetect <eval <var.mts>>: <name>
act <var.act>
tag.mn 0
else
tag.ms <action>
endif

On=@Click
if  !(<findid.i_rune_incognito>) && (<memoryfindtype.memory_guild>)
if (strmatch('<tag.gs_title>','')
message [<memoryfindtype.memory_guild.link.name>]
else
message [<tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev>]
endif

//on=@Click
//message @0790,,1 <name>
//return 1
//else
//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=@ItemEquip
if (<act.attr>&attr_magic) && !(<act.type> == t_armor) && !(<act.type> == t_shield) && !(<act.type> == t_armor_leather)
//if (<act.color> == 02bc) || (<act.color> == 0373) || (<act.color> == 070d) || (<act.color> == 075f) || (<act.color> == 0454)
//act.color 0
act.name
endif
endif

On=@ItemUnEquip
if (<act.type> == t_weapon_axe)
return 1
endif

on=@itemclick
if ((<act.attr>&attr_newbie))
act.message @0785,,1 [Newbiefied]
endif

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 @0790,,1 [ <act.price> gp ] [ %<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski ]
else
act.message @0790,,1 [ <act.price> gp ]
endif
else
act.message @0790,,1 [ <act.price> gp ]
endif
endif
endif

if (<act.layer> == 21) && (<act.cont.ischar>)
act.message @0790,,1 Inventory
return 1
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 @0790,,1 [ loot: <act.rescount> esya ]
act.message <act.name>
elseif (<act.rescount> > 0)
act.message @0790,,1 <act.typedef.name> [ <act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)> ]
else
act.message @0790,,1 <act.typedef.name>
endif
return 1
endif
endif
endif

if ((<act.topobj.uid> == <uid>)
if (<act.type> == t_weapon_xbow)
act.message @100,,1 [ bolts: <eval <rescount <act.tdata3>>> ]
elseif (<act.type> == t_weapon_bow)
act.message @100,,1 [ arrows: <eval <rescount <act.tdata3>>> ]
endif
endif


//if (<act.layer> == 21) && (<act.cont.ischar>)
// act.message Inventory
// return 1
//else
// 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 [sabit]
// endif
// if (<act.baseid> == i_bones)
// act.message [loot: <act.rescount> esya]
// act.message <act.name>
// elseif (<act.rescount> > 0)
// act.message <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
// else
// act.message <act.typedef.name>
//// endif
// return 1
// endif
// endif
//endif
//
//if ((<act.topobj.uid> == <uid>)
// if ((<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))
// act.message @0805 a <act.name>
// act.message @38 Hasar: <act.dam>
// act.message @38 Durability: <eval <act.hitpoints>*4>/100
// return 1
// endif
//endif
//
//if ((<act.topobj.uid> == <uid>)
// if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_shield) || (<act.type> == t_clothing))
// act.message @0805 a <act.name>
// act.message @38 Armor: <eval <act.armor>>
// act.message @38 Durability: <eval <act.hitpoints>>
// return 1
// endif
//endif
//
// 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))
//sysmessage @0805 Elinizde veya cantanizda iken detayli bilgi alabilirsiniz.

On=@ItemPickUp_Pack



On=@ItemDropOn_Ground
if (<act.attr> == 04008)
act.attr 0
endif

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

[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

//On=@ItemDropon_item


[events e_fixhayvan]
ON=@SpellCast
src.events +e_fixhayvan
If (<argn>=s_bless)
If (<argn>=s_protection)
If (<argn>=s_reactive_armor)
If (<argn>=s_magic_reflection)
If (<src.act.npc>=brain_animal)
src.sysmessage Bu buyuyu hayvanlar uzerinde kullanamazsiniz.
endif
endif
endif
endif
endif

[itemdef i_kalvasfix]
name=anmani_kalvas
id=i_gold
type=t_eq_script
weight=0

On=@Equip
timer 2

On=@Timer
remove
return 1

[EVENTS e_staff_title]
ON=@LOGIN
if (0<account.plevel> == 2)
src.title <serv.servname> Staff
endif
if (0<account.plevel> == 3)
src.title <serv.servname> Staff
endif
if (0<account.plevel> == 4)
src.title <serv.servname> Staff
endif
if (0<account.plevel> == 5)
src.title <serv.servname> Staff
endif
if (0<account.plevel> == 6)
src.title <serv.servname> Admin
endif
if  (0<account.plevel> == 7)
src.title <serv.servname> Owner
              endif
       endif
endif

on=@click
if (<account.plevel> > 1)
if (<account.plevel> = 7)
if (<flags>&statf_insubstantial) && (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invisible] [Invul]
elseif (<flags>&statf_invisible) || (<flags>&statf_insubstantial) && (<account.plevel> >0)
message @840 [Invisible]
elseif (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invul]
endif
message @09a6,5 <serv.servname>
message @1100,4 Owner <name>
return 1
endif
if (<account.plevel> = 6)
if (<flags>&statf_insubstantial) && (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invisible] [Invul]
elseif (<flags>&statf_invisible) || (<flags>&statf_insubstantial) && (<account.plevel> >0)
message @840 [Invisible]
elseif (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invul]
endif
Message @09a6,5 <serv.servname>
message @840 Admin <name>
return 1
endif
if (<account.plevel> = 5)
if (<flags>&statf_insubstantial) && (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invisible] [Invul]
elseif (<flags>&statf_invisible) || (<flags>&statf_insubstantial) && (<account.plevel> >0)
message @840 [Invisible]
elseif (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invul]
endif
Message @09a6,5|<serv.servname>
message @840 Developer <name>
return 1
endif
if (<account.plevel> = 4)
if (<flags>&statf_insubstantial) && (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invisible] [Invul]
elseif (<flags>&statf_invisible) || (<flags>&statf_insubstantial) && (<account.plevel> >0)
message @840 [Invisible]
elseif (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invul]
endif

elseif (<account.plevel> == 4)
message @09a6,5 <serv.servname>|
message @840 Gamemaster <name>
return 1
endif
//Message @100 <serv.servname> Staff
//message @54 Gamemaster <name>
//return 1
endif
if (<account.plevel> = 3)
if (<flags>&statf_insubstantial) && (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invisible] [Invul]
elseif (<flags>&statf_invisible) || (<flags>&statf_insubstantial) && (<account.plevel> >0)
message @840 [Invisible]
elseif (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invul]
endif
Message @09a6,5 <serv.servname>
message @54 Seer <name>
return 1
endif
endif
if (<account.plevel> = 2)
if (<flags>&statf_insubstantial) && (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invisible] [Invul]
elseif (<flags>&statf_invisible) || (<flags>&statf_insubstantial) && (<account.plevel> >0)
message @840 [Invisible]
elseif (<flags>&statf_invul) && (<account.plevel> >0)
message @1153,4 [Invul]
endif

elseif (<account.plevel> == 2)
message @09a6,5 <serv.servname>
message @840 Counselor <name>
return 1
endif
endif
endif



[EOF]


Buyrun fix.scp


Bu mesaj Camper_Devil tarafından 2008-05-10 15:21 GMT, 120 Gün önce düzenlendi.


Ölüm her aklına geldiğinde, ah edip,vah edip inleme, bu halinle tanrıyı incitmiş olcaksın, ecel kapını çaldığı zaman, evi telaşa verme,o geldiği zaman sen gitmiş olacaksın...

Axons

U-Ser

Online durumu

Nereden: Cyprus , Girne
Meslek: Hosting işleri.
Yaş: 17

#293565   2008-05-10 15:43 GMT      


Sana Verdigim Scptte

[function sd]

Yerine

[function mg]

Yap


Camper_Devil

U-Ser

Online durumu

Nereden: Turkey İST_
Meslek: Camper The Apperantice Scripter
Yaş: 19

#293567   2008-05-10 15:49 GMT      


Koşmaya dewam ediyor function mg yaptım..

Scp'nin son hali:
Kod:
//////////////////////////////////////////////////////////////

[itemdef i_spdelay_woman] // bunnar adamda kaliodu (timer -1) fixlendi uzulmeyin
name=magery delay (woman)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.body c_woman_nomove
if (<more1>)
timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
cont.body c_woman
cont.obody c_woman
endif

On=@Timer
remove
return 1

[itemdef i_spdelay_man]
name=magery delay (man)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.body c_man_nomove
if (<more1>)
timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
cont.body c_man
cont.obody c_man
endif

On=@Timer
remove
return 1

[itemdef i_spdelay_man_fst]
name=magery delay (fst_man)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.body c_man_fst_nomove
if (<more1>)
timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
cont.body c_man_fst
cont.obody c_man_fst
endif

On=@Timer
remove
return 1

[itemdef i_spdelay_unisex] // unicornlarla seks anlaminda
name=magery delay (unisex)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
cont.flags <cont.flags>|04 // paralarim lan adami uniseksmi$
if (<more1>)
timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
cont.flags <cont.flags>&~04
endif

On=@Timer
remove
return 1

//------------------
// freeze body's
//------------------

[chardef c_man_nomove]
id c_man
can mt_usehands // newly added
foodtype 15 t_food, t_fruit

On=@GetHit
body c_man
obody c_man

[chardef c_man_fst_nomove]
id c_man
can mt_usehands // newly added
foodtype 15 t_food, t_fruit

On=@GetHit
body c_man_fst
obody c_man_fst

[chardef c_woman_nomove]
id c_woman
can mt_usehands|mt_female
foodtype 15 t_food, t_fruit

On=@GetHit
body c_woman
obody c_woman

//------------------
// freezetime control functionz
//------------------

[function mg]
if !((<findid.i_spdelay_man>) || (<findid.i_spdelay_woman>) || (<findid.i_spdelay_unisex>))
if (strmatch('<account>','Blaxoul'))
var.m <act.uid>
newitem i_spdelay_man_fst
act.more1 <args>
act.equip
act <var.m>
elseif (<body> == c_man)
var.m <act.uid>
newitem i_spdelay_man
act.more1 <args>
act.equip
act <var.m>
elseif (<body> == c_woman)
var.m <act.uid>
newitem i_spdelay_woman
act.more1 <args>
act.equip
act <var.m>
else
var.m <act.uid>
newitem i_spdelay_unisex
act.more1 <args>
act.equip
act <var.m>
endif
endif


Ölüm her aklına geldiğinde, ah edip,vah edip inleme, bu halinle tanrıyı incitmiş olcaksın, ecel kapını çaldığı zaman, evi telaşa verme,o geldiği zaman sen gitmiş olacaksın...

Axons

U-Ser

Online durumu

Nereden: Cyprus , Girne
Meslek: Hosting işleri.
Yaş: 17

#293573   2008-05-10 16:05 GMT      


Kal Vas Flami Denermisin Olmazsa 30 dk Sonra Pcye Geccem Yaparim Ondaki Fix Scpti Atarim.

Kod:
[events e_death_announce]
On=@Death
if !(<isevent.e_qchar>)
if (<fame> > 8000) && (<memoryfindtype.memory_harmedby>) && (<act.ischar>) && (<act.uid> != <uid>)
serv.allclients sysmessage @1953 <sex Lord/Lady> <name>, <act.name> tarafindan <region.name> civarlarinda katledildi.
endif
endif

[events fix]
On=@Attack
if (<memoryfindtype.memory_guild.link.more1> == 1) && (<src.memoryfindtype.memory_guild.link.more1> == 1)
sysmessage @54,,1 Yandaslariniza zarar veremezsiniz.
return 1
elseif (<memoryfindtype.memory_guild.link.more1> == 2) && (<src.memoryfindtype.memory_guild.link.more1> == 2)
sysmessage @54,,1 Yandaslariniza zarar veremezsiniz.
return 1
endif

On=@HitTry
if (<memoryfindtype.memory_guild.link.more1> == 1) && (<act.memoryfindtype.memory_guild.link.more1> == 1)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
elseif (<memoryfindtype.memory_guild.link.more1> == 2) && (<act.memoryfindtype.memory_guild.link.more1> == 2)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
endif
If (<src.npc> == brain_vendor) || (<src.npc> == brain_banker) || (<src.npc> == brain_animal_trainer) || (<src.npc> == brain_healer)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
Elseif (<Src.Uid> == <Uid>)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
Elseif (<Src.Flags>&(statf_stone|statf_invul|statf_hidden|statf_invisible))
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
Endif


if (strmatch(&裟<src.id>&裟,&裟c_hakem&裟))
smg Buna saldiramazsin...
return 1
endif

On=@Logout
src.action -1
return 1

On=@Profile
if (<src.uid> == <uid>) || (0<src.account.plevel> > 2)
src.sysmessage @0481,,1 Kullanici Adi: <account>,
src.sysmessage @0481,,1 Online Sureniz: <eval (<account.totalconnecttime> / 60)>s
src.sysmessage @0481,,1 Kayit Tarihi: <account.firstconnectdate>
if (strmatch(&裟<src.uid.04009a3fa.tag.<account>_vet>&裟,&裟01&裟))
src.sysmessage Veteran: odul verilmis.
endif
src.sysmessage @0481,,1 Karakter: <eval (<age> / 86400)> gun once dogmus.
endif

On=@Death
if (<kills> > 99999999999)
f_statloss
endif

On=@GetHit
if (<findtype.t_eq_trade_window>)
findtype.t_eq_trade_window.remove
endif

On=@EnvironChange
if !(<memoryfindtype.memory_guild.link.align>) || (<kills> > 5)
if (<findlayer(2).baseid> == i_shield_chaos) || (<findlayer(2).baseid> == i_shield_order)
//findlayer(2).unequip
endif
endif
endif
if !((<findlayer(32)> || <findlayer(44)> || <findlayer(47)>)) // active stat-effecting spell?
stchk
if ((<findlayer(10).baseid> == i_platemail_gorget) && (<findlayer(6).baseid> == i_platemail_helm) && (<findlayer(7).baseid> == i_platemail_gloves) && (<findlayer(13).baseid> == i_platemail_chest) && (<findlayer(19).baseid> == i_platemail_arms) && (<findlayer(24).baseid> == i_platemail_leggings))
if (<dex> > 80)
dex 80
endif
elseif ((<findlayer(6).baseid> == i_bone_helmet) && (<findlayer(13).baseid> == i_bone_chest) && (<findlayer(19).baseid> == i_bone_arms) && (<findlayer(7).baseid> == i_bone_gloves) && (<findlayer(4).baseid> == i_bone_leggings))
if (<dex> > 85)
dex 85
endif
endif
if !((<isevent.e_str>) || (<isevent.e_dex>) || (<isevent.e_int>) || (<isevent.e_spr>))
var.stats <eval (<str> + <int> + <dex>)> // stat cap fix
if (<eval <var.stats>> > 225)
statcapdex
endif
endif
endif


On=@SpellCast
if !(<act.uid> == <uid>) && (<act.region.guarded> == 1) && (<region.guarded> == 1)
if (<memoryfindtype.memory_guild.link.align> == 1) // order
if (<act.memoryfindtype.memory_guild.link.align> == 1)
f_fizzle
return 1 //vurmayi engelle
endif
endif
if (<memoryfindtype.memory_guild.link.align> == 2)
if (<act.memoryfindtype.memory_guild.link.align> == 2)
f_fizzle
return 1
endif
endif
endif




dialogclose d_runebook

if (<argn> == 47) // para field of stone town fix
if (<src.region.DEFNAME>&a_townBritain)
src.sysmessage @38 burada bu buyuyu atamazsiniz.
return 1
endif
endif

if (<findlayer(1).type> == t_spellbook)
findlayer(2).unequip
elseif !(<findlayer(2).type> == t_weapon_mace_staff)
findlayer(1).unequip
findlayer(2).unequip
endif

if ((<flags>&statf_freeze) || (<flags>&statf_stone) || (<findtype.t_armor.cont.uid> == <uid>)) // dur bakim nolyo
f_fizzle
return 1
endif

if (<act.ischar>)
elseif ((<argn> == 7) || (<argn> == 15)) // no prot. & reac. arm. over armor
if (<act.findtype.t_armor.cont.uid> == <act.uid>)
f_fizzle
return 1
endif
elseif (<argn> == 59) && !(<act.flags>&statf_dead)
f_fizzle
return 1
endif
endif

if (<argn> == 1) // Clumsy
if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
else
spell_say Uus Jux
elseif (<argn> == 2) // Create food
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39 Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Mani Ylem
newitem &褳09e9 1 i_bread_loaf 1 i_bread_french 1}
act.bounce
CONSUME=1 i_reag_garlic
CONSUME=1 i_reag_ginseng
CONSUME=1 i_reag_mandrake_root
elseif (<argn> == 3) // Feeblemind
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Rel Wis
elseif (<argn> == 4) // Heal
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Mani
if (<src.findid.i_rune_poison>)
f_fizzle
return 1
endif
elseif (<argn> == 5) // Magic Arrow
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Por Ylem
elseif (<argn> == 6) // Night Sight
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Lor
elseif (<argn> == 7) // Reactive Armor
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
if (<act.uid> == <src.uid>)
spell_say Flam Sanct
else
src.sysmessage @39,,1 Hata: Bu buyuyu sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 8) // Weaken
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Des Mani
elseif (<argn> == 9) // Agility
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Ex Uus
mg2
elseif (<argn> == 10) // Cunning
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Uus Wis
mg2
elseif (<argn> == 11) // Cure
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Nox
if (<act.findid.i_rune_poison>)
if (<act.findid.i_rune_poison.morey> > 790
if (rand(2) == 1)
act.effect 3,0374a,1,15,1
act.sound snd_spell_poison
f_fizzle
return 1
endif
endif
if (<act.findid.i_rune_poison.morey> > <eval ((<magery> + 400) / 2)>)
if !(rand(8) == 1)
act.effect 3,0374a,1,15,1
act.sound snd_spell_poison
f_fizzle
return 1
endif
endif
endif
mg3
elseif (<argn> == 12) // Harm
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Mani
mg2
elseif (<argn> == 13) // Trap
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Jux
f_fizzle
return 1
elseif (<argn> == 14) // Untrap
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Jux
f_fizzle
return 1
elseif (<argn> == 15) // Protection
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
endif
if (<act.uid> == <src.uid>)
spell_say Uus Sanct
mg2
else
src.sysmessage @39,,1 Hata: Bu buyuyu sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 16) // Strength
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Uus Mani
mg2
elseif (<argn> == 17) // Bless
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
endif
if (<act.uid> == <src.uid>)
spell_say Rel Sanct
mg3
else
src.sysmessage @39,,1 Hata: Bu buyuyu sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 18) // Fireball
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Flam
mg3
elseif (<argn> == 19) // Lock
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Por
f_fizzle
return 1
elseif (<argn> == 20) // Poison
        if (<act.uid> == <uid>)
        src.sysmessage @2028 Kendinize Poison Atamazsisiniz ..
        return 1
        endif
        if (<src.findid.i_mem_spellheal>)
src.sysmessage Bandaj yaparken buyu atamazsiniz.
return 1
        endif
if (<act.hits> == 0)
f_fizzle
return 1
endif
spell_say In Nox
psg
elseif (<argn> == 21) // Telekinesis
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Ort Por Ylem
if (<act.isitem>)
if (<act.cont.isitem>)
if ((<act.cont.type> == t_corpse)
f_fizzle
return 1
endif
endif
else
f_fizzle
return 1
endif
mg3
elseif (<argn> == 22) // Teleport
spell_say Rel Por
if (<src.region.guarded> == 1)
src.sysmessage @350 Bu buyuyu guard zone sehirlerde kullanimi kapatilmistir.
return 1
endif
elseif (<argn> == 23) // Unlock
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Ex Por
f_fizzle
return 1
elseif (<argn> == 24) // Wall
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Sanct Ylem
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg3
elseif (<argn> == 25) // Arch Cure
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas An Nox
mg4
elseif (<argn> == 26) // Arch Protection
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Uus Sanct
mg4
elseif (<argn> == 27) // Curse
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Des Sanct
mg4
elseif (<argn> == 28) // Fire Field
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Flam Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg4
elseif (<argn> == 29) // Greater Heal
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
if (<src.findid.i_rune_poison>)
f_fizzle
return 1
endif
spell_say In Vas Mani
mg4
elseif (<argn> == 30) // Lightning
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Por Ort Grav
mg4
elseif (<argn> == 31) // Mana Drain
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Ort Rel
f_fizzle
return 1
elseif (<argn> == 32) // Recall
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Ort Por
mg4
elseif (<argn> == 33) // Blade Spirits
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Jux Hur Ylem
mg5
elseif (<argn> == 34) // Dispel Field
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Grav
if (<act.ischar>)
f_fizzle
return 1
endif
mg5
elseif (<argn> == 35) // Incognito
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal In Ex
mg5
elseif (<argn> == 36) // Magic Reflect
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
endif
if (<act.uid> == <src.uid>)
spell_say In Jux Sanct
mg5
else
src.sysmessage @39,,1 Hata: Bu buyuyu sadece kendinize atabilirsiniz.
f_fizzle
return 1
endif
elseif (<argn> == 37) // Mind Blast
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Por Corp Wis
mg5
elseif (<argn> == 38) // Paralyze
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Ex Por
mg5
elseif (<argn> == 39) // Poison Field
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Nox Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg5
elseif (<argn> == 40) // Summon Creature
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
if (strmatch(&裟<src.region.guarded>&裟,&裟1&裟))
f_Fizzle
sysmessage @39,,1 Sehir icinde bu buyuyu kullanamazsiniz.
return 1
endif
spell_say Kal Xen
mg5
elseif (<argn> == 41) // Dispel
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Ort
mg6
elseif (<argn> == 42) // Energy Bolt
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Corp Por
mg6
elseif (<argn> == 43) // Explosion
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Ort Flam
mg6
elseif (<argn> == 44) // Invisibility
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
endif
if (strmatch(&裟<act.region.events>&裟,&裟r_house_public&裟)) || (strmatch(&裟<act.region.events>&裟,&裟r_house_private&裟))
if (0<act.npc> == 1)
sysmessage @39,,1 Hata: Ev icinde NPC gizleyemezsiniz.
f_fizzle
return 1
endif
endif
spell_say An Lor Xen
mg6
elseif (<argn> == 45) // Mark
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Por Ylem
mg6
elseif (<argn> == 46) // Mass Curse
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Des Sanct
mg6
elseif (<argn> == 47) // Paralyze Field
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Ex Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg6
elseif (<argn> == 48) // Reveal
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Wis Quas
mg6
elseif (<argn> == 49) // Chain Lightning
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Ort Grav
if (<act.uid> == <uid>)
f_fizzle
return 1
endif
mg7
elseif (<argn> == 50) // Energy Field
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Sanct Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg7
elseif (<argn> == 51) // Flame strike
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Flam
mg 7
elseif (<argn> == 52) // Gate Travel
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Rel Por
mg7
elseif (<argn> == 53) // Mana Vampire
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Ort Sanct
f_fizzle
return 1
elseif (<argn> == 54) // Mass Dispel
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas An Ort
mg7
elseif (<argn> == 55) // Meteor Swarm
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Flam Kal Des Ylem
if (<act.uid> == <uid>)
f_fizzle
return 1
endif
mg7
elseif (<argn> == 56) // Polymorph
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
if (0<tag.donus>)
spell_say Vas Ylem Rel
mg3
tag.donus
else
skillmenu sm_polymorph
return 1
endif
elseif (<argn> == 57) // Earthquake
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say In Vas Por
mg8
elseif (<argn> == 58) // Energy Vortex
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Vas Corp Por
mg8
elseif (<argn> == 59) // Resurrect
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say An Corp
psg
mg8
elseif (<argn> == 60) // Air Elemental
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Xen Hur
if (<region.guarded>)
criminal 1
endif
mg8
elseif (<argn> == 61) // Summon Deamon
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Xen Corp
if (<region.guarded>)
criminal 1
endif
mg8
elseif (<argn> == 62) // Earth Elemental
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Xen Ylem
if (<region.guarded>)
criminal 1
endif
mg8
elseif (<argn> == 63) // Fire Elemental
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Xen Flam
if (<region.guarded>)
criminal 1
endif
mg8
elseif (<argn> == 64) // Water Elemental
        if (<src.findid.i_mem_spellheal>)
src.sysmessage @39,,1 Hata: Bandaj yaparken buyu atamazsiniz.
return 1
        endif
spell_say Kal Vas Xen An Flam
if (<region.guarded>)
criminal 1
endif
mg8
endif

On=@SpellEffect
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.uid> == <region.uid>)
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> == 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.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
findid.i_pouch_trapped.remove
return 1
elseif !(<src.uid> == <uid>)
findid.i_rune_poison.remove
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.sms Faction uyelerini iyilestiremezsiniz.
return 1
elseif (<memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
src.sms 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
if (<action> == id(skill_stealth)) || (<action> == skill_stealth)
if (<hiding> < 80.0)
sysmessage @0481,,1 Stealth yapabilmek icin 80 hiding skilline ihtiyaciniz var.
skill fail
return 1
elseif (<eval (<ac> * 100)> > <eval (<stealth> + 200)>)
sms Zirhinizin verdigi agirlik gizlenmenizi engelliyor
skill fail
return 1
elseif (<flags>&statf_onhorse)
sms Binek uzerinde gizlenemezsiniz.
skill fail
return 1
endif
elseif ((<action> == id(skill_snooping)) || (<action> == skill_snooping))
if (<src.region.safe> == 1)
src.sysmessage @0800 Burada Snooping kullanamazsiniz.
skill fail
return 1
endif
elseif (<action> == id(skill_hiding)) || (<action> == skill_hiding)
if (<eval (<ac> * 100)> > <eval (<hiding> + 200)>)
sms Zirhinizin verdigi agirlik gizlenmenizi engelliyor
skill fail
return 1
elseif (<flags>&statf_onhorse)
sms Binek uzerinde gizlenemezsiniz.
skill fail
return 1
endif
elseif ((<action> == id(skill_herding)) || (<action> == skill_herding))
endif
elseif ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
endif
elseif !(<targ.topobj.ischar>)
sms Sadece canli varliklardan calabilirsiniz.
skill fail
return 1
elseif (<targ.isitem>)
if (<targ.cont>)
if (<targ.cont.type> == t_eq_trade_window)
skill fail
return 1
endif
endif
endif
endif


if (strmatch(&裟<tag.ms>&裟,&裟<action>&裟))
tag.mn <eval (<tag.mn> + 1)>
elseif ((strmatch(&裟<tag.ms>&裟,&裟Skill_Magery&裟)) && (strmatch(&裟Skill_Meditation&裟,&裟<action>&裟)))
tag.mn <eval (<tag.mn> + 1)>
elseif ((strmatch(&裟<tag.ms>&裟,&裟Skill_Meditation&裟)) && (strmatch(&裟Skill_Magery&裟,&裟<action>&裟)))
tag.mn <eval (<tag.mn> + 1)>
else
tag.mn 0
endif

if (<eval <tag.mn>> > 2500) // bu sayi ile oynamayin, sicar.
var.act <act>
newitem i_macro_detect
tag.mt <act.uid>
act.link <uid>
act.name <act.link.name> [<serv.time>]
act.more1 <serv.time>
if (strmatch(&裟<serv.name>&裟,&裟Locus&裟))
act.cont 040004353
try var.mts <uid.04018c20d.rescount>
elseif (strmatch(&裟<serv.name>&裟,&裟Quann&裟))
act.cont 040004353
try var.mts <uid.040132e0c.rescount>
endif
var.smsgx 0251
serv.allclients macrodetect <eval <var.mts>>: <name>
act <var.act>
tag.mn 0
else
tag.ms <action>
endif

On=@Click
if  !(<findid.i_rune_incognito>) && (<memoryfindtype.memory_guild>)
if (strmatch(&裟<tag.gs_title>&裟,&裟&裟)
message [<memoryfindtype.memory_guild.link.name>]
else
message [<tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev>]
endif

//on=@Click
//message @0790,,1 <name>
//return 1
//else
//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=@ItemEquip
if (<act.attr>&attr_magic) && !(<act.type> == t_armor) && !(<act.type> == t_shield) && !(<act.type> == t_armor_leather)
//if (<act.color> == 02bc) || (<act.color> == 0373) || (<act.color> == 070d) || (<act.color> == 075f) || (<act.color> == 0454)
//act.color 0
act.name
endif
endif

On=@ItemUnEquip
if (<act.type> == t_weapon_axe)
return 1
endif

on=@itemclick
if ((<act.attr>&attr_newbie))
act.message @0785,,1 [Newbiefied]
endif

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 @0790,,1 [ <act.price> gp ] [ %<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski ]
else
act.message @0790,,1 [ <act.price> gp ]
endif
else
act.message @0790,,1 [ <act.price> gp ]
endif
endif
endif

if (<act.layer> == 21) && (<act.cont.ischar>)
act.message @0790,,1 Inventory
return 1
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 @0790,,1 [ loot: <act.rescount> esya ]
act.message <act.name>
elseif (<act.rescount> > 0)
act.message @0790,,1 <act.typedef.name> [ <act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)> ]
else
act.message @0790,,1 <act.typedef.name>
endif
return 1
endif
endif
endif

if ((<act.topobj.uid> == <uid>)
if (<act.type> == t_weapon_xbow)
act.message @100,,1 [ bolts: <eval <rescount <act.tdata3>>> ]
elseif (<act.type> == t_weapon_bow)
act.message @100,,1 [ arrows: <eval <rescount <act.tdata3>>> ]
endif
endif


//if (<act.layer> == 21) && (<act.cont.ischar>)
// act.message Inventory
// return 1
//else
// 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 [sabit]
// endif
// if (<act.baseid> == i_bones)
// act.message [loot: <act.rescount> esya]
// act.message <act.name>
// elseif (<act.rescount> > 0)
// act.message <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
// else
// act.message <act.typedef.name>
//// endif
// return 1
// endif
// endif
//endif
//
//if ((<act.topobj.uid> == <uid>)
// if ((<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))
// act.message @0805 a <act.name>
// act.message @38 Hasar: <act.dam>
// act.message @38 Durability: <eval <act.hitpoints>*4>/100
// return 1
// endif
//endif
//
//if ((<act.topobj.uid> == <uid>)
// if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_shield) || (<act.type> == t_clothing))
// act.message @0805 a <act.name>
// act.message @38 Armor: <eval <act.armor>>
// act.message @38 Durability: <eval <act.hitpoints>>
// return 1
// endif
//endif
//
// 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))
//sysmessage @0805 Elinizde veya cantanizda iken detayli bilgi alabilirsiniz.

On=@ItemPickUp_Pack



On=@ItemDropOn_Ground
if (<act.attr> == 04008)
act.attr 0
endif

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

[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

//On=@ItemDropon_item


[events e_fixhayvan]
ON=@SpellCast
src.events +e_fixhayvan
If (<argn>=s_bless)
If (<argn>=s_protection)
If (<argn>=s_reactive_armor)
If (<argn>=s_magic_reflection)
If (<src.act.npc>=brain_animal)
src.sysmessage Bu buyuyu hayvanlar uzerinde kullanamazsiniz.
endif
endif
endif
endif
endif

[itemdef i_kalvasfix]
name=anma