arkadaşlar hatayı göremedim potion stone yapdım tıklayınca oyundan atıyor :S

[ITEMDEF i_item_stone2]
DEFNAME=i_item_stone2
ID=3796
NAME=Potion Stone

ON=@create
color=0810
type=0
attr=attr_move_never
timer 1

ON=@click
message @0481 Other Stone
return 1

ON=@dclick
src.dialog d_action
return 1

[dialog d_action]
50,50
nomove

resizepic 220 10 3500 260 350
resizepic 250 50 3000 200 270

text 270 25 049 0
text 290 60 049 1
text 290 80 049 2
text 290 100 049 3
text 290 120 049 4
text 290 140 049 5
text 290 160 049 6
text 290 180 049 7
text 290 200 049 8
text 290 220 049 9
text 290 240 049 10
text 290 260 049 11
text 290 280 049 12
text 290 300 049 13



button 270 60 55 56 1 0 1
button 270 80 55 56 1 0 2
button 270 100 55 56 1 0 3
button 270 120 55 56 1 0 4
button 270 140 55 56 1 0 5
button 270 160 55 56 1 0 6
button 270 180 55 56 1 0 7
button 270 200 55 56 1 0 8
button 270 220 55 56 1 0 9
button 270 240 55 56 1 0 10
button 270 260 55 56 1 0 11
button 270 280 55 56 1 0 12
button 270 305 55 56 1 0 13 
button 270 325 55 55 1 0 14 


[dialog d_action text]
<serv.name> Menu
100 Bandaj
Great Heal Potion
Great Cure Potion
Total Ref Potion
Shrink Potion
Bleed Potion
Trapped Pouch [tp]
Full Spellbook
Nightsight Poti.
Great Agility Poti.
100 Arrow
100 Cloth
100 Bolt

[dialog d_action button]

onbutton 0
src.sysmessage @0841 Other Menu'yu Kapattiniz...

onbutton 13
src.newitem i_xbolt
sysmessage= @049 100 Adet Bolt Aldiniz...
src.act.amount 100
src.act.bounce
endif

onbutton 12
src.newitem i_cloth
sysmessage= @049 100 Adet Cloth Aldiniz...
src.act.amount 100
src.act.bounce
endif

onbutton 2
src.newitem i_potion_healgreat
sysmessage= @049 10 Adet Great Heal Potion Aldiniz...
src.act.amount 10
src.act.bounce
endif

onbutton 3
src.newitem i_potion_curegreat
sysmessage= @049 10 Adet Cure Potion Aldiniz...
src.act.amount 10
src.act.bounce
endif

onbutton 4
src.newitem i_potion_refreshtotal
sysmessage= @049 10 Adet Refreshtotal Potion Aldiniz...
src.act.amount 10
src.act.bounce
endif

onbutton 1
src.newitem i_bandage,100
sysmessage= @049 100 Adet Clean Bandage Aldiniz...
src.act.bounce
endif

onbutton 5
src.newitem i_shrink_deed
sysmessage= @049 Shrink Potion Aldiniz...
src.act.bounce
endif

onbutton 6
src.newitem i_trappedpouch
sysmessage= @049 5 Adet Trapped Pouch Aldiniz...
src.act.bounce
src.act.dupe 4
endif

onbutton 8
src.newitem i_full_spellbook
sysmessage= @049 1 Adet Full Spellbook Aldiniz...
src.act.bounce
endif

onbutton 6
src.newitem i_potion_bleed
sysmessage= @049 1 Adet Bleed Potion Aldiniz...
src.act.amount 1
src.act.bounce
endif

onbutton 10
src.newitem i_potion_agilitygreat
sysmessage= @049 10 Adet Great Agility Potion Aldiniz...
src.act.amount 10
src.act.bounce
endif

onbutton 9
src.newitem i_potion_nightsight
sysmessage= @049 10 Adet Nightsight Potion Aldiniz...
src.act.amount 10
src.act.bounce
endif

onbutton 11
src.newitem i_arrow
sysmessage= @049 100 Adet Arrow Aldiniz...
src.act.bounce
src.act.amount 100
endif

[EOF]

