Hesabına erişemeyen eski üyeler Discord üzerinden yardım alabilir.



ya şimdi ben itemler newbie olmuo die urasıordum o olayı sitemizdeki bazı kişilerin yardımıyla cözdüm ama şimdide .tele yaptıkgımda target cıkıor tıklıorum haraketi yapıor ama Tamamlamıor Spherededde Söle bi Eror Olusuor


ERROR:(fix.scp,125)Undefined Symbol 'c_hakem'
ERROR:(fix.scp,125)Undefined Symbol 'f_fizzle'

her .tele yapıp tıkladıkımda bu errorlar gelior birde Spheretables.scp,1236)undefined keyword 'f_player_login' die hatalar alıorum bana yardım edin yahu 1 tane sorunum vardı acıldıda acıldı uff yaw :(
Bak Error Aldıgın Scripti Ac CTRL + G Yap Orada Fix.Scp,125 İ Göstermissin Sana Diyorki Fix Scriptinin 125. Satırda Hata Var Diyor CTRL + G Yap Satır Noyu Yaz Oraya Yani 125 Bak Onu Düzenle Eksikse Yada Yazılımı Yanlıssa Düzelt Sorununa Tek Böyle Yardım Edebilirim Çünkü Scripti Koymamıssın Ama Sen Ac 125. Satırı Düzelt oLur.
ya Eroor Verdi yerleri Sİldim Düzeldi Zaten c_hakem 1vs1 pwp şeyinden gelior ben Onn scpsini silmştim Fixleyemedim die Oradan eror geliormus cok saol bide Bİşi soracam Ben şimdi c_m_unicorn yapıom unicorn_lbr cıkıor ama Dclick yapınca cantası acılıor baska bi binekin bodysınme c_unicorn_lbr yapıorum Yine canta acılıor verdatamda Kurulu sphere 55r 4.0.2 ltfn yardım et :D
Bak Onun İçin 56B Ve Ona Göre Client Lazım Direk Binmen İçin Eğer Ethereal Olarak Binmek İstiyorsan Bu Kolay
[Itemdef 0469] 
Defname=I_Mt_Unicorn
Type=T_Eq_Horse
Layer=25
TData3=C_Unicorn



[Chardef 0F2]
Defname C_Unicorn
Can=Mt_Walk|Mt_Run
Name Unicorn

On=@Create
Str /// Kafana Göre
Dex Kafana Göre
Int Kafana Göre 
Bunun Gibi Bişey Yapabilirsin. I_Mt_Unicorn Olarak Cıkar İki Kere Tıkla Bin. Geri Scriptlerinide Ethereal Bir Scripte Bakarak Yaparsın
Ya Şimdi ben Böyle bişi yaptım ama Olmadı yahu cantaya alıorum tıklayınca kayboluor

[Itemdef 0469] 
Defname=I_Mt_Unicorn
Type=T_Eq_Horse
Layer=25
TData3=C_Unicorn


on=@Create
attr attr_newbie
DORAND 2
color 0482
color 0
enddo

On=@DClick
if !(<topobj.uid> == <src.uid>)
	src.sysmessage Bu binegi kullanabilmeniz icin cantanizda olmali.
elseif !(<src.body> == c_man_brnx) && !(<src.body> == c_man) && !(<src.body> == c_woman)
	src.sysmessage Bu binege sadece insan seklindeyken binebilirsiniz.
else
	if (<src.findlayer(25)>)
		src.dclick
	endif
	src.newitem i_I_Mt_Unicorn_eq
	src.act.more1 c_ethereal_mount
	src.act.more2 <src.uid>
	src.act.link <src.uid>
	src.act.cont <src.uid>
	src.act.color <color>
	src.update
	remove
endif
return 1
Bİ el atıversne D:D:
src.newitem i_I_Mt_Unicorn_eq
src.act.more1 c_ethereal_mount
src.act.more2 <src.uid>
src.act.link <src.uid>
src.act.cont <src.uid>
src.act.color <color>
src.update
remove -------------------------------------------------------> Kaybolması Normal Removelemissin :)
Aynı SOrun devam edior desem cok zoruna gidermi :D ya bosver bunu yahu bana şey lazım Bunlar Önemsiz Şeyler....Bandaj Basınca Bişiler dior Hiç durmadan devam edior Event midir nedir Osu lazım :D
Neyler Diyor :) Söyle Yardımcı Olalım Bandaj Scriptimi Lazım Sana ? Eğer Oysa
[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

[ITEMDEF 0ee9]
DUPEITEM=0e21

[ITEMDEF 0e22]
DUPEITEM=0e20

[ITEMDEF 0e21]
DEFNAME=i_bandage 
RESOURCES=i_cloth 
TYPE=T_BANDAGE 
WEIGHT=0.2 
DUPELIST=0ee9 
CATEGORY=Items by Professions 
SUBSECTION=Healer 
DESCRIPTION=clean bandages 

On=@DClick
if !(<topobj.uid> == <src.uid>)
	src.sysmessage @39 Bandajlar cantanizda olmali.
	return 1
elseif (<src.findid.i_mem_healing.timer> < 0)
	src.findid.i_mem_healing.remove
	return 0
elseif (<src.findid.i_mem_healing>)
	src.sysmessage @55 Bandajlari su an kullanamazsiniz.
	return 1
else
	return 0
endif

On=@Targon_Char
src.skill fail
if !(<src.restest 1 i_bandage>)
	src.sysmessage @1100 Bandajiniz yok.
	return 1
elseif (<src.hits> < 1)
	src.sysmessage @1100 Oluyken nasi bandaj kullanamazsin artik :) .
	return 1
elseif (<src.targ.distance> > 3)
	src.sysmessage @1100 Hedefe ulasamiyorsunuz.
	return 1
elseif (<src.targ.npc> == 10) ||(<src.targ.npc> == 11) || (<src.targ.npc> == 12) || (<src.targ.npc> == 13)
	src.sysmessage @1100 Bunu iyilestiremezsiniz.
	return 1
elseif (<src.targ.npc> == 1)
	if (<src.targ.id> == c_m_golem_tinker1) || (<src.targ.id> == c_m_golem_tinker2) || (<src.targ.id> == c_m_golem)
		src.sysmessage @1100 Bunu bandajla iyilestiremezsiniz.
		return 1
	elseif (<src.targ.hits> == 0) && (<src.targ.id> == c_horse_tan) || (<src.targ.id> == c_horse_brown_dk) || (<src.targ.id> == c_horse_gray) || (<src.targ.id> == c_horse_brown_lt) || (<src.targ.id> == c_llama) || (<src.targ.id> == c_ostard_desert) || (<src.targ.id> == c_ostard_forest) || (<src.targ.id> == c_ostard_zostrich) || (<src.targ.id> == c_shire) || (<src.targ.id> == c_a_mustang_black) (<src.targ.id> == c_a_mustang_crimson) || (<src.targ.id> == c_a_mustang_skygray) || (<src.targ.id> == c_a_mustang_wimmimate) || (<src.targ.id> == c_a_mustang_pamamino) || (<src.targ.id> == c_a_mustang_sky) || (<src.targ.id> == c_a_mustang_redroan) || (<src.targ.id> == c_a_mustang_chocolate) || (<src.targ.id> == c_a_mustang_roan) || (<src.targ.id> == c_a_mustang_grey) || (<src.targ.id> == c_ostard_mid) || (<src.targ.id> == c_shire) || (<src.targ.id> == c_m_unicorn) || (<src.targ.id> == c_m_kirin) || (<src.targ.id> == c_steed_fire) || (<src.targ.id> == c_steed_silver) || (<src.targ.id> == c_m_silvercorn)
		src.sysmessage @1100 Bunu bandajla iyilestiremezsiniz.
		return 1
	elseif !((<src.targ.hits> < <src.targ.str>) || (<src.targ.findid.i_rune_poison>))
		src.sysmessage @0790 <src.targ.name> tedaviye ihtiyac duymuyor.
		return 1
	elseif (<src.targ.findid.i_rune_poison>)
		if ((<src.veterinary> < 60.0) || (<src.animallore> < 60.0))
			src.sysmessage @38 Hayvan uzerindeki zehiri tedavi edecek kadar yetenekli degilsiniz.
			return 1
		endif
	else
		var.nx1 (<src.veterinary> / {20 50})
		var.nx2 (<src.animallore> / 50)
		var.nx3 <eval (<var.nx1> + <var.nx2> + {3 10})>
	endif
	src.sd 1
	src.anim 17
        serv.newitem i_mem_spellheal
        new.equip
	serv.newitem i_mem_healing
	new.morey <eval <var.nx3>>
	new.morex 3
	new.link <src.targ.uid>
	new.equip
	src.face
	return 1
elseif (<src.targ.flags>&statf_dead)
	if ((<src.healing> < 80.0) || (<src.anatomy> < 80.0))
		src.sysmessage @1100 Henuz oluleri diriltecek kudrete sahip degilsiniz.
	elseif !(<src.restest 5 i_bandage>)
		src.sysmessage @200 Diriltme islemi icin 5 bandaja ihtiyaciniz var.
	else
		if (<src.targ.kills> > 5)
			src.criminal 1
			src.sayua 048,6,6,0 * <src.targ.name> isimli katili diriltir *
		elseif (<src.targ.flags>&statf_criminal)
			src.criminal 1
			src.sayua 048,6,6,0 * <src.targ.name> isimli sucluyu diriltir *
		elseif (<src.memoryfindtype.memory_town>) && (<src.targ.memoryfindtype.memory_town>) && (<src.memoryfindtype.memory_town.link> != <src.targ.memoryfindtype.memory_town.link>)
			src.criminal 1
		elseif (<src.memoryfindtype.memory_guild.link.align>) && (<src.targ.memoryfindtype.memory_guild.link.align>) && (<src.memoryfindtype.memory_guild.link.align> != <src.targ.memoryfindtype.memory_guild.link.align>)
			src.criminal 1
		endif
		src.sd 2
		src.face
		src.anim 17
		src.consume 5 i_bandage
		src.targ.spelleffect s_resurrection 1000
		src.targ.sayua 048,6,6,0 * <src.name> sayesinde hayata doner *
		//src.checkhealing 2
		//src.checkanatomy 2
	endif
	return 1
elseif (<src.targ.memoryfindtype.memory_town>) && !(<src.memoryfindtype.memory_town>)
	src.sysmessage @1100 Faction uyelerini iyilestiremezsiniz.
	return 1
