Jump to content

Recommended Posts

Posted

Hi agein  i make a New Npc buffer that buffs you only if you have a certain item. like a special/donator npc buffer

i just finished it so if there are bugs i am sorry Smiley

 

Download > http://files.filefront.com/Special+npc+buffersrar/;9962370;/fileinfo.html

 

http://img206.imageshack.us/img206/7617/npcbuffer1aq2.jpg      << Here Image

http://img206.imageshack.us/img206/1466/npcbuffer2pn5.jpg      << Here Image

 

Special item is a Cloak

Item ID = 52

Name = Hemp Cloak

 

by Throzen newbie coder

Posted

SA:MP Coder,nice npc,keep up the good job.MrPeos,einai poli eukolo,aplws pane kai psaxe ta xml arxeia anoixe ta me shmeiomatario kai vres ta skill pou thes.

 

Tha pas sto server sou/data/stats/skills.

 

Tha deixnei kapws etsi.

 

<skill id="267" levels="1" name="Song of Warding" enchantLevels1="30" enchantLevels2="30" >

  <table name="#enchantMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 82 83 83 83 84 84 85 85 85 </table>

  <enchant1 name="magicLvl" val="#enchantMagicLvl"/>

  <enchant2 name="magicLvl" val="#enchantMagicLvl"/>

  <table name="#ench1time">

  125 131 136 142 147 153 158 164 169 175

  180 186 191 197 202 208 213 219 224 230

  235 241 246 252 257 263 268 274 279 285

  </table>

  <table name="#ench2MpConsume">

  58 57 56 55 53 52 51 50 48 47

  46 45 43 42 41 40 39 37 36 35

  34 32 31 30 29 27 26 25 24 22

  </table>

  <set name="mpConsume" val="60"/>

  <set name="nextDanceCost" val="30"/>

  <set name="power" val="0.0"/>

  <set name="target" val="TARGET_PARTY"/>

  <set name="skillRadius" val="1000"/>

  <set name="reuseDelay" val="10000"/>

  <set name="hitTime" val="2500"/>

  <set name="skillType" val="BUFF"/>

  <set name="isDance" val="true"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="castRange" val="-1"/>

  <set name="effectRange" val="-1"/>

  <set name="aggroPoints" val="379"/>

  <enchant1 name="aggroPoints" val="655"/>

  <enchant2 name="aggroPoints" val="655"/>

  <enchant2 name="mpConsume" val="#ench2MpConsume"/>

  <for>

    <effect name="Buff" time="120" count="1" val="0">

      <mul order="0x30" stat="mDef" val="1.3"/>

    </effect>

  </for>

  <enchant1for>

    <effect name="Buff" time="#ench1time" count="1" val="0">

      <mul order="0x30" stat="mDef" val="1.3"/>

    </effect>

 

O arithmos pou tha valeis tha prepei na einai metrhmenos se deuterolepta.p.x. 3600 sec=1h.

Posted

SA:MP Coder,nice npc,keep up the good job.MrPeos,einai poli eukolo,aplws pane kai psaxe ta xml arxeia anoixe ta me shmeiomatario kai vres ta skill pou thes.

 

Tha pas sto server sou/data/stats/skills.

 

Tha deixnei kapws etsi.

 

