15:03:ERROR:(sphere_evmenu.scp,4061)Undefined symbol 'r_house_private'
15:03:ERROR:(sphere_evmenu.scp,4061)Unknown 'REGIONTYPE' Resource 'r_house_private'
15:03:ERROR:(sphere_evmenu.scp,4174)Undefined symbol 'r_house_private'
15:03:ERROR:(sphere_evmenu.scp,4174)Unknown 'REGIONTYPE' Resource 'r_house_private'
15:03:ERROR:(sphere_evmenu.scp,4175)Undefined symbol 'r_house_public'

bu sornu veriyor evi kucunca evde ne yere bsii sabitliyebiliyorum nede baska bisi yapablilirim kendi evnizde yapabilirinsiz dio yardim edermisniz
eğer 56b kullanıosan region.type yazan yerleri region.uid yap düzelir.
17:33:ERROR:(sphere_evmenu.scp,4061)Undefined symbol 'r_house_private'
17:33:ERROR:(sphere_evmenu.scp,4061)Unknown 'REGIONTYPE' Resource 'r_house_private'
17:33:ERROR:(sphere_evmenu.scp,4174)Undefined symbol 'r_house_private'
17:33:ERROR:(sphere_evmenu.scp,4174)Unknown 'REGIONTYPE' Resource 'r_house_private'
17:33:ERROR:(sphere_evmenu.scp,4175)Undefined symbol 'r_house_public'

bu hata yine geliyor ancak bu sefer esylar yere sabitlene biliyor cok ilginc


[dialog d_house_public button]
On=0

On=1
src.sysmessage @066d,,1 Bu Fonksiyon Kapatilmistir.

On=2
dialog d_house_colist

On=3
dialog d_house_flist

On=4
if (<src.uid> == <more>)
	morex 8
	target
else
	src.sysmessage Sadece evin sahibi, ortak ekleyebilir.
	opendialog
endif

On=5
if ((<src.uid> == <more>) || (<tag0.co1uid> == <src.uid>) || (<tag0.co2uid> == <src.uid>) || (<tag0.co3uid> == <src.uid>) || (<tag0.co4uid> == <src.uid>) || (<tag0.co5uid> == <src.uid>) || (<tag0.co6uid> == <src.uid>) || (<tag0.co7uid> == <src.uid>) || (<tag0.co8uid> == <src.uid>))
	morex 9
	target
else 
	src.sysmessage Sadece evin sahibi ve ortaklari, dost ekleyebilir.
	opendialog
endif

On=6
if (<src.uid> == <more>)
	dialog d_house_removec
else 
	src.sysmessage Sadece evin sahibi, ortaklari silebilir.
	opendialog
endif

On=7
if ((<src.uid> == <more>) || (<tag0.co1uid> == <src.uid>) || (<tag0.co2uid> == <src.uid>) || (<tag0.co3uid> == <src.uid>) || (<tag0.co4uid> == <src.uid>) || (<tag0.co5uid> == <src.uid>) || (<tag0.co6uid> == <src.uid>) || (<tag0.co7uid> == <src.uid>) || (<tag0.co8uid> == <src.uid>))
	dialog d_house_rfriend
else 
	src.sysmessage Sadece evin sahibi ve ortaklari, dostlari silebilir.
	dialog d_house_flist
endif

On=8
if (<src.uid> == <more>)
	dialog d_house_rcoowner_all
else
	src.sysmessage Sadece evin sahibi, ortaklari silebilir.
	opendialog
endif

On=9
if ((<src.uid> == <more>) || (<tag0.co1uid> == <src.uid>) || (<tag0.co2uid> == <src.uid>) || (<tag0.co3uid> == <src.uid>) || (<tag0.co4uid> == <src.uid>) || (<tag0.co5uid> == <src.uid>) || (<tag0.co6uid> == <src.uid>) || (<tag0.co7uid> == <src.uid>) || (<tag0.co8uid> == <src.uid>))
	dialog d_house_rfriend_all
else 
	src.sysmessage Sadece evin sahibi ve ortaklari, dostlari silebilir.
	opendialog
endif

On=10 // ban
morex 5
target

On=11 // eject
morex 6
target

On=12
dialog d_house_elist

On=13
dialog d_house_liftban

On=14
if !(<src.uid> == <more>)
	src.sysmessage @1100,,1 Sadece evin sahibi, evi baska birine devrebilir.
	opendialog
elseif (<src.region.uid> == <uid>)
	src.sysmessage @1100,,1 Evi devredebilmek icin, evin disina cikmalisiniz.
	opendialog
else
	morex 7
	target @049,,1 Evi devretmek istediginiz kisiyi seciniz.
endif

On=15
if (<src.uid> == <more>)
	dialog d_house_redeed
else
	src.sysmessage @1100,,1 Bu secenegi sadece evin sahibi kullanabilir.
	opendialog
endif

On=16
if (<src.uid> == <more>)
	if ((<tag0.vendor1>) || (<tag0.vendor2>) || (<tag0.vendor3>))
		src.sysmessage Evinizde calisan vendorlar oldugu surece ozel duruma getiremezsiniz.
	else
		region.events +r_house_private
		region.events -r_house_public
		link.morey 0
		var.houseposition <link.p>
		var.housename <link.name>
		link.dispid 0bd2
		link.p <var.houseposition>
		link.name <var.housename>
		updatex
		src.sysmessage Eviniz ozel duruma getirildi.
		opendialog
	endif
else
	src.sysmessage Sadece evin sahibi, evin durumunu degistirebilir.
endif

On=17
if !((<src.uid> == <more>) || (<tag0.co1uid> == <src.uid>) || (<tag0.co2uid> == <src.uid>) || (<tag0.co3uid> == <src.uid>) || (<tag0.co4uid> == <src.uid>) || (<tag0.co5uid> == <src.uid>) || (<tag0.co6uid> == <src.uid>) || (<tag0.co7uid> == <src.uid>) || (<tag0.co8uid> == <src.uid>))
	src.sysmessage Sadece evin sahibi ve ortaklari, ev tabelasini degistirebilir.
	return 1

burada hata var ancak nasil duzelecek bilmiom bu r_house_private gibi bi regionmu yapmak lazim yoksa bu region ztn varmi anlamadimda
kell halleti

Bu konu Rexos tarafından düzenlendi(2008-02-19 02:51, 16 yıl önce)
Expert
34.0001
r_house_public ve r_house_private regionların yok.
@rexos ve death bringer
dedigniz gibi yaptim esyaler abitlenio ancak halane ayni hatayi veriyor

@kell
bunlari nasi yapabilirim ?

buarada 56b kullaniyorum

fix.scp m yok :utangac1

//EDIT

// ################################
//   R E G I O NF Z  &  E V E N T Z
// ################################
[events e_house]
On=@EnvironChange
if (strmatch('<region.tag0.owner>,''))
	events -e_house
endif

//On=@Spelleffect
//if (<argn> == 59) && (<flags>&statf_dead)
//	if (strmatch('<region.tag0.owner>,''))
//		events -e_house
//	else
//		var.p <p>
//		p 5 5
//		spelleffect 59 100.0
//		p <var.p>
//		update
//	endif
//endif

On=@Login
if !((<uid> == <eval <region.tag.owner>>) || (<eval <region.tag.co1uid>> == <uid>) || (<eval <region.tag.co2uid>> == <uid>) || (<eval <region.tag.co3uid>> == <uid>) || (<eval <region.tag.co4uid>> == <uid>) || (<eval <region.tag.co5uid>> == <uid>) || (<eval <region.tag.co6uid>> == <uid>) || (<eval <region.tag.co7uid>> == <uid>) || (<eval <region.tag.co8uid>> == <uid>) || (<eval <region.tag.f1uid>> == <uid>) || (<eval <region.tag.f2uid>> == <uid>) || (<eval <region.tag.f3uid>> == <uid>) || (<eval <region.tag.f4uid>> == <uid>) || (<eval <region.tag.f5uid>> == <uid>) || (<eval <region.tag.f6uid>> == <uid>) || (<eval <region.tag.f7uid>> == <uid>) || (<eval <region.tag.f8uid>> == <uid>) || (<eval <region.tag.f9uid>> == <uid>) || (<eval <region.tag.f10uid>> == <uid>) || (<eval <region.tag.f11uid>> == <uid>) || (<eval <region.tag.f12uid>> == <uid>) || (<eval <region.tag.f13uid>> == <uid>) || (<eval <region.tag.f14uid>> == <uid>) || (<eval <region.tag.f15uid>> == <uid>) || (<eval <region.tag.f16uid>> == <uid>) || (<eval <region.tag.f17uid>> == <uid>) || (<eval <region.tag.f18uid>> == <uid>) || (<eval <region.tag.f19uid>> == <uid>) || (<eval <region.tag.f20uid>> == <uid>))
	p <region.tag.signp>
	update
endif


On=@ItemClick
if (<act.region.uid> == <region.uid>)
	if !(<act.cont>)
		if (<act.attr>&attr_move_never)
			if !((<act.baseid> == i_rb_gate) || (<act.baseid> == i_strong_box) || (<act.type> == t_door) || (<act.type> == t_door_locked) || (<act.type> == t_sign_gump) || (<act.type> == t_secure) || (<act.type> == t_stone_guild))
				act.message @1100,,1 [sabit]
			endif
		endif
	endif
endif

///regionda region ayarlari....

bunlari region a eklesem sorun cozulurmu yoksa bi ise yaramzmi???
upps cok isin var dostum şimdi cıkıyorum sonra bakarız veya arkadaşlar kesin yardımcı olur saten
ok duzelttim arklar region ekledim halloldu yerdimi gecen herkese tskler

Üye Ol veya Giriş Yap

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