elseif (<src.targ.memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
	src.sysmessage @1100 Order / Chaos uyelerini iyilestiremezsiniz.
	return 1
elseif !((<src.targ.hits> < <src.targ.str>) || (<src.targ.findid.i_rune_poison>))
	if !(<src.targ.uid> == <src.uid>)
		src.sysmessage @0790 <src.targ.name> tedaviye ihtiyac duymuyor.
	else
		src.sysmessage @55 Tedaviye ihtiyaciniz yok.
	endif
	return 1
elseif (<src.targ.findid.i_rune_poison>)
	if ((<src.healing> < 60.0) || (<src.anatomy> < 60.0))
		src.sysmessage @1100 Zehiri tedavi edecek kadar yetenekli degilsiniz.
		return 1
	endif
elseif (<src.targ.findid.i_bleeding>)         ///Bleeding
	if ((<src.healing> < 70.0) || (<src.anatomy> < 70.0))
		src.sysmessage @1100 Yarayi tedavi edecek kadar yetenekli degilsiniz.
		return 1
	endif
else
	var.nx1 (<src.healing> / {20 50})
	var.nx2 (<src.anatomy> / 50)
	var.nx3 <eval (<var.nx1> + <var.nx2> + {3 10})>
endif

src.sd 1
src.anim 17
        serv.newitem i_mem_spellheal
        new.equip
serv.newitem i_mem_healing
new.morey <eval <var.nx3>>
if !(<src.targ.uid> == <src.uid>) // heal other
	new.morex 1
	new.link <src.targ.uid>
	src.face
endif
new.equip
return 1

[itemdef i_mem_healing]
ID=i_memory
TYPE=t_eq_script
NAME=healing mem

On=@Create
attr attr_decay|attr_newbie

On=@Equip
src.events +e_healing
timer 3

On=@UnEquip
cont.events -e_healing

On=@Timer
if (<morey>)
	if (<morex> == 3) // veterinary
		if !(<link.hits> < <link.str>) && !(<link.findid.i_rune_poison>)
			cont.sysmessage @0790 <link.name> tedaviye ihtiyac duymuyor.
			remove
			return 1
		elseif (<link.findid.i_rune_poison>)
			if (<cont.veterinary> < 60.0) || (<cont.animallore> < 60.0)
				cont.sysmessage @1100 Zehiri tedavi edecek kadar yetenekli degilsiniz.
				remove
				return 1
			endif
		elseif (<link.findid.i_bleeding>)       ///////Hayvanlarda bleeding
			if (<cont.veterinary> < 70.0) || (<cont.animallore> < 70.0)
				cont.sysmessage @1100 Yarayi tedavi edecek kadar yetenekli degilsiniz.
				remove
				return 1
			endif
		elseif !(<cont.restest 1 i_bandage>)
			cont.sysmessage @1100 Bandajiniz yok.
			remove
			return 1
		endif
		cont.consume 1 i_bandage
		if (<link.findid.i_rune_poison>) // cure animal
			if !(rand(4) == 1)
				link.findid.i_rune_poison.remove
				link.effect 3,0376a,2,10,1
				link.sayu * iyilestirilir *
			else
				cont.sayua 020,6,6,0 * <link.name> uzerindeki zehiri iyilestiremez *
			endif
		elseif (<link.findid.i_bleeding>) //hayvanlarda yara iyilestirme poff :D
			if !(rand(5) == 1)
				link.findid.i_bleeding.remove
				link.effect 3,0376a,2,10,1
				link.sayu * yarasi iyilestirilir *
			else
				cont.sayua 020,6,6,0 * <link.name> uzerindeki yarayi iyilestiremez *
			endif
		else // heal animal
			link.hits <eval (<link.hits> + <morey>)>
			link.effect 3,0376a,2,10,1
			if (<link.hits> > <link.str>)
				link.hits <link.str>
			endif
			link.sayu * tedavi gorur *
			link.update
		endif
		cont.checkveterinary
		cont.checkanimallore
		if (<cont.dex> < 35)
			timer 6
		else
			timer 4
		endif
	elseif (<morex>) // others
		if !(<link.hits> < <link.str>) && !(<link.findid.i_rune_poison>)
			cont.sysmessage @0790 <link.name> tedaviye ihtiyac duymuyor.
			remove
			return 1
		elseif (<link.hits> < 1)
			cont.sysmessage @039 <link.name> tedavi esnasinda hayatini kaybetti.
			remove
			return 1
		elseif (<link.findid.i_rune_poison>)
			if (<cont.healing> < 60.0) || (<cont.anatomy> < 60.0)
				cont.sysmessage @1100 Zehiri tedavi edecek kadar yetenekli degilsiniz.
				remove
				return 1
			endif
		elseif !(<cont.restest 1 i_bandage>)
			cont.sysmessage @1100 Bandajiniz yok.
			remove
			return 1
		endif
		cont.consume 1 i_bandage
		if (<link.findid.i_rune_poison>) // cure other
			if !(rand(5) == 1)
				link.findid.i_rune_poison.remove
				link.effect 3,0376a,2,10,1
				if (<link.kills> > 5)
					cont.criminal 1
					cont.sayua 048,6,6,0 * <link.name> isimli katili iyilestirir *
				elseif (<link.flags>&statf_criminal)
					cont.criminal 1
					cont.sayua 048,6,6,0 * <link.name> isimli sucluyu iyilestirir *
				else
					link.sayua 048,6,6,0 * <cont.name> tarafindan iyilestirilir *
					if (<link.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town.link> != <link.memoryfindtype.memory_town.link>)
						cont.criminal 1
					elseif (<link.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align> != <link.memoryfindtype.memory_guild.link.align>)
						cont.criminal 1
					endif
				endif
			else
				cont.sayua 020,6,6,0 * <link.name> uzerindeki zehiri iyilestiremez *
			endif
		elseif (<link.findid.i_bleeding>) 
			if !(rand(5) == 1)
				link.findid.i_bleeding.remove
				link.effect 3,0376a,2,10,1
				if (<link.kills> > 5)
					cont.criminal 1
					cont.sayua 048,6,6,0 * <link.name> yarasini iyilestirir.*
				elseif (<link.flags>&statf_criminal)
					cont.criminal 1
					cont.sayua 048,6,6,0 * <link.name> isimli suclunun yarasini iyilestirir. *
				else
					link.sayua 048,6,6,0 * <cont.name> tarafindan yarasi iyilestirilir. *
					if (<link.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town.link> != <link.memoryfindtype.memory_town.link>)
						cont.criminal 1
					elseif (<link.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align> != <link.memoryfindtype.memory_guild.link.align>)
						cont.criminal 1
					endif
				endif
			else
				cont.sayua 020,6,6,0 * <link.name> uzerindeki yarayi tedavi edemez *
			endif        
		else
			link.hits (<link.hits> + <morey>)
			link.effect 3,0376a,2,10,1
			if (<link.hits> > <link.str>)
				link.hits <link.str>
			endif
			if (<link.kills> > 5)
				cont.criminal 1
				cont.sayua 048,6,6,0 * <link.name> isimli katili tedavi eder *
			elseif (<link.flags>&statf_criminal)
				cont.criminal 1
				cont.sayua 048,6,6,0 * <link.name> isimli sucluyu tedavi eder *
			else
				link.sayua 048,6,6,0 * <cont.name> tarafindan tedavi edilir *
				if (<link.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town.link> != <link.memoryfindtype.memory_town.link>)
					cont.criminal 1
				elseif (<link.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align> != <link.memoryfindtype.memory_guild.link.align>)
					cont.criminal 1
				endif
			endif
		endif
		cont.checkhealing 1
		cont.checkanatomy 1
		if (<cont.dex> < 35)
			timer 6
		else
			timer 4
		endif
	else
		if !(<cont.hits> < <cont.str>) && !(<cont.findid.i_rune_poison>)
			cont.sysmessage @55 Tedaviye ihtiyac duymuyorsunuz.
			remove
			return 1
		elseif (<cont.hits> < 1)
			remove
			return 1
		elseif (<cont.findid.i_rune_poison>)
			if (<cont.healing> < 60.0) || (<cont.anatomy> < 60.0)
				cont.sysmessage @1100 Zehiri tedavi edecek kadar yetenekli degilsiniz.
				remove
				return 1
			endif 
   		elseif !(<cont.restest 1 i_bandage>)
			cont.sysmessage @1100 Bandajiniz yok.
			remove
			return 1
		endif
		cont.consume 1 i_bandage
		if (<cont.findid.i_rune_poison>)
			if !(rand(5) == 1)
				cont.findid.i_rune_poison.remove
				cont.effect 3,0376a,2,10,1
				cont.sayua 048,6,6,0 * zehir etkisini iyilestirir *
			else
				cont.sayua 020,6,6,0 * zehiri iyilestiremez *
			endif
		elseif (<cont.findid.i_bleeding>)
			if !(rand(5) == 1)
				cont.findid.i_bleeding.remove
				cont.effect 3,0376a,2,10,1
				cont.sayua 048,6,6,0 * yarayi tedavi eder *
			else
				cont.sayua 020,6,6,0  * yarayi tedavi edemez *
			endif
		else // heal self
			cont.hits (<cont.hits> + <morey>)
			cont.effect 3,0376a,2,10,1
			cont.sayua 048,6,6,0 * kendini tedavi eder *
			if (<cont.hits> > <cont.str>)
				cont.hits <cont.str>
			endif
		endif
		cont.checkhealing 1
		cont.checkanatomy 1
		if (<cont.dex> < 35)
			timer 10
		else
			timer 8
		endif
	endif
	morey 0
	cont.events -e_healing
	return 1
endif
remove
return 1
	
[events e_healing]
On=@GetHit
if (rand(3) == 1)
	sayua 020,6,6,0 * bandajlari yirtilir *
	src.consume 1 i_bandage
	findid.i_mem_healing.remove
endif

On=@Death
findid.i_mem_healing.remove

On=@Logout
findid.i_mem_healing.remove

[function checkhealing]
if (<args> == 1) && (<healing> >= 80.0) && (rand(1) == 2)
	return 0
endif

if ((<skilllock[17]> == 0) && (<skilltotal> < 800.0))
	if (<healing> < 30.0)
		if (rand(2) == 1)
			healing (<healing> + 1)
		endif
	elseif (<healing> < 50.0)
		if (rand(2) == 1)
			healing (<healing> + 1)
		endif
	elseif (<healing> < 75.0)
		if (rand(2) == 1)
			healing (<healing> + 1)
		endif
	elseif (<healing> < 100.0)
		if (rand(2) == 1)
			healing (<healing> + 1)
		endif
	endif
endif

[function checkveterinary]
if ((<skilllock[39]> == 0) && (<skilltotal> < 800.0))
	if (<veterinary> < 30.0)
		if (rand(1) == 1)
			veterinary (<veterinary> + 1)
		endif
	elseif (<veterinary> < 50.0)
		if (rand(2) == 1)
			veterinary (<veterinary> + 1)
		endif
	elseif (<veterinary> < 75.0)
		if (rand(3) == 1)
			veterinary (<veterinary> + 1)
		endif
	elseif (<veterinary> < 100.0)
		if (rand(5) == 1)
			veterinary (<veterinary> + 1)
		endif
	endif
endif

[function checkanatomy]
if (<args> == 1) && (<anatomy> >= 80.0) && (rand(3) == 1)
	return 0
endif

if ((<skilllock[1]> == 0) && (<skilltotal> < 800.0))
	if (<anatomy> < 30.0)
		if (rand(1) == 1)
			anatomy (<anatomy> + 1)
		endif
	elseif (<anatomy> < 50.0)
		if (rand(2) == 1)
			anatomy (<anatomy> + 1)
		endif
	elseif (<anatomy> < 75.0)
		if (rand(3) == 1)
			anatomy (<anatomy> + 1)
		endif
	elseif (<anatomy> < 100.0)
		if (rand(4) == 1)
			anatomy (<anatomy> + 1)
		endif
	endif
endif

[function checkanimallore]
if ((<skilllock[2]> == 0) && (<skilltotal> < 800.0))
	if (<animallore> < 30.0)
		if (rand(1) == 1)
			animallore (<animallore> + 1)
		endif
	elseif (<animallore> < 50.0)
		if (rand(2) == 1)
			animallore (<animallore> + 1)
		endif
	elseif (<animallore> < 75.0)
		if (rand(4) == 1)
			animallore (<animallore> + 1)
		endif
	elseif (<animallore> < 100.0)
		if (rand(5) == 1)
			animallore (<animallore> + 1)
		endif
	endif
endif

[DIALOG d_rescon]
0,375

nomove
page 0 
resizepic 30 10 5054 145 75
text 45 15 600 0
text 60 35 0 1
text 60 55 0 2
button 40 35 210 211 1 0 1
button 40 55 210 211 1 0 0 

[DIALOG d_rescon TEXT]   
Resurrect?
yeah, sure.
no, thanks.

[DIALOG d_rescon BUTTON]  
ONBUTTON=0

ONBUTTON=1
SRC.RESURRECT

[ITEMDEF i_mem_spellheal]
ID=i_memory  
TYPE=t_eq_script  
NAME=Spell Heal
 
ON=@Create  
ATTR=attr_decay
  
ON=@equip
src.sysmessage @38 bandaj atarken buyu yapamazsiniz.
TIMER=2

ON=@Timer
remove
return 1


Buyur Çalısıyor
Novice
-14.8
Rexnort : Neyler Diyor :) Söyle Yardımcı Olalım Bandaj Scriptimi Lazım Sana ? Eğer Oysa
[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

[ITEMDEF 0ee9]
DUPEITEM=0e21

[ITEMDEF 0e22]
DUPEITEM=0e20

[ITEMDEF 0e21]
DEFNAME=i_bandage 
RESOURCES=i_cloth 
TYPE=T_BANDAGE 
WEIGHT=0.2 
DUPELIST=0ee9 
CATEGORY=Items by Professions 
SUBSECTION=Healer 
DESCRIPTION=clean bandages 

On=@DClick
if !(<topobj.uid> == <src.uid>)
	src.sysmessage @39 Bandajlar cantanizda olmali.
	return 1
elseif (<src.findid.i_mem_healing.timer> < 0)
	src.findid.i_mem_healing.remove
	return 0
elseif (<src.findid.i_mem_healing>)
	src.sysmessage @55 Bandajlari su an kullanamazsiniz.
	return 1
else
	return 0
endif

On=@Targon_Char
src.skill fail
if !(<src.restest 1 i_bandage>)
	src.sysmessage @1100 Bandajiniz yok.
	return 1
elseif (<src.hits> < 1)
	src.sysmessage @1100 Oluyken nasi bandaj kullanamazsin artik :) .
	return 1
