Jump to content

Recommended Posts

Posted

Gia na kanis to diko sou npc prepi na kseris ta basika (how to make htmls and other thinks...)

Prepi na akolouthisis ta bimata mou gia na to kanis Ena exis problem pes mou .

Tha kano tin dikia mou custom gatekeeper gia paradigma:

 

1.Pane L2j Database

 

2. PAne sto diko sou NPC Table

 

3. Psakse ke bres to  npc pou thes

 

4. MEta kane ena  text file ke bale afta :

INSERT INTO `npc` (`id`, `name`, `class`, `collision_radius`, `collision_height`, `level`, `sex`, `type`, `attackrange`, `hp`, `mp`, `str`, `con`, `dex`, `int`, `wit`, `men`, `exp`, `sp`, `patk`, `pdef`, `matk`, `mdef`, `atkspd`, `aggro`, `matkspd`, `rhand`, `lhand`, `armor`, `walkspd`, `runspd`, `faction_id`, `faction_range`, `isUndead`) VALUES (put an id that not exist, 'put npc name', 'put npc class for example GK : NPC.a_teleporter_FHuman', 10, 24, 70, 'male or female', 'his type for example GK: L2Teleporter', 40, 3862, 1494, 40, 43, 30, 21, 20, 10, 5879, 590, 1444, 514, 760, 381, 253, 0, 253, 0, 0, 0, 80, 120, NULL, NULL, 0);

 

 

5. Then execute from navicat the text

 

6. Tora pane sto C:/yourserver/gameserver/data/html/thetypethatuputontext for example L2Teleporter (so file Teleporter) ke eki kane ena  a html file

 

7. Metonomase to arxio  sto  Id apo to npc. gia paradigma 4444.html

 

8. Tora anikse ke kane  otidipote thes  gia paradigma ama thes mia npc na pigeni  mono ston fritezza ke grapse afto tha to aniksis omos os text oxi os html:

<html>

<body>

<center><tr><td><font color="FF40FF">-= Bale to Npc Name =-</font></tr></td><br>

 <tr><td><font color="FF0066">______________________________</font></tr></td><br>

<tr><td><font color="FF40FF">Bale to Npc Name </font></tr></td><br>

<tr><td>Welcome, Traveler you can go Frintezza</tr></td><br>

<tr><td>for 10.000 adena.</tr></td>

<br>

<tr><td><a action="bypass -h npc_%objectId%_Chat 30"><font color="8000C0">Frintezza room</font></a></tr>

<br>

 

<tr><td><font color="FF0066">______________________________</font></tr></td>

</body>

</html>

 

 

9. Tora exis na kanis ena text pou tha exi ena  id ke to npc_%objectId%_To kimeno tou sto  C:/yourserver/gameserver/data/html/thetypethatuputontext (the green number) for example 4444_30.html and type in this:

<html>

<body>

<center><tr><td><font color="800080">-= Frintezza =-</font></tr></td><br>

 <tr><td><font color="FF0066">______________________________</font></tr></td><br><br>

<tr><td><a action="bypass -h npc_%objectId%_goto 9054" msg="811;Frintezza Room"><font color="FF0000">Frintezza Room</font></a></td></tr>

<tr><td><br></td></tr>

<tr><td><br></td></tr>

 

<tr><td><font color="FF0066">______________________________</font></tr></td><br>

<a action="bypass -h npc_%objectId%_Chat 0"><font color="FFF080">Back</font></a>

</body>

</html>

 

 

 

10. Ke kane alo ena text dipla tou ne balto sto C:/yourserver/sql/yourtextname

Quote:bale tis sintetagmenes tou teleport

('Frintezza Room , 9054, 174238, -86405 -5109, 10000, 0);

 

 

 

 

11. Tora to mono pou exis na kanis ine na to kanis spawn sto server:)

 

Many thanks to the [Dev Team]Zeus and [Dev Team]Angle and [Dev Team]Zodiac

  • 4 weeks later...
Posted

Gia na kanis to diko sou npc prepi na kseris ta basika (how to make htmls and other thinks...)

Prepi na akolouthisis ta bimata mou gia na to kanis Ena exis problem pes mou .

Tha kano tin dikia mou custom gatekeeper gia paradigma:

 

1.Pane L2j Database

 

2. PAne sto diko sou NPC Table

 

3. Psakse ke bres to  npc pou thes

 

4. MEta kane ena  text file ke bale afta :

INSERT INTO `npc` (`id`, `name`, `class`, `collision_radius`, `collision_height`, `level`, `sex`, `type`, `attackrange`, `hp`, `mp`, `str`, `con`, `dex`, `int`, `wit`, `men`, `exp`, `sp`, `patk`, `pdef`, `matk`, `mdef`, `atkspd`, `aggro`, `matkspd`, `rhand`, `lhand`, `armor`, `walkspd`, `runspd`, `faction_id`, `faction_range`, `isUndead`) VALUES (put an id that not exist, 'put npc name', 'put npc class for example GK : NPC.a_teleporter_FHuman', 10, 24, 70, 'male or female', 'his type for example GK: L2Teleporter', 40, 3862, 1494, 40, 43, 30, 21, 20, 10, 5879, 590, 1444, 514, 760, 381, 253, 0, 253, 0, 0, 0, 80, 120, NULL, NULL, 0);

 

 

