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]