Merhaba Hayırlı sahurlar diyerek başlayayım şimdi ben flash robeden aldıgım komutu katanada denedim oldu binekte deniyorum ama çıkardıgım anda ölüyor binek ve binege birde heal atma özelligini eklemek istiyorum yardımcı olurmusunuz
[CHARDEF c_m_xxx] 
DEFNAME=c_m_xxx
NAME=xxx
ID=c_horse_brown_lt
Sound=snd_ANIMALS_HORSE1
CAN=MT_WALK|MT_RUN
ICON=i_pet_horse_gray
FOODTYPE=55 t_crops, 55 t_fruit, 55 t_grain, 64 t_grass
CATEGORY=AAA Animal
SUBSECTION=T2A Horse
DESCRIPTION=xxx
[b]ON=@Create 
timer 2

on=@timer
dorand 8
color 0810
color 0c95
color 0bb7
color 09d2
color 07b2
color 07ad
color 0bb3
color 0c97
enddo
timer 2[/b]

STR={10000 10000}
DEX={10000 10000}
INT=10000

PARRYING={1000 1000}
MAGICRESISTANCE={1000 1000}
TACTICS={1000 1000}
WRESTLING={1000 1000}
POISONING={1000 1000}
TAMING=99.9 100.0

KARMA=-5318
FAME=2000

TAMING={90.0 95.0}



On=@Hit  

	if (rand(3) == 1)                         
		src.poison 950 	                   
	                		            
		if (rand(2) == 1)
			SRC.sayu= Zehirlenir
		endif
	endif


On=@GetHit
	if (rand(7) ==1)
		SAYU=Kanina isler
		return 1
	endif

		if (<findid.i_rune_poison>) || (<findid.i_rune_poison_field>)
			if (rand(3) == 1)
				face
				anim 17
				findid.i_rune_poison.remove
				findid.i_rune_poison_field.remove
				sayu * zehirden etkilenmez *
				return 1
			endif
		endif
on=@create
hitpoints=100

on=@gethit 
if (<src.hits> < 30) 
sayua 0481,2,0,eng,* Kendini tedavi eder *
effect=3,i_fx_heal_effect,6,35,1 
sound snd_spell_greater_heal 
hits=(<src.hits> + 15) 
endif
Bir sorum daha olacak şimdi başka topic açmayım şimdi gmfix scpsi var bende sphere56b ye geçiş yaptım eski stafflar o dosyadakine göre isimleri vs herşeyi öyle ama yeni staff açınca öyle olmuyor yeni olanlar hiç bi degişim yok sadece Gm yazıyor Veya Seer Gibi
[events gmfix]
On=@Click
IF (<FLAGS> & statf_insubstantial)
TAG.TEPE = [Invis]
else
tag.tepe
endif

IF (<ACCOUNT.PLEVEL> = 2)
MESSAGE @1153 <TAG.TEPE>
message @07a1 [ xxx Online ]
message @07a1 Cns <name> 
title xxx Uo Counselor 
return 1
elseif (0<account.plevel> == 3)
MESSAGE @1153 <TAG.TEPE>
message @07a1 [ xxx Online ]
message @07a1 Seer <name> 
title xxx Uo Seer
return 1
elseif (0<account.plevel> == 4)
MESSAGE @1153 <TAG.TEPE>
message @0770,2 [ xxx Gm ]
message @0770,2 <name>
title xxx Uo Gm
return 1
elseif (0<account.plevel> == 5)
MESSAGE @1153 <TAG.TEPE>
message @0780,2 [ xxx Online ]
message @0780,2 <name> 
title xxx Uo Developer
return 1
elseif (strmatch('<account>','northface'))
MESSAGE @1153 <TAG.TEPE>
message @0780,4 [ High Master ]
message @0780,4 <name> 
title xxx Uo Sorumlu Yetkili
return 1
elseif (0<account.plevel> == 6)
MESSAGE @1153 <TAG.TEPE>
message @07c1,2 [ xxx Admin ]
message @09d2,2 <name>  
title xxx Uo Admin
return 1
elseif (strmatch('<account>','Xazrael'))
MESSAGE @0799 <TAG.TEPE>
message @0780,2 [ Staff Master ]
message @0791,4 <name> 
title xxx Uo Owner
return 1
elseif (0<account.plevel> == 7)
MESSAGE @1153 <TAG.TEPE>
message @09d2,4 [ xxx Owner ]
message @09d2,4 <name> 
title xxx Uo Owner
return 1
endif


On=@DClick
if (0<account.plevel> < 1)
return 1
elseif
return 0
endif

On=@GetHit
return 1

on=@hit
return 1

On=@ItemClick
if !(<isevent.fix>)
	if (<act.attr>&04) // blessed itemlari belirt
		act.message @0790 [kalici]
	endif

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

[function f_stpublish] // staff join-part messager
if (0<account.plevel> > 1)
	smsgx *** <args>