şimdiden yardımlarınız için teşekkürler.
Yeni Başlamışsınız Galiba Script Olaylarıyla Uğraşmaya :) Buyrun.

[ITEMDEF i_item_stone2]
DEFNAME=i_item_stone2
ID=3796
NAME=Potion Stone

ON=@create
color=0810
type=0
attr=attr_move_never
timer 1

ON=@click
message @0481 Other Stone
return 1

ON=@dclick
src.dialog d_action
return 1

[dialog d_action]
50,50
nomove

resizepic 220 10 3500 260 350
resizepic 250 50 3000 200 270

text 270 25 049 0
text 290 60 049 1
text 290 80 049 2
text 290 100 049 3
text 290 120 049 4
text 290 140 049 5
text 290 160 049 6
text 290 180 049 7
text 290 200 049 8
text 290 220 049 9
text 290 240 049 10
text 290 260 049 11
text 290 280 049 12
text 290 300 049 13



button 270 60 55 56 1 0 1
button 270 80 55 56 1 0 2
button 270 100 55 56 1 0 3
button 270 120 55 56 1 0 4
button 270 140 55 56 1 0 5
button 270 160 55 56 1 0 6
button 270 180 55 56 1 0 7
button 270 200 55 56 1 0 8
button 270 220 55 56 1 0 9
button 270 240 55 56 1 0 10
button 270 260 55 56 1 0 11
button 270 280 55 56 1 0 12
button 270 300 55 56 1 0 13 
button 340 325 56 55 1 0 14 


[dialog d_action text]
<serv.name> Menu
100 Bandaj
Great Heal Potion
Great Cure Potion
Total Ref Potion
Shrink Potion
Bleed Potion
Trapped Pouch [tp]
Full Spellbook
Nightsight Poti.
Great Agility Poti.
100 Arrow
100 Cloth
100 Bolt

[dialog d_action button]

onbutton 0
src.sysmessage @0841 Other Menu'yu Kapattiniz...

onbutton 13
src.newitem i_xbolt
sysmessage= @049 100 Adet Bolt Aldiniz...
src.act.amount 100
src.act.bounce
endif

onbutton 12
src.newitem i_cloth
sysmessage= @049 100 Adet Cloth Aldiniz...
src.act.amount 100
src.act.bounce
endif

onbutton 2
src.newitem i_potion_healgreat
sysmessage= @049 10 Adet Great Heal Potion Aldiniz...
src.act.amount 10
src.act.bounce
endif

onbutton 3
src.newitem i_potion_curegreat
sysmessage= @049 10 Adet Cure Potion Aldiniz...
src.act.amount 10
src.act.bounce
endif

onbutton 4
src.newitem i_potion_refreshtotal
sysmessage= @049 10 Adet Refreshtotal Potion Aldiniz...
src.act.amount 10
src.act.bounce
endif

onbutton 1
src.newitem i_bandage,100
sysmessage= @049 100 Adet Clean Bandage Aldiniz...
src.act.bounce
endif

onbutton 5
src.newitem i_shrink_deed
sysmessage= @049 Shrink Potion Aldiniz...
src.act.bounce
endif

onbutton 7
src.newitem i_trappedpouch
sysmessage= @049 5 Adet Trapped Pouch Aldiniz...
src.act.bounce
src.act.dupe 4
endif

onbutton 8
src.newitem i_full_spellbook
sysmessage= @049 1 Adet Full Spellbook Aldiniz...
src.act.bounce
endif

onbutton 6
src.newitem i_potion_bleed
sysmessage= @049 1 Adet Bleed Potion Aldiniz...
src.act.amount 1
src.act.bounce
endif

onbutton 10
src.newitem i_potion_agilitygreat
sysmessage= @049 10 Adet Great Agility Potion Aldiniz...
src.act.amount 10
src.act.bounce
endif

onbutton 9
src.newitem i_potion_nightsight
sysmessage= @049 10 Adet Nightsight Potion Aldiniz...
src.act.amount 10
src.act.bounce
endif

onbutton 11
src.newitem i_arrow
sysmessage= @049 100 Adet Arrow Aldiniz...
src.act.bounce
src.act.amount 100
endif

[EOF]
teşekkürler kardeş oldu.

Üye Ol veya Giriş Yap

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