<skill id="267" levels="1" name="Song of Warding" enchantLevels1="30" enchantLevels2="30" >

  <table name="#enchantMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 82 83 83 83 84 84 85 85 85 </table>

  <enchant1 name="magicLvl" val="#enchantMagicLvl"/>

  <enchant2 name="magicLvl" val="#enchantMagicLvl"/>

  <table name="#ench1time">

  125 131 136 142 147 153 158 164 169 175

  180 186 191 197 202 208 213 219 224 230

  235 241 246 252 257 263 268 274 279 285

  </table>

  <table name="#ench2MpConsume">

  58 57 56 55 53 52 51 50 48 47

  46 45 43 42 41 40 39 37 36 35

  34 32 31 30 29 27 26 25 24 22

  </table>

  <set name="mpConsume" val="60"/>

  <set name="nextDanceCost" val="30"/>

  <set name="power" val="0.0"/>

  <set name="target" val="TARGET_PARTY"/>

  <set name="skillRadius" val="1000"/>

  <set name="reuseDelay" val="10000"/>

  <set name="hitTime" val="2500"/>

  <set name="skillType" val="BUFF"/>

  <set name="isDance" val="true"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="castRange" val="-1"/>

  <set name="effectRange" val="-1"/>

  <set name="aggroPoints" val="379"/>

  <enchant1 name="aggroPoints" val="655"/>

  <enchant2 name="aggroPoints" val="655"/>

  <enchant2 name="mpConsume" val="#ench2MpConsume"/>

  <for>

    <effect name="Buff" time="120" count="1" val="0">

      <mul order="0x30" stat="mDef" val="1.3"/>

    </effect>

  </for>

  <enchant1for>

    <effect name="Buff" time="#ench1time" count="1" val="0">

      <mul order="0x30" stat="mDef" val="1.3"/>

    </effect>

 

O arithmos pou tha valeis tha prepei na einai metrhmenos se deuterolepta.p.x. 3600 sec=1h.

 

basika eimai o throzen alla exw ban :) den 8elw na 3ana kanw duble post auta !!!

Posted

Tote to sql dn einai simbato me to pack s.

Valtin xeirokinita.Anixe to sql me notepad pigene sto table "npc" kai kane copy/paste apo to sql.

@Litrotis 2i fora to kaneis ayto..

