Bir Sorun yok fakat ostard egg varya onu acmıyor arada acıyor ostard egg almak icin ugrasıyorsunuz diyor:S
//--------------------------------------------------
// Son Güncelleme	: 1 Ekim 2004
// Sunucu 		: Myth UO
// Yazan		: Erdem MİNDİVANLI (LeroX)
//--------------------------------------------------

[itemdef i_yumurta]
id 6868
name Yumurta
type t_eq_script
weight 18

ON=@click
if (<topobj.uid> != <src.uid>)
else
	src.sysmessage Yumurtayi cantaniza aldiginizdan dolayi kirildi!!!
	remove
endif
if (<attr> == 010)
	if (<morex> = 02)
		spell_say Yumurta Catlak
		timer -1
	elseif (<morex> = 05)
		if (<timer> > 0)
			if (<timer> = 0)
				remove
			elseif (<timer> < 300)
				spell_say Yumurtanin Bozulmasina Kalan zaman : <timer> saniye
			elseif (<timer> < 3601)
				src.tag.spawndurum2 ((<timer> / 60)+1)
				spell_say Yumurtanin Bozulmasina Kalan zaman : <eval <src.tag.spawndurum2>> dakika	
			elseif (<timer> < 86400)
				src.tag.spawndurum2 ((<timer> / 60) /60)
				spell_say Yumurtanin Bozulmasina Kalan zaman : <eval <src.tag.spawndurum2>> saat
			else
				src.tag.spawndurum (((<timer> / 60) /60) /24)
				spell_say Yumurtanin Bozulmasina Kalan zaman : <eval <src.tag.spawndurum>> gun
			endif
		endif
	else
		if (<timer> > 0)
			if (<timer> < 300)
				spell_say Kalan zaman : <timer> saniye
			elseif (<timer> < 3601)
				src.tag.spawndurum2 ((<timer> / 60)+1)
				spell_say Kalan zaman : <eval <src.tag.spawndurum2>> dakika	
			elseif (<timer> < 86400)
				src.tag.spawndurum2 ((<timer> / 60) /60)
				spell_say Kalan zaman : <eval <src.tag.spawndurum2>> saat
			else
				src.tag.spawndurum (((<timer> / 60) /60) /24)
				spell_say Kalan zaman : <eval <src.tag.spawndurum>> gun
			endif
		else
			if (<morex> = 01)
				spell_say Yumurta Hazir
				morex 5
				timer 172800
			elseif (<morex> = 02)
				spell_say Yumurta catlak
				timer -1
			elseif (<morex> = 05)
				
			else
				src.sysmessage Bu yumurta halen kuluckaya birakilmamis
			endif
		endif
	endif
else
	src.sysmessage Bu yumurta evinize sabitlenmemis
endif

ON=@dclick
if (<topobj.uid> != <src.uid>)
else
	src.sysmessage Yumurtayi cantaniza aldiginizdan dolayi kirildi!!!
	remove