5. Then execute from navicat the text

 

6. Tora pane sto C:/yourserver/gameserver/data/html/thetypethatuputontext for example L2Teleporter (so file Teleporter) ke eki kane ena  a html file

 

7. Metonomase to arxio  sto  Id apo to npc. gia paradigma 4444.html

 

8. Tora anikse ke kane  otidipote thes  gia paradigma ama thes mia npc na pigeni  mono ston fritezza ke grapse afto tha to aniksis omos os text oxi os html:

<html>

<body>

<center><tr><td><font color="FF40FF">-= Bale to Npc Name =-</font></tr></td><br>

 <tr><td><font color="FF0066">______________________________</font></tr></td><br>

<tr><td><font color="FF40FF">Bale to Npc Name </font></tr></td><br>

<tr><td>Welcome, Traveler you can go Frintezza</tr></td><br>

<tr><td>for 10.000 adena.</tr></td>

<br>

<tr><td><a action="bypass -h npc_%objectId%_Chat 30"><font color="8000C0">Frintezza room</font></a></tr>

<br>

 

<tr><td><font color="FF0066">______________________________</font></tr></td>

</body>

</html>

 

 

9. Tora exis na kanis ena text pou tha exi ena  id ke to npc_%objectId%_To kimeno tou sto  C:/yourserver/gameserver/data/html/thetypethatuputontext (the green number) for example 4444_30.html and type in this:

<html>

<body>

<center><tr><td><font color="800080">-= Frintezza =-</font></tr></td><br>

 <tr><td><font color="FF0066">______________________________</font></tr></td><br><br>

<tr><td><a action="bypass -h npc_%objectId%_goto 9054" msg="811;Frintezza Room"><font color="FF0000">Frintezza Room</font></a></td></tr>

<tr><td><br></td></tr>

<tr><td><br></td></tr>

 

<tr><td><font color="FF0066">______________________________</font></tr></td><br>

<a action="bypass -h npc_%objectId%_Chat 0"><font color="FFF080">Back</font></a>

</body>

</html>

 

 

 

10. Ke kane alo ena text dipla tou ne balto sto C:/yourserver/sql/yourtextname

Quote:bale tis sintetagmenes tou teleport

('Frintezza Room , 9054, 174238, -86405 -5109, 10000, 0);

 

 

 

 

11. Tora to mono pou exis na kanis ine na to kanis spawn sto server:)

 

Many thanks to the [Dev Team]Zeus and [Dev Team]Angle and [Dev Team]Zodiac

 

Eleos estw pes swsta to name M ti dev team angle :S

Nice Guide alla to ekanes se lathos section apoti blepw :D btw matheneis :P

  • 1 month later...
  • 1 month later...
  • 3 weeks 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

    • faster than i thought but congratulation that's looking pretty pure work here 
    • L2 PEARL — OPEN BETA REWARDS   Join the L2 Pearl Open Beta and receive exclusive rewards for your participation. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ OPEN BETA REWARDS   Players who participate in the Open Beta will receive: • One exclusive Open Beta Hat • 3 days of Premium Account ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ REWARD LIMIT   Rewards are limited to one reward per HWID. Each eligible hardware ID can receive the Open Beta reward only once. Multiple accounts connected to the same HWID will not receive additional rewards. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ The Open Beta begins on 2 October 2026.   Take part in the testing phase, help us improve the server and get ready for the official launch of the first season. Please note that all Open Beta progress will be wiped before the Grand Opening. The exclusive hat and the 3 days of Premium Account will be granted according to the Open Beta reward conditions. Grand Opening 9 October 2026   Join the Open Beta and secure your exclusive rewards. https://www.l2pearl.com https://discord.com/invite/l2pearl
    • 🛡️ Sguard — A New Version Is Coming in 2026 Hello everyone — clients, server owners, and fellow developers! We have been working on a new version of Sguard, with release planned for the end of 2026. AI-assisted development has helped us work faster, reduce repetitive tasks, and spend more time on implementation and testing. Our team remains responsible for the engineering and the results. The goal is straightforward: better quality, dependable operation, and more affordable pricing. We believe the L2 protection market needs renewed attention — ongoing development, responsive support, and closer cooperation with server administrators. That is the direction we are taking with Sguard. Early Testing Applications Are Open We are looking for server administrators willing to test the new version, report issues, and share practical feedback. 🎁 The first testers will receive free licenses. If you would like to participate, contact us with: Your server’s chronicles and protocol. A brief description of your setup. Whether you can provide a test environment. This is a preliminary announcement. We will share specific features, compatibility details, and testing dates as they are ready. Thank you for your continued support. We look forward to building the next version of Sguard with your feedback. ✉️ APPLY FOR TESTING — @L2scripts Send us a message with “Sguard Test” and tell us about your server.
    • 🚀 End-of-month restock! Upgrade your personal Gmail to 5TB + Gemini Pro instantly with 100% private automated delivery! 🎃 Fresh October Batch Active! Upgrade your personal Gmail to 5TB + Gemini Pro Advanced (12-18M) instantly. 100% private, automated delivery 24/7!
  • 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..