Oncelikle merhaba,

Ben evde sphere 56b kurdum deneme yapiyorum Scplerde. iste bana Baslangic scpsi yalim yani basliyinca oyuna cantada 32lik spellbook, Runebook,Dagger, makas, 15k para ve ustunde Newbie Robe. olmasini istiyorum bunun gibi kucuk bir scp gosterebilrimsiniz bana ornek buna benzer yapm aya calisacagimda bnde Tesekkur ederim.

Bide-->> ben bunu Sphere scriptin icine atinca direk calisirsa yani veyada ne yapmaliyim calistirabilmem icin anlatirsaniz sevinirim..
Cok saolun simdiden herkese tesekkur ederim ;) :yes
Deed seklindede olur size kalmis nasil yaparsanz yapin sevinirim:))

Bu konu anelka99901 tarafından düzenlendi(2008-06-11 18:10, 15 yıl önce)
Sphere.newb script'inden ayarlıyacaksın scripts klasörünün içinde..
yada bir baslangıc stone koyarsın bu istediklerini yazarsın basladıgında cantaya düser
Teskkur ederim bide gm title ile ilgili bis sorunum war sphereyi ilk kurdugumda Nickimin yanidna Admin yaziyo Admin renkli nickimin ustundede Owner yazzmasini sitiyorum kucuk bir kod ayarlarsaniz sevinirim.

bide bu kodu hangi scp ile degistirecegim klasordekilerden?? hangisisyle??

Bu konu anelka99901 tarafından düzenlendi(2008-06-11 18:30, 15 yıl önce)
[ITEMDEF i_baslangic]
NAME=Baslangic Tasi
ID=i_grave_stone_4
ON=@Create
ATTR=04
COLOR=0823


On=@Click
message @0805 Baslangic Stone
return 1

On=@Dclick
if (<src.tag.baslangicstone> = 1)
src.sysmessage @0805 Bu Ne Aclik Bole...
return 1
else
src.tag.baslangicstone=1
src.events +fix
src.dialog d_baslangicstone
return 1
endif

[DIALOG d_baslangicstone]
0, 0
nomove
resizepic 20 5 3500 550 300 // Main menu

resizepic 40 65 3000 500 30 // Warrior

PAGE 0
button 45 70 2714 2715 1 0 1
dtext 77 70 2100 Oyuna Basla:
dtext 200 70 45 Yeni Bir Maceraya Hazir misin ?

dtext 45 35 100 XXX Pvp
dtext 45 270 100 Burasi XXX Burada Pvp Konusur...

[DIALOG d_baslangicstone BUTTON]
on=0
src.sysmessage @0805 Tusa basmadan kapatamazsiniz.
dialog d_baslangicstone
return 1
on=1
SRC.FAME 100
SRC.KARMA 100
SRC.STR 100
SRC.DEX 100
SRC.INT 100
SRC.HITS 100
SRC.STAM 100
SRC.MANA 100
src.events +fix // olmazsa dclick triggeri altınada ekleyebilirsin.
src.NEWITEM i_full_spellbook
ACT.MORE 0ffffffff
ACT.MORE2 0ffffffff
ACT.BOUNCE
src.NEWITEM i_runebook
ACT.MORE 0ffffffff
ACT.MORE2 0ffffffff
ACT.BOUNCE
src.newitem=i_robe
SRC.ACT.COLOR=0454
SRC.ACT.ATTR=04
SRC.ACT.EQUIP
src.newitem=i_shoes_plain
SRC.ACT.ATTR=04
SRC.ACT.equip
src.newitem=i_boots_calf
SRC.ACT.ATTR=04
SRC.ACT.BOUNCE
ser.newitem=i_dagger
src.act.attr=04
src.act.bounce
SRC.GO XxXxX // Buraya Nerde baslamasını istiyorsan oyuna orasının kordinatını yaz..
SRC.newitem i_gold
SRC.ACT.AMOUNT 15000
SRC.ACT.BOUNCE
SRC.SYSMESSAGE @90 Aldiginiz itemlerin hepsi kaybolmaz.
return 1