elseif (<src.targ.distance> > 3)
	src.sysmessage @1100 Hedefe ulasamiyorsunuz.
	return 1
elseif (<src.targ.npc> == 10) ||(<src.targ.npc> == 11) || (<src.targ.npc> == 12) || (<src.targ.npc> == 13)
	src.sysmessage @1100 Bunu iyilestiremezsiniz.
	return 1
elseif (<src.targ.npc> == 1)
	if (<src.targ.id> == c_m_golem_tinker1) || (<src.targ.id> == c_m_golem_tinker2) || (<src.targ.id> == c_m_golem)
		src.sysmessage @1100 Bunu bandajla iyilestiremezsiniz.
		return 1
	elseif (<src.targ.hits> == 0) && (<src.targ.id> == c_horse_tan) || (<src.targ.id> == c_horse_brown_dk) || (<src.targ.id> == c_horse_gray) || (<src.targ.id> == c_horse_brown_lt) || (<src.targ.id> == c_llama) || (<src.targ.id> == c_ostard_desert) || (<src.targ.id> == c_ostard_forest) || (<src.targ.id> == c_ostard_zostrich) || (<src.targ.id> == c_shire) || (<src.targ.id> == c_a_mustang_black) (<src.targ.id> == c_a_mustang_crimson) || (<src.targ.id> == c_a_mustang_skygray) || (<src.targ.id> == c_a_mustang_wimmimate) || (<src.targ.id> == c_a_mustang_pamamino) || (<src.targ.id> == c_a_mustang_sky) || (<src.targ.id> == c_a_mustang_redroan) || (<src.targ.id> == c_a_mustang_chocolate) || (<src.targ.id> == c_a_mustang_roan) || (<src.targ.id> == c_a_mustang_grey) || (<src.targ.id> == c_ostard_mid) || (<src.targ.id> == c_shire) || (<src.targ.id> == c_m_unicorn) || (<src.targ.id> == c_m_kirin) || (<src.targ.id> == c_steed_fire) || (<src.targ.id> == c_steed_silver) || (<src.targ.id> == c_m_silvercorn)
		src.sysmessage @1100 Bunu bandajla iyilestiremezsiniz.
		return 1
	elseif !((<src.targ.hits> < <src.targ.str>) || (<src.targ.findid.i_rune_poison>))
		src.sysmessage @0790 <src.targ.name> tedaviye ihtiyac duymuyor.
		return 1
	elseif (<src.targ.findid.i_rune_poison>)
		if ((<src.veterinary> < 60.0) || (<src.animallore> < 60.0))
			src.sysmessage @38 Hayvan uzerindeki zehiri tedavi edecek kadar yetenekli degilsiniz.
			return 1
		endif
	else
		var.nx1 (<src.veterinary> / {20 50})
		var.nx2 (<src.animallore> / 50)
		var.nx3 <eval (<var.nx1> + <var.nx2> + {3 10})>
	endif
	src.sd 1
	src.anim 17
        serv.newitem i_mem_spellheal
        new.equip
	serv.newitem i_mem_healing
	new.morey <eval <var.nx3>>
	new.morex 3
	new.link <src.targ.uid>
	new.equip
	src.face
	return 1
elseif (<src.targ.flags>&statf_dead)
	if ((<src.healing> < 80.0) || (<src.anatomy> < 80.0))
		src.sysmessage @1100 Henuz oluleri diriltecek kudrete sahip degilsiniz.
	elseif !(<src.restest 5 i_bandage>)
		src.sysmessage @200 Diriltme islemi icin 5 bandaja ihtiyaciniz var.
	else
		if (<src.targ.kills> > 5)
			src.criminal 1
			src.sayua 048,6,6,0 * <src.targ.name> isimli katili diriltir *
		elseif (<src.targ.flags>&statf_criminal)
			src.criminal 1
			src.sayua 048,6,6,0 * <src.targ.name> isimli sucluyu diriltir *
		elseif (<src.memoryfindtype.memory_town>) && (<src.targ.memoryfindtype.memory_town>) && (<src.memoryfindtype.memory_town.link> != <src.targ.memoryfindtype.memory_town.link>)
			src.criminal 1
		elseif (<src.memoryfindtype.memory_guild.link.align>) && (<src.targ.memoryfindtype.memory_guild.link.align>) && (<src.memoryfindtype.memory_guild.link.align> != <src.targ.memoryfindtype.memory_guild.link.align>)
			src.criminal 1
		endif
		src.sd 2
		src.face
		src.anim 17
		src.consume 5 i_bandage
		src.targ.spelleffect s_resurrection 1000
		src.targ.sayua 048,6,6,0 * <src.name> sayesinde hayata doner *
		//src.checkhealing 2
		//src.checkanatomy 2
	endif
	return 1
elseif (<src.targ.memoryfindtype.memory_town>) && !(<src.memoryfindtype.memory_town>)
	src.sysmessage @1100 Faction uyelerini iyilestiremezsiniz.
	return 1
