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

magical isimleri


Öne çıkan mesajlar

Mesaj tarihi:
Ya bir adminden ricam olcak soyle bir scp yaziyorum bir turlu sornu bulamadim:
IF (==t_armor) || (==0,800)
act.message [fortification]
return 0
else
bunu yaziyorum sonra da herhangi bir armora tikliyorum vede armorun ustunde fortification messagi veriyor simdi ben bunu nasil sadece forti armorlarda fortification vermesini sagliyacam vede morepi 800 olan cloth vs lerde sadece forti yazmasin isagliyacam ayni sey silahlar icinde gecerli onlardada soyle yapinca butun magicallerde vanq yazior bunu ownerravenloft tan aldim verim:
IF (==0,1000)
act.message [Vanq]
endif
bir yerde yanlis if check yapior nasil duzelticem?
Mesaj tarihi:
Her itemin sonuna alttaki gibi eklemen daha saglikli olur, zaten her weapon type t_weapon degil, sword mace sharp vsvs diye bisuru weapon type var, her clickde bin tane trigger sokarsan server olur.

if (&(attr_identified))
message [Vanquishing]
else
message [Unidentified]
endif
return 1[hline]Gesp (a.k.a Baggio)
Level 50 Eldritch Officer of Soul Reavers, Hib/Exc
Email: [email protected] | Icq: 5100111
Mesaj tarihi:
baggio bak senin dedini anladımda sen benı anlamadın if checklerın neresınde hata var t_weapon u nerden getırdın konuya benım ıcın morep 1000 i nasil if check edicem ona gore msj atıcam o onemlı
Mesaj tarihi:
evet morey olcakda nedense hangi iteme tiklasam vanq messajini verior if checki yanlıs yapıorum galba neresi yanls?
IF (==0,1000)
act.message
act.message [vanquishing]

[Bu mesaj slayerrr tarafından 19 April 2003 09:30 tarihinde değiştirilmiştir]
Mesaj tarihi:
Öncelikle scripts klasöründe magical_system.scp die bir dosya yarat.Dosyayı notepad ile aç ve şunları ekle;


[Events e_magicalarm]
ON=@itemclick

IF (==t_armor) && !(==&~020)
IF (==100.0)
act.message [Invulnerability]
return 0
else
IF (==80.0)
act.message [Fortification]
return 0
else
IF (==60.0)
act.message [Hardening]
return 0
else
IF (==40.0)
act.message [Guarding]
return 0
else
IF (==20.0)
act.message [Defense]
return 0
endif

[Events e_magicalweap]
ON=@itemclick

IF !(==&~020) && (=t_weapon_mace_smith) || (=t_weapon_mace_sharp) || (=t_weapon_sword) || (=t_weapon_fence) || (=t_weapon_bow) || (=t_weapon_mace_staff) || (=t_weapon_mace_crook) || (=t_weapon_mace_pick) || (=t_weapon_axe) || (=t_weapon_xbow) || (=t_fish_pole))
IF (==100.0)
act.message [Vanquishing]
return 0
else
IF (==80.0)
act.message [Power]
return 0
else
IF (==60.0)
act.message [Force]
return 0
else
IF (==40.0)
act.message [Might]
return 0
else
IF (==20.0)
act.message [Ruin]
return 0
endif


Daha sonra spheretables.scp dosyasını açıp en alta şunları ekle;


ON=@LOGIN
Src.Events= +e_magicalarm
Src.Events= +e_magicalweap

ON=@LOGOUT
Src.Events= -e_magicalarm
Src.Events= -e_magicalweap


[hline]Mail:mailto:[email protected]
Asp,Visual Basic,Delphi,Sphere Scripter,Web Design
Bilgi Paylaştıkça Değerlidir...


[Bu mesaj OwnerRavenLoft tarafından 19 April 2003 14:07 tarihinde değiştirilmiştir]
Mesaj tarihi:
En son ve en önemli yere geldik.scripts klasörünün içinde sphereitem_magicarm.scp dosyası var.Onu notepad ile aç.İçindeki herşeyi sil ve şu scripti ekle;


