Jump to content

Recommended Posts

Posted

[move]Welcome[/move]

 

First step : HTML:

 

Default codes:

<html>open/close the HTML</html>
<title>The title of the chat</title>
<body>open/close the Body (write place)<body>
<font color="00ff00">open/close text coloring</html>
<br> break the line
<table>open/close table</table>
<tr>vertical tables</tr>
<td>horizontal tables</td>

 

def. HTML:

<html>
<title>The Title</title>
<body>
blah blah blah blah (the text)<br>
blah blah blah blah <br>
</body>
</html>

 

Table useing:

<table>
<tr>
 <td>text1 text1 text1</td>
</tr>
<tr>
 <td>text2 text2 text2
</tr>
</table>

 

looks like:

text1 text1 text1

text2 text2 text2

 

Second step: Making of the SQL

 

Make a sql file and write this into the file.

INSERT INTO `1.` VALUES ('2.', '3.', '4.', '5.', '6.', '7', 'LineageMonster4.eyeless', '8.', '9.', '70', 'male', '10.', '40', '2444', '2444', '0.00', '0.00', '10', '10', '10', '10', '10', '10', '0', '0', '500', '500', '500', '500', '278', '0', '333', '0', '0', null, '60', '60', '', '0', '0', '0', 'LAST_HIT', '0', '0', '0', 'fighter', 'false');

 

1.name of the npc table (default:npc)

2.Id of the NPC

3.Template id

4.Name of the NPC

5.set 1 to enable custom name / set 0 to the npc use the name of the template npc

6.Title of the NPC

7. Set it 1 to enable a title

8-9.Collusion weight/height

10. Type of the NPC (L2Merchant,L2Monster,L2Teleporter..)

 

The others don't need already,so we only copy it.

 

Exemple:

INSERT INTO `npc.` VALUES ('303030.', '1.', 'GMSHOP.', '1.', 'TITLE.', '1', 'LineageMonster4.eyeless', '22.', '32.', '70', 'male', 'L2Merchant.', '40', '2444', '2444', '0.00', '0.00', '10', '10', '10', '10', '10', '10', '0', '0', '500', '500', '500', '500', '278', '0', '333', '0', '0', null, '60', '60', '', '0', '0', '0', 'LAST_HIT', '0', '0', '0', 'fighter', 'false');

 

Third step: Installing:

 

Its so simply.

You need to copy the html file(s) here:

gameserver\data\html\**.**\

 

**.** may:

merchant(shop)

teleporter(gatekeeper)

trainer(blacksmith)

warehouse

default(others)

 

Next is the sql.

Start the MySQL manager and execute it,to your database.

 

 

Last step: Some simply information:

The html's name need to be what the npc's id.

Do not create two npc with one name.

 

[move]

::: other links: :::

 

::: How to make shop with multisell? :::

::: How to make a buffer? :::

::: Some HTML codes :::

[/move]

 

Sorry for bad english . :)

Merry Xmas for MxC users!

 

  • 1 month later...

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

    • Lol another crappy server if you wanna x5000 rates go play l2java or damage, at least not gonna die in few months when server rent and cheap meth will fade out lol
    • Wtf you even selling no clue at all, stop use this crappy AI 
    • We are a small team of developers from this community who used to play on the Interlude version of L2Pride, almost 20 years ago. There have been many attempts over the years to replicate this server, specifically the very first version of it that came on Interlude(C6) and all of them were met with failure. We decided to take it upon ourselves again since we remember every little detail that made this server unique and also were fortunate enough to get our hands in some of the old code that made the server unique. Some features about the server: ⚔️ Original Castle Reward System 🏹 Classic L2Pride Class Balance & Hunter's Village S-Grade PvP 🎯 12 Subclasses • Automatic TVT / CTF / DM / VIP Events 🔄 Fully Functional Rebirth System 🏆 PvP Rewards every 1,000 PvP Points 👑 Fully Working Olympiad ☠️ Cursed Weapons with Void Burst & Void Flow 💰 Beleth's Bronze, Silver & Gold Currency System since Adena is too easy to get ⭐ Safe Enchant +6 • Max Enchant +25 📍 Start: Cave of Trials • ⚔️ Leveling: Varka Silenos 🏛️ Farm Instances: Cave of Trials & Cemetery 🤖 Optional Autofarm & Healbot • 🚀 Teleport Stone The server is strictly focusing around PvP while minimizing PvE to the minimum, all classes have been balanced and tweaked for PvP, even dumb classes like Prophets and Bladedancers are now useful and fun to play PvP with. Posting this since there has been a lot of interest and approval from this subreddit, you can stay tuned and up to date about the opening here: https://discord.com/invite/2Knae6mmTx This is also our website made after the classic version of the game: https://www.l2belle.org/ (you can find more info and guides here) Since this is a server focused heavily on PvP we are expecting a lot of clans and people to join and make this a joyful ride. See you soon
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
  • 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..