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

    • For the first time in thousands of posts I've read on this forum, I’ve actually found a message that is enriching on both a personal and professional level. I’ll take your advice to heart: I’m going to start creating more and stop overthinking things that get me nowhere. I totally agree about the toxic community; it's a shame. Time to keep working. Thanks a lot for your input.   Exactly, that’s why the Scryde method and their merge system work so well. People don't lose their progress and can still keep rushing new servers. Obviously, gameplay has mutated into something much faster-paced, but obviously, this happens in real life too, everyone is more accelerated and on edge. Thanks to social media and mental conditioning. But, well, it’s something we have to accept. Don't even get me started on gambling and online casinos; that’s a whole other topic regarding all the P2W servers.   Really, amen bro.
    • Hello, the server lifespan isn't something that only affects Argentina; just look at the South American and European communities. Those distant days you mentioned, when we were younger, which I completely agree with, are long gone. Today, the community plays RUSH for 30 or 60 days and seeks the adrenaline rush of starting over. As for free or paid packs, there are many options, but in all of them, you'll have to create your own unique style.  
    • Introducing: NimeraCP V2! What's New: Realtime Tickets (Receive + Send messages without refreshing page, instant delivery to player) Powered by WebSockets Realtime Rankings/Stats (Receive instant updates without refreshing page) Powered by WebSockets - PvP/Boss Rankings/Clan Rankings etc... oAuth Login + Register (VK, Discord, Google) Two Factor Authentication (Authenticator App) Passkey coming soon! Theme Editor New Arcade Game: Rock Paper Scissors Let players gamble wagering their topped up wallet balance! Discord Webhooks: Receive messages to discord via Bot or Webhook for certain events New Player registration New Payment received New Ticket Opened and more Complete UI Overhaul NimeracCP V2 is now fully multilangual supporting the following languages: English Ελληνικά Português / Brasileiro Español Русский Українська 한국어 Onboarding: Easy installation wizard via /onboarding on first use of the panel for easy installation. Feature Flags: You have full control over the UI. Disable/Enable pages + features via Admin CP CloudFlare R2 Bucket integration: The panel comes with Bucket storage integration for all kinds of assets uploaded to the panel.   A new website shop at https://nimeracp.com/ is also coming soon, including full installation docs.  You can join the discord for further updates/questions: https://discord.nimeracp.com/
    • thanks for choosing me ! 
  • 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..

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