[events gmfix]
On=@Click
if (<flags>&statf_invisible) || (<flags>&statf_insubstantial) && (<account.plevel> >0)
message @020 [Invisible]
endif
if (<ACCOUNT.PLEVEL> = 2)
message @481 [ Counselor ]
message @0bb2 <name>
title SaiLoR Pvp Staff Member
return 1
elseif (0<account.plevel> == 3)
message @481 [ Seer ]
message @0bb2 <name>
title SaiLoR Pvp Staff Member
return 1
elseif (0<account.plevel> == 4)
message @481 [ Gamemaster ]
message @0bb2 <name> 
title SaiLoR Pvp Staff Member
return 1
elseif (0<account.plevel> == 5)
message @481 [ Senior Gm ]
message @0bb2 <name>
title SaiLoR Pvp Staff Member
return 1
elseif (0<account.plevel> == 6)
message @481 [ Admin ]
message @0bb2 <name>
title SaiLoR Pvp Staff Member
return 1
elseif (strmatch('<account>'suraka'))
message @481 [ Genel Mudur ]
message @0bb2 <name>  
title SaiLoR Pvp
return 1
elseif (0<account.plevel> == 7)
message @0481 [ Sunucu Sahibi ]
message @0bb2 <name>
title Sunucu Sahibi 
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 ((<act.attr>&attr_static)) // statiq itemlari belirt
		act.message @54 [sabit]
		act.message @0481,1,1 [<act.name>]
		return 1
		endif
	if ((<act.attr>&attr_invis)) // invisiple :D itemlari belirt
		act.message @07a1 [invisible]
		act.message @17a1 [<act.name>]
		src.sysmessage @07a1 Bu item invis elleme <src.name>.
		return 1
	endif
if (<act.type> == t_weapon_axe) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_mace_smith)|| (<act.type> == t_weapon_mace_sharp) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_axe)
if (<src.act.morez> > 0)
	src.sysmessage @54,1,1 bu silah zehirli.
endif
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
src.sysmessage @38,1,1 Bu silah %<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> hasar almi$.
//return 0
else
//act.message @38,1,1 silahta hasar yok.
src.sysmessage @38,1,1 silahta hasar yok.
endif
endif

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

if (<act.layer> == 21) && (<act.cont.ischar>)
	act.message @0842,1,1 [e$ya : <act.rescount>]
	act.message @38,1,1 Inventory
	return 1
else
	if ((<act.attr>&attr_newbie)) // blessed itemlari belirt
	if ((<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow))
		act.message @38 [ Newbiefied ]
		act.message @38 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
		act.message @0481 <ACT.NAME>
		return 1
		else
		if ((<act.type> == t_gold) 
		act.message @38 [ Newbiefied ]
		act.message @0842,1,1 <act.amount> <act.name>
		return 1
		else
		act.message @38 [ Newbiefied ]
		act.message @0842,1,1 <act.name>
		return 1
		endif
		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 @0842,1,1 [Sabit]
			endif
			if (<act.baseid> == i_bones)
				act.message @0842,1,1 [loot: <act.rescount> esya]
				act.message @0842,1,1 <act.name>
			elseif (<act.rescount> > 0)
				act.message @0842,1,1 <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
			else
				act.message @0842,1,1 <act.typedef.name>
			endif
			return 1
		endif
	endif
endif
if ((<act.topobj.uid> == <uid>)
	if ((<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow)) || (<act.type> == t_weapon_mace_sharp))
		act.message @38 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
		act.message @0481 <act.name>
		return 1
	endif
endif


if ((<act.topobj.uid> == <uid>)
	if ((<act.type> == t_rune)
		act.message @0842,1,1 <act.name>
		return 1
	endif
endif


if ((<act.topobj.uid> == <uid>)
	if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_shield) || (<act.type> == t_clothing))
		act.message @0842,1,1 <act.name>
		return 1
	endif
endif

	if ((<act.type> == t_shield) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow))
	act.message @0842,1,1 <act.name>
	act.message @38 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
	return 1
	endif
	if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_clothing)
	act.message @0842,1,1 <act.name>
	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

[function f_stpublish] // staff join-part messager
if (0<account.plevel> > 1)
	smsgx *** <args>
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]

al bakalım
cooookk saoooool abi walla allah senden razi olsun :):)
önemli degil bide özr dilerm bnm serveırn ismini unuttum orda
Nexiel &&#35039; inde söylediği gibi sphere_newb.scp den ayarlıyabilirsin , elinin altında hazır olan birşeyi baştan yapmaya çalışmak neden ?

Staff isimlerinin renkli olmasını istiyorsan uzun uzun eventler kullanmana gerek yok , tüm playerlarda olan bir eventde @click triggeri altında 5 satırlık böyle birşey kullanabilirsin.

on=@click
if (<isgm>)
message @Renkkodu [ <name> : <account.plevel> ]
return 1
endif
yok abi ne demek hallederim ben onu:) sey bu werdigin gm title scpsini nasil aktif hale getirebilirim:S

sanada tesekkur ederim Unknow :) gercekten saolun.. Daha cok yeniyim tekrar soyluyorum madur gorun:)
Oyun içerisinde " .events +e_gmfix " yaz bakalım..
oyunda kendine vermek için .events gmfix baskasına vermek istiyorsan stafflardan .xevents gmfix ;)
gercekten cok saolun:) Rebel ve Nexiel Cok tesekkur ederim :) cok iyisiniz..
Önemli Degil :)
:)
keşke konuyu görseydim .. bende cok iyiimdir :D



Üye Ol veya Giriş Yap

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