[comment Hazine Sistemi]
Tarih: 19 Nisan 2009
Saat: 01:40
Sure: 4 saat
Yazan: Basic
//////////////////////////////////Noir Icin Basic Tarafindan Kodlanmistir.
//////////////////////////////////İsteyen kullanabilir
//////////////////////////////////Hala stabil değildir neden bilmiyorum :((
[defname treasure]
//Level 1/ok
treasureposit1 2254,801
treasurepositx1 2254
treasureposity1 801
treasurenote1 Yesillikler arasinda col vardi ve orayi gectim...
//
//Level 1/ok
treasureposit2 5483,599,45
treasurepositx2 5483
treasureposity2 599
treasurenote2 Despise 1. seviye civarlarindayim...
//
//Level 5/ok
treasureposit3 5184,1007
treasurepositx3 5184
treasureposity3 1007
treasurenote3 Destard 2. Seviye civarlarinda.
//Level 5/ok
treasureposit4 2171,1355
treasurepositx4 2171
treasureposity4 1355
treasurenote4 Hazine Cove Orc Camp civarlarinda...
///Level 2/ok
treasureposit5 5951,292,22
treasurepositx5 5951
treasureposity5 292
treasurenote5 Hytlothda teleporteri gecince...
///
///Level 4/ok
treasureposit6 1163,2169
treasurepositx6 1163
treasureposity6 2169
treasurenote6 Hmm bir labirent... Britain civarlarinda...
//Level 2/ok
treasureposit7 2128,3928
treasurepositx7 2128
treasureposity7 3928
treasurenote7 Jhelom limandan east e dogru gittim ve bir ada...
//
//Level 4/ok
treasureposit8 850,1005
treasurepositx8 850
treasureposity8 1005
treasurenote8 Yew Civarlarindayim...
//Level3/ok
treasureposit9 2573,890
treasurepositx9 2573
treasureposity9 890
treasurenote9 Cove Daglarinin icinde bir madenin yanin....
//
//Level 3/ok
treasureposit10 5440,1956
treasurepositx10 5440
treasureposity10 1956
treasurenote10 Covetousun icindeyim...
//
//Level 6/ok
treasureposit11 5781,2871
treasurepositx11 5781
treasureposity11 2871
treasurenote11 Krakenler var yanimda. Fire Dungeon cikisinin orda.
//
//Level 6
treasureposit12 5824,1464
treasurepositx12 5824
treasureposity12 1464
treasurenote12 Fire Dungeon'da bir mezarligin icindeyim...
//
//[function positionfix]
//local.xx <src.p>
//local.arr1 <f_array <local.xx>, 1>
//local.arr2 <f_array <local.xx>, 2>
//sys_error <dlocal.arr1>,<dlocal.arr2>,<serv.map(<dlocal.arr1>,<dlocal.arr2>,0).terrain.z>
[itemdef i_Bottle_treasure]
id i_bottle
name Treasure Bottle
type t_script
on=@create
dorand 9
dispid i_bottle
dispid i_bottle_2
dispid i_bottle_3
dispid i_bottle_4
dispid i_bottle_5
dispid i_bottle_6
dispid i_bottle_7
dispid i_bottle_8
dispid i_bottle_9
enddo
on=@dclick
if !(<topobj.uid> == <src.uid>)
src.sys_error Sadece cantanizda acabilirsiniz.
return 1
endif
src.newitem i_map_treasure
new.bounce
src.message @0456,,1 #Siseyi Kirar#
remove
return 1
[itemdef i_map_treasure]
id i_map
name Treasure Map
type t_script
on=@click
if (<tag0.opened> == 1)
message @0456,1,1 [Defined, Level: <dtag.treasurelevel>]
else
message @0456,1,1 [Undefined]
endif
on=@create
tag.defined 0
dorand 10
begin
tag.treasureposit <def.treasureposit1>
tag.treasurepositx <def.treasurepositx1>
tag.treasureposity <def.treasureposity1>
tag.treasurenote <def.treasurenote1>
tag.treasurelevel 1
tag.treasuresign 1
end
begin
tag.treasureposit <def.treasureposit2>
tag.treasurepositx <def.treasurepositx2>
tag.treasureposity <def.treasureposity2>
tag.treasurenote <def.treasurenote2>
tag.treasurelevel 1
tag.treasuresign 2
end
begin
tag.treasureposit <def.treasureposit3>
tag.treasurepositx <def.treasurepositx3>
tag.treasureposity <def.treasureposity3>
tag.treasurenote <def.treasurenote3>
tag.treasurelevel 5
tag.treasuresign 1
end
begin
tag.treasureposit <def.treasureposit4>
tag.treasurepositx <def.treasurepositx4>
tag.treasureposity <def.treasureposity4>
tag.treasurenote <def.treasurenote4>
tag.treasurelevel 5
tag.treasuresign 2
end
begin
tag.treasureposit <def.treasureposit5>
tag.treasurepositx <def.treasurepositx5>
tag.treasureposity <def.treasureposity5>
tag.treasurenote <def.treasurenote5>
tag.treasurelevel 2
tag.treasuresign 1
end
begin
tag.treasureposit <def.treasureposit6>
tag.treasurepositx <def.treasurepositx6>
tag.treasureposity <def.treasureposity6>
tag.treasurenote <def.treasurenote6>
tag.treasurelevel 4
tag.treasuresign 1
end
begin
tag.treasureposit <def.treasureposit7>
tag.treasurepositx <def.treasurepositx7>
tag.treasureposity <def.treasureposity7>
tag.treasurenote <def.treasurenote7>
tag.treasurelevel 2
tag.treasuresign 2
end
begin
tag.treasureposit <def.treasureposit8>
tag.treasurepositx <def.treasurepositx8>
tag.treasureposity <def.treasureposity8>
tag.treasurenote <def.treasurenote8>
tag.treasurelevel 4
tag.treasuresign 2
end
begin
tag.treasureposit <def.treasureposit9>
tag.treasurepositx <def.treasurepositx9>
tag.treasureposity <def.treasureposity9>
tag.treasurenote <def.treasurenote9>
tag.treasurelevel 3
tag.treasuresign 1
end
begin
tag.treasureposit <def.treasureposit10>
tag.treasurepositx <def.treasurepositx10>
tag.treasureposity <def.treasureposity10>
tag.treasurenote <def.treasurenote10>
tag.treasurelevel 3
tag.treasuresign 2
end
enddo
on=@dclick
//src.sysmessage <src.p.x> | <dlocal.arr1>
//src.sysmessage <src.p.y> | <dlocal.arr2> ///Burası array ayarı function sizde yoksa // leri kaldırmayınız
//local.xx <tag.treasureposit>
//local.arr1 <f_array <local.xx>, 1>
//local.arr2 <f_array <local.xx>, 2>
//if ((<src.p.x> == <dlocal.arr1>) && (<src.p.y> == <dlocal.arr2>))
//
//endif
if (<src.tag0.yeter> > 0)
src.sys_error Yeni bir hazine icin 10 dakika beklemelisiniz.
return 1
endif
if (<tag.defined> > 0)
src.sys_error Bu hazine coktan bulunmusdur.
return 1
endif
//////Bulunma kismi\\\\\\\\\\\
if (<src.p.x> == <dtag.treasurepositx>) && (<src.p.y> == <dtag.treasureposity>) && (<dtag.treasurelevel> > 5)
serv.newnpc=c_rot
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_rot
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_rot
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_rot
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_kraken
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_kraken
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_orc_bomber
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_rot
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_liche_lord
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_balron
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_balron
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_balron
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_balron
new.tag.link <uid>
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.findlayer.21.remove
new.events +e_treasure_monster
src.tag.yeter 1
src.timerf 600,tag.yeter 0
src.arrowquest 0
tag.defined 1
return 1
endif
if (<src.p.x> == <dtag.treasurepositx>) && (<src.p.y> == <dtag.treasureposity>)
serv.newnpc=c_rot
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_rot
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_liche_lord
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
serv.newnpc=c_m_kraken
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_kraken
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_kraken
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.events +e_treasure_mons
serv.newnpc=c_m_balron
new.p=<tag.treasureposit>
new.fix
new.home=<new.p>
new.homedist 1
new.findlayer.21.remove
new.events +e_treasure_monster
new.tag.link <uid>
new.tag.link <uid>
new.tag.link <uid>
src.tag.yeter 1
src.timerf 600,tag.yeter 0
src.arrowquest 0
tag.defined 1
return 1
endif
if (<dtag.treasurelevel> == 6)
if (<src.cartography> < 100.0)
src.sys_error Bu Haritayi acmak icin Cartography yeteneginizin 100.0 olmasi gerekmektedir.
return 1
endif
endif
if (<src.cartography> < (<dtag.treasurelevel>*20.0)) && !(<dtag.treasurelevel> == 6)
src.sys_error Bu haritayi acmak icin cartography yeteneginizin <eval (<dtag.treasurelevel>*20)>.0 olmasi gerekmektedir.
return 1
endif
if !(<topobj.uid> == <src.uid>)
src.sys_error Sadece cantanizda acabilirsiniz.
return 1
endif
tag.opened 1
src.tag.mapuid <uid>
//src.tag.maplevel <tag.treasurelevel>
src.sdialog d_treasure
return 1
[events e_treasure_monster]
on=@death
act.sys_normal Artik Hazineyi Cikartabilirsiniz.
serv.newitem i_multi_altar
new.p <uid.<tag.link>.tag.treasureposit>
new.type t_treasure_altar
new.attr 010
new.link <tag.link>
new.timerf 600,remove
on=@spelleffect
if (<argn> == 28) || (<argn> == 39)
say_okay *Etkilenmez*
return 1
endif
[typedef t_treasure_altar]
on=@dclick
serv.newitem treasure_<link.dtag.treasurelevel>
new.p <p>
new.type t_chest_treasure
remove
return 1
[events e_treasure_mons]
on=@spelleffect
if (<argn> == 28) || (<argn> == 39)
say_okay *Guclenir*
str +=5
return 1
endif
[dialog d_treasure]
10,50
nomove
resizepic 0 0 5150 500 250
dtext 50 70 0 <uid.<src.tag.mapuid>.tag.treasurenote>
dtext 50 120 0 Position: <uid.<src.tag.mapuid>.tag.treasureposit>
dtext 50 200 0 Level: <uid.<src.tag.mapuid>.dtag.treasurelevel>
button 250 130 55 56 1 0 1
button 250 180 55 56 1 0 2
dtext 275 130 0 Aramayi Baslat
dtext 275 180 0 Aramayi Iptal Et
[dialog d_treasure button]
on 1
arrowquest <uid.<src.tag.mapuid>.tag.treasureposit>
sys_normal <uid.<src.tag.mapuid>.tag.treasureposit> kordinatlarina yonlendiriliyorsunuz...
on 2
arrowquest 0
sys_normal Aramayi iptal ettiniz...
[typedef t_chest_treasure]
on=@create
attr 010
timer 60
on=@dclick
attr 010
src.sys_error Lockpick ile acabilirsiniz...
return 1
on=@timer
remove
[template treasure_1]
name Treasure Chest
container i_chest_metal
item i_hooded_shroud
item i_ozu_agac
item i_gem_tourmaline, {5 10}
item i_gold, {10000 15000}
item i_bottle_treasure,R5
item i_yumurta,R40
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
[template treasure_2]
name Treasure Chest
container i_chesT_metal
item random_weapon_ruin
item i_gem_tourmaline, {10 20}
item i_gold, {15000 25000}
item random_wand_six
item random_wand_five
item random_wand_three
item i_ozu_Agac
item i_elven_Washbasin_we,R3
item i_elven_sarmorie_sn,R3
item i_elven_dresser_we,R3
item i_sconce
item i_brazier_tall,R3
item i_runebook,R3
item i_full_spellbook,R3
item {random_swordtype_ruin 1 random_fencingtype_ruin 1 random_macetype_ruin 1 },R3
item random_robe_magic,R10
item random_mg_magic,R10
item i_yumurta,R30
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
[template treasure_3]
name Treasure Chest
container i_chest_metal
item i_gold, {25000 35000}
item random_weapon_might
item tm_bag_of_magic
item i_ozu_Agac
item i_pedestal_marble,R5
item i_gem_tourmaline, {20 30}
item i_bust_Stone_small,R3
item {random_swordtype_might 1 random_fencingtype_might 1 random_macetype_might 1 },R3
item random_robe_magic,R7
item random_mg_magic,R7
item i_yumurta,R20
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
[template treasure_4]
name Treasure Chest
container i_chest_metal
item random_wand_eight
item random_wand_eight
item random_weapon_force
item i_ozu_Agac
item i_ozu_Agac,R5
item i_gold, {35000 45000}
item i_gem_tourmaline, {30 40}
item i_disturbing_portrait,R5
item i_disturbing_portrait_ns,R5
item {random_swordtype_force 1 random_fencingtype_force 1 random_macetype_force 1 },R3
item random_robe_magic,R5
item random_mg_magic,R5
item i_yumurta,R15
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
[template treasure_5]
name Treasure Chest
Container i_chest_metal
item i_bone_table, R7
item 02a7c, R7
item i_ozu_Agac
item i_ozu_Agac
item i_ozu_Agac,R5
item i_mounted_pixie_3,R7
item i_gem_tourmaline, {40 50}
item i_gold,{45000 65000}
item i_rare_Dye
color {07a1 0880 0881}
item {01e49 1 01e4a 1 01e4b 1 01e4c 1 01e4d 1 01e4e 1 01e4f 1 01e50 1 01e51 1 01e53 1 01e54 1 01e55 1 01e56 1 01e57 1 01e58 1 01e59 1 01e5a 1 01e5b 1 }
item i_runebook
item random_robe_magic,R2
item random_mg_magic,R2
item random_weapon_vanq,R3
item random_weapon_power,R2
item {random_swordtype_power 1 random_fencingtype_power 1 random_macetype_power 1 },R5
item i_yumurta,R10
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
[template treasure_6]
name Treasure Chest
container i_chest_metal
item random_weapon_vanq
item random_weapon_power
item i_ozu_Agac
item i_ozu_Agac
item i_ozu_Agac
item i_ozu_Agac,R5
item random_robe_magic
item random_mg_magic
item {random_swordtype_vanq 1 random_fencingtype_vanq 1 random_macetype_vanq 1 },R3
item i_gold,{45000 65000}
item i_gold,{45000 65000}
item i_gem_tourmaline, {10 100}
item i_reag_dead_wood, {1 5}
item i_ingot_blackrock, {5 10}
item i_ingot_bloodrock, {5 10}
item i_yumurta,R5
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
item i_bag
//////////////////Herkese teşekkürler.
Total votes: 0
Ultima Online 1 gün önce
Sphere Scripting 4 gün önce
Ultima Online 4 gün önce
Ultima Online 1 hafta önce
Duyurular 2 hafta önce
Sunucular 3 hafta önce
Ultima Online 3 hafta önce
Ultima Online 3 hafta önce
Ultima Online 1 ay önce
Ultima Online 1 ay önce
Sunucular 1 ay önce
Sunucular 1 ay önce
2024-10-31 22:47
2024-10-14 17:45
2024-09-26 14:21
2024-07-08 22:50
2024-07-08 22:34
2024-06-19 22:05
2024-06-01 02:19
2024-05-31 21:17
Yorumlar (0)