elseif (<src.targ.memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
	src.sysmessage @1100 Order / Chaos uyelerini iyilestiremezsiniz.
	return 1
elseif !((<src.targ.hits> < <src.targ.str>) || (<src.targ.findid.i_rune_poison>))
	if !(<src.targ.uid> == <src.uid>)
		src.sysmessage @0790 <src.targ.name> tedaviye ihtiyac duymuyor.
	else
		src.sysmessage @55 Tedaviye ihtiyaciniz yok.
	endif
	return 1
elseif (<src.targ.findid.i_rune_poison>)
	if ((<src.healing> < 60.0) || (<src.anatomy> < 60.0))
		src.sysmessage @1100 Zehiri tedavi edecek kadar yetenekli degilsiniz.
		return 1
	endif
elseif (<src.targ.findid.i_bleeding>)         ///Bleeding
	if ((<src.healing> < 70.0) || (<src.anatomy> < 70.0))
		src.sysmessage @1100 Yarayi tedavi edecek kadar yetenekli degilsiniz.
		return 1
	endif
else
	var.nx1 (<src.healing> / {20 50})
	var.nx2 (<src.anatomy> / 50)
	var.nx3 <eval (<var.nx1> + <var.nx2> + {3 10})>
endif

src.sd 1
src.anim 17
        serv.newitem i_mem_spellheal
        new.equip
serv.newitem i_mem_healing
new.morey <eval <var.nx3>>
if !(<src.targ.uid> == <src.uid>) // heal other
	new.morex 1
	new.link <src.targ.uid>
	src.face
endif
new.equip
return 1

[itemdef i_mem_healing]
ID=i_memory
TYPE=t_eq_script
NAME=healing mem

On=@Create
attr attr_decay|attr_newbie

On=@Equip
src.events +e_healing
timer 3

On=@UnEquip
cont.events -e_healing

On=@Timer
if (<morey>)
	if (<morex> == 3) // veterinary
		if !(<link.hits> < <link.str>) && !(<link.findid.i_rune_poison>)
			cont.sysmessage @0790 <link.name> tedaviye ihtiyac duymuyor.
			remove
			return 1
		elseif (<link.findid.i_rune_poison>)
			if (<cont.veterinary> < 60.0) || (<cont.animallore> < 60.0)
				cont.sysmessage @1100 Zehiri tedavi edecek kadar yetenekli degilsiniz.
				remove
				return 1
			endif
		elseif (<link.findid.i_bleeding>)       ///////Hayvanlarda bleeding
			if (<cont.veterinary> < 70.0) || (<cont.animallore> < 70.0)
				cont.sysmessage @1100 Yarayi tedavi edecek kadar yetenekli degilsiniz.
				remove
				return 1
			endif
		elseif !(<cont.restest 1 i_bandage>)
			cont.sysmessage @1100 Bandajiniz yok.
			remove
			return 1
		endif
		cont.consume 1 i_bandage
		if (<link.findid.i_rune_poison>) // cure animal
			if !(rand(4) == 1)
				link.findid.i_rune_poison.remove
				link.effect 3,0376a,2,10,1
				link.sayu * iyilestirilir *
			else
				cont.sayua 020,6,6,0 * <link.name> uzerindeki zehiri iyilestiremez *
			endif
		elseif (<link.findid.i_bleeding>) //hayvanlarda yara iyilestirme poff :D
			if !(rand(5) == 1)
				link.findid.i_bleeding.remove
				link.effect 3,0376a,2,10,1
				link.sayu * yarasi iyilestirilir *
			else
				cont.sayua 020,6,6,0 * <link.name> uzerindeki yarayi iyilestiremez *
			endif
		else // heal animal
			link.hits <eval (<link.hits> + <morey>)>
			link.effect 3,0376a,2,10,1
			if (<link.hits> > <link.str>)
				link.hits <link.str>
			endif
			link.sayu * tedavi gorur *
			link.update
		endif
		cont.checkveterinary
		cont.checkanimallore
		if (<cont.dex> < 35)
			timer 6
		else
			timer 4
		endif
	elseif (<morex>) // others
		if !(<link.hits> < <link.str>) && !(<link.findid.i_rune_poison>)
			cont.sysmessage @0790 <link.name> tedaviye ihtiyac duymuyor.
			remove
			return 1
		elseif (<link.hits> < 1)
			cont.sysmessage @039 <link.name> tedavi esnasinda hayatini kaybetti.
			remove
			return 1
		elseif (<link.findid.i_rune_poison>)
			if (<cont.healing> < 60.0) || (<cont.anatomy> < 60.0)
				cont.sysmessage @1100 Zehiri tedavi edecek kadar yetenekli degilsiniz.
				remove
				return 1
			endif
		elseif !(<cont.restest 1 i_bandage>)
			cont.sysmessage @1100 Bandajiniz yok.
			remove
			return 1
		endif
		cont.consume 1 i_bandage
		if (<link.findid.i_rune_poison>) // cure other
			if !(rand(5) == 1)
				link.findid.i_rune_poison.remove
				link.effect 3,0376a,2,10,1
				if (<link.kills> > 5)
					cont.criminal 1
					cont.sayua 048,6,6,0 * <link.name> isimli katili iyilestirir *
				elseif (<link.flags>&statf_criminal)
					cont.criminal 1
					cont.sayua 048,6,6,0 * <link.name> isimli sucluyu iyilestirir *
				else
					link.sayua 048,6,6,0 * <cont.name> tarafindan iyilestirilir *
					if (<link.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town.link> != <link.memoryfindtype.memory_town.link>)
						cont.criminal 1
					elseif (<link.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align> != <link.memoryfindtype.memory_guild.link.align>)
						cont.criminal 1
					endif
				endif
			else
				cont.sayua 020,6,6,0 * <link.name> uzerindeki zehiri iyilestiremez *
			endif
		elseif (<link.findid.i_bleeding>) 
			if !(rand(5) == 1)
				link.findid.i_bleeding.remove
				link.effect 3,0376a,2,10,1
				if (<link.kills> > 5)
					cont.criminal 1
					cont.sayua 048,6,6,0 * <link.name> yarasini iyilestirir.*
				elseif (<link.flags>&statf_criminal)
					cont.criminal 1
					cont.sayua 048,6,6,0 * <link.name> isimli suclunun yarasini iyilestirir. *
				else
					link.sayua 048,6,6,0 * <cont.name> tarafindan yarasi iyilestirilir. *
					if (<link.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town.link> != <link.memoryfindtype.memory_town.link>)
						cont.criminal 1
					elseif (<link.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align> != <link.memoryfindtype.memory_guild.link.align>)
						cont.criminal 1
					endif
				endif
			else
				cont.sayua 020,6,6,0 * <link.name> uzerindeki yarayi tedavi edemez *
			endif        
		else
			link.hits (<link.hits> + <morey>)
			link.effect 3,0376a,2,10,1
			if (<link.hits> > <link.str>)
				link.hits <link.str>
			endif
			if (<link.kills> > 5)
				cont.criminal 1
				cont.sayua 048,6,6,0 * <link.name> isimli katili tedavi eder *
			elseif (<link.flags>&statf_criminal)
				cont.criminal 1
				cont.sayua 048,6,6,0 * <link.name> isimli sucluyu tedavi eder *
			else
				link.sayua 048,6,6,0 * <cont.name> tarafindan tedavi edilir *
				if (<link.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town>) && (<cont.memoryfindtype.memory_town.link> != <link.memoryfindtype.memory_town.link>)
					cont.criminal 1
				elseif (<link.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align>) && (<cont.memoryfindtype.memory_guild.link.align> != <link.memoryfindtype.memory_guild.link.align>)
					cont.criminal 1
				endif
			endif
		endif
		cont.checkhealing 1
		cont.checkanatomy 1
		if (<cont.dex> < 35)
			timer 6
		else
			timer 4
		endif
	else
		if !(<cont.hits> < <cont.str>) && !(<cont.findid.i_rune_poison>)
			cont.sysmessage @55 Tedaviye ihtiyac duymuyorsunuz.
			remove
			return 1
		elseif (<cont.hits> < 1)
			remove
			return 1
		elseif (<cont.findid.i_rune_poison>)
			if (<cont.healing> < 60.0) || (<cont.anatomy> < 60.0)
				cont.sysmessage @1100 Zehiri tedavi edecek kadar yetenekli degilsiniz.
				remove
				return 1
			endif 
   		elseif !(<cont.restest 1 i_bandage>)
			cont.sysmessage @1100 Bandajiniz yok.
			remove
			return 1
		endif
		cont.consume 1 i_bandage
		if (<cont.findid.i_rune_poison>)
			if !(rand(5) == 1)
				cont.findid.i_rune_poison.remove
				cont.effect 3,0376a,2,10,1
				cont.sayua 048,6,6,0 * zehir etkisini iyilestirir *
			else
				cont.sayua 020,6,6,0 * zehiri iyilestiremez *
			endif
		elseif (<cont.findid.i_bleeding>)
			if !(rand(5) == 1)
				cont.findid.i_bleeding.remove
				cont.effect 3,0376a,2,10,1
				cont.sayua 048,6,6,0 * yarayi tedavi eder *
			else
				cont.sayua 020,6,6,0  * yarayi tedavi edemez *
			endif
		else // heal self
			cont.hits (<cont.hits> + <morey>)
			cont.effect 3,0376a,2,10,1
			cont.sayua 048,6,6,0 * kendini tedavi eder *
			if (<cont.hits> > <cont.str>)
				cont.hits <cont.str>
			endif
		endif
		cont.checkhealing 1
		cont.checkanatomy 1
		if (<cont.dex> < 35)
			timer 10
		else
			timer 8
		endif
	endif
	morey 0
	cont.events -e_healing
	return 1
endif
remove
return 1
	
[events e_healing]
On=@GetHit
if (rand(3) == 1)
	sayua 020,6,6,0 * bandajlari yirtilir *
	src.consume 1 i_bandage
	findid.i_mem_healing.remove
endif

On=@Death
findid.i_mem_healing.remove

On=@Logout
findid.i_mem_healing.remove

[function checkhealing]
if (<args> == 1) && (<healing> >= 80.0) && (rand(1) == 2)
	return 0
endif

if ((<skilllock[17]> == 0) && (<skilltotal> < 800.0))
	if (<healing> < 30.0)
		if (rand(2) == 1)
			healing (<healing> + 1)
		endif
	elseif (<healing> < 50.0)
		if (rand(2) == 1)
			healing (<healing> + 1)
		endif
	elseif (<healing> < 75.0)
		if (rand(2) == 1)
			healing (<healing> + 1)
		endif
	elseif (<healing> < 100.0)
		if (rand(2) == 1)
			healing (<healing> + 1)
		endif
	endif
endif

[function checkveterinary]
if ((<skilllock[39]> == 0) && (<skilltotal> < 800.0))
	if (<veterinary> < 30.0)
		if (rand(1) == 1)
			veterinary (<veterinary> + 1)
		endif
	elseif (<veterinary> < 50.0)
		if (rand(2) == 1)
			veterinary (<veterinary> + 1)
		endif
	elseif (<veterinary> < 75.0)
		if (rand(3) == 1)
			veterinary (<veterinary> + 1)
		endif
	elseif (<veterinary> < 100.0)
		if (rand(5) == 1)
			veterinary (<veterinary> + 1)
		endif
	endif
endif

[function checkanatomy]
if (<args> == 1) && (<anatomy> >= 80.0) && (rand(3) == 1)
	return 0
endif

if ((<skilllock[1]> == 0) && (<skilltotal> < 800.0))
	if (<anatomy> < 30.0)
		if (rand(1) == 1)
			anatomy (<anatomy> + 1)
		endif
	elseif (<anatomy> < 50.0)
		if (rand(2) == 1)
			anatomy (<anatomy> + 1)
		endif
	elseif (<anatomy> < 75.0)
		if (rand(3) == 1)
			anatomy (<anatomy> + 1)
		endif
	elseif (<anatomy> < 100.0)
		if (rand(4) == 1)
			anatomy (<anatomy> + 1)
		endif
	endif
endif

[function checkanimallore]
if ((<skilllock[2]> == 0) && (<skilltotal> < 800.0))
	if (<animallore> < 30.0)
		if (rand(1) == 1)
			animallore (<animallore> + 1)
		endif
	elseif (<animallore> < 50.0)
		if (rand(2) == 1)
			animallore (<animallore> + 1)
		endif
	elseif (<animallore> < 75.0)
		if (rand(4) == 1)
			animallore (<animallore> + 1)
		endif
	elseif (<animallore> < 100.0)
		if (rand(5) == 1)
			animallore (<animallore> + 1)
		endif
	endif
endif

[DIALOG d_rescon]
0,375

nomove
page 0 
resizepic 30 10 5054 145 75
text 45 15 600 0
text 60 35 0 1
text 60 55 0 2
button 40 35 210 211 1 0 1
button 40 55 210 211 1 0 0 

[DIALOG d_rescon TEXT]   
Resurrect?
yeah, sure.
no, thanks.

[DIALOG d_rescon BUTTON]  
ONBUTTON=0

ONBUTTON=1
SRC.RESURRECT

[ITEMDEF i_mem_spellheal]
ID=i_memory  
TYPE=t_eq_script  
NAME=Spell Heal
 
ON=@Create  
ATTR=attr_decay
  
ON=@equip
src.sysmessage @38 bandaj atarken buyu yapamazsiniz.
TIMER=2

ON=@Timer
remove
return 1


Buyur Çalısıyor

Bence Hazır script vereceğimize arkadaşın sorunlarının üstüne gidip o sorunları çözmek daha mantıklı hem arkadaş hatasını öğrenir.
Bilader hazır senin Gibi bilgili birini Bulmsken Sunuda Soruyum Simdi Ben Buraya spheretables.scp mi koysam Ona bi ayar ckermisin ayar Şu
Staff charla İtemlerin üstünde nebie yazdıkını görebiliroum ama Player charda Görünmüor İşte sana Spheretables.scp

//****************************************************************************
//SPHERE by : Menasoft ©1997-2000
//www.sphereserver.com
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners.  All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: Friday, April 28, 2000
// NOTE: This is loaded 2nd after SPHERE.INI watch out for order of dependancies ! (keyword DEFNAME)
VERSION=0.54

[RESOURCES]
// sphere.ini and spheretable.scp are automatic.
// All the other scripts we want to load.
spherebook.scp
spherechar.scp
sphereevents.scp
spherechar_human.scp
spherechar_evil.scp
spherechar_anim.scp
spheredefs.scp
spheredialog.scp
spherehelp.scp
sphereresources.scp
sphereitemb1.scp
sphereitemb2.scp
sphereitemb3.scp
sphereitemb4.scp
sphereitemb5.scp
sphereitemb6.scp
sphereitemb7.scp
sphereitem_potions.scp
sphereitem_multis.scp
sphereitem_x.scp
sphereitem_deed.scp
sphereitem_ore.scp
sphereregion.scp
spheremap.scp
spheremenu.scp
spherename.scp
spherenewb.scp
sphereskill.scp
spheretable_x.scp
spheretemplate.scp
spheretemp_loot.scp
spheretemp_vend.scp
spheretrig.scp

[RESOURCES]
// speech and events files.
scripts\speech\

[MAP 0]
// This is the default map0.mul file.
SIZE=6144,4096
WRAPX=5120

[OBSCENE]
*fuck*
*shit
shit*
nigger*
*nigger
nigga
cunt*
cock
cocksucker
//ass
asshole
asswipe
tits
whore
jigaboo
chigaboo
wop
kyke
kike
tit
spic
prick
piss
lezbo
lesbo
felatio
dyke
dildo
chinc
chink
cunniling*
cum
clitor*
clit
penis
klit
kunt
jiz
jism
jerkoff
jackoff
goddamn
fag
blowjob
bitch
//dick
//pussy
snatch
twat

[BLOCKEMAIL]
// List of some of the free email services.
@hotmail.com
@juno.com
@yahoo.com
@netscape.com
@geocities.com
@angelfire.com
@beer.com
@email.com
@excite.com
@hotpop.com
@rocketmail.com
@bigfoot.com
@mailexcite.com
@garfield.com
@bemail.org

[NOTOTITLES] // NotoTitles[5*11]
// highest karma
Trustworthy
Estimable
Great
Glorious
Glorious

Honest
Commendable
Famed
Illustrious
Illustrious

Good
Honorable
Admirable
Noble
Noble

Kind
Respectable
Proper
Eminent
Eminent

Fair
Upstanding
Reputable
Distinguished
Distinguished

<none>
Notable
Prominent
Renowned
Renowned

Rude
Disreputable
Notorious
Imfamous
Dishonored

Unsavory
Dishonorable
Ignoble
Sinister
Sinister

Scoundrel
Malicious
Vile
Villainous
Dark

Despicable
Dastardly
Wicked
Evil
Evil

Outcast
Wretched
Nefarious
Dread
Dread

[PLEVEL 1]	// extra player commands.
AFK
ANIM
FIX
RESEND
SYNC
RESYNC
DETAIL
SLEEP
UNDERWEAR
WHERE
HUNGRY
CAST
TELE
SUICIDE
FLIP
SELF
LAST
BARK
HELP
PASSWORD
EMAIL
HelpPage

[PLEVEL 2]	// extra counselor commands.
INFO
PROPS
TWEAK
CLIENTS
ADMIN
PAGE
GO
GOUID
GOCHAR
GOSOCK
GOCLI
XGO
JAIL
FORGIVE
PARDON

[PLEVEL 3]
CHARLIST

[PLEVEL 4]
SAVE
LINK
TILE
NUKE
GOTYPE
GONAME

[PLEVEL 6]
ACCOUNT
SETPRIV
DIALOG
BLOCKIP
TOME
EXTRACT
UNEXTRACT
EXPORT
IMPORT

[ADVANCE]
STR=10000,4000,600
INT=10000,4000,600
DEX=10000,4000,600

[STARTS]	// new client
Yew
The Sturdy Bow
5146,1760
Minoc
The Barnacle Tavern
5146,1760
Britain
Sweet Dreams Inn
5146,1760
Moonglow
The Scholars Inn
5146,1760
Trinsic
The Traveller's Inn
5146,1760
Magincia
The Great Horns Tavern
5146,1760
Jhelom
The Morning Star Inn
5146,1760
Skara Brae
The Falconers Inn
5146,1760
Vesper
The Ironwood Inn
5146,1760

[RUNES]
An
Bet
Corp
Des
Ex
Flam
Grav
Hur
In
Jux
Kal
Lor
Mani
Nox
Ort
Por
Quas
Rel
Sanct
Tym
Uus
Vas
Wis
Xen
Ylem
Zan

[COMMENT SKILL x]
ADV_RATE=10.0,200.0,800.0 // 10.0 successes at 0% to gain .1, 800.0 successes at 100% to gain .1 skill, 200.0 successes at 50% to gain .1, 
VALUES=0,100	// The amount of value an item created with the skill gets at skill levels.

STAT_STR=80		// You will tend toward these stat vals if you use this skill a lot.
BONUS_STATS=10	// What percent of the skill success is based on stat levels. = 10%
BONUS_STR=80 // % of each stat toward success at skill

[SKILL 0]
DEFNAME=SKILL_ALCHEMY
KEY=Alchemy
TITLE=Alchemist

DELAY=3.0,1.0 // per stroke.
EFFECT=0.0,100.0
ADV_RATE=10.0,200.0,800.0
VALUES=1,20,100

BONUS_STATS=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100

STAT_STR=100
STAT_INT=100
STAT_DEX=100

ON=@Fail
	SRC.MESSAGE You toss the failed mixture from the mortar, unable to create a potion from it.

[SKILL 1]
DEFNAME=SKILL_ANATOMY
KEY=Anatomy
TITLE=Scholar
PROMPT_MSG=Whom shall I examine?

DELAY=3.0,1.0
ADV_RATE=2.5,50.0,200.0

BONUS_STATS=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100

STAT_STR=100
STAT_INT=100
STAT_DEX=100

ON=@Fail
	SRC.MESSAGE You can't think of anything about this creature

[SKILL 2]
DEFNAME=SKILL_ANIMAL_LORE
KEY=AnimalLore
TITLE=Scholar
PROMPT_MSG=What animal should I look at?
DELAY=3.0,1.0
ADV_RATE=2.5,50.0,200.0

STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100

ON=@Fail
	SRC.MESSAGE You can't think of anything off hand

[SKILL 3]
DEFNAME=SKILL_APPRAISE
KEY=ItemID
TITLE=Merchant
PROMPT_MSG=What do you wish to appraise and identify?
DELAY=1.0
ADV_RATE=2.5,50.0,200.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100

ON=@Fail
	SRC.MESSAGE You can't think of anything off hand

[SKILL 4]
DEFNAME=SKILL_ARMSLORE
KEY=ArmsLore
TITLE=Arms%s
PROMPT_MSG=What would you like to evaluate?
DELAY=1.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You are uncertain about this item 

[SKILL 5]
DEFNAME=SKILL_Parrying
KEY=Parrying
TITLE=Shieldfighter
ADV_RATE=800.0,800.0,800.0
EFFECT=0.0,90.0

STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100

[SKILL 6]
DEFNAME=SKILL_Begging
KEY=Begging
TITLE=Beggar
PROMPT_MSG=To whom do you wish to grovel?
DELAY=2.0
ADV_RATE=2.5,50.0,200.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100

[SKILL 7]
DEFNAME=SKILL_Blacksmith
KEY=Blacksmithing
TITLE=Blacksmith
PROMPT_MSG=
DELAY=1.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,100

ON=@Fail
	SRC.MESSAGE You have failed to make anything

[SKILL 8]
DEFNAME=Skill_Bowcraft
KEY=Bowcraft
TITLE=Bowyer
PROMPT_MSG=
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0
VALUES=1,30,200

ON=@Fail
	SRC.MESSAGE You fail to create the item

[SKILL 9]
DEFNAME=SKILL_PEACEMAKING
KEY=Peacemaking
TITLE=Bard
PROMPT_MSG=
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You attempt to calm everyone, but fail.

[SKILL 10]
DEFNAME=Skill_Camping
KEY=Camping
TITLE=Camper
PROMPT_MSG=
DELAY=6.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You fail to ignite the campfire.

[SKILL 11]
DEFNAME=Skill_Carpentry
KEY=Carpentry
TITLE=Carpenter
PROMPT_MSG=
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,80

ON=@Fail
	SRC.MESSAGE You fail to create the item

[SKILL 12]
DEFNAME=SKILL_CARTOGRAPHY
KEY=Cartography
TITLE=Cartographer
PROMPT_MSG=
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,80

ON=@Fail
	SRC.MESSAGE Thy trembling hand results in an unusable map.

[SKILL 13]
DEFNAME=Skill_Cooking
KEY=Cooking
TITLE=Chef
PROMPT_MSG=What would you like to cook?
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,80

ON=@Fail
	SRC.MESSAGE You burn the food to a crisp! It's ruined.

[SKILL 14]
DEFNAME=Skill_DetectHidden
KEY=DetectingHidden
TITLE=Detective
PROMPT_MSG=
DELAY=3.0,2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You can see nothing hidden there.

[SKILL 15]
DEFNAME=Skill_Enticement
KEY=Enticement
TITLE=Bard
PROMPT_MSG=Whom do you wish to entice?
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE Your music fails to attract anyone.

[SKILL 16]
DEFNAME=Skill_EvalInt
KEY=EvaluatingIntel
TITLE=Scholar
PROMPT_MSG=Select char to inspect.
DELAY=1.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You cannot seem to judge the creature correctly.

[SKILL 17]
DEFNAME=Skill_Healing
KEY=Healing
TITLE=Healer
PROMPT_MSG=Who will you use the bandages on?

DELAY=3.0,1.0
EFFECT=2.0,20.0
ADV_RATE=10.0,100.0,250.0

STAT_STR=100
STAT_INT=100
STAT_DEX=100

BONUS_STATS=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100

ON=@Fail
	SRC.MESSAGE You apply the bandages, but they barely help.

[SKILL 18]
DEFNAME=Skill_Fishing
KEY=Fishing
TITLE=Fisher%s
PROMPT_MSG=What water do you want to fish in?
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0
VALUES=1,30,200

ON=@Fail
	SRC.MESSAGE You fish a while, but fail to catch anything.

[SKILL 19]
DEFNAME=Skill_Forensics
KEY=Forensics
TITLE=Scholar
PROMPT_MSG=What corpse would you like to examine?
DELAY=1.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You can tell nothing about the corpse.

[SKILL 20]
DEFNAME=Skill_Herding
KEY=Herding
TITLE=Shepherd
PROMPT_MSG=
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You don't seem to be able to persuade that to move.

[SKILL 21]
DEFNAME=Skill_Hiding
KEY=Hiding
TITLE=Rogue
PROMPT_MSG=
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You can't seem to hide here.

[SKILL 22]
DEFNAME=SKILL_PROVOCATION
KEY=Provocation
TITLE=Bard
PROMPT_MSG=Whom do you wish to incite?
DELAY=3.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE Your music fails to incite enough anger.

[SKILL 23]
DEFNAME=Skill_Inscription
KEY=Inscription
TITLE=Scribe
PROMPT_MSG=
DELAY=3.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0
VALUES=1,30,200

ON=@Fail
	SRC.MESSAGE You fail to inscribe the scroll, and the scroll is ruined.

[SKILL 24]
DEFNAME=Skill_LockPick
KEY=LockPicking
TITLE=Locksmith
PROMPT_MSG=What do you want to pick?
DELAY=3.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You are unable to pick the lock.

[SKILL 25]
DEFNAME=Skill_Magery
KEY=Magery
TITLE=Mage
PROMPT_MSG=
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0
VALUES=1,20,80
//DELAY=1.0 // based on skill and difficulty.

ON=@Fail
	SRC.MESSAGE The spell fizzles.

[SKILL 26]
DEFNAME=Skill_MagicResist
KEY=MagicResistance
TITLE=Resistor
PROMPT_MSG=
EFFECT=0.0,90.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0

[SKILL 27]
DEFNAME=Skill_Tactics
KEY=Tactics
TITLE=Warrior
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,150.0,600.0

[SKILL 28]
DEFNAME=Skill_Snooping
KEY=Snooping
TITLE=Pickpocket
PROMPT_MSG=
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You fail to peek into the container.

[SKILL 29]
DEFNAME=Skill_Musicianship
KEY=Musicianship
TITLE=Bard
PROMPT_MSG=
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You play poorly, and there is no effect.

[SKILL 30]
DEFNAME=SKILL_POISONING
KEY=Poisoning
TITLE=Assassin
PROMPT_MSG=To what do you wish to apply the poison?
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0
VALUES=1,30,200

ON=@Fail
	SRC.MESSAGE You fail to apply a sufficient dose of poison to it.

[SKILL 31]
DEFNAME=Skill_Archery
KEY=Archery
TITLE=Archer
PROMPT_MSG=
DELAY=2.0,0.1
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0

[SKILL 32]
DEFNAME=SKILL_SPIRITSPEAK
KEY=SpiritSpeak
TITLE=Medium
PROMPT_MSG=
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You fail your attempt at contacting the netherworld.

[SKILL 33]
DEFNAME=Skill_Stealing
KEY=Stealing
TITLE=Thief
PROMPT_MSG=Which item will you attempt to steal?
DELAY=2.5
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0

ON=@Fail
	SRC.MESSAGE You fail to steal the item.

[SKILL 34]
DEFNAME=Skill_Tailoring
KEY=Tailoring
TITLE=Tailor
PROMPT_MSG=
DELAY=3.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,80

ON=@Fail
	SRC.MESSAGE Tailoring failed. Some of the cloth is ruined.

[SKILL 35]
DEFNAME=Skill_Taming
KEY=Taming
TITLE=Animal Tamer
PROMPT_MSG=Tame which animal?
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0

ON=@Fail
	SRC.MESSAGE You fail to tame the creature.

[SKILL 36]
DEFNAME=skill_tasteid
KEY=TasteID
TITLE=Food Taster
PROMPT_MSG=What would you like to taste?
DELAY=1.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You cannot discern anything about this substance.

[SKILL 37]
DEFNAME=Skill_Tinkering
KEY=Tinkering
TITLE=Tinker
PROMPT_MSG=
DELAY=3.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,80

ON=@Fail
	SRC.MESSAGE Tinkering failed.

[SKILL 38]
DEFNAME=Skill_Tracking
KEY=Tracking
TITLE=Ranger
PROMPT_MSG=
DELAY=4.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE Tracking failed.

[SKILL 39]
DEFNAME=Skill_Vet
KEY=Veterinary
TITLE=Veterinarian
PROMPT_MSG=What animal would you like to heal?
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0

ON=@Fail
	SRC.MESSAGE You apply the bandages, but they barely help.

[SKILL 40]
DEFNAME=Skill_Swordsmanship
KEY=Swordsmanship
TITLE=Swords%s
PROMPT_MSG=
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,150.0,600.0

[SKILL 41]
DEFNAME=Skill_Macefighting
KEY=Macefighting
TITLE=Macefighter
PROMPT_MSG=
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,150.0,600.0

[SKILL 42]
DEFNAME=Skill_Fencing
KEY=Fencing
TITLE=Fencer
PROMPT_MSG=
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,150.0,600.0

[SKILL 43]
DEFNAME=Skill_Wrestling
KEY=Wrestling
TITLE=Wrestler
PROMPT_MSG=
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=8.5,120.0,680.0

[SKILL 44]
DEFNAME=SKILL_LUMBERJACK
KEY=Lumberjacking
TITLE=Lumberjack
PROMPT_MSG=
DELAY=1.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0
VALUES=1,10,50

ON=@Fail
	SRC.MESSAGE You hack at the tree for a while, but fail to produce any useable wood.

[SKILL 45]
DEFNAME=SKILL_MINING
KEY=Mining
TITLE=Miner
PROMPT_MSG=Where would you like to mine?
DELAY=1.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0
VALUES=1,10,80

ON=@Fail
	SRC.MESSAGE You loosen some rocks but fail to find any useable ore.

[SKILL 46]
DEFNAME=SKILL_MEDITATION
KEY=Meditation
TITLE=Stoic
DELAY=2.0,1.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0

ON=@Fail
	SRC.MESSAGE You lose your concentration

[SKILL 47]
DEFNAME=SKILL_STEALTH
KEY=Stealth
TITLE=Rogue
PROMPT_MSG=
DELAY=2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0

ON=@Fail
	SRC.MESSAGE You can't seem to hide here.

[SKILL 48]
DEFNAME=SKILL_REMOVE_TRAP
KEY=RemoveTrap
TITLE=Jack
PROMPT_MSG=Select the trap to disarm
DELAY=7.0,3.0,2.0
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.MESSAGE You fail to disarm the trap.

[SKILL 49]
DEFNAME=SKILL_Necromancy
KEY=Necromancy
TITLE=Necromancer
STAT_STR=100
STAT_INT=100
STAT_DEX=100
BONUS_STR=100
BONUS_DEX=100
BONUS_INT=100
BONUS_STATS=100
ADV_RATE=10.0,200.0,800.0
VALUES=1,10,80

ON=@Fail
	SRC.MESSAGE The spell fizzles.

[skillclass 1] // staff class
str 900
int 900
dex 900
statsum 900
skillsum 150000.0

[SKILLCLASS 0]
// undeclared class.
// max skills for players of this skill class. 
// might want this to be all 50.0 to make people declare a class?
DEFNAME=Class_undeclared
NAME=undeclared
// EVENTS=e_ClassUndeclared
STATSUM=300
SKILLSUM=10000.0
STR=100
INT=100
DEX=100
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=100.0
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=100.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=100.0
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0

[EOF]
Tamam Arkadasım Söyle Soruyim Fix.Scptinde Newbie Olayı Varmı Eger Varsa Commandsda Yada Spheretable.Scp de Loginler Olur Player Login Staff Login Diye Player Loginin Altına Events +Fix Yap Dene Olucakmı Güzel Kardeşim Eğer Yapamadıysan Birde Commads Scriptini Koyarmısın Burada Bişey Yok Çünkü

KadhraS
Birde Arkadasım Sen
yahu bana şey lazım
Bu Laftan Ne Anlarsın Ben Direk Yardımcı olma Manasında Scripti Koydum
HMss ... Öncelikle O arkadaşa Soruorum Ben Scpyi yapmayı becerebilsem belki hata(larım) olabilirdi ama scpyi yapamadım Sana göre basit gelebilir ama bu işte New. Bi insana olaraktan bana yardımda bulunmucaksan Bu baslık Altında Bilmişlik yapma rica ederim...Renort Arkadaşım alsana Fix.scp'm sunuda ayarladımmı gerisi yalan olucak :DD:

// ----------------------------
// FIX.SCP - GENEL BUG FIXLERI  
// SON GUNCELLENME TARIHI: 03 MAYIS 2006 - RoyaL
// ----------------------------
version=0.55

[function spell_say]
sayua 0481,6,6,eng, <args>
return 1
endif

[events e_death_announce]
On=@Death
if !(<isevent.e_qchar>)
	if (<fame> > 9900) && (<memoryfindtype.memory_harmedby>) && (<act.ischar>) && (<act.uid> != <uid>) && (0<act.npc> == 0)
		SERV.ALLCLIENTS SYSMESSAGE @02b,,1 <sex Lord/Lady> <name>, <act.name> tarafindan katledildi.
	endif
endif

[events fix]

On=@Attack
//if (<memoryfindtype.memory_guild.link.more1> == 1) && (<src.memoryfindtype.memory_guild.link.more1> == 1) // !(<src.isevent.e_dm>)
//sysmessage @54,,1 Yandaslariniza zarar veremezsiniz.
//return 1
//elseif (<memoryfindtype.memory_guild.link.more1> == 2) && (<src.memoryfindtype.memory_guild.link.more1> == 2) // asfasf && !(<src.isevent.e_dm>)
//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_guard) || (<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

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

On=@Death
src.mana 0
if (<kills> > 5)
	f_statloss
	findid.i_mem_healing.remove
	f_fizzle
endif 
if (<src.findid.i_alt_not>)
src.findid.i_alt_not.remove
f_fizzle
endif (<isevent.e_qchar>)
	if (<fame> > 9900) && (<memoryfindtype.memory_harmedby>) && (<act.ischar>) && (<act.uid> != <uid>) && (0<act.npc> == 0)
		SERV.ALLCLIENTS SYSMESSAGE @02b,,1 <sex Lord/Lady> <name>, <act.name> tarafindan <region.name> dolaylarinda katledildi.
	endif
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 (<argn> == 7)
if (<act.uid> == <uid>)
else
sysmessage @68 Sadece kendinize atabilirsiniz.
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 (<kills> < 6) && (strmatch('<targ.region.name>','Calimport'))
	sysmessage @68 Calimport'un guclu buyu duvarlari sebebiyle buyunuz engellendi.
	go 5249 3918 28
	f_fizzle
	return 1
endif

if (<act.ischar>)
	if !(<act.flags>&statf_insubstantial) && (0<act.account.plevel> > 0<account.plevel>)
		f_fizzle
		return 1
	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

endif

if (<findid.i_bandajvar>)
	f_fizzle
	src.sysmessage @68 Bandaj kullanirken buyu yapamazsiniz...
return 1
endif


// spell freeze time
if (<argn> == 1)	// Clumsy
	spell_say Uus Jux
	mg1
elseif (<argn> == 2)	// Create food
mg1
spell_say In Mani Ylem
newitem i_ham
act.bounce
consume 1 i_reag_garlic
consume 1 i_reag_ginseng
consume 1 i_reag_mandrake_root
return 1
elseif (<argn> == 3)	// Feeblemind
	spell_say Rel Wis
	mg1
elseif (<argn> == 4)	// Heal
	spell_say In Mani
	sd 1
	mg2
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.serial>==<targ.serial>)
	spell_say Flam Sanct
	sd 1
	mg1
	else
	skill fail
	sysmessage @68 Bu buyuyu sadece kendi uzerinizde kullanabilirsiniz...
	return 1
	endif
