Jump to content

Recommended Posts

Posted

Heres a guide to make custom pets.

Add a new npc at npc table. Ill take Ember as a pet:

 

('8000', 25319, 'Valakas''s brother', 0, '', 0, 'Monster2.inferno_drake_100_bi', '48.00', '73.00', '80', 'male', 'L2Pet', 40, '1048567', '3718', '823.48', '9.81', '60', '57', '73', '76', '70', '80', '2535975', '1356048', '11906', '5036', '18324', '2045', '409', '0', '3819', '0', '0', '0', '92', '307', 'NULL', '0', 0, '0', 'LAST_HIT', 0, 0, 0, 'fighter'),

 

Copy this and change what u want (except L2Pet) if u are so lazy to make a new one :P.

 

Now go to pets_stat table, and start to add:

 

('valaka''s_brother', 8000, 80, 277204713, 1048567, 3718, 11906, 5036, 18324, 2045, 108, 89, 92, 307, 409, 3200, 13665, 113, 23, 0, 350, 24, '0.00');

 

u will have to add 1 row for each lvl your pet can be (for example, my pet only can be lvl 80, so i add only this line)

 

now, go to etcitem table, and add a new item:

 

('11000', 'Dragonflute of Valakas''s brother', 'false', 'pet_collar', '20', 'normal', 'steel', 'none', '-1', '1000', 0, 'true', 'true', 'true', 'true', 'dragonflute_of_valakas"s brother', 'pet_collar'),

 

copy this and change id, name, and old name if u are still so lazy :P.

 

Go to etcitemgrp.dat and add one line as this:

 

2 11000 0 3 5 6 0 dropitems.drop_jewel_box_m00 dropitemstex.drop_jewel_box_t00 icon.etc_flute_i00 -1 20 8 0 0 0 1 1 ItemSound.itemdrop_jewelbox 0 7 0

 

copy and change id if u want.

 

Go to itemname-e.dat and add this line:

 

11000 Dragonflute of Valakas's borther a,A flute used to call up the brother of valakas.\0 -1 a, a, a, a, 0 0 0 a,

 

U know what u can change :P

 

Finally, go to gameserver>data>summonitems.txt and add this:

 

# Valakas's brother

11000;8000;1

 

Now u have a custom pet :P

 

**How to add custom summons

Begin after step 1 (add a npc)

 

add this on a xml file. (Open notepad, paste this and when u will gona save, call it 11000.xml, then, place the file on gameserver>data>stats>skill folder)

<?xml version='1.0' encoding='utf-8'?>

<list><skill id="11000" levels="1" name="Summon Valakas's brother">

 

<table name="#mpConsume_Init"> 150 </table>

<table name="#mpConsume"> 150 </table>

<table name="#itemConsumeCount"> 2 </table>

<table name="#itemConsumeCountOT"> 1 </table>

<set name="mpInitialConsume" val="#mpConsume_Init"/>

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

<set name="itemConsumeId" val="1461"/>

<set name="itemConsumeCount" val="#itemConsumeCount"/>

<set name="itemConsumeIdOT" val="1461"/>

<set name="itemConsumeCountOT" val="#itemConsumeCountOT"/>

<set name="itemConsumeSteps" val="14"/>

<set name="summonTotalLifeTime" val="3600000"/>

<set name="summonTimeLostIdle" val="500"/>

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

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

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

<set name="reuseDelay" val="20000"/> <!-- Guessing -->

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

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

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

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

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

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

<!-- Summon-specific -->

<table name="#npcIds"> here's your pet (npc) id </table>

<set name="npcId" val="#npcIds"/>

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

<set name="isCubic" val="false"/>

<for>

</for>

</skill>

</list>

 

 

Go to skillgrp.dat file, open and decrypt and add this line:

 

11000 1 1 0 144 4294967295 1 15.0000000 1 i 1111 icon.skill1406 0 0 0 0 8 10

 

1406: change that number for the id of the skill that has the icon that u like.

 

 

Now go to skillname-e.dat and add this line

 

11000 101 a,Summon Valakas's brother\0 a,Summon the brother of valakas - Requires 2 A-grade crystals and consumes 1 at regular intervals for 14 times. \0 a,Legendary\0 a,Fire Dragon.\0

 

 

Now go to skill_trees tables and add

 

(`class_id the profession id`, `11000`, `1`, `Summon Valakas's brother`, `sp Sp requiered to learn`, `min_level`)

 