endif

[function f_staff_login] // staff boyle login oluyor
if !(0<account.plevel>)
	skillclass
	f_player_login
	return 1
endif

if (0<allshow>)
	allshow 0
endif

if (<account.plevel> > 4)
	privshow 1
endif

src.sysmessage
src.sysmessage
src.sysmessage
src.sysmessage
src.sysmessage
src.sysmessage
src.sysmessage
src.sysmessage
src.sysmessage
src.sysmessage
src.sysmessage
src.sysmessage
src.sysmessage

if !(strmatch('<account.plevel>','7'))
	nightsight 1
	fame 0
	kills 0
	karma 0
	invis 1
	staffchat
	events +staff
	
endif

if (strmatch('<account.plevel>','7'))
	privshow 1
	nightsight 1
	events gmfix
	staffchat
	karma 0
	kills 0
	fame 0
	
endif

//if ((<account.plevel> < 7) && !(strmatch('<account>','darksider'))
	//events +staff
//endif

tag.stf_timer
tag.sa_timer <serv.time>
if !(strmatch('<account.plevel>','7'))
	var.smsgx 045
	serv.allclients f_stpublish <account> baglandi.
	var.pg_box 04000f703
var.smsgx 0482
//smsgx Hizmet sureniz: <eval (<account.totalconnecttime> / 60)> saat.
if (<uid.<var.pg_box>.rescount>)
	smsgx Toplam <uid.<var.pg_box>.rescount> adet page mevcut.
endif

events -fix
events gmfix
//dialog d_staff

//src.sysmessage @044,,1 Online Durumu : <eval <var.gms>> Staff ve <eval <serv.clients> + (-<var.gms>)> Oyuncu.

[function f_staff_logout] // staff boyle logout oluyor
if !(strmatch('<account.plevel>','7'))
	var.smsgx 020
	serv.allclients f_stpublish <account> Cikti.
endif



[itemdef i_staff_chat] 
name=staff chat
id=i_memory 
type=t_eq_script 
layer=30 

[function staffchat] 
src.newitem i_staff_chat
src.act.cont <src.uid> 
src.tag.staffchat 1
src.sysmessage Staffchat: Aktif
return 1

[eof]
Login olurken o eventi vermen lazım stafflara.

Mesela sunu ekleyebilirsin

if (<account.plevel> > 1)
src.events +gmfix
endif
Eventi nasıl veriyoruz :( Bu arada binek olmadı gene ölüyor :S createnin altına ekledim hitpoints=100 diye olmadı .
Ustteki kodu staff logininin altına koyarsan olur sanırım.
Account dosyasındakinimi diyorsun? Bu arada binek için başka alternatif varmı ?
[function f_staff_login] // staff boyle login oluyor

attıgın scriptte boyle bir bolum var. Onun altına eklemelisin.

binegi denıyorum...
o ayrı bi scp iç içe login oldugunu gösteriyordu işte ama oda çalışmıyor zaten 56bye geçince öyle oldu yani ama işte eski charlar gene işliyor bu gmfix'in alternatifleriyle yenileri olmuyor nereye kaydediyor acaba accountları :S
Master
59.2997
O renk işini bineklere eklemeniz zor rengi değişir ancak inince görebilirsiniz rengin değiştiğini.
Peki şu 56bye geçtikten sonraki aldıgım gmler neden gmfixdeki özelliklere sahip olmuyor
Master
59.2997
Skillclass lar karışıyor olabilir. f_staff_login e events +gmfix ekleyin. Beyler biraz 56b nin nimetlerinden faydalanın 55i zamanından kalma scriptleri 56b ye coverlemeye çalışın emin olun daha kısalıcaktır ve daha kolaylaşıcaktır mesela 56b için hazırlanan bi gmfix.

[events gmfix]
on=@click
if (<account.plevel> > 1)
message <def0.admin_plevel_<eval <account.plevel>>>]
message <name>
title <serv.servname> <def0.admin_plevel_<eval <account.plevel>>>
return 1
endif
@Slothere
Degiştirdim senin yazdıgıla scpyi yani üst kısmı f_staff_login event + gmfix ekle demişsin onu anlamadım?Yani gene olmadı
Master
59.2997
Şmdi skillclass 0 playerler içindir skillclass 1 stafflar içindir skillclass 1 in altına

On=@EnvironChange
if (0<account.plevel> > 2)
events +gmfix
events -fix
endif

on=@login
events +gmfix

bunları ekle.
Slothere:
O renk işini bineklere eklemeniz zor rengi değişir ancak inince görebilirsiniz rengin değiştiğini

Function ile yaparsan üstündeyken de gözüküyor.Örnegin;

[function renkdegis]
if (<src.findlayer(25)>)
dorand 3
findlayer(25).color 1
findlayer(25).color 2
findlayer(25).color 3
enddo
endif



Üye Ol veya Giriş Yap

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