endif
if (<timer> == -1)
	if (<morex> = 00)
		if (<attr> == 010)
			if (<src.taming> < 240)
				src.sysmessage Animallore Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya birakmazsiniz...
				return 1
			elseif (<src.taming> < 250)
				timer=432000
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 300)
				timer=388800
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 350)
				timer=345600
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 400)
				timer=302400
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 450)
				timer=259200
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 500)
				timer=216000
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 550)
				timer=172800
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 600)
				timer=129600
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 650)
				timer=86400
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 700)
				timer=43200
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 750)
				timer=36000
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 800)
				timer=32400
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 850)
				timer=27000
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 900)
				timer=23400
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 950)
				timer=18000
				link=<src.uid>
				morex 1
			elseif (<src.taming> < 1000)
				timer=14400
				link=<src.uid>
				morex 1
			elseif (<src.src.taming> = 1000)
				timer=9000
				link=<src.uid>
				morex 1
			endif
			if (<src.animallore> < 240)
				src.sysmessage Animallore Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya birakmazsiniz...
				timer=-1
				return 1
			elseif (<src.animallore> < 250)
				timer=<timer>+216000
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 300)
				timer=(<timer>+194400)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 350)
				timer=(<timer>+172800)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 400)
				timer=(<timer>+151200)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 450)
				timer=(<timer>+129600)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 500)
				timer=(<timer>+108000)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 550)
				timer=(<timer>+86400)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 600)
				timer=(<timer>+64800)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 650)
				timer=(<timer>+43200)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 700)
				timer=(<timer>+21600)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 750)
				timer=(<timer>+18000)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 800)
				timer=(<timer>+16200)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 850)
				timer=(<timer>+13500)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 900)
				timer=(<timer>+11700)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 950)
				timer=(<timer>+9000)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> < 1000)
				timer=(<timer>+7200)
				link=<src.uid>
				morex 1
			elseif (<src.animallore> = 1000)
				timer=(<timer>+4500)
				link=<src.uid>
				morex 1
			endif
//------------------------------------------veterinary
			if (<src.veterinary> < 240)
				src.sysmessage Veterinary Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya birakmazsiniz...
				timer=-1
				return 1
			elseif (<src.veterinary> < 250)
				timer=<timer>+216000
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 300)
				timer=(<timer>+194400)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 350)
				timer=(<timer>+172800)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 400)
				timer=(<timer>+151200)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 450)
				timer=(<timer>+129600)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 500)
				timer=(<timer>+108000)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 550)
				timer=(<timer>+86400)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 600)
				timer=(<timer>+64800)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 650)
				timer=(<timer>+43200)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 700)
				timer=(<timer>+21600)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 750)
				timer=(<timer>+18000)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 800)
				timer=(<timer>+16200)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 850)
				timer=(<timer>+13500)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 900)
				timer=(<timer>+11700)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 950)
				timer=(<timer>+9000)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> < 1000)
				timer=(<timer>+7200)
				link=<src.uid>
				morex 1
			elseif (<src.veterinary> = 1000)
				timer=(<timer>+4500)
				link=<src.uid>
				morex 1
			endif
		else
			src.sysmessage Ilk once yumurtalari evinize sabitleyiniz...
		endif
	elseif (<morex> = 01)
		if (<link> = <src.uid>)
			src.newitem i_sahip
			src.act.equip
			src.tag.hayvanid <more>
			remove
		else
			src.sysmessage Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan'a sahip olabilir...
		endif
	elseif (<morex> = 05)
		if (<link> = <src.uid>)
			src.newitem i_sahip
			src.act.equip
			src.tag.hayvanid <more>
			remove
		else
			src.sysmessage Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan'a sahip olabilir...
		endif
	else
		remove
	endif
elseif (<timer> > 0)
	if (<timer>)
		if (<morex> = 05)
			if (<link> = <src.uid>)
				src.newitem i_sahip
				src.act.equip
				src.tag.hayvanid <more>
				remove
			else
				src.sysmessage Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan'a sahip olabilir...
			endif
		else
			//src.sysmessage Bu yumurta kuluckaya birakilmis
		endif
	endif
endif


ON=@step
if (<src.account.plevel> < 2)
	if (<morex> < 2)
		if (<src.findid.i_yumurtadan>)
		else
			morex 2
			src.newitem i_yumurtadan
			src.act.equip
		endif
	endif
endif

[itemdef i_yumurtadan]
id i_memory
name Yumurtadan
type t_eq_script

ON=@create
attr attr_invis

ON=@equip
src.spell_say * Yumurtayi Kirar *
timer 1

ON=@timer
remove

[itemdef i_sahip]
id i_memory
name sahip ol
type t_eq_script

ON=@create
attr attr_invis

ON=@equip
timer 1