//****************************************************************************
//SPHERE by : Menasoft ©1997-2000
//www.sphereserver.com
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners. All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: Friday, April 28, 2000
//
VERSION=0.54

[ITEMDEF i_enchant_armor]
// ARMOR ENHANCER - good for 20 percent skill enchant.
ID=i_virtstone_1
VALUE=40 // set price per level of magic enhancement.

[ITEMDEF 04905]
DEFNAME=i_BUCKLER_SHIELD_DEFENSE
ID=i_shield_buckler
NAME=Buckler
RESOURCES=i_shield_buckler,i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Buckler of Defense

ON=@Create
MOREY=20.0
ATTR=attr_magic
HITPOINTS=55
COLOR=color_magic_defense

[ITEMDEF 04906]
DEFNAME=i_BUCKLER_SHIELD_GUARDING
ID=i_shield_buckler
NAME=Buckler
RESOURCES=i_shield_buckler,2 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Buckler of Guarding

ON=@Create
MOREY=40.0
ATTR=attr_magic
HITPOINTS=60
COLOR=color_magic_guarding

[ITEMDEF 04907]
DEFNAME=i_BUCKLER_SHIELD_HARDENING
ID=i_shield_buckler
NAME=Buckler
RESOURCES=i_shield_buckler,3 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Buckler of Hardening

ON=@Create
MOREY=60.0
ATTR=attr_magic
HITPOINTS=65
COLOR=color_magic_hardening

[ITEMDEF 04908]
DEFNAME=i_BUCKLER_SHIELD_FORTIFICATION
ID=i_shield_buckler
NAME=Buckler
RESOURCES=i_shield_buckler,4 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Buckler of Fortification

ON=@Create
MOREY=80.0
ATTR=attr_magic
HITPOINTS=70
COLOR=color_magic_fortification

[ITEMDEF 04909]
DDBuckler of Defense

ON=@Create
MOREY=20.0
ATTR=attr_magic
HITPOINTS=55
COLOR=color_magic_defense

[ITEMDEF 04906]
DEFNAME=i_BUCKLER_SHIELD_GUARDING
ID=i_shield_buckler
NAME=Buckler
RESOURCES=i_shield_buckler,2 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Buckler of Guarding

ON=@Create
MOREY=40.0
ATTR=attr_magic
HITPOINTS=60
COLOR=color_magic_guarding

[ITEMDEF 04907]
DEFNAME=i_BUCKLER_SHIELD_HARDENING
ID=i_shield_buckler
NAME=Buckler
RESOURCES=i_shield_buckler,3 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Buckler of Hardening

ON=@Create
MOREY=60.0
ATTR=attr_magic
HITPOINTS=65
COLOR=color_magic_hardening

[ITEMDEF 04908]
DEFNAME=i_BUCKLER_SHIELD_FORTIFICATION
ID=i_shield_buckler
NAME=Buckler
RESOURCES=i_shield_buckler,4 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Buckler of Fortification

ON=@Create
MOREY=80.0
ATTR=attr_magic
HITPOINTS=70
COLOR=color_magic_fortification

[ITEMDEF 04909]
DEFNAME=i_BUCKLER_SHIELD_INVULNERABILITY
ID=i_shield_buckler
NAME=Buckler
RESOURCES=i_shield_buckler,5 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Buckler of Invulnerability

ON=@Create
MOREY=100.0
ATTR=attr_magic
HITPOINTS=75
COLOR=color_magic_invulnerability

[ITEMDEF 04910]
DEFNAME=i_WOODEN_SHIELD_DEFENSE
ID=i_shield_wood
NAME=Wooden Shield
RESOURCES=i_shield_wood,1 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Wooden Shield of Defense

ON=@Create
MOREY=20.0
ATTR=attr_magic
HITPOINTS={21 23}
COLOR=color_magic_defense

[ITEMDEF 04911]
DEFNAME=i_WOODEN_SHIELD_GUARDING
ID=i_shield_wood
NAME=Wooden Shield
RESOURCES=i_shield_wood,2 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Wooden Shield of Guarding

ON=@Create
MOREY=40.0
ATTR=attr_magic
HITPOINTS=30
COLOR=color_magic_guarding