elseif (<argn> == 8)	// Weaken
	spell_say Des Mani
	mg1
elseif (<argn> == 9)	// Agility
	spell_say Ex Uus
	mg2
elseif (<argn> == 10)	// Cunning
	spell_say Uus Wis
	mg2
elseif (<argn> == 11)	// Cure
	spell_say An Nox
	sd 1
	if (<act.findid.i_rune_poison>)
		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
	mg2
elseif (<argn> == 12)	// Harm
	spell_say An Mani
	sd 1
	mg2
elseif (<argn> == 13)	// Trap
	spell_say In Jux
	f_fizzle
	return 1
elseif (<argn> == 14)	// Untrap
	spell_say An Jux
	f_fizzle
	return 1
elseif (<argn> == 15)	// Protection
	spell_say Uus Sanct
	sd 1
	mg2
elseif (<argn> == 16)	// Strength
	spell_say Uus Mani
	sd 1
	mg2
elseif (<argn> == 17)	// Bless
	spell_say Rel Sanct
	sd 1
	mg3
elseif (<argn> == 18)	// Fireball
	spell_say Vas Flam
	sd 1
	mg3
elseif (<argn> == 19)	// Lock
	spell_say An Por
	f_fizzle
	return 1
elseif (<argn> == 20)	// Poison
if (<act.uid> == <uid>)
src.sysmessage @68 Kendinize Poison Atamazsiniz..
return 1
else
        spell_say In Nox
	psg
	sd 1