Guest
This topic is now closed to further replies.


  • Posts

    • A simple script which randomizes your target from shortest -> furthest so you can farm with Rush Impact on your doombringer   Edit your skill id (Default 45179): SkillList.ByID(45159, sweep)   Edit your search range (Default 900):  Script.NewThread(@SweepThread, Pointer(900));     var bSweepFurthest: boolean; // Global state variable to track which mob to get next // This procedure now alternates between finding the furthest and nearest mob. procedure SweepThread(dist: integer); var sweep: TL2Skill; mob: TL2Npc; begin while Delay(100) do begin if (Engine.Status = lsOnline) and SkillList.ByID(45159, sweep) then begin // Decide which mob to find based on the bSweepFurthest state if (bSweepFurthest) then begin mob:= GetFurthestSweepableMob(dist); // Looking for the furthest mob end else begin mob:= GetNearestSweepableMob(dist); // Looking for the nearest mob end; if (mob <> nil) then begin if Engine.SetTarget(mob) then Delay(1); Engine.UseSkill(sweep) ; // Flip the state for the next loop iteration bSweepFurthest := not bSweepFurthest; end; end; end; end; // Corrected to check for dead mobs function GetNearestSweepableMob(dist: integer): TL2Npc; var i: integer; begin Result:= nil; for i:= 0 to NpcList.Count-1 do begin if (NpcList(i).Valid) and (User.DistTo(NpcList(i)) < dist) and not (NpcList(i).Dead) then begin // <<< Corrected: Sweepable mobs are dead Result:= NpcList(i); dist:= User.DistTo(NpcList(i)); end; end; end; // Modified to accept a distance parameter and corrected to check for dead mobs function GetFurthestSweepableMob(dist: integer): TL2Npc; var i: integer; max_dist: integer; begin Result:= nil; max_dist:= 0; for i:= 0 to NpcList.Count-1 do begin if (NpcList(i).Valid) and (User.DistTo(NpcList(i)) < dist) // <<< Changed from 400 to the 'dist' parameter and not (NpcList(i).Dead) // <<< Corrected: Sweepable mobs are dead and (User.DistTo(NpcList(i)) > max_dist) then begin Result:= NpcList(i); max_dist:= User.DistTo(NpcList(i)); end; end; end; // Main execution block begin // Initialize the state to start by finding the furthest mob first bSweepFurthest := true; // Start the thread, passing 300 as the max distance for both nearest and furthest searches Script.NewThread(@SweepThread, Pointer(900)); Delay(-1); end.  
    • 🔥 O servidor que vai mudar seu conceito de Lineage 2! ⚔️ https://L2Destruction.com.br | Chronicle C4 - Scion of Destiny Um clássico com alma moderna. Eventos inéditos, mecânicas revolucionárias e um PvP/PvE intenso como você nunca viu! ✅ Rates: XP 75 / SP 65 / Adena 75 ✅ Party Level Up ✅ Anti-bot, anti-pay-to-win ✅ Comunidade ativa e suporte dedicado 🎯 Se você busca emoção de verdade, este é o servidor! 🔗 Acesse: https://L2Destruction.com.br 🛡️ Prepare-se para o combate. O seu destino começa agora. 🔥 The server that will redefine your Lineage 2 experience! ⚔️ https://L2Destruction.com.br | Chronicle C4 - Scion of Destiny A classic reborn with modern systems. Unique events, custom mechanics, and non-stop PvP/PvE action await you! ✅ Rates: XP 75 / SP 65 / Adena 75 ✅ Party Level Up ✅ No bots, no pay-to-win ✅ Active community and dedicated support 🎯 If you want a real challenge — this is your server! 🔗 Visit: https://L2Destruction.com.br 🛡️ The battle begins now. Your destiny awaits. 🔥 ¡El servidor que va a revolucionar tu experiencia en Lineage 2! ⚔️ https://L2Destruction.com.br | Chronicle C4 - Scion of Destiny Un clásico con alma moderna. Eventos únicos, mecánicas avanzadas y acción PvP/PvE constante como nunca antes. ✅ Rates: XP 75 / SP 65 / Adena 75 ✅ Party Level Up ✅ Sin bots, sin pay-to-win ✅ Comunidad activa y soporte dedicado 🎯 Si buscas una experiencia real — este es tu servidor. 🔗 Ingresa a: https://L2Destruction.com.br 🛡️ Prepárate para la guerra. Tu destino comienza ahora!  
    • Dear friends! We are pleased to present our new Telegram bot for purchasing  Telegram Stars  Convenient and easy to use The best prices Fast, cheap, and safe Support for multiple payment methods ➡ Go to the bot to purchase Telegram Stars Useful links: Telegram bot for purchasing Telegram Stars: Go Digital goods store: Go Store’s Telegram bot: Go SMM Panel: Go Contacts and support: ➡ Telegram: https://t.me/socnet_support  ➡ Telegram channel: https://t.me/accsforyou_shop  ➡ WhatsApp: https://wa.me/79051904467  ➡ WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Discord: socnet_support  ➡ Discord server: https://discord.gg/y9AStFFsrh  ➡ ✉ Email: solomonbog@socnet.store  Through these contacts you can also: — get consultations on wholesale purchases — establish a partnership (current partners: https://socnet.bgng.io/partners ) — become our supplier SocNet — digital goods and premium subscriptions store 
    • Dear friends! We are pleased to present our new Telegram bot for purchasing  Telegram Stars  Convenient and easy to use The best prices Fast, cheap, and safe Support for multiple payment methods ➡ Go to the bot to purchase Telegram Stars Useful links: Telegram bot for purchasing Telegram Stars: Go Digital goods store: Go Store’s Telegram bot: Go SMM Panel: Go Contacts and support: ➡ Telegram: https://t.me/socnet_support  ➡ Telegram channel: https://t.me/accsforyou_shop  ➡ WhatsApp: https://wa.me/79051904467  ➡ WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Discord: socnet_support  ➡ Discord server: https://discord.gg/y9AStFFsrh  ➡ ✉ Email: solomonbog@socnet.store  Through these contacts you can also: — get consultations on wholesale purchases — establish a partnership (current partners: https://socnet.bgng.io/partners ) — become our supplier SocNet — digital goods and premium subscriptions store 
    • Great product, easy to install/handle and nice guy @Splicho! Amazing work mate.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock