Jump to content

Recommended Posts

  • 2 weeks later...
  • 2 weeks later...
  • 4 weeks later...
  • 2 weeks later...
Posted

Sorry, i cant see that, but with that you can put enchanted itens to sell? Because i use GM command and can't put enchanted itens to sell =/ only to trade!

 

when ur the gm, do this.

 

1 : target yourself

2 : take the weapon, wich u wanna enchant in ur hand

3 : type in the chat window ->  //enchant

4 : u can do a number from 0 - 65535

5 : u have ur own enchanted wep

Posted

I'm sure you liked my title, huh? Every1 has seen at least one custom NPC at a nice server and you are saying << WTF, how they did it? AMAZING>> but i'm sure you never said that it's easy!!! I gonna explain you two things on this guide:

 

1) Creating a full ~!CUSTOM!~ NPC for your server (i gonna use multisell if you know, not jscript)

2) Customizing already existed NPCs!!!

 

Q: What we gonna need?

A: Nothing special, common pre installed programs

 

If you know a little html, some .xml and if you know db edit it's extremely easy. Anyway, even for a newbie the difficult is medium.

 

1st Step: Html

 

Ok, here we go. We need our NPC's text first of all. It isn't difficult, we just edit an already written html (that's the easiest way if you don't know html). At the end of the post, you can find one.

As i said, we gonna use multisell, so in the edit of the html, we should make a link to the multisell .xml

Go to the html which is already written