endif
elseif (<argn> == 21)	// Telekinesis
	spell_say Ort Por Ylem
	sd 1
	if (<act.isitem>)
		if (<act.cont.isitem>)
			if ((<act.cont.type> == t_corpse) || (<act.topobj.id> == c_pv))
				f_fizzle
				return 1
			endif
		endif
	else
		f_fizzle
		return 1
	endif
	mg3
elseif (<argn> == 22)	// Teleport
	spell_say Rel Por
        mg1
	if (<src.region.guarded> == 1)
	src.sysmessage @68 Bu buyuyu guard zone sehirlerde kullanimi kapatilmistir.
	return 1
	endif
elseif (<argn> == 23)	// Unlock
	spell_say Ex Por
	f_fizzle
	return 1
elseif (<argn> == 24)	// Wall
	spell_say In Sanct Ylem
	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
	spell_say In Flam Grav
	if (<act.topobj.ischar>)
		f_fizzle
		return 1
	elseif (<src.region.guarded> == 1)
	src.sysmessage @68 Bu buyuyu guard zone icinde yapamazsiniz
	f_fizzle
	return 1
	endif
	mg4
	sd 2
elseif (<argn> == 29)	// Greater Heal
	spell_say In Vas Mani
	sd 2
	mg4
elseif (<argn> == 30)	// Lightning
	spell_say Por Ort Grav
	sd 2
	mg4
elseif (<argn> == 31)	// Mana Drain
	spell_say Ort Rel
	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
	spell_say In Jux Sanct
	sd 2
	mg5
elseif (<argn> == 37)	// Mind Blast
	spell_say Por Corp Wis
	sd 2
	mg5
elseif (<argn> == 38)	// Paralyze
	spell_say An Ex Por
	sd 2
	mg5
elseif (<argn> == 39)	// Poison Field
	spell_say In Nox Grav
	if (<act.topobj.ischar>)
		f_fizzle
		return 1
	endif
	sd 2
	mg5
elseif (<argn> == 40)	// Summon Creature
	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
	mg6
elseif (<argn> == 43)	// Explosion
	spell_say Vas Ort Flam
	sd 2
	mg6
elseif (<argn> == 44)	// Invisibility
	spell_say An Lor Xen
	sd 2
	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
	spell_say In Ex Grav
	if (<act.topobj.ischar>)
		f_fizzle
		return 1
	endif
	sd 3
	mg6
elseif (<argn> == 48)	// Reveal
	spell_say Wis Quas
	sd 2
	mg6
elseif (<argn> == 49)	// Chain Lightning
	spell_say Vas Ort Grav
	if (<act.uid> == <uid>)
		f_fizzle
		return 1
	endif
	sd 3
	mg7
elseif (<argn> == 50)	// Energy Field
	spell_say In Sanct Grav
	if (<act.topobj.ischar>)
		f_fizzle
		return 1
	endif
	sd 3
	mg7
elseif (<argn> == 51)	// Flame strike
	spell_say Kal Vas Flam
	sd 3
	mg7
elseif (<argn> == 52)	// Gate Travel
	spell_say Vas Rel Por
	sd 3
	mg7
elseif (<argn> == 53)	// Mana Vampire
	spell_say Ort Sanct
	f_fizzle
	return 1
elseif (<argn> == 54)	// Mass Dispel
	spell_say Vas An Ort
	sd 3	
	mg7
elseif (<argn> == 55)	// Meteor Swarm
	spell_say Flam Kal Des Ylem
	if (<act.uid> == <uid>)
		f_fizzle
		return 1
	endif
	sd 3
	mg7
elseif (<argn> == 56)	// Polymorph
	spell_say Vas Ylem Rel
	sd 3
	mg3
elseif (<argn> == 57)	// Earthquake
	spell_say In Vas Por
	sd 3
	mg8
elseif (<argn> == 58)	// Energy Vortex
	spell_say Vas Corp Por
	if (<region.guarded>)
		criminal 1
	endif
	sd 3
	mg8
elseif (<argn> == 59)	// Resurrect
	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 (<argn> == 20)
if !(<findid.i_rune_poison>)
	if (<src.poisoning> >= 0) && (<src.poisoning> < 400)
	poison 300
	if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
	skill fail
	endif
	elseif (<src.poisoning> > 399) && (<src.poisoning> < 550)
	poison 500
	if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
	skill fail
	endif
	elseif (<src.poisoning> > 549) && (<src.poisoning> < 700)
	poison 600
	if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
	skill fail
	endif
	elseif (<src.poisoning> > 699) && (<src.poisoning> < 850)
	poison 700
	if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
	skill fail
	endif
	elseif (<src.poisoning> > 849) && (<src.poisoning> < 940)
	poison 800
	if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
	skill fail
	endif
	elseif (<src.poisoning> > 939) && (<src.poisoning> <= 1000)
	poison 1100
	if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
	skill fail
	endif
	endif
	sfx snd_spell_poison
	effect 3,0374a,1,15,1
	return 1