ON=@timer
	try cont.newnpc <cont.tag.hayvanid>
	link <cont.act.uid>
	link.oskin <link.color>
	link.memorydel <cont.uid>
	link.newitem i_memory
	link.act.attr 04
	link.act.more1 04
	link.act.more2 <serv.time>
	link.act.morep <link.p>
	link.act.color memory_ipet
	link.act.timer -1
	link.act.link <cont.uid>
	link.act.cont <link.uid>
	link.flags <link.flags>&statf_pet
	link.update
	link.anim 5
	link.bark 3
	remove

[itemdef i_spawn_yumurta]
id 6255
name Yumurta
type t_script
weight 50

ON=@create
color 0481

on=@dclick
target Kuluckayi seciniz...

ON=@targon_char
src.sysmessage Lutfen kuluckayi seciniz!!!
return 1

ON=@targon_item
if (strmatch('<src.targ.baseid>','i_kulucka'))
	src.targ.remove
	id i_yumurta
	color 0
	fix
else
	src.sysmessage Lutfen yumurtayi koymak icin kuluckayi seciniz!!!
endif

[itemdef i_kulucka]
id 6869
name Kulucka
type t_script
weight 2
RESOURCES=2 i_log,5 i_fur_light
SKILLMAKE=CARPENTRY 100.0, t_carpentry

[eof]

Bunu Deneyin
benim gönderdiğimi evde iyice kontrol ettim biraz düzenleme yaptım bende sorunsuz çalısıyor scplerinin arasına bak bakalım. başka ostard egg varmi ?
Novice
-0.500001
Sexy Snin Gonderdiin Ostard Egge Cift Tıklaınca Urasıorsunuz Yazıor Simdi Biras isim Var Aksam Gelince Tamamini Koyarim
Ewt sorunsuz calısıyor fakat Çift tıkladıgın zaman yumurtaya diyoki alamaya ugrasıyosun sonra orda timer var 7sn bekliyince cantana atıyor ben onu 5yaptım:D 5sn sonra cantaya atıyor.Bir şey sorucam ostardlar cıkıyor ya oraya ben nightmare gibi binek türü koyucam fakat zor cıkmasını istiyorum ne yapmam lazım
bak şimdi .static ile cikartınca öyle diyor dimi ? güzel bugsuz bir script o sabit iken yumurtayı alamassn .add ile cikar.. tamami ? yada .lock yazıp sabitliğini kaldır.
evt sexy1 in verdiği scp sorunsuz çalışıyor :D:D peki oyuncu zamanı dolduktan sonra çantasına almak isterse nasıl alıcak??? sabiti kaldırmak için i wish to release this mi demesi lazım evin içinde????
Ya Beyler Su Evlerdeki Komutları Nerden Deistirioduk?
kroworld ne biçim soru housing scpsinden deiştirceksin :D
Bir şey sorucam ostardlar cıkıyor ya oraya ben nightmare gibi binek türü koyucam fakat zor cıkmasını istiyorum ne yapmam lazım
R10

ekliycen 10 da 1 demek
UoAdmin : evt sexy1 in verdiği scp sorunsuz çalışıyor :D:D peki oyuncu zamanı dolduktan sonra çantasına almak isterse nasıl alıcak??? sabiti kaldırmak için i wish to release this mi demesi lazım evin içinde????
galiba zamanı dolduktan sonra çift tıklıyınca cantana. olgun egg veriyor
hımm tamam saol :)
birde arkadaslar su alttaki scpde cıkardıgım spawn timere uyuyor fakat bu sadece 1 kerelik oluyor sonradan cıkan spawnların süresi değişiyo


[function ostardegg]
serv.newitem 01ea7
new.type 69
new.amount 1
new.more i_egg_ostard
new.more2 0
new.morep <argn> <argn> 0
new.attr 0010
new.attr = <new.attr> | attr_invis
new.p <p>
new.timer 60*250
zaten orda new timer 60*250 diye bişey var onun için süresi her seferinde değişiyor yani bi sorun göremedim ben



Üye Ol veya Giriş Yap

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