Edit the name (it should be a unique number, like 35412, it is gonna be our NPC's ID)

Press right klick, and select ~> Open with ~> text editor

Now our html look like this ~>

<html>

<head>

<body>

<tr><td><font color="FF0066">Tattoo Lynn:</font></tr></td>

<br>

<tr><td><font color="FFFFCC">Burp... Hey, you young man... Or are you a woman?  Hiccup... You're strong... but... you've got to have smarts to get by. Long ago a stupid royal guard was being cocky but... he lost everything...  He realized that the people he loved caused him to be alive... hiccup... but that was useless... Useless! Heh, heh, heh... UUURP!</font></tr></td>

<br>

<br>

<a action="bypass -h npc_%objectId%_multisell 10100">

<font color="FF9900">

Ask him about tattoos

</font></a>

<br>

<a action="bypass -h npc_%objectId%_TerritoryStatus">

<font color="FF9900">

See the Lord and Tax Rate Information

</font></a>

<br>

<a action="bypass -h npc_%objectId%_Quest">

<font color="FF6600">

Quest

</font></a>

</body>

</html>

 

You can edit all the text except the codes. You can see the code we mainly need ~> <a action="bypass -h npc_%objectId%_multisell 10100">

Nice, now edit the number <10100> and replace it with a unique number (and remember this number).

Save, and close the editor.

 

2nd Step: .xml Edit

 

Now we go to the already existed .xml (from the folder you downloaded before). It's inside multisell folder. Open it with the same way as before.

Now i gonna explain you the codes you need to know:

 

EXAMPLE ONLY

 

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

 

<!-- Tattoo Shop -->

 

<list>

 

  <!-- [Tattoo Of Power Nongrade] for [D Crystalz] -->

  <item id="1">

    <ingredient id="1458" count="181" enchant="0"/>

    <production id="485" count="1" enchant="0"/>

  </item>

 

  <!-- [Tattoo Of Fire D] for [D Crystalz] -->

  <item id="2">

    <ingredient id="1458" count="276" enchant="0"/>

    <production id="486" count="1" enchant="0"/>

  </item>

 

</list>

 

This is the code for... giving D crystals (    <ingredient id="1458" count="181" enchant="0"/>) and getting tattoo of Power (    <production id="485" count="1" enchant="0"/>). You can edit the values id="X" and count="X". Just find the id you want (example = adena id is 57) and the quantity (example = 10000000). You can add more than one ingredients.

Remember that =   <item id="2"> means the order!!! If you add for example 5 trades, you have to set different ids (1-5: 1 = first 2=second etc.<<order that they gonna appear IG>>).

 

You can save your .xml and try it with Internet Explorer. If it's ok, we can go on (any error you get, just post your .xml / html code and your db add).

 

3rd Step: DB Add

 

This is the final step now. We have to add a line to our db. So, open your db ( http://localhost/a/ ) with phpmyadmin, select l2jdb and search for the npc table. Then klick on import. Now this is easy (or i think so :P)

 

ID = The html number you setted at the beginning

idTemplate = The id you want it to look like (for my example i selected anakim, which id is 25286)

name = The name you want

serverSideName = SET TO 1 (it should look like serverSideName = 1 )

title = The title for this NPC you want

serverSideTitle = SET TO 1 (it should look like serverSideTitle = 1 )

class = the class of the id you selected (anakim = Monster2.anakim )

collision_radius = 7.00

collision_height = 23.00

level = I suggest 70 (all Merchants are 70 lvl)

sex = female (as the id you selected anakim = female)

type = L2Merchant

attackrange = 40

hp = you choose (4000)

mp = you choose (3000)

hpreg = 40 (anyway, it doesn't matter for a trader :P) (edit it for a mob)

mpreg = 43 (edit it for a mob)

str = 40 (edit it for a mob)

con = 40 (edit it for a mob)

dex = 35 (edit it for a mob)

int = 39 (edit it for a mob)

wit = 20 (edit it for a mob)

men = 40 (edit it for a mob)

exp = 6000 (edit it for a mob)

sp = 6000 (edit it for a mob)

patk = 500 (edit it for a mob)

pdef = 500 (edit it for a mob)

matk = 200 (edit it for a mob)

mdef = 500 (edit it for a mob)

atkspeed = 400 (edit it for a mob)

aggro = (don't touch it, leave it as it is) (edit it for a mob)

matkspd = 400 (edit it for a mob)

rhand = (don't touch it, leave it as it is) (you can edit it if you choose another template for your NPC)

lhand = (don't touch it, leave it as it is) (you can edit it if you choose another template for your NPC)

armor = (don't touch it, leave it as it is) (you can edit it if you choose another template for your NPC)

walkspd = (don't touch it, leave it as it is) (you can edit it if your NPC is a mob)

runspd = (don't touch it, leave it as it is) (you can edit it if your NPC is a mob)

faction_id = (don't touch it, leave it as it is) (you can edit it if your NPC is a mob)

faction_range = (don't touch it, leave it as it is) (you can edit it if your NPC is a mob)

isUndead = (don't touch it, leave it as it is) (you can edit it if your NPC is a mob)

absorb_level = (don't touch it, leave it as it is)

 

You can copy these stats from another mob/NPC

 

If you want to edit for example a guard, you simply change whatever you wish (or any other NPC). So if you want to customize your existing NPC, you choose any of these steps :) !!!BUT!!! If the char is in jscript, you can't edit it (step 2, all other steps can be edited) unless you know Java :D

 

I hope i helped a little. For any fix of my guide/help feel free to post ;) (Just provide as many information as possible to prevent useless posts).

 

~LINKS~

 

http://img134.imageshack.us/my.php?image=shot00022hs4.jpg It works :P

http://www.4shared.com/file/8952080/9538ed7b Edit this ;)

 

*I'm uploading a new server pack for my first topic, which is the best i have seen :D GG DarkRage (i edited the db installer and added diskw instead of the easyphp*

 

very nice job brother!!!!! Thx

Guest
This topic is now closed to further replies.



  • Posts

    • L2 HARMONY - COMMUNITY BOARD
    • 亲爱的朋友们! 我们正在不断成长和发展,现在终于准备好为您提供在所有 SOCNET 项目中整合广告的机会! 我们的服务提供在以下平台投放广告的机会:网站 socnet.store,我们的 SMM 面板 socnet.pro,Telegram 机器人 socnet.shop 以及 socnet.cc(明星机器人),还有一个新的(目前保密的)项目。 每个平台都提供详细的分析数据和可用广告横幅的信息。 以下文件包含所有详细信息,提供 俄语 和 英语 两个版本。 您将在其中找到关于广告具体投放位置、整合费用、购买流程、限制条件以及其他细节问题的答案。 文档中还包含我们项目当前广告投放排队的表格。 详细信息文档: https://docs.google.com/document/d/1u4ro3fLkjfyvcp1Eu64rkgQy2Xl5lj87_1W25cVsqPM/edit?usp=sharing 感谢您的关注与支持! 此致敬礼, SOCNET 团队。 项目有效链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 – 通过 Telegram 信使方便地访问商店。 购买 Telegram Stars 的机器人:前往 – 在 Telegram 中快速且划算地购买星星。 SMM 面板:前往 – 推广您的社交媒体账户。 我们想向您介绍当前平台上购买商品和服务的 优惠活动与特别优惠 : 1. 优惠码 OCTOBER2025(8% 折扣)适用于十月份在我们的商店(网站、机器人)购物!您还可以使用首次购买优惠码:SOCNET(15% 折扣) 2. 注册后在我们的网站上使用以下格式发布信息即可获得 $1 店铺余额或 10–20% 折扣:"SEND ME BONUS, MY USERNAME IS..." — 请在我们的论坛帖子中发布! 3. 第一次试用 SMM 面板即可获得 $1 奖励 — 只需在我们的网站(支持)上创建标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和 Telegram Stars 购买机器人中举行星星抽奖活动! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器:https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram:https://t.me/socnet_support ➡ WhatsApp:https://wa.me/79051904467 ➡ Discord:socnet_support ➡ ✉ 邮箱:solomonbog@socnet.store
    • 亲爱的朋友们! 我们正在不断成长和发展,现在终于准备好为您提供在所有 SOCNET 项目中整合广告的机会! 我们的服务提供在以下平台投放广告的机会:网站 socnet.store,我们的 SMM 面板 socnet.pro,Telegram 机器人 socnet.shop 以及 socnet.cc(明星机器人),还有一个新的(目前保密的)项目。 每个平台都提供详细的分析数据和可用广告横幅的信息。 以下文件包含所有详细信息,提供 俄语 和 英语 两个版本。 您将在其中找到关于广告具体投放位置、整合费用、购买流程、限制条件以及其他细节问题的答案。 文档中还包含我们项目当前广告投放排队的表格。 详细信息文档: https://docs.google.com/document/d/1u4ro3fLkjfyvcp1Eu64rkgQy2Xl5lj87_1W25cVsqPM/edit?usp=sharing 感谢您的关注与支持! 此致敬礼, SOCNET 团队。 项目有效链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 – 通过 Telegram 信使方便地访问商店。 购买 Telegram Stars 的机器人:前往 – 在 Telegram 中快速且划算地购买星星。 SMM 面板:前往 – 推广您的社交媒体账户。 我们想向您介绍当前平台上购买商品和服务的 优惠活动与特别优惠 : 1. 优惠码 OCTOBER2025(8% 折扣)适用于十月份在我们的商店(网站、机器人)购物!您还可以使用首次购买优惠码:SOCNET(15% 折扣) 2. 注册后在我们的网站上使用以下格式发布信息即可获得 $1 店铺余额或 10–20% 折扣:"SEND ME BONUS, MY USERNAME IS..." — 请在我们的论坛帖子中发布! 3. 第一次试用 SMM 面板即可获得 $1 奖励 — 只需在我们的网站(支持)上创建标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和 Telegram Stars 购买机器人中举行星星抽奖活动! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器:https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram:https://t.me/socnet_support ➡ WhatsApp:https://wa.me/79051904467 ➡ Discord:socnet_support ➡ ✉ 邮箱:solomonbog@socnet.store
    • 亲爱的朋友们! 我们正在不断成长和发展,现在终于准备好为您提供在所有 SOCNET 项目中整合广告的机会! 我们的服务提供在以下平台投放广告的机会:网站 socnet.store,我们的 SMM 面板 socnet.pro,Telegram 机器人 socnet.shop 以及 socnet.cc(明星机器人),还有一个新的(目前保密的)项目。 每个平台都提供详细的分析数据和可用广告横幅的信息。 以下文件包含所有详细信息,提供 俄语 和 英语 两个版本。 您将在其中找到关于广告具体投放位置、整合费用、购买流程、限制条件以及其他细节问题的答案。 文档中还包含我们项目当前广告投放排队的表格。 详细信息文档: https://docs.google.com/document/d/1u4ro3fLkjfyvcp1Eu64rkgQy2Xl5lj87_1W25cVsqPM/edit?usp=sharing 感谢您的关注与支持! 此致敬礼, SOCNET 团队。 项目有效链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 – 通过 Telegram 信使方便地访问商店。 购买 Telegram Stars 的机器人:前往 – 在 Telegram 中快速且划算地购买星星。 SMM 面板:前往 – 推广您的社交媒体账户。 我们想向您介绍当前平台上购买商品和服务的 优惠活动与特别优惠 : 1. 优惠码 OCTOBER2025(8% 折扣)适用于十月份在我们的商店(网站、机器人)购物!您还可以使用首次购买优惠码:SOCNET(15% 折扣) 2. 注册后在我们的网站上使用以下格式发布信息即可获得 $1 店铺余额或 10–20% 折扣:"SEND ME BONUS, MY USERNAME IS..." — 请在我们的论坛帖子中发布! 3. 第一次试用 SMM 面板即可获得 $1 奖励 — 只需在我们的网站(支持)上创建标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和 Telegram Stars 购买机器人中举行星星抽奖活动! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器:https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram:https://t.me/socnet_support ➡ WhatsApp:https://wa.me/79051904467 ➡ Discord:socnet_support ➡ ✉ 邮箱:solomonbog@socnet.store
    • 亲爱的朋友们! 我们正在不断成长和发展,现在终于准备好为您提供在所有 SOCNET 项目中整合广告的机会! 我们的服务提供在以下平台投放广告的机会:网站 socnet.store,我们的 SMM 面板 socnet.pro,Telegram 机器人 socnet.shop 以及 socnet.cc(明星机器人),还有一个新的(目前保密的)项目。 每个平台都提供详细的分析数据和可用广告横幅的信息。 以下文件包含所有详细信息,提供 俄语 和 英语 两个版本。 您将在其中找到关于广告具体投放位置、整合费用、购买流程、限制条件以及其他细节问题的答案。 文档中还包含我们项目当前广告投放排队的表格。 详细信息文档: https://docs.google.com/document/d/1u4ro3fLkjfyvcp1Eu64rkgQy2Xl5lj87_1W25cVsqPM/edit?usp=sharing 感谢您的关注与支持! 此致敬礼, SOCNET 团队。 项目有效链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 – 通过 Telegram 信使方便地访问商店。 购买 Telegram Stars 的机器人:前往 – 在 Telegram 中快速且划算地购买星星。 SMM 面板:前往 – 推广您的社交媒体账户。 我们想向您介绍当前平台上购买商品和服务的 优惠活动与特别优惠 : 1. 优惠码 OCTOBER2025(8% 折扣)适用于十月份在我们的商店(网站、机器人)购物!您还可以使用首次购买优惠码:SOCNET(15% 折扣) 2. 注册后在我们的网站上使用以下格式发布信息即可获得 $1 店铺余额或 10–20% 折扣:"SEND ME BONUS, MY USERNAME IS..." — 请在我们的论坛帖子中发布! 3. 第一次试用 SMM 面板即可获得 $1 奖励 — 只需在我们的网站(支持)上创建标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和 Telegram Stars 购买机器人中举行星星抽奖活动! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器:https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram:https://t.me/socnet_support ➡ WhatsApp:https://wa.me/79051904467 ➡ Discord:socnet_support ➡ ✉ 邮箱:solomonbog@socnet.store
  • 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