endif
endif
IF ((!<isgm>) && ((<SRC.REGION.FLAGS> & region_flag_safe) || (<REGION.FLAGS> & region_flag_safe)))
		SRC.sysMESSAGE @68 Bu bolgede buyuler etkili olmaz!
		EFFECT 3, i_fx_glow, 3, 20, 1
		RETURN 1
	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 {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.sysmessage @68 Faction uyelerini iyilestiremezsiniz.
		return 1
	elseif (<memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
		src.sysmessage @68 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 @68 Yetersiz hiding.
		skill fail
		return 1
	elseif (<eval (<ac> * 100)> > <eval (<stealth> + 200)>)
		sysmessage @68 Asiri zirhlisiniz.
		skill fail
		return 1
	endif
elseif (<action> == id(skill_hiding)) || (<action> == skill_hiding)
	if (<eval (<ac> * 100)> > <eval (<hiding> + 200)>)
		sysmessage @68 Asiri zirhlisiniz.
		skill fail
		return 1
	endif
elseif ((<action> == id(skill_herding)) || (<action> == skill_herding))
	if (<targ.id> == c_pv)
		skill fail
		return 1
	endif
elseif ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
	if (<targ.topobj.id> == c_pv)
		skill fail
		return 1
elseif ((<action> == id(skill_snooping)) || (<action> == skill_snooping)) 
       	if (<src.distance> > 3 )
	src.sysmessage @68 cantaya ulasamiyorsunuz.
	src.action -1
	return 1
elseif ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) 
       	if (<src.distance> > 3 )
	src.sysmessage @68 Esya'ya ulasamiyorsunuz.
	src.action -1
	return 1
	elseif !(<targ.topobj.ischar>)
		sysmessage @68 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

 // bronx's famous lame-buster 1.2a
if (<findid.i_jail>) || !(strmatch('<tag.mt>',''))
	return 0 // jailde veya tespit edilmis.
elseif (strmatch('<serv.name>',<serv.name>'))
	if (strmatch('<uid.04018c20d.rescount>','20'))
		return 0
	endif
elseif (strmatch('<tag.mn>',''))
	tag.mn 0 // sayim tagi yoksa, ver
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>','<serv.name>'))
		act.cont 04018c20d
		try var.mts <uid.04018c20d.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 !(<isevent.e_faction>) && !(<findid.i_rune_incognito>) && (<memoryfindtype.memory_guild>)
	if (strmatch('<tag.gs_title>','')
		message @0481 [<memoryfindtype.memory_guild.link.name>]
	else
		message @0481 [<tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev>]
	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=@ItemEquip
//if (<act.type> == t_weapon_axe)
	//events +e_axer
//endif

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)
	//events -e_axer
//endif

On=@ItemDClick
if (<targ.topobj.id> == c_pv)
	if (<targ.type> == t_container)
		targ.open
	endif
	return 1
endif

On=@ItemClick
//if (strmatch('<act.cont.type>','t_eq_trade_window'))
	//act.message [guvenli]
//endif

if (<act.topobj.id> == c_pv)
	if (strmatch('<act.price>',''))
		act.message @68 [satilamaz]
	elseif (<act.price> <= 0)
		act.message @68 [satilik degil]
	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 @68 [<act.price> gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski]
			else
				act.message [<act.price> gp]
			endif
		else
			act.message [<act.price> gp]
		endif
	endif
endif

if (<act.layer> == 21) && (<act.cont.ischar>)
	act.message Inventory
	return 1
else

if (<act.layer> == 21) && (<act.cont.ischar>)
act.message @0790 Inventory
return 1
else
if (<act.attr>&attr_newbie)
act.message @048,,1 [ Newbified ]
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.type> == <region.type>)
				act.message @68 [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_xbow)
		act.message [bolts: <eval <rescount <act.tdata3>>>]
	elseif (<act.type> == t_weapon_bow)
		act.message [Ok: <eval <rescount <act.tdata3>>>]
	endif
endif

On=@ItemPickUp_Pack
if (<act.topobj.id> == c_pv)
	if !(<uid> == <act.topobj.tag.owner>)
		return 1
	endif
//elseif !(strmatch('<act.price>',''))
	//if (<act.price> > 0)
		//act.price 0
	//endif
//endif

On=@ItemTargOn_Item
if ((<targ.topobj.id> == c_pv) && (<act.cont.uid> != <targ.topobj.uid>))
	return 1
//elseif (<targ.baseid> == i_corpse) // human cesetleri bicememe
	//if ((<targ.amount> == 400) || (<targ.amount> == 401))
		//return 1
	//endif
//endif

On=@ItemDropOn_Ground
if (strmatch('<src.region.name>','nujel'm'))
act.bounce
src.sysmessage @68 Safe Alanda Yere Cop Atamazsiniz
endif
if (<act.attr> == 04008)
	act.attr 0
endif

if !((<weight> + <act.weight>) > <weightmax>)
	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 gmfix]

On=@Click
IF (<FLAGS> & statf_insubstantial)
TAG.TEPE = [Invis]
else
tag.tepe
endif

IF (<ACCOUNT.PLEVEL> = 2)
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
elseIF (<ACCOUNT.PLEVEL> = 3)
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
elseIF (<ACCOUNT.PLEVEL> = 4)
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
elseIF (<ACCOUNT.PLEVEL> = 5)
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
elseIF (<ACCOUNT.PLEVEL> = 6)
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
elseIF (<ACCOUNT.PLEVEL> > 6 )
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
endif

On=@DClick
	title <serv.name> Yetkili Kadrosu
elseif strmatch('<title>','<serv.name> Yetkili Kadrosu'))
	title
endif

On=@GetHit
return 1

On=@ItemClick
if !(<isevent.fix>)
	if (<act.attr>&04) // blessed itemlari belirt
		act.message @68 [newbified]
	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.type> == <region.type>)
				act.message @68 [sabit]
			endif

	if (<act.topobj.baseid> == c_pv)
		if (strmatch('<act.price>',''))
			act.message @68 [satilamaz]
		elseif (<act.price> <= 0)
			act.message @68 [satilik degil]
		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 [<act.price> gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski]
				else
					act.message [<act.price> gp]
				endif
			else
				act.message [<act.price> gp]
			endif
		endif
		if (<act.type> == t_container)
			act.message <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
			return 1
		endif
	endif
endif

On=@Death
hits 50 // kiymayin gm'e
return 1

On=@ItemPickUp_Pack
if (<act.topobj.id> == c_pv)
	if !(<uid> == <act.topobj.tag.owner>)
		return 1
	endif
elseif (<act.topobj.ischar>) && (<act.topobj.uid> != <uid>)
	if !(<act.topobj.npc>)
		return 1
	endif
endif

On=@ItemDClick
if (<targ.topobj.baseid> == c_pv)
	if (<targ.type> == t_container)
		targ.open
	endif
	return 1
endif

On=@SkillStart
if ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
	if (<targ.topobj.baseid> == c_pv)
		skill fail
		return 1
	endif
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

[events e_hayvanfix]
on=@spellcast
if (<flags>&statf_dead)
if (<npc> == brain_animal)
message @68 Buna Buyu Atamazsiniz!
return 1
	endif
endif

on=@spelleffect
if (<flags>&statf_dead)
if (<npc> == brain_animal)
message @68 Buna Buyu Atamazsiniz!
return 1
	endif
endif


[function bankself2]
if (<findlayer(layer_bankbox)>)
findlayer(layer_bankbox).open
else
serv.newitem i_backpack
new.type t_eq_bank_box
new.layer layer_bankbox
equip <new.uid>
new.open
endif

[EOF]
ya arkadaş bu sefer Hiç olmadı yahu.........Bunu aldım Benim Fix.scp yi sildim bunu fix .scp yaptım attım icine Direk gidim bu sefer Ne Gm charda ne player charda newbie yazısı cıkmıor spheretables.scp de bnu yaptıktan sonra bişi deişmeme grekiormu misal benim spheretable.scp de on=@login Gibi bişi yoktu sanırsam :D
Hmm Al Bunu Dene Bakalım Olması Lazım
// ----------------------------
// FIX.SCP - GENEL BUG FIXLERI  
// SON GUNCELLENME TARIHI: 03 MAYIS 2006 - RoyaL
// ----------------------------
version=0.55

[function spell_say]
sayua 0481,6,6,eng, <args>
return 1
endif

[events e_death_announce]
On=@Death
if !(<isevent.e_qchar>)
if (<fame> > 9900) && (<memoryfindtype.memory_harmedby>) && (<act.ischar>) && (<act.uid> != <uid>) && (0<act.npc> == 0)
SERV.ALLCLIENTS SYSMESSAGE @02b,,1 <sex Lord/Lady> <name>, <act.name> tarafindan katledildi.
endif
endif

[events fix]

On=@Attack
//if (<memoryfindtype.memory_guild.link.more1> == 1) && (<src.memoryfindtype.memory_guild.link.more1> == 1) // !(<src.isevent.e_dm>)
//sysmessage @54,,1 Yandaslariniza zarar veremezsiniz.
//return 1
//elseif (<memoryfindtype.memory_guild.link.more1> == 2) && (<src.memoryfindtype.memory_guild.link.more1> == 2) // asfasf && !(<src.isevent.e_dm>)
//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_guard) || (<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

On=@Profile
if (<src.uid> == <uid>) || (0<src.account.plevel> > 2)
src.sysmessage Hesap: <account.name>, <eval (<account.totalconnecttime> / 60)>s
src.sysmessage Kayit: <account.firstconnectdate>
if (strmatch(&&#35039;<src.uid.04009a3fa.tag.<account.name>_vet>&&#35039;,&&#35039;01&&#35039;))
src.sysmessage Veteran: odul verilmis.
endif
src.sysmessage Karakter: <eval (<age> / 86400)> gun once dogmus.
endif

On=@Death
src.mana 0
if (<kills> > 5)
f_statloss
findid.i_mem_healing.remove
f_fizzle
endif 
if (<src.findid.i_alt_not>)
src.findid.i_alt_not.remove
f_fizzle
endif (<isevent.e_qchar>)
if (<fame> > 9900) && (<memoryfindtype.memory_harmedby>) && (<act.ischar>) && (<act.uid> != <uid>) && (0<act.npc> == 0)
SERV.ALLCLIENTS SYSMESSAGE @02b,,1 <sex Lord/Lady> <name>, <act.name> tarafindan <region.name> dolaylarinda katledildi.
endif
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 (<argn> == 7)
if (<act.uid> == <uid>)
else
sysmessage @68 Sadece kendinize atabilirsiniz.
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 (<kills> < 6) && (strmatch(&&#35039;<targ.region.name>&&#35039;,&&#35039;Calimport&&#35039;))
sysmessage @68 Calimport&&#35039;un guclu buyu duvarlari sebebiyle buyunuz engellendi.
go 5249 3918 28
f_fizzle
return 1
endif

if (<act.ischar>)
if !(<act.flags>&statf_insubstantial) && (0<act.account.plevel> > 0<account.plevel>)
f_fizzle
return 1
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

endif

if (<findid.i_bandajvar>)
f_fizzle
src.sysmessage @68 Bandaj kullanirken buyu yapamazsiniz...
return 1
endif


// spell freeze time
if (<argn> == 1) // Clumsy
spell_say Uus Jux
mg1
elseif (<argn> == 2) // Create food
mg1
spell_say In Mani Ylem
newitem i_ham
act.bounce
consume 1 i_reag_garlic
consume 1 i_reag_ginseng
consume 1 i_reag_mandrake_root
return 1
elseif (<argn> == 3) // Feeblemind
spell_say Rel Wis
mg1
elseif (<argn> == 4) // Heal
spell_say In Mani
sd 1
mg2
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.serial>==<targ.serial>)
spell_say Flam Sanct
sd 1
mg1
else
skill fail
sysmessage @68 Bu buyuyu sadece kendi uzerinizde kullanabilirsiniz...
return 1
endif
elseif (<argn> == 8) // Weaken
spell_say Des Mani
mg1
elseif (<argn> == 9) // Agility
spell_say Ex Uus
mg2
elseif (<argn> == 10) // Cunning
spell_say Uus Wis
mg2
elseif (<argn> == 11) // Cure
spell_say An Nox
sd 1
if (<act.findid.i_rune_poison>)
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
mg2
elseif (<argn> == 12) // Harm
spell_say An Mani
sd 1
mg2
elseif (<argn> == 13) // Trap
spell_say In Jux
f_fizzle
return 1
elseif (<argn> == 14) // Untrap
spell_say An Jux
f_fizzle
return 1
elseif (<argn> == 15) // Protection
spell_say Uus Sanct
sd 1
mg2
elseif (<argn> == 16) // Strength
spell_say Uus Mani
sd 1
mg2
elseif (<argn> == 17) // Bless
spell_say Rel Sanct
sd 1
mg3
elseif (<argn> == 18) // Fireball
spell_say Vas Flam
sd 1
mg3
elseif (<argn> == 19) // Lock
spell_say An Por
f_fizzle
return 1
elseif (<argn> == 20) // Poison
if (<act.uid> == <uid>)
src.sysmessage @68 Kendinize Poison Atamazsiniz..
return 1
else
        spell_say In Nox
psg
sd 1
endif
elseif (<argn> == 21) // Telekinesis
spell_say Ort Por Ylem
sd 1
if (<act.isitem>)
if (<act.cont.isitem>)
if ((<act.cont.type> == t_corpse) || (<act.topobj.id> == c_pv))
f_fizzle
return 1
endif
endif
else
f_fizzle
return 1
endif
mg3
elseif (<argn> == 22) // Teleport
spell_say Rel Por
        mg1
if (<src.region.guarded> == 1)
src.sysmessage @68 Bu buyuyu guard zone sehirlerde kullanimi kapatilmistir.
return 1
endif
elseif (<argn> == 23) // Unlock
spell_say Ex Por
f_fizzle
return 1
elseif (<argn> == 24) // Wall
spell_say In Sanct Ylem
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
spell_say In Flam Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1)
src.sysmessage @68 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
mg4
sd 2
elseif (<argn> == 29) // Greater Heal
spell_say In Vas Mani
sd 2
mg4
elseif (<argn> == 30) // Lightning
spell_say Por Ort Grav
sd 2
mg4
elseif (<argn> == 31) // Mana Drain
spell_say Ort Rel
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
spell_say In Jux Sanct
sd 2
mg5
elseif (<argn> == 37) // Mind Blast
spell_say Por Corp Wis
sd 2
mg5
elseif (<argn> == 38) // Paralyze
spell_say An Ex Por
sd 2
mg5
elseif (<argn> == 39) // Poison Field
spell_say In Nox Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 2
mg5
elseif (<argn> == 40) // Summon Creature
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
mg6
elseif (<argn> == 43) // Explosion
spell_say Vas Ort Flam
sd 2
mg6
elseif (<argn> == 44) // Invisibility
spell_say An Lor Xen
sd 2
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
spell_say In Ex Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 3
mg6
elseif (<argn> == 48) // Reveal
spell_say Wis Quas
sd 2
mg6
elseif (<argn> == 49) // Chain Lightning
spell_say Vas Ort Grav
if (<act.uid> == <uid>)
f_fizzle
return 1
endif
sd 3
mg7
elseif (<argn> == 50) // Energy Field
spell_say In Sanct Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 3
mg7
elseif (<argn> == 51) // Flame strike
spell_say Kal Vas Flam
sd 3
mg7
elseif (<argn> == 52) // Gate Travel
spell_say Vas Rel Por
sd 3
mg7
elseif (<argn> == 53) // Mana Vampire
spell_say Ort Sanct
f_fizzle
return 1
elseif (<argn> == 54) // Mass Dispel
spell_say Vas An Ort
sd 3 
mg7
elseif (<argn> == 55) // Meteor Swarm
spell_say Flam Kal Des Ylem
if (<act.uid> == <uid>)
f_fizzle
return 1
endif
sd 3
mg7
elseif (<argn> == 56) // Polymorph
spell_say Vas Ylem Rel
sd 3
mg3
elseif (<argn> == 57) // Earthquake
spell_say In Vas Por
sd 3
mg8
elseif (<argn> == 58) // Energy Vortex
spell_say Vas Corp Por
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
elseif (<argn> == 59) // Resurrect
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 (<argn> == 20)
if !(<findid.i_rune_poison>)
if (<src.poisoning> >= 0) && (<src.poisoning> < 400)
poison 300
if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
skill fail
endif
elseif (<src.poisoning> > 399) && (<src.poisoning> < 550)
poison 500
if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
skill fail
endif
elseif (<src.poisoning> > 549) && (<src.poisoning> < 700)
poison 600
if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
skill fail
endif
elseif (<src.poisoning> > 699) && (<src.poisoning> < 850)
poison 700
if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
skill fail
endif
elseif (<src.poisoning> > 849) && (<src.poisoning> < 940)
poison 800
if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
skill fail
endif
elseif (<src.poisoning> > 939) && (<src.poisoning> <= 1000)
poison 1100
if (<src.action> == id(skill_magery)) || (<src.action> == skill_magery)
skill fail
endif
endif
sfx snd_spell_poison
effect 3,0374a,1,15,1
return 1
endif
endif
IF ((!<isgm>) && ((<SRC.REGION.FLAGS> & region_flag_safe) || (<REGION.FLAGS> & region_flag_safe)))
SRC.sysMESSAGE @68 Bu bolgede buyuler etkili olmaz!
EFFECT 3, i_fx_glow, 3, 20, 1
RETURN 1
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> + &&#35123;-5 5)>
//else
//damage &&#35123;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 + &&#35123;-100 100})
else
poison (<src.poisoning> + &&#35123;-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.sysmessage @68 Faction uyelerini iyilestiremezsiniz.
return 1
elseif (<memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
src.sysmessage @68 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 @68 Yetersiz hiding.
skill fail
return 1
elseif (<eval (<ac> * 100)> > <eval (<stealth> + 200)>)
sysmessage @68 Asiri zirhlisiniz.
skill fail
return 1
endif
elseif (<action> == id(skill_hiding)) || (<action> == skill_hiding)
if (<eval (<ac> * 100)> > <eval (<hiding> + 200)>)
sysmessage @68 Asiri zirhlisiniz.
skill fail
return 1
endif
elseif ((<action> == id(skill_herding)) || (<action> == skill_herding))
if (<targ.id> == c_pv)
skill fail
return 1
endif
elseif ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
if (<targ.topobj.id> == c_pv)
skill fail
return 1
elseif ((<action> == id(skill_snooping)) || (<action> == skill_snooping)) 
        if (<src.distance> > 3 )
src.sysmessage @68 cantaya ulasamiyorsunuz.
src.action -1
return 1
elseif ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) 
        if (<src.distance> > 3 )
src.sysmessage @68 Esya&&#35039;ya ulasamiyorsunuz.
src.action -1
return 1
elseif !(<targ.topobj.ischar>)
sysmessage @68 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

// bronx&&#35039;s famous lame-buster 1.2a
if (<findid.i_jail>) || !(strmatch(&&#35039;<tag.mt>&&#35039;,&&#35039;&&#35039;))
return 0 // jailde veya tespit edilmis.
elseif (strmatch(&&#35039;<serv.name>&&#35039;,<serv.name>&&#35039;))
if (strmatch(&&#35039;<uid.04018c20d.rescount>&&#35039;,&&#35039;20&&#35039;))
return 0
endif
elseif (strmatch(&&#35039;<tag.mn>&&#35039;,&&#35039;&&#35039;))
tag.mn 0 // sayim tagi yoksa, ver
endif

if (strmatch(&&#35039;<tag.ms>&&#35039;,&&#35039;<action>&&#35039;))
tag.mn <eval (<tag.mn> + 1)>
elseif ((strmatch(&&#35039;<tag.ms>&&#35039;,&&#35039;Skill_Magery&&#35039;)) && (strmatch(&&#35039;Skill_Meditation&&#35039;,&&#35039;<action>&&#35039;)))
tag.mn <eval (<tag.mn> + 1)>
elseif ((strmatch(&&#35039;<tag.ms>&&#35039;,&&#35039;Skill_Meditation&&#35039;)) && (strmatch(&&#35039;Skill_Magery&&#35039;,&&#35039;<action>&&#35039;)))
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(&&#35039;<serv.name>&&#35039;,&&#35039;<serv.name>&&#35039;))
act.cont 04018c20d
try var.mts <uid.04018c20d.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 !(<isevent.e_faction>) && !(<findid.i_rune_incognito>) && (<memoryfindtype.memory_guild>)
if (strmatch(&&#35039;<tag.gs_title>&&#35039;,&&#35039;&&#35039;)
message @0481 [<memoryfindtype.memory_guild.link.name>]
else
message @0481 [<tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev>]
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=@ItemEquip
//if (<act.type> == t_weapon_axe)
//events +e_axer
//endif

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)
//events -e_axer
//endif

On=@ItemDClick
if (<targ.topobj.id> == c_pv)
if (<targ.type> == t_container)
targ.open
endif
return 1
endif

On=@ItemClick
//if (strmatch(&&#35039;<act.cont.type>&&#35039;,&&#35039;t_eq_trade_window&&#35039;))
//act.message [guvenli]
//endif

if (<act.topobj.id> == c_pv)
if (strmatch(&&#35039;<act.price>&&#35039;,&&#35039;&&#35039;))
act.message [satilamaz]
elseif (<act.price> <= 0)
act.message [satilik degil]
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 @07a1 [<act.price> gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski]
else
act.message @07a1 [<act.price> gp]
endif
else
act.message @07a1 [<act.price> gp]
endif
endif
endif
if (<act.layer> == 21) && (<act.cont.ischar>)
act.message @85 Inventory
return 1
else
if ((<act.attr>&attr_newbie))
Act.Message @07a1 [ Newbified ]
endif
if (<act.type> == t_container)
if !(<act.baseid> == i_strong_box)
if (<act.attr>&attr_move_never) && !(strmatch(&&#35039;<act.region.tag.owner>,&&#35039;&&#35039;)) && (<act.region.type> == <region.type>)
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.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 [<act.price> gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski]
else
act.message [<act.price> gp]
endif
else
act.message [<act.price> gp]
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 [Ok: <eval <rescount <act.tdata3>>>]
endif
endif

On=@ItemPickUp_Pack
if (<act.topobj.id> == c_pv)
if !(<uid> == <act.topobj.tag.owner>)
return 1
endif
//elseif !(strmatch(&&#35039;<act.price>&&#35039;,&&#35039;&&#35039;))
//if (<act.price> > 0)
//act.price 0
//endif
//endif

On=@ItemTargOn_Item
if ((<targ.topobj.id> == c_pv) && (<act.cont.uid> != <targ.topobj.uid>))
return 1
//elseif (<targ.baseid> == i_corpse) // human cesetleri bicememe
//if ((<targ.amount> == 400) || (<targ.amount> == 401))
//return 1
//endif
//endif

On=@ItemDropOn_Ground
if (strmatch(&&#35039;<src.region.name>&&#35039;,&&#35039;nujel&&#35039;m&&#35039;))
act.bounce
src.sysmessage @68 Safe Alanda Yere Cop Atamazsiniz
endif
if (<act.attr> == 04008)
act.attr 0
endif

if !((<weight> + <act.weight>) > <weightmax>)
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 gmfix]

On=@Click
IF (<FLAGS> & statf_insubstantial)
TAG.TEPE = [Invis]
else
tag.tepe
endif

IF (<ACCOUNT.PLEVEL> = 2)
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
elseIF (<ACCOUNT.PLEVEL> = 3)
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
elseIF (<ACCOUNT.PLEVEL> = 4)
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
elseIF (<ACCOUNT.PLEVEL> = 5)
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
elseIF (<ACCOUNT.PLEVEL> = 6)
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
elseIF (<ACCOUNT.PLEVEL> > 6 )
MESSAGE @1153 <TAG.TEPE>
message @0481,,1 <serv.name> UO Staff
message @68 <name>
return 1
endif

On=@DClick
title <serv.name> Yetkili Kadrosu
elseif strmatch(&&#35039;<title>&&#35039;,&&#35039;<serv.name> Yetkili Kadrosu&&#35039;))
title
endif

On=@GetHit
return 1

On=@ItemClick
if !(<isevent.fix>)
if (<act.attr>&04) // blessed itemlari belirt
act.message @68 [newbified]
endif
if (<act.type> == t_container)
if !(<act.baseid> == i_strong_box)
if (<act.attr>&attr_move_never) && !(strmatch(&&#35039;<act.region.tag.owner>,&&#35039;&&#35039;)) && (<act.region.type> == <region.type>)
act.message @68 [sabit]
endif

if (<act.topobj.baseid> == c_pv)
if (strmatch(&&#35039;<act.price>&&#35039;,&&#35039;&&#35039;))
act.message @68 [satilamaz]
elseif (<act.price> <= 0)
act.message @68 [satilik degil]
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 [<act.price> gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski]
else
act.message [<act.price> gp]
endif
else
act.message [<act.price> gp]
endif
endif
if (<act.type> == t_container)
act.message <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
return 1
endif
endif
endif


On=@Death
hits 50 // kiymayin gm&&#35039;e
return 1

On=@ItemPickUp_Pack
if (<act.topobj.id> == c_pv)
if !(<uid> == <act.topobj.tag.owner>)
return 1
endif
elseif (<act.topobj.ischar>) && (<act.topobj.uid> != <uid>)
if !(<act.topobj.npc>)
return 1
endif
endif

On=@ItemDClick
if (<targ.topobj.baseid> == c_pv)
if (<targ.type> == t_container)
targ.open
endif
return 1
endif

On=@SkillStart
if ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
if (<targ.topobj.baseid> == c_pv)
skill fail
return 1
endif
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

[events e_hayvanfix]
on=@spellcast
if (<flags>&statf_dead)
if (<npc> == brain_animal)
message @68 Buna Buyu Atamazsiniz!
return 1
endif
endif

on=@spelleffect
if (<flags>&statf_dead)
if (<npc> == brain_animal)
message @68 Buna Buyu Atamazsiniz!
return 1
endif
endif


[function bankself2]
if (<findlayer(layer_bankbox)>)
findlayer(layer_bankbox).open
else
serv.newitem i_backpack
new.type t_eq_bank_box
new.layer layer_bankbox
equip <new.uid>
new.open
endif

[EOF]
Olmassa Commandsa Bak Player login Vardır Onun Altına Events +Fix Ekle o Eksiktir.
Commandsa Bak derken ben yeniyim tam acık bi net şekillde sölesek belki biliomdur orayı ama Aklımda tutamıorum herşeyi Bunları bide aynı anda scp yazmayı dialog yapmayı felam örenmeye calısıorum :D



Üye Ol veya Giriş Yap

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