Jump to content
Forumu Destekleyenlere Katılın ×
Paticik Forumları
2000 lerden beri faal olan, çok şukela bir paylaşım platformuyuz. Hoşgeldiniz.

events ile alakali


Sado

Öne çıkan mesajlar

arkadaşlar bu eventsler neden calişmiyor acaba bir bilgisi olan varmi...


[events e_pazar]
On=@GetHit
events -e_pazar
return 0
if !()
serv.newitem i_stoner
src.act.equip
endif
return 1

On=@SkillStart
events -e_pazar
return 0
if !() && (( == id(skill_snooping)) || ( == skill_snooping) || ( == id(skill_stealing)) || ( == skill_stealing))
serv.newitem i_stoner
src.act.equip
return 1
endif

[events e_delucia]
On=@GetHit
if ()
if !()
serv.newitem i_stoner
src.act.equip
endif
return 1
endif
if ( > 5) && ()
if !()
serv.newitem i_stoner
src.act.equip
endif
return 1
endif

On=@SpellCast
if !(( == 32) || ( == 45) || ( == 52) || ( == 6) || ( == 2) || ( == 4) || ( == 7) || ( == 9) || ( == 10) || ( == 11) || ( == 15) || ( == 16) || ( == 17) || ( == 36) || ( == 59) || ( == 41))
f_fizzle
return 1
endif

On=@SkillStart
if !() && (( == id(skill_snooping)) || ( == skill_snooping) || ( == id(skill_stealing)) || ( == skill_stealing))
src.newitem i_stoner
src.act.equip
return 1
endif
Link to comment
Sosyal ağlarda paylaş

Bunlar region eventleri playerlara vermen lazim. Onun için
map.scp de delucia yi bulcaksin mesala EVENTS=r_delucia_yasak

sonra region.scp ne gir sole yap

[regiontype r_delucia_yasak]
on=@step
src.events +e_delucia
return 1

on=@enter
src.events +e_delucia
return 1

on=@exit
src.events -e_delucia
return 1

gibisinden yapcaksin[signature][hline]Requem UO Shard - Armi
Requem Uo Shardı
Link to comment
Sosyal ağlarda paylaş

valla aynen böle degiştirdim.

evenst.scp icinde


[events e_pazar]
On=@GetHit
events -e_pazar
return 0
if !()
src.newitem i_stoner
src.act.equip
endif
return 1

On=@SkillStart
events -e_pazar
return 0
if !() && (( == id(skill_snooping)) || ( == skill_snooping) || ( == id(skill_stealing)) || ( == skill_stealing))
src.newitem i_stoner
src.act.equip
return 1
endif

[events e_delucia]
On=@GetHit
if ()
if !()
src.newitem i_stoner
src.act.equip
endif
return 1
endif
if ( > 5) && ()
if !()
src.newitem i_stoner
src.act.equip
endif
return 1
endif

On=@SpellCast
if !(( == 32) || ( == 45) || ( == 52) || ( == 6) || ( == 2) || ( == 4) || ( == 7) || ( == 9) || ( == 10) || ( == 11) || ( == 15) || ( == 16) || ( == 17) || ( == 36) || ( == 59) || ( == 41))
f_fizzle
return 1
endif

On=@SkillStart
if !() && (( == id(skill_snooping)) || ( == skill_snooping) || ( == id(skill_stealing)) || ( == skill_stealing))
src.newitem i_stoner
src.act.equip
return 1
endif

map.scp icinde

[AREADEF a_marble_island_1]
NAME=Marble Island
FLAGS=080
P=1903,2100
RECT=1830,2050,1990,2160
EVENTS=r_default_rock,r_default_water,r_default_trees,r_events_pazar

region.scp icinde

[regiontype r_delucia]
On=@Enter
if !()
if ( < 6)
if (0 < 2)
var.smsgx 020
smsgx Calimport'un guclu buyu duvarlari sebebiyle girisiniz engellendi.
src.go 5249 3918 28
endif
else
if (0 < 2)
if ()
src.findid.i_rune_poison.remove
endif
src.events +e_delucia
endif
endif
endif

On=@Exit
src.events -e_delucia

On=@Step
if !()
if ( < 6)
if (0 < 2)
src.go 5249 3918 28
endif
endif
endif

[regiontype r_events_pazar]
On=@Enter
if !()
src.events +e_pazar
if ()
src.findid.i_rune_poison.remove
endif
endif

On=@Exit
src.events -e_pazar

buyrun aynen böle ama calişmiyo bu icatlar.
Link to comment
Sosyal ağlarda paylaş

region da sorun var sanirim dedigin gibi baştan yolluyorum simdi.


[spo1=Map.scp olan kisim][AREADEF a_dark_passage_1]
NAME=Dark Passage
GROUP=ALLMAP
FLAGS=082
P=5305,1857
RECT=5297,1805,5345,1863

[AREADEF a_necro_city_1]
NAME=Necro City
GROUP=ALLMAP
FLAGS=031a1
P=5951,319,0,250
RECT=5902,263,6007,374
EVENTS=r_necro

[AREADEF a_marble_island_1]
NAME=Marble Island
FLAGS=083
P=1903,2100
RECT=1830,2050,1990,2160
EVENTS=r_events_pazar,r_bucs_den

[AREADEF a_pasifler_diyari_1]
NAME=Pasifler Diyari
P=1064,3117
RECT=1016,3079,1184,3231
EVENTS=r_default_rock,r_default_water,r_default_trees

[AREADEF a_britain_territory_1]
NAME=Britain Territory
GROUP=ALLMAP
P=1261,1666
RECT=1157,1391,1790,2048
RECT=925,1503,1158,2047
RECT=1152,1170,2126,1397
EVENTS=r_default_rock,r_default_water,r_default_trees

[AREADEF a_minoc_territory_1]
NAME=Minoc Territory
GROUP=Minoc
P=2623,466,14
RECT=2389,2,2723,628
RECT=2464,628,2723,708
RECT=2280,1,2389,232
RECT=2723,2,2809,572
EVENTS=r_default_rock,r_default_water,r_default_trees

[AREADEF a_serpents_hold_territory_1]
NAME=Serpent's Hold Territory
GROUP=Serpent's Hold
FLAGS=080
P=2863,3518,8
RECT=2717,3243,3196,3678
EVENTS=r_default_rock,r_default_water,r_default_trees

[AREADEF a_townSerphold]
NAME=Serpent's Hold
GROUP=Serpent's Hold
FLAGS=0180
P=3010,3371,15
RECT=2930,3337,3068,3485
RECT=3051,3331,3074,3357
RECT=2867,3388,2931,3524
RECT=2931,3485,3028,3542
RECT=2891,3524,2916,3534
EVENTS=r_serpents

[AREADEF a_world]
NAME=Wilderness
GROUP=ALLMAP
P=1323,1624,55,255
RECT=0,0,6144,4096
EVENTS=r_default_rock,r_default_water,r_default_trees

[AREADEF a_dungeon_1]
NAME=Dungeon
GROUP=Other Dungeons
P=6091,1313,15
RECT=6057,1285,6137,1327

[AREADEF a_special_dungeon_1]
NAME=Special Dungeon
GROUP=Other Dungeons
FLAGS=0d9e
P=5156,1508
RECT=5125,1409,5372,1516

[ROOMDEF a_dungeon_2]
NAME=Dungeon
GROUP=Other Dungeons
P=5296,1905,0,250
RECT=5259,1873,5333,1937

[ROOMDEF a_dungeon_3]
NAME=Dungeon
GROUP=Other Dungeons
P=5230,1963,0,250
RECT=5194,1942,5266,1984

[ROOMDEF a_dungeon_4]
NAME=Dungeon
GROUP=Other Dungeons
P=5304,2012
RECT=5265,1987,5363,2045

[ROOMDEF a_dungeon_5]
NAME=Dungeon
GROUP=Other Dungeons
P=5217,2024,0,250
RECT=5185,2006,5249,2042

[ROOMDEF a_dungeon_6]
NAME=Dungeon
GROUP=Other Dungeons
P=5144,1982,0,250
RECT=5131,1945,5162,2021

[ROOMDEF a_dungeon_7]
NAME=Dungeon
GROUP=Other Dungeons
P=5185,1940
RECT=5172,1876,5222,1919

[ROOMDEF a_dungeon_8]
NAME=Dungeon
GROUP=Other Dungeons
P=5144,1879
RECT=5126,1863,5171,1917

[ROOMDEF a_dungeon_9]
NAME=Dungeon
GROUP=Other Dungeons
P=5221,1862
RECT=5200,1813,5271,1865

[ROOMDEF a_dungeon_10]
NAME=Dungeon
GROUP=Other Dungeons
P=5164,1829
RECT=5130,1810,5169,1847