[ITEMDEF 04912]
DEFNAME=i_WOODEN_SHIELD_HARDENING
ID=i_shield_wood
NAME=Wooden Shield
RESOURCES=i_shield_wood,3 i_enchant_armor

CATEGORY=ProvisionsEFNAME=i_BUCKLER_SHIELD_INVULNERABILITY
ID=i_shield_buckler
NAME=Buckler
RESOURCES=i_shield_buckler,5 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Buckler of Invulnerability

ON=@Create
MOREY=100.0
ATTR=attr_magic
HITPOINTS=75
COLOR=color_magic_invulnerability

[ITEMDEF 04910]
DEFNAME=i_WOODEN_SHIELD_DEFENSE
ID=i_shield_wood
NAME=Wooden Shield
RESOURCES=i_shield_wood,1 i_enchant_armor

CATEGORY=Provisions - Armor - Magic
SUBSECTION=Shields
DESCRIPTION=Woode
Mesaj tarihi:
Daha sonra aynı klasörde sphereitem_magicweap.scp dosyası var.Notepad ile aç.Yine içindeki herşeyi sil ve şunları ekle;


//****************************************************************************
//SPHERE by : Menasoft ©1997-2000
//www.sphereserver.com
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners. All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: Friday, April 28, 2000
// Ruin, Might, Force, Power, Vanq
VERSION=0.54

[ITEMDEF i_enchant_weapon]
// WEAPON ENHANCER - good for 20 % enchantment
// Player must be holding a weapon in their right hand.
// Weapon decays when timer runs out.
ID=i_virtstone_1
VALUE=40 // set price per level of magic enhancement.

ON=@DCLICK
if (<65.0) //Not enough Magery
src.message Your magery is not high enough to enchant a weapon.
return 1
endif
if (==0) //Do they have a weapon in the hand?
src.message You must have a one-handed weapon equipped to use this.
return 1
endif
if (&(attr_magic|attr_newbie))
src.message This weapon is already magical or newbied!
return 1
endif

//Success!!
SRC.MESSAGE You enchant the weapon.
SRC.SOUND snd_SPELL_PROTECTION
SRC.FINDLAYER(layer_hand1).ATTR=attr_magic
SRC.FINDLAYER(layer_hand1).MOREY=03
LINK=
IF (<80.0)
TIMER=120
ELSEIF ((>80.0)&&(<95.0))
TIMER=180
ELSEIF ((>95.0)&&(<99.9))
TIMER=240
ELSEIF (==100.0)
TIMER=300
ENDIF
ATTR=attr_invis
SRC.UPDATE
RETURN 1

[ITEMDEF 04129]
//Same as [ITEMDEF 0412f] Do not remove! Here for backward compatility!
DEFNAME=i_BOW_RUIN_O
ID=i_bow
NAME=Bow
RESOURCES=i_bow,i_enchant_weapon

