/////////////////////////////////////////////////////\|
////Suicide,PvP Duyuru Sistemi
////Son Güncelleme; 31.12.2005
////Scripti Yapan; Suicide
//// En Son Editleyen: Comrade
////Güncelleme Nedeni;Canım İstedi ;)
/////////////////////////////////////////////////////\|
[function binekolmasin]
if (<findlayer.25>)
tag.binekid <findlayer.25.more1> //binegin id'ini tagladik
tag.binekkarma <uid.<findlayer.25.more2>.karma> //karmayi tagladik
tag.binekfame <uid.<findlayer.25.more2>.fame> //famei tagladik
tag.binekfood <uid.<findlayer.25.more2>.food> //kargoda beslemiyoruz :)
tag.binekcolor <uid.<findlayer.25.more2>.color> //bunuda alalim bari
tag.binekname <findlayer.25.name> //isimini bi kenara not aldik
serv.newitem i_binek_hafiza //Kadro-tr Kargo'da onay formunu aliyoruz
new.tag.name <tag.binekname> //Kargoya verilen hayvanin kayitlarini
new.tag.fame <tag.binekfame> //forma
new.tag.karma <tag.binekkarma> //eksiksiz
new.tag.food <tag.binekfood> //dolduruyoruz
new.tag.binekid <tag.binekid> //Kargo ise ucret almadan
new.color <tag.binekcolor>
new.cont <findlayer(29).uid> //adrese yolluyor
new.more2 1
findlayer.25.remove
else
return 1
endif
[itemdef i_binek_hafiza]
id i_deed
type t_normal
weight 20.0
name Pentagram Kargo
on=@click
if (<more2>
message <name> - <tag.name>
return 1
else
message <name>
return 1
endif
on=@dclick
if (<more2>)
try src.newnpc <tag.binekid> //Taze binek
link <src.act.uid> //linkleyelimki kaybolmasin :)
link.name <tag.name> //
link.karma <tag.karma> //Genel ayarlar
link.fame <tag.fame> //
link.food <tag.food>
link.color <color>
//burdan sonrasi binegin sahibi olmaniz için.
//animal deed den alintidir.
link.memorydel <src.uid>
link.newitem i_memory
link.act.attr 04
link.act.more1 04
link.act.more2 <serv.time>
link.act.morep <link.p>
link.act.color memory_ipet
link.act.timer -1
link.act.link <src.uid>
link.act.cont <link.uid>
link.flags <link.flags>&statf_pet
link.update
link.anim 5
link.bark 3
link.message @1156 Pentagram Kargo'ya Tesekkurler
remove
return 1
else
return1
endif
//////////////////////////////////
[function pvpduyuruluyor]
serv.newitem i_pvpduyursanaaq
new.equip
[itemdef i_pvpduyursanaaq]
name Pvp duyuruyom
type t_eq_script
weight 0
on=@equip
src.dialog d_pvpinfo
remove
//////////////////////////////////
[function pvpbittir]
var.katilanlar 0
var.reddedenler 0
serv.allclients TAG.pwpkatildim 0
serv.allclients TAG.pwpreddettim 0
[function dumenu]
if <var.radio1>
pvpbittir
dialog d_duyurumenu
else
var.radio1 2510
var.radio2 2511
pvpbittir
dialog d_duyurumenu
endif
[function duyuruver]
serv.allclients pvpduyuruluyor
serv.allclients sysmessage @0481,,1 <serv.name> - <var.pvsp> PvP Turnuva Duyurusu [Saat]: <var.saat>'te Basliyor [Ucret]: <var.ucret>
serv.allclients @0481,,1 [Loot]: <var.loot> - [En fazla <eval <var.maxplayer>> player] - [Itemler]: <var.itemler>
//////////////////////////////////
[dialog d_pvpinfo]
0,0
nomove
noclose
page 0
button 10 10 30 30 1 0 1
text 80 10 100 0
[dialog d_pvpinfo text]
PvP Duyurusu!
[dialog d_pvpinfo button]
onbutton 1
dialog d_pvpinfodetay
//////////////////////////////////
[dialog d_pvpinfodetay]
0,0
nomove
noclose
page 0
gumppic 10 10 39
dhtmlgump 40 15 200 20 0 0 <var.pvsp> PvP Turnuva Duyurusu
dhtmlgump 30 40 200 20 0 0 Baslangic: <var.saat>
dhtmlgump 30 65 200 20 0 0 Loot: <var.loot>
dhtmlgump 30 90 200 20 0 0 MaxPlayer: <eval <var.maxplayer>>
dhtmlgump 30 115 200 20 0 0 Itemler: <var.itemler>
dhtmlgump 30 140 200 20 0 0 Ucret: <var.ucret>
dhtmlgump 30 190 200 20 0 0 Suan Katilan: <eval <var.katilanlar>> kisi var.
dhtmlgump 30 215 200 20 0 0 Reddeden: <eval <var.reddedenler>> kisi var.
dhtmlgump 180 275 30 20 0 0 KATIL
dhtmlgump 50 275 50 20 0 0 REDDET
button 216 277 1209 1210 1 0 1
button 30 277 1209 1210 1 0 2
[dialog d_pvpinfodetay text]
[dialog d_pvpinfodetay button]
onbutton 1
IF (<SRC.TAG.pwpkatildim>==1) || (<SRC.TAG.pwpreddettim>==1)
SRC.sysmessage Daha once pwp ye katilmissin.
return 1
endif
if (<eval <var.katilanlar>> == <eval <var.maxplayer>>)
src.sysmessage Limit Dolmustur.Uzgunum
else
sysmessage Katildim
binekolmasin
stone 1
hits <src.str>
go 5446.1159
events +e_pewpe
tag.pewpe 1
sysmessage @0795 Pwp Yarismasina girmis bulunmaktasiniz.
var.katilanlar (<eval <var.katilanlar>> + 1)
TAG.pwpkatildim=<EVAL <SRC.TAG.pwpkatildim>> + 1
endif
onbutton 2
IF (<SRC.TAG.pwpreddettim>==1) || (<SRC.TAG.pwpkatildim>==1)
SRC.sysmessage Daha once pwp'yi Reddetmissiniz
return 1
else
sysmessage Katilmadim
var.reddedenler (<eval <var.reddedenler>> + 1)
TAG.pwpreddettim=<EVAL <SRC.TAG.pwpreddettim>> + 1
endif
//////////////////////////////////
[dialog d_duyurumenu]
0,0
page 0
gumppic 48 10 5151 //üst1
gumppic 218 10 5151 //üst2
gumppic 370 10 5151 //üst3
gumppic 10 48 5153 //sol
gumppic 540 48 5155 //sag
gumppic 48 48 5154 //orta1
gumppic 218 48 5154 //orta2
gumppic 370 48 5154 //orta3
gumppic 10 10 5170 //solüst
gumppic 540 10 5172 //sagüst
gumppic 10 150 5176 //solalt
gumppic 540 150 5178 //sagalt
gumppic 48 150 5157 //alt1
gumppic 218 150 5157 //alt2
gumppic 370 150 5157 //alt3
gumppic 123 250 5154 //duyuruorta1
gumppic 293 250 5154 //duyuruorta2
gumppic 123 352 5157 //alt1
gumppic 293 352 5157 //alt2
gumppic 123 212 5151 //üst1
gumppic 293 212 5151 //üst2
gumppic 85 212 5170 //solüst
gumppic 85 352 5176 //solalt
gumppic 463 212 5172 //sagüst
gumppic 463 352 5178 //sagalt
gumppic 85 250 5153 //sol
gumppic 463 250 5155 //sag
gumppic 97 153 59
gumppic 175 153 57
dhtmlgump 210 13 200 20 0 0 <serv.name> PvP Duyuru Sistemi
dhtmlgump 250 245 200 20 0 0 Duyuru Onizleme
dhtmlgump 125 275 999 20 0 0 <serv.name> - <var.pvsp> PvP Duyurusu [Saat]: <var.saat> [Ucret]: <var.ucret>
dhtmlgump 125 300 999 20 0 0 [Loot]: <var.loot> - [En fazla <eval <var.maxplayer>> player] - [Itemler]: <var.itemler>
dhtmlgump 30 40 60 20 0 0 Loot
dhtmlgump 120 40 60 20 0 0 Var
dhtmlgump 213 40 60 20 0 0 Yok
dhtmlgump 30 60 60 20 0 0 Itemler
dhtmlgump 120 60 60 20 0 0 Bizden
dhtmlgump 213 60 60 20 0 0 Onlardan
dhtmlgump 30 100 60 20 0 0 Ucret
dhtmlgump 120 100 60 20 0 0 Ucretsiz
dhtmlgump 213 100 60 20 0 0 10k
dhtmlgump 306 100 60 20 0 0 25k
dhtmlgump 399 100 60 20 0 0 50k
dhtmlgump 30 80 60 20 0 0 MaxPlayer
dhtmlgump 120 80 60 20 0 0 16
dhtmlgump 213 80 60 20 0 0 32
dhtmlgump 306 80 60 20 0 0 64
dhtmlgump 30 120 60 20 0 0 PvsP
dhtmlgump 120 120 60 20 0 0 1vs1
dhtmlgump 213 120 60 20 0 0 2vs2
dhtmlgump 306 120 60 20 0 0 3vs3
dhtmlgump 399 120 60 20 0 0 4vs4
dhtmlgump 492 120 60 20 0 0 5vs5
dhtmlgump 34 152 60 20 0 0 PvP Saati
gumppic 120 150 2444 //saatgirisi
dtextentry 123 150 50 20 0 1 00:00
button 525 152 1209 1210 1 0 1
dhtmlgump 475 150 50 20 0 0 Kaydet
button 450 352 1209 1210 1 0 5
dhtmlgump 400 350 60 20 0 0 Duyur!
button 500 35 2225 2225 1 0 2
button 519 35 2226 2226 1 0 3
button 537 35 2227 2227 1 0 4
group 0 //Loot
radio 100 40 <eval <var.radio1>> <eval <var.radio2>> <eval <var.lootvarsecildi>> 1
radio 190 40 <eval <var.radio1>> <eval <var.radio2>> <eval <var.lootyoksecildi>> 2
group 1 //MaxPlayer
radio 100 80 <eval <var.radio1>> <eval <var.radio2>> <eval <var.max16secildi>> 3
radio 190 80 <eval <var.radio1>> <eval <var.radio2>> <eval <var.max32secildi>> 4
radio 280 80 <eval <var.radio1>> <eval <var.radio2>> <eval <var.max64secildi>> 5
group 2//PvsP
radio 100 120 <eval <var.radio1>> <eval <var.radio2>> <eval <var.pvsp1vs1secildi>> 6
radio 190 120 <eval <var.radio1>> <eval <var.radio2>> <eval <var.pvsp2vs2secildi>> 7
radio 280 120 <eval <var.radio1>> <eval <var.radio2>> <eval <var.pvsp3vs3secildi>> 8
radio 370 120 <eval <var.radio1>> <eval <var.radio2>> <eval <var.pvsp4vs4secildi>> 9
radio 460 120 <eval <var.radio1>> <eval <var.radio2>> <eval <var.pvsp5vs5secildi>> 10
group 3//Itemler
radio 100 60 <eval <var.radio1>> <eval <var.radio2>> <eval <var.itemlerbizdensecildi>> 11
radio 190 60 <eval <var.radio1>> <eval <var.radio2>> <eval <var.itemlersizdensecildi>> 12
group 4//Ucret
radio 100 100 <eval <var.radio1>> <eval <var.radio2>> <eval <var.ucretucretsizsecildi>> 13
radio 190 100 <eval <var.radio1>> <eval <var.radio2>> <eval <var.ucret10ksecildi>> 14
radio 280 100 <eval <var.radio1>> <eval <var.radio2>> <eval <var.ucret25ksecildi>> 15
radio 370 100 <eval <var.radio1>> <eval <var.radio2>> <eval <var.ucret50ksecildi>> 16
[dialog d_duyurumenu text]
[dialog d_duyurumenu button]
onbutton 1
if (<argchk[1]> == 1)
var.loot Var
endif
if (<argchk[2]> == 1)
var.loot Yok
endif
if (<argchk[3]> == 1)
var.maxplayer 16
endif
if (<argchk[4]> == 1)
var.maxplayer 32
endif
if (<argchk[5]> == 1)
var.maxplayer 64
endif
if (<argchk[6]> == 1)
var.pvsp 1vs1
endif
if (<argchk[7]> == 1)
var.pvsp 2vs2
endif
if (<argchk[8]> == 1)
var.pvsp 3vs3
endif
if (<argchk[9]> == 1)
var.pvsp 4vs4
endif
if (<argchk[10]> == 1)
var.pvsp 5vs5
endif
if (<argchk[11]> == 1)
var.itemler Bizden
endif
if (<argchk[12]> == 1)
var.itemler Sizden
endif
if (<argchk[13]> == 1)
var.ucret Ucretsiz
endif
if (<argchk[14]> == 1)
var.ucret 10k
endif
if (<argchk[15]> == 1)
var.ucret 25k
endif
if (<argchk[16]> == 1)
var.ucret 50k
endif
////Radio secilmisler////
if (strmatch(<var.loot>,Var))
var.lootvarsecildi 1
else
var.lootvarsecildi 0
endif
if (strmatch(<var.loot>,Yok))
var.lootyoksecildi 1
else
var.lootyoksecildi 0
endif
if (<eval <var.maxplayer>>=16)
var.max16secildi 1
else
var.max16secildi 0
endif
if (<eval <var.maxplayer>>=32)
var.max32secildi 1
else
var.max32secildi 0
endif
if (<eval <var.maxplayer>>=64)
var.max64secildi 1
else
var.max64secildi 0
endif
if (strmatch(<var.pvsp>,1vs1))
var.pvsp1vs1secildi 1
else
var.pvsp1vs1secildi 0
endif
if (strmatch(<var.pvsp>,2vs2))
var.pvsp2vs2secildi 1
else
var.pvsp2vs2secildi 0
endif
if (strmatch(<var.pvsp>,3vs3))
var.pvsp3vs3secildi 1
else
var.pvsp3vs3secildi 0
endif
if (strmatch(<var.pvsp>,4vs4))
var.pvsp4vs4secildi 1
else
var.pvsp4vs4secildi 0
endif
if (strmatch(<var.pvsp>,5vs5))
var.pvsp5vs5secildi 1
else
var.pvsp5vs5secildi 0
endif
if (strmatch(<var.itemler>,Bizden))
var.itemlerbizdensecildi 1
else
var.itemlerbizdensecildi 0
endif
if (strmatch(<var.itemler>,Sizden))
var.itemlersizdensecildi 1
else
var.itemlersizdensecildi 0
endif
if (strmatch(<var.ucret>,Ucretsiz))
var.ucretucretsizsecildi 1
else
var.ucretucretsizsecildi 0
endif
if (strmatch(<var.ucret>,10k))
var.ucret10ksecildi 1
else
var.ucret10ksecildi 0
endif
if (strmatch(<var.ucret>,25k))
var.ucret25ksecildi 1
else
var.ucret25ksecildi 0
endif
if (strmatch(<var.ucret>,50k))
var.ucret50ksecildi 1
else
var.ucret50ksecildi 0
endif
var.saat <argtxt[1]>
src.sysmessage @1156,9 Duyuru Kaydedildi. Duyurulmaya Hazir...
dumenu
onbutton 2
var.radio1 56
var.radio2 55
sysmessage @1156,9 Skin 1
dumenu
onbutton 3
var.radio1 2360
var.radio2 2361
sysmessage @1156,9 Skin 2
dumenu
onbutton 4
var.radio1 2510
var.radio2 2511
sysmessage @1156,9 Skin 3
dumenu
onbutton 5
//src.go 5259,357,15
src.invis 1
src.stone 0
src.newitem i_pewpe_cikarpazar
src.act.bounce
duyuruver
//serv.allclients pvpduyuruluyor
///////// events ve itemleri //////////////
[events e_pewpe]
on=@SkillStart
if ((<action> == id(skill_stealth)) || (<action> == skill_stealth))
skill fail
sysmessage @053 Burada gizlenmek yasak.
return 1
endif
if ((<action> == id(skill_hiding)) || (<action> == skill_hiding))
skill fail
sysmessage @053 Burada gizlenmek yasak.
return 1
endif
on=@click
message @0795 [Pwp Yarismacisi]
message @0796 - <name> -
return 1
on=@death
src.events -e_pewpe
src.tag.pewpe 0
src.fix
return 1
ON=@Logout
src.sysmessage Pwp'den Ciktiniz..
fly britain // Oyundan Cikma ALANI
src.hits 0
src.tag.pewpe 0
events -e_pewpe
src.fix
return 1
[itemdef i_pewpe_cikarpazar]
id i_staff_black
name Pwp Cikar Pazar
on=@create
color 0b9f
attr 04
on=@click
message Pwp Cikis Pazar
return 1
on=@dclick
target @0796 Kimi cikaricaksiniz yarismadan [Pazar Alani]
return 1
on=@targon_char
if <src.targ.tag.pewpe> == 1
src.targ.events -e_pewpe
src.targ.tag.pewpe
src.targ.go marble island
else
src.sysmessage <SRC.TARG.NAME> adli Kisi Yarismada Degil
return 1
endif
on=@targon_ground
src.sysmessage yeri secemessin
return 1
Total votes: 0
Off Topic 3 gün önce
Sunucular 5 gün önce
Sunucular 3 hafta önce
Ultima Online 1 ay önce
Sunucular 2 ay önce
Sunucular 3 ay önce
Sphere Scripting 3 ay önce
CS 1.6 4 ay önce
Sunucular 5 ay önce
Sunucular 5 ay önce
Sunucular 5 ay önce
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
2024-04-09 16:53
2024-04-06 18:20
Yorumlar (0)