[ROOMDEF a_dungeon_11]
NAME=Dungeon
GROUP=Other Dungeons
P=5268,1755
RECT=5244,1748,5276,1780

[ROOMDEF a_dungeon_12]
NAME=Dungeon
GROUP=Other Dungeons
P=5212,1748
RECT=5197,1725,5227,1763

[ROOMDEF a_dungeon_13]
NAME=Dungeon
GROUP=Other Dungeons
P=5187,1777
RECT=5179,1765,5228,1788

[AREADEF a_dungeon_14]
NAME=Dungeon
GROUP=Other Dungeons
P=5951,447,22
RECT=5895,392,6008,502

[AREADEF a_dungeon_15]
NAME=Dungeon
GROUP=Other Dungeons
P=6079,447,0,250
RECT=6027,391,6132,504

[AREADEF a_dungeon_16]
NAME=Dungeon
GROUP=Other Dungeons
P=6078,317,0,250
RECT=6020,260,6137,374

[AREADEF a_dungeon_17]
NAME=Dungeon
GROUP=Other Dungeons
P=5505,446,0,250
RECT=5380,384,5631,509

[AREADEF a_dungeon_18]
NAME=Dungeon
GROUP=Other Dungeons
P=5504,322,0,250
RECT=5381,262,5628,382

[ROOMDEF a_xroom_1]
NAME=XRoom
GROUP=Cove
P=2582,1118,0,204
RECT=2581,1117,2584,1120

[ROOMDEF a_house_1]
NAME=House
GROUP=Minoc
FLAGS=04000
P=2484,472,0,204
RECT=2479,463,2489,481
RECT=2489,471,2497,481

[AREADEF a_bank_1]
NAME=Bank
GROUP=Minoc
P=2504,552,0,204
RECT=2495,543,2513,561

[ROOMDEF a_house_2]
NAME=House
GROUP=Minoc
P=2422,498,0,204
RECT=2417,493,2427,503

[ROOMDEF a_house_3]
NAME=House
GROUP=Minoc
P=2421,483,0,204
RECT=2416,478,2426,488

[ROOMDEF a_house_4]
NAME=House
GROUP=Minoc
P=2420,472,0,204
RECT=2415,467,2425,477

[ROOMDEF a_house_5]
NAME=House
GROUP=Minoc
P=2430,440,44
RECT=2426,426,2436,444
RECT=2436,435,2444,444

[ROOMDEF a_cave_1]
NAME=Cave
GROUP=Mines & Caves
P=1903,365,0,204
RECT=1887,354,1920,377

[ROOMDEF a_cave_2]
NAME=Cave
GROUP=Mines & Caves
FLAGS=0880
P=1934,316,0,204
RECT=1925,307,1943,325

[AREADEF a_exit_from_temple_eelucia_1]
NAME=Exit from Temple E of Delucia
GROUP=T2A Entrances & Exits
FLAGS=080
P=5906,4071,26
RECT=5905,4068,5908,4071

[AREADEF a_exit_from_swelucia_1]
NAME=Exit from SW of Delucia
GROUP=T2A Entrances & Exits
FLAGS=080
P=5151,4062,37
RECT=5147,4060,5153,4068

[ROOMDEF a_jhelom_docks_se_1]
NAME=Jhelom Docks SE
GROUP=Jhelom
FLAGS=080
P=1502,3989,-3
RECT=1499,3978,1524,4002

[ROOMDEF a_pearlhelom_1]
NAME=Pearl
Link to comment
Sosyal ağlarda paylaş

valla o kadar cok script gondermissinki inceleyemedim. simdi ilk oncelikle seyi kontrol et, map.scp'inin icinde jail kisminda bulunan tevent'lar var. burada yukarida yazdigin regiontype'lar mevcutmu ilk once ona bak bi. eger yukardaki regiontype'lar mevcut degilse zaten event'i vermez, otomatikmanda calismaz. bi ornek yazayim kisaca.

said:

[regiontype r_jail] // bunu map.scp'in icinde jail kismina yaziyoruz.
on=@enter
src.events +e_jailled

on=@exit
src.events -e_jailled

[events e_jailled]
on=@gethit
serv.newitem i_stoner
new.equip


ahanda bu kadar.

[edit: duzenleme]
[signature][hline]Hirsizlik yapmayin, hukumetler rekabetten hoslanmaz.

[Bu mesaj Math- tarafından 26 Temmuz 2005 11:05 tarihinde değiştirilmiştir]
Link to comment
Sosyal ağlarda paylaş

×
×
  • Yeni Oluştur...