Now u added a custom skill sumon

Posted

Heh a little error when i was reading the code

<?xml version='1.0' encoding='utf-8'?>

<list><skill id="11000" levels="1" name="Summon Valakas's brother">

 

<table name="#mpConsume_Init"> 150 </table>

<table name="#mpConsume"> 150 </table>

<table name="#itemConsumeCount"> 2 </table>

<table name="#itemConsumeCountOT"> 1 </table>

<set name="mpInitialConsume" val="#mpConsume_Init"/>

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

<set name="itemConsumeId" val="1461"/>

<set name="itemConsumeCount" val="#itemConsumeCount"/>

<set name="itemConsumeIdOT" val="1461"/>

<set name="itemConsumeCountOT" val="#itemConsumeCountOT"/>

<set name="itemConsumeSteps" val="14"/>

<set name="summonTotalLifeTime" val="3600000"/>

<set name="summonTimeLostIdle" val="500"/>

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

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

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

<set name="reuseDelay" val="20000"/> <!-- Guessing -->

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

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

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

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

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

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

<!-- Summon-specific -->

<table name="#npcIds"> here's your pet (npc) id </table>

<set name="npcId" val="#npcIds"/>

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

<set name="isCubic" val="false"/>

<for>

</for>

</skill>

</list>

Emm i don't see the NpsID table? Do you ? Fix it ^^

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Don’t miss the new Telegram gifts with our Telegram Stars purchasing bot! A great opportunity to invest in a stable digital asset at an early stage while the market is still forming. Buy other existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium subscriptions, and react to messages in channels! Low prices, multiple payment options, and other cool unique features! ⚡ Try it today — SOCNET STARS BOT ⚡ Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. ⭐ Telegram Stars Purchase Bot: Go – fast and profitable way to buy stars in Telegram. SMM Panel: Go – promote your social media accounts. We present to you the current list of promotions and special offers for purchasing our products and services: 1️⃣ Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in October! You can also use the promo code SOCNET (15% discount) for your first purchase. 2️⃣ Get $1 on your store balance or a 10–20% discount — just write your username after registration on our website using the template: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3️⃣ Get $1 for your first SMM Panel trial — simply open a ticket titled “Get Trial Bonus” on our website (Support). 4️⃣ Weekly ⭐ Telegram Stars giveaways in our Telegram channel and in our Telegram Stars bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Don’t miss the new Telegram gifts with our Telegram Stars purchasing bot! A great opportunity to invest in a stable digital asset at an early stage while the market is still forming. Buy other existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium subscriptions, and react to messages in channels! Low prices, multiple payment options, and other cool unique features! ⚡ Try it today — SOCNET STARS BOT ⚡ Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. ⭐ Telegram Stars Purchase Bot: Go – fast and profitable way to buy stars in Telegram. SMM Panel: Go – promote your social media accounts. We present to you the current list of promotions and special offers for purchasing our products and services: 1️⃣ Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in October! You can also use the promo code SOCNET (15% discount) for your first purchase. 2️⃣ Get $1 on your store balance or a 10–20% discount — just write your username after registration on our website using the template: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3️⃣ Get $1 for your first SMM Panel trial — simply open a ticket titled “Get Trial Bonus” on our website (Support). 4️⃣ Weekly ⭐ Telegram Stars giveaways in our Telegram channel and in our Telegram Stars bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Don’t miss the new Telegram gifts with our Telegram Stars purchasing bot! A great opportunity to invest in a stable digital asset at an early stage while the market is still forming. Buy other existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium subscriptions, and react to messages in channels! Low prices, multiple payment options, and other cool unique features! ⚡ Try it today — SOCNET STARS BOT ⚡ Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. ⭐ Telegram Stars Purchase Bot: Go – fast and profitable way to buy stars in Telegram. SMM Panel: Go – promote your social media accounts. We present to you the current list of promotions and special offers for purchasing our products and services: 1️⃣ Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in October! You can also use the promo code SOCNET (15% discount) for your first purchase. 2️⃣ Get $1 on your store balance or a 10–20% discount — just write your username after registration on our website using the template: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3️⃣ Get $1 for your first SMM Panel trial — simply open a ticket titled “Get Trial Bonus” on our website (Support). 4️⃣ Weekly ⭐ Telegram Stars giveaways in our Telegram channel and in our Telegram Stars bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Yes, just keep this post=)
  • 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