[Events e_fix]
on=@spellcast //Magery + Staff ve Spellbook elden düşmesin.
if !(<src.findlayer(2).type>==t_weapon_mace_staff)
src.findlayer(2).bounce
if !(<src.findlayer(1).type>==t_spellbook)
src.findlayer(1).bounce
endif
endif
//*****
//Basic
//*****
if (<argn> == 12)
src.spellfreeze 2
elif (<argn> == 20)
src.spellfreeze 2
elif (<argn> == 7)
src.spellfreeze 1
elif (<argn> == 29)
src.spellfreeze 3
elif (<argn> == 11)
src.spellfreeze 2
elif (<argn> == 44)
src.spellfreeze 3
elif (<argn> == 4)
src.spellfreeze 2
elif (<argn> == 22)
src.spellfreeze 1
else
src.spellfreeze (<dargn3> / 6)
endif
//**************************
//Bundan sonrası: xwerswoodx
//**************************
On=@SpellEffect //Oto tp
If (<argn> == 38) || (<argn> == 47)
if (<findid.i_pouch_trapped>)
if (<findid.i_pouch_trapped.more2> > 1)
effect 3,i_fx_explode,3,25,1
sound snd_spell_explosion
damage 2
findid.i_pouch_trapped.more2 -=1
return 1
else
effect 3,i_fx_explode,3,25,1
sound snd_spell_explosion
damage 2
findid.i_pouch_trapped.remove
return 1
endif
elseif !(<src.uid> == <uid>)
findid.i_rune_poison.remove
endif
endif
On=@itemclick //Item renkli isim ve özellik.
if (<act.isweapon>)
if (<act.attr>&attr_identified)
act.color=color_<act.morey>
act.arma [ <def.isim_<act.morey>> (+<eval <act.morey>/66>) ]
act.isim <serv.itemdef.<act.dispid>.name>
return 1
else
act.isim <serv.itemdef.<act.dispid>.name>
return 1
endif
elseif (<act.baseid>==i_guildstone)
if (<act.more1> == 1)
act.message @255 [Order]
elseif (<act.more1> == 2)
act.message @35 [Chaos]
endif
if (strmatch('<act.abbrev>',''))
act.arma [ <act.name> ]
else
act.arma [ <act.name>, <act.abbrev> ]
endif
act.isim guildstone
return 1
else
if (<act.amount>==1)
act.isim <serv.itemdef.<act.dispid>.name>
return 1
else
act.isim <act.amount> <serv.itemdef.<act.dispid>.name>
return 1
endif
endif
On=@itemdclick //Spellbook a 2 kere tıklayınca "eline versin"
if (<act.isweapon>)
act.color=color_<act.morey>
elseif (<act.type>==t_spellbook)
act.equip
endif
On=@itemcreate //Kılınç yaratınca araştırılmış çıkartalım
if (<argo.isweapon>)
argo.color=color_<argo.morey>
argo.attr=attr_magic|attr_identified
return 1
endif
On=@Click //Staff Plevel Message & Guild Message
if (<daccount.plevel> > 1)
message @75 [ <serv.name> <def.admin_plevel_<account.plevel>> ]
message @95 <name>
title <serv.name> <def.admin_plevel_<account.plevel>>
return 1
endif
obj = <memoryfindtype.memory_guild.link.uid>
if (<memoryfindtype.memory_guild>)
if strmatch('<obj.memberfromuid.<uid>.guildtitle>','')
message [<obj.name>]
else
message [<obj.memberfromuid.<uid>.guildtitle> of <obj.abbrev>]
endif
endif
On=@charclick //Giriş Yasaklama, npc ve Vendor Fix
if (<src.account.plevel> > 1) && (<src.account.plevel> < 7) // Plevel 2-3-4-5-6 Spawn & Zoo Giriş Yasak.
if (<act.npc>==1) || (<act.npc>==10) || (<act.npc>==11) || (<act.npc>==12) || (<act.npc>==13)
src.go star chamber
src.fix Siz spawnlara giremezsiniz.
return 1
else
act.isim <act.name>
return 1
endif
endif
if (<act.npc>==3) || (<act.npc>==4) || (<act.npc>==5) || (<act.npc>==6) || (<act.npc>==7) || (<act.npc>==8) || (<act.npc>==9)
act.arma [ <act.job> ]
act.isim <act.name>
return 1
elseif (<act.npc>==10) || (<act.npc>==11) || (<act.npc>==12) || (<act.npc>==13)
act.arma [ Hits/Str: <act.hits>/<act.str> ]
act.isim <act.name>
return 1
elseif (<act.flags>&statf_pet)
act.arma [ Sahibi: <act.findid.i_memory.name> ]
act.isim <act.name>
return 1
elseif (<act.npc>==0)
else
act.isim <act.name>
return 1
endif
On=@chardclick //Stafflar bineğe binemez yau
if (<src.account.plevel> > 1)
if !(<act.body>==c_man) && !(<act.body>==c_woman)
act.fix Bunu stafflar yapamaz.
return 1
endif
endif
On=@Mount // Poison ve Paralyze Bug Fix
if (<argo.findid.i_rune_poison>)
src.fix Canlilarin ustunde zehir varken ustune binemezsiniz.
return 1
elseif <argo.findid.i_rune_paralyze> || <argo.findid.i_rune_paralyze_field>
src.fix Canlilar paralyze iken ustune binemezsiniz.
return 1
endif
//Jail Fix (Deneme)
//On=@Gethit
//if (<act.findid.i_jailde>) //Jail itemi!
//act.hits=<act.str>
//return 1
//endif
//******************************************************
//Basic Functions
[function spellfreeze]
tag0.nomovetill=<EVAL <SERV.TIME> + (<ARGS> * 6)>
[function f_fizzle]
tag0.nomovetill=0
if (<mana> >= 8)
mana -={3 8}
return 1
endif
//xwerswoodx
[Defname weapon_fix]
color_0 00
color_200 05
color_400 045
color_600 075
color_800 025
color_1000 095
isim_0 Normal
isim_200 Ruin
isim_400 Might
isim_600 Force
isim_800 Power
isim_1000 Vanquishing
[Function fix]
src.sysmessage @026,,1 <args>
return 1
[Function isim]
message @048 <args>
return 1
[Function arma]
message @095 <args>
return 1
[EOF]
Çok iyi bir fix script var gayet düzgün işliyor ama çözemedim sorunun nerde olduğunu,neyse soruna geçelim ; sorun belli fix event var elimde ama hatasını nerde olduğunu bulamadım eğer bunu çözebilcek bi uzman biri varsa ellerinden öpücem şu script çok iyi ama bi hatası bu herşeyi yeşil görmesi fotoğraflardada belli iyi akşamlar script yukarda verdim.
fix event eklenmeden ; itemleri , gate,taş,vendor vs vs vs herşey scriptteki gibi ( rengi rengine görüyor )
fix event eklendikten sonra : herşeyi yeşil görüyor staff acc ve player acc
Bu konu kralbenim77 tarafından düzenlendi(2013-09-12 04:12, 11 yıl önce)