Arkadaslar Ben Bi Scp Buldum Kendime Gore Editliyeceğim Ama Soyle Bir Sorunum Var..
moongate Tikladiğimda Client Kapat Hatasi Veriyor Neden Ola Bilir...
Script Bu Dialoglarda felan mi Sorun var acaba?
Kod:
[itemdef i_action_gate]
name Action Gate
id i_moongate_blue
on=@create
color 07fd
on=@click
message @07a1 [ <serv.name> ]
message @39 Action Gate
return 1
on=@step
if (<src.hits> = 0)
src.resurrect
else
if !(<src.hits>>=<src.str>)
src.sysmessage @07a1 Yarali Iken Iceri Giremezsiniz.
RETURN 1
else
dialogclose d_gateler
dialog d_gateler
src.move s 1
endif
on=@dclick
if (<src.hits> = 0)
src.resurrect
else
if !(<src.hits>>=<src.str>)
src.sysmessage @07a1 Yarali Iken Iceri Giremezsiniz.
RETURN 1
else
dialogclose d_gateler
dialog d_gateler
endif
[DIALOG d_gateler]
0, 0
nomove
resizepic 65 20 3500 250 250
button 100 73 1209 1210 1 0 1
button 100 98 1209 1210 1 0 2
button 100 123 1209 1210 1 0 3
button 100 148 1209 1210 1 0 4
button 100 173 1209 1210 1 0 5
button 100 193 1209 1210 1 0 6
text 120 70 990 0
text 120 95 990 1
text 120 120 990 2
text 120 145 990 3
text 120 170 990 4
text 120 195 990 5
text 90 40 990 6
text 120 225 990 7
[DIALOG d_gateler TEXT]
Cove Orc Camp [ Safe ]
Covertous [ Silver ]
Wrong [ Silver ]
Trinsic [ Action ]
Moonglow [ Action ]
Minoc [ Action ]
- <serv.name> Gecit Sistemi -
[DIALOG d_gateler BUTTON]
ONBUTTON=0
ONBUTTON=1
if !(<src.hits> >= <src.str>)
src.sysmessage @39 Yaraliyken bir portaldan gecdiginizde olumunze sebep olabilir.
return 1
else
IF ( <eval <distance>> > 2 )
src.sysmessage @07a1 Action Gatesinden Uzakta Bulunmaktasiniz...
return 1
else
src.go ultra
endif
ONBUTTON=2
if !(<src.hits> >= <src.str>)
src.sysmessage @39 Yaraliyken bir portaldan gecdiginizde olumunze sebep olabilir.
return 1
else
IF ( <eval <distance>> > 2 )
src.sysmessage @07a1 Action Gatesinden Uzakta Bulunmaktasiniz...
return 1
else
dorand 4
src.go 2545,856
src.go 2550,857
src.go 2540,862
src.go 2540,857
enddo
endif
ONBUTTON=5
if !(<src.hits> >= <src.str>)
src.sysmessage @39 Yaraliyken bir portaldan gecdiginizde olumunze sebep olabilir.
return 1
else
IF ( <eval <distance>> > 2 )
src.sysmessage @07a1 Action Gatesinden Uzakta Bulunmaktasiniz...
return 1
else
dorand 4
src.go moonglow
src.go 4439,1172
src.go 4446,1172
src.go 4442,1170
enddo
endif
ONBUTTON=4
if !(<src.hits> >= <src.str>)
src.sysmessage @39 Yaraliyken bir portaldan gecdiginizde olumunze sebep olabilir.
return 1
else
IF ( <eval <distance>> > 2 )
src.sysmessage @07a1 Action Gatesinden Uzakta Bulunmaktasiniz...
return 1
else
dorand 4
src.go trinsic
src.go trinsic
src.go trinsic
src.go trinsic
enddo
endif
ONBUTTON=6
if !(<src.hits> >= <src.str>)
src.sysmessage @39 Yaraliyken bir portaldan gecdiginizde olumunze sebep olabilir.
return 1
else
IF ( <eval <distance>> > 2 )
src.sysmessage @07a1 Action Gatesinden Uzakta Bulunmaktasiniz...
return 1
else
dorand 4
src.go 2629,51,38
src.go 2626,48,38
src.go 2630,42,38
src.go 2635,53,38
enddo
endif
ONBUTTON=3
if !(<src.hits> >= <src.str>)
src.sysmessage @39 Yaraliyken bir portaldan gecdiginizde olumunze sebep olabilir.
return 1
else
IF ( <eval <distance>> > 2 )
src.sysmessage @07a1 Action Gatesinden Uzakta Bulunmaktasiniz...
return 1
else
dorand 4
src.go 5824,595
src.go 5824,595
src.go 5825,598
src.go 5827,596
enddo
endif
[ITEMDEF i_res_gate]
NAME=Res Gate
ID=i_moongate_blue
TYPE=t_telepad
ON=@CREATE
COLOR=0493
CATEGORY=Other
SUBSECTION=Gates
DESCRIPTION=Ressurection Gate
on=@click
message @39 [ <serv.name> ]
message @07a1 [ Diriltme Portali ]
return 1
ON=@STEP
IF <SRC.BODY>=c_ghost_man
SRC.MESSAGE=Hayata Geri Dondunuz <SRC.NAME>
SRC.RESURRECT
RETURN 0
ELSE
IF <SRC.BODY>=c_ghost_woman
SRC.MESSAGE=Hayata Geri Dondunuz <SRC.NAME>
SRC.RESURRECT
endif
[ITEMDEF i_tele_staff]
NAME=teleporter staff
ID=i_staff_quarter
WEIGHT=5
ON=@CREATE
COLOR= {0480}
CATEGORY=Sorders
SUBSECTION=Items
DESCRIPTION=Teleporting Staff
ON=@CLICK
message a <name>
IF (<ATTR>&(attr_identified))
message [$$$$]
ENDIF
RETURN 1
ON=@DCLICK
TARGET Haraket ettirmek istediginiz oyuncuyu secin.
RETURN 1
ON=@TARGON_ITEM
SRC.SYSMESSAGE Sen bunu haraket etiremezsin [ <SRC.TARG.NAME> yada farkil bir esya]
RETURN 1
ON=@TARGON_CHAR
LINK=<SRC.TARG.UID>
TARGETG Nereye haraket ettirmeyi secersiniz <SRC.TARG.NAME> i?
RETURN 1
ON=@TARGON_GROUND
LINK.GO <SRC.TARGP>
RETURN 1
[EOF]