ON=@Create
ATTR=attr_magic
MOREY=20.0
HITPOINTS={31 09return 1
endif
if (==0) //Do they have a weapon in the hand?
src.message You must have a one-handed weapon equipped to use this.
return 1
endif
if (&(attr_magic|attr_newbie))
src.message This weapon is already magical or newbied!
return 1
endif

//Success!!
SRC.MESSAGE You enchant the weapon.
SRC.SOUND snd_SPELL_PROTECTION
SRC.FINDLAYER(layer_hand1).ATTR=attr_magic
SRC.FINDLAYER(layer_hand1).MOREY=03
LINK=
IF (<80.0)
TIMER=120
ELSEIF ((>80.0)&&(<95.0))
TIMER=180
ELSEIF ((>95.0)&&(<99.9))
TIMER=240
ELSEIF (==100.0)
TIMER=300
ENDIF
ATTR=attr_invis
SRC.UPDATE
RETURN 1

[ITEMDEF 04129]
//Same as [ITEMDEF 0412f] Do not remove! Here for backward compatility!
DEFNAME=i_BOW_RUIN_O
ID=i_bow
NAME=Bow
RESOURCES=i_bow,i_enchant_weapon

ON=@Create
ATTR=attr_magic
MOREY=20.0
HITPOINTS={31 60}
COLOR=color_magic_weap

[ITEMDEF 04139]
//Same as [ITEMDEF 0413f] Do not remove! Here for backward compatility!
DEFNAME=i_KRYSS_RUIN_O
ID=i_kryss
NAME=Kryss
RESOURCES=i_kryss,i_enchant_weapon

ON=@Create
MOREY=20.0
ATTR=attr_magic
HITPOINTS={31 90}
COLOR=color_magic_weap

[ITEMDEF 04105]
DEFNAME=i_SCIMITAR_FORCE
ID=i_scimitar
NAME=Scimitar
RESOURCES=i_scimitar,3 i_enchant_weapon

DESCRIPTION=Scimitar of Force
SUBSECTION=Magic Scimitars
CATEGORY=Provisions - Weapons - Magic

ON=@Create
COLOR=color_magic_weap
HITPOINTS={31 100}
ATTR=attr_magic
MOREY=60.0

[ITEMDEF 04106]
DEFNAME=i_SCIMITAR_vanq
ID=i_scimitar
NAME=Scimitar
RESOURCES=i_scimitar,5 i_enchant_weapon

DESCRIPTION=Scimitar of Vanquishing
SUBSECTION=Magic Scimitars
CATEGORY=Provisions - Weapons - Magic

ON=@Create
COLOR=color_magic_weap
HITPOINTS={31 100}
ATTR=attr_magic
MOREY=100.0

[ITEMDEF 04107]
DEFNAME=i_HALBERD_FORCE
ID=i_halberd
NAME=Halberd
RESOURCES=i_halberd,3 i_enchant_weapon

DESCRIPTION=Halberd of Force
SUBSECTION=Magic Halberds
CATEGORY=Provisions - Weapons 60}
COLOR=color_magic_weap

[ITEMDEF 04139]
//Same as [ITEMDEF 0413f] Do not remove! Here for backward compatility!
DEFNAME=i_KRYSS_RUIN_O
ID=i_kryss
NAME=Kryss
RESOURCES=i_kryss,i_enchant_weapon

ON=@Create
MOREY=20.0
ATTR=attr_magic
HITPOINTS={31 90}
COLOR=color_magic_weap

[ITEMDEF 04105]
DEFNAME=i_SCIMITAR_FORCE
ID=i_scimitar
NAME=Scimitar
RESOURCES=i_scimitar,3 i_enchant_weapon

DESCRIPTION=Scimitar of Force
SUBSECTION=Magic Scimitars
CATEGORY=Provisions - Weapons - Magic

ON=@Create
COLOR=color_magic_weap
HITPOINTS={31 100}
ATTR=attr_magic
MOREY=60.0

[ITEMDEF 04106]
DEFNAME=i_SCIMITAR_vanq
ID=i_scimitar
NAME=Scimita
Mesaj tarihi:
Bir bug buldum.Düzeltiyorum...

magical_system.scp dosyasını notepad ile açıp şunları ekleyin;


[Events e_magicalarm]
ON=@itemclick

IF (==t_armor) && !(==&~020)
IF (==100.0)
act.message [Invulnerability]
return 0
else
IF (==80.0)
act.message [Fortification]
return 0
else
IF (==60.0)
act.message [Hardening]
return 0
else
IF (==40.0)
act.message [Guarding]
return 0
else
IF (==20.0)
act.message [Defense]
return 0
endif

[Events e_magicalweap]
ON=@itemclick

IF !(==&~020) && (=t_weapon_mace_smith) || (=t_weapon_mace_sharp) || (=t_weapon_sword) || (=t_weapon_fence) || (=t_weapon_bow) || (=t_weapon_mace_staff) || (=t_weapon_mace_crook) || (=t_weapon_mace_pick) || (=t_weapon_axe) || (=t_weapon_xbow) || (=t_fish_pole))
IF (==100.0)
act.message [Vanquishing]
return 0
else
IF (==80.0)
act.message [Power]
return 0
else
IF (==60.0)
act.message [Force]
return 0
else
IF (==40.0)
act.message [Might]
return 0
else
IF (==20.0)
act.message [Ruin]
return 0
endif


