Jump to content

Recommended Posts

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*

Posted

OMG killer007 ur a genius i was looking and looking for a usefull guide to create my npc i love u man ur my idol i will make a statue to my server  +11111111 karma !!!

Posted

GG perfect guide killer... ;D I was following your guide and saw the result ! Nice...  ;) karma +1 , or +2 , or +3 ! :P

x.x

http://img205.imageshack.us/img205/4264/shot00001fo2.jpg

 

And i want to add something.If somebody he dont want the gm tatoo.He can download this .xml without gm tatoo !

 

http://www.4shared.com/file/9186281/dc6dd3bc/Tatoos.html?

Posted

There isn't gm tattoo :) And anyway, tattoos doesn't exist in official, so the l2j team deleted them from the server. That was a good one, because mages get overpowered with a flame tattoo on l2j. So i don't think there should be a discussion about tattoos :P

  • 2 months later...
Posted

thnx man i already made a bank manager....

huh its a bunny:p.It works correctly but it's a bunny.I must create a column in npcgrp to see it correctly?-_- i can use this l2edit in these files!!Always error!

 

L22007-03-2919-46-59-82.jpg

L22007-03-2919-47-02-50.jpg

L22007-03-2919-46-41-68.jpg

  • 1 month later...
  • 5 weeks later...
  • 1 month later...
Posted

If you get 50 posts and you worth it, you will be able to see it... And to get support for it :)

 

Do not do them in 1 day or start posting one word posts otherwise we will get the banstick out ;D