Daha sonra spheretables.scp dosyasını açıp en alta şunları ekle;


ON=@LOGIN
Src.Events= +e_magicalarm
Src.Events= +e_magicalweap

ON=@LOGOUT
Src.Events= -e_magicalarm
Src.Events= -e_magicalweap
[hline]Mail:mailto:[email protected]
Asp,Visual Basic,Delphi,Sphere Scripter,Web Design
Bilgi Paylaştıkça Değerlidir...
Mesaj tarihi:
Birde şunu dene...

[Events e_magicalarm]
ON=@click

IF (==t_armor) && !(==&~020)
IF (==100.0)
act.message [Invulnerability]
return 0
else
IF (==80.0)
act.message [Fortification]
return 0
else
IF (==60.0)
act.message [Hardening]
return 0
else
IF (==40.0)
act.message [Guarding]
return 0
else
IF (==20.0)
act.message [Defense]
return 0
endif

[Events e_magicalweap]
ON=@click

IF !(==&~020) && (=t_weapon_mace_smith) || (=t_weapon_mace_sharp) || (=t_weapon_sword) || (=t_weapon_fence) || (=t_weapon_bow) || (=t_weapon_mace_staff) || (=t_weapon_mace_crook) || (=t_weapon_mace_pick) || (=t_weapon_axe) || (=t_weapon_xbow) || (=t_fish_pole))
IF (==100.0)
act.message [Vanquishing]
return 0
else
IF (==80.0)
act.message [Power]
return 0
else
IF (==60.0)
act.message [Force]
return 0
else
IF (==40.0)
act.message [Might]
return 0
else
IF (==20.0)
act.message [Ruin]
return 0
endif


Daha sonra spheretables.scp dosyasını açıp en alta şunları ekle;


ON=@LOGIN
Src.Events= +e_magicalarm
Src.Events= +e_magicalweap

ON=@LOGOUT
Src.Events= -e_magicalarm
Src.Events= -e_magicalweap
[hline]Mail:mailto:[email protected]
Asp,Visual Basic,Delphi,Sphere Scripter,Web Design
Bilgi Paylaştıkça Değerlidir...
Mesaj tarihi:
Bak nerdeyse cozdum bir yerini eksik unutmussun o if check weapon armor felan yerinin altina else koyduktan sonra morey vanq messajlarini yaptim o zaman calisiyor o zamanda sole bir olay cikiyor katana invulnerability... yani demek istedigim once t_weapon yada armoru denerken altina else koymadin gerisinde calismiyor ama yani katana invul diyor..
Mesaj tarihi:
CALISTI BE CALISTI AHAH CALISTI ISTE OH BEA simdi size bende tam olarak nebuladaki gibi veriyim:
[Events e_magicalarm]
ON=@itemclick

IF (==t_armor) && !(==&~020)

IF (==100.0)
act.message
act.message [invulnerability]
return 1
else
IF (==80.0)
act.message
act.message [fortification]
return 1
else
IF (==60.0)
act.message
act.message [hardening]
return 1
else
IF (==40.0)
act.message
act.message [guarding]
return 1
else
IF (==20.0)
act.message
act.message [defense]
return 1
endif






[Events e_magicalweap]
ON=@itemclick

IF !(==&~020) && (=t_weapon_mace_smith) && (=t_weapon_mace_sharp) && (=t_weapon_sword) && (=t_weapon_fence) && (=t_weapon_bow) && (=t_weapon_mace_staff) && (=t_weapon_mace_crook) && (=t_weapon_mace_pick) && (=t_weapon_axe) && (=t_weapon_xbow) && (=t_fish_pole))
else
IF (==100.0)
act.message
act.message [vanquishing]
return 1
else
IF (==80.0)
act.message
act.message [power]
return 1
else
IF (==60.0)
act.message
act.message [force]
return 1
else
IF (==40.0)
act.message
act.message [might]
return 1
else
IF (==20.0)
act.message
act.message [ruin]
return 1
endif
×
  • Yeni Oluştur...