Guest
This topic is now closed to further replies.



  • Posts

    • Tired of frantically switching between windows trying to find that specific Warlock who should be casting saves? Forgot which server you left your Warsmith on? This mod solves these problems! What it does: Turns the boring window title into an information panel: Server Name - Character Name [Class] Real-life examples: - ServerName - HardcoreFarm [Spoilerr] (who's been spoiling for 3 months already) - ServerName - ClericHelper [Buffer] (eternal buffer on standby) - ServerName - MainChar [Gladiator] (main character who's always AFK) Why you need this: For multiboxers - to avoid confusing where the DD is and where the healer is For the forgetful - if your memory is like a goldfish For streamers - viewers immediately see who's on screen For adults - when playing at work and need to quickly hide the window DLL only - no Interface files needed Installation (more complicated than making tea): 1. Download the DLL 2. Drop it into the System folder 3. Launch the client 4. Be amazed how you lived without this before!   Purchase Conditions: Price: 100$ Payment Method: USDT. How to Buy: Contact me on Telegram: @kiselevwv for a quick response. I will answer all your questions and provide additional information if needed. I guarantee functionality at the moment of sale and prompt assistance with setup after purchase.    
    • Hello Everyone   Wts adena  L2 REBORN C5 FRANZ x1 50kk stock 😉   Contact Discord :  topseller4081  
    • tratando de crear un GvE tengo problemas con el scripts como no se mucho de esto me estoy ayudando con IA pero no puedo salir de este bache      [06:19:43]  WARN Quest GvE_AI not found! [06:19:45]  WARN Quest GvE_AI not found! [06:19:50]  WARN Quest GvE_AI not found! [06:25:51]  WARN Quest GvE_AI not found!
    • ## [1.5.5] - 2026-02-02   ### ✨ New Features - **Discord Login**: You can now sign in with your Discord account. Admins enable and configure Discord login in **cpadmin → Users** (Discord auth settings: Client ID, Client Secret, Redirect URI). If you already have an account with the same email (e.g. forum, Google, or legacy), signing in with Discord links to that account so you keep one profile. Discord login is available on Add Server, My Servers, Vote page, and Premium Ads booking. - **Setup Links**: In **cpadmin → Users**, both Google and Discord login settings now include direct links to their official developer portals (Google Cloud Console and Discord Developer Portal) for easier OAuth app setup.   ### 🔒 Security - **Email Required for Registration**: New user registration via OAuth (Forum, Google, Discord) now requires a valid email address. If the OAuth provider doesn't provide an email (e.g. unverified Discord email), registration is rejected with a clear message. This prevents anonymous accounts and ensures all users can receive important notifications.   ### 🔄 Improvements - **User Auth Badges**: In **cpadmin → Users**, the Registered Members table now shows auth method badges: **Forum**, **Google**, **Discord**, or **Legacy**. Users can have multiple badges if they've linked multiple login methods. - **Server Info Labels**: Translated server info labels (Owner Name, Language, Server Location) are now properly localized in all 5 languages (English, Spanish, Portuguese, Greek, Russian).   ---   ## [1.5.4] - 2026-02-01   ### ✨ New Features - **Google Login**: You can now sign in with your Google account. Admins enable and configure Google login in **cpadmin → Users** (Google auth settings: Client ID, Client Secret, Redirect URI). If you already have an account with the same email (e.g. forum or legacy), signing in with Google links to that account so you keep one profile. The login menu (navbar and login prompts) offers **Login with Forum Account**, **Login with Google** (when enabled), and **Create Forum Account**. Google login is available on Add Server, My Servers, Profile Settings, Vote page, and Premium Ads booking. - **Ban/Unban Members**: In **cpadmin → Users**, admins can ban or unban registered members. Banned users see a full-page message: "Sorry, you are banned from using this site." When a user is banned, all their servers are set to inactive. - **Moderator Activity Log**: **cpadmin → Moderators** now records when a moderator or admin enters the CPAdmin panel (e.g. "Moderator X entered CPAdmin panel at &lt;time&gt;") and when they change any cpadmin settings (only write actions are logged; read-only use is not). - **Clear Moderator Logs**: Admins can clear all moderator activity log entries via a **Clear logs** button with confirmation. Logs are shown at 100 per page with pagination. - **Filter by Moderator**: In the Moderator Activity Log, a **Filter by moderator** dropdown lets you view activity for a specific moderator or "All moderators." - **cpadmin → Users Tab**: New **Users** tab in the admin panel with Registered Members list (paginated), Google auth settings card, and per-user Ban/Unban and server links.   ### 🔄 Improvements - **cpadmin → Servers**: Each server name in the servers table is now clickable and opens that server’s info page. - **cpadmin → Users – Servers column**: The servers count/list is clickable and opens a small modal listing that user’s servers; each server name in the modal links to the server info page. - **cpadmin → Users – Search**: A search bar above the Registered Members table lets you search by **username**, **email**, or **server name**. Results are filtered on the server (paginated); clearing the search resets the list. - **Moderator Activity Log**: Pagination shows "Showing X–Y of Z" and "Page N of M" with Previous/Next when there are more than 100 entries. - **Login UI**: Login options (Forum, Google, Create account) are shown in a consistent dropdown and in modals (Add Server, My Servers, Vote, Premium Ads) for a clearer sign-in experience. - **Vote Page – Unauthenticated**: When you must log in to vote, the page now shows "Vote for [Server Name]" as the main heading and presents login options in a compact section.   ---   ## [1.5.3] - 2026-01-30   ### ✨ New Features - **File Logs in Admin Panel**: Admins can now view CodeIgniter PHP logs (api/writable/logs) directly in **cpadmin → Logs**. Select a date to view the log file, refresh to reload, or delete all log files to free up space.   ### 🔄 Improvements - **Cache System**: Full cache audit and improvements — when you clear cache in cpadmin, both backend and frontend caches are cleared. Server listings, My Servers, pricing, ad config, and chronicles all refresh with fresh data. New paid servers now appear in listings and My Servers immediately. - **Admin Panel – Server Rates**: Server rates in the admin servers table now display in compact format (e.g. x10000 → x10k, x100000 → x100k, x1000000 → x1m) for easier scanning. Hover to see the full value.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..