Jump to content
  • 0

[HELP] L2Npc settings..


Question

Posted

I wanna ask few questions about very own NPC:

 

1. How to make these fancy buttons instead of Blue, underlined text?

2. How to make an NPC which GM will only be able to access:

I mean the teleporter to a special place, which will show the html code with teleport possibilities only when I have access level 127.

Otherwise it would show the other html code which says for ex.: You Are not a GM, I cant port you, sry and GTFO :P

 

Recommended Posts

  • 0
Posted

I wanna ask few questions about very own NPC:

 

1. How to make these fancy buttons instead of Blue, underlined text?

2. How to make an NPC which GM will only be able to access:

I mean the teleporter to a special place, which will show the html code with teleport possibilities only when I have access level 127.

Otherwise it would show the other html code which says for ex.: You Are not a GM, I cant port you, sry and GTFO :P

 

 

Tell us firstly, it should be Java or Python Npc.

  • 0
Posted

Java is better

with l2jserver's handlers you can do it all in the dp and save time being spend on fixing svn update conflicts xD

  • 0
Posted

Tell us firstly, it should be Java or Python Npc.

Hmm if Java is better i choose java.. And one more: do I need to compile those files after making that NPC?

And wht about buttons? Can it be set in html of NPCs??

BTW I never did those so write it like for newbie pls ;)

  • 0
Posted

Hmm if Java is better i choose java.. And one more: do I need to compile those files after making that NPC?

And wht about buttons? Can it be set in html of NPCs??

BTW I never did those so write it like for newbie pls ;)

So, can u help me??

  • 0
Posted

So for example you can create new Instance for your NPC.

 

Chceck how does it work.

 

(from core) gameserver.model.actor.instances

  • 0
Posted

So for example you can create new Instance for your NPC.

 

Chceck how does it work.

 

(from core) gameserver.model.actor.instances

can u explain a lil more preciousily cuz Im n00b in java :P

  • 0
Posted

What else should I explain?

 

I told you, check L2J Svn or download L2J Source, and check this classes in this folder:

 

L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance

 

And check how does it work (Npc Instance)

 

  • 0
Posted

What else should I explain?

 

I told you, check L2J Svn or download L2J Source, and check this classes in this folder:

 

L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance

 

And check how does it work (Npc Instance)

 

but u didnt answer to one question: How to make a button in my Npc with html code? Is it even possible?

  • 0
Posted

but u didnt answer to one question: How to make a button in my Npc with html code? Is it even possible?

 

Of course it is.

 

Use bypass.

  • 0
Posted

but then its a blue, underlined hyperlink and i want it to be like a button :)

 

So use button..with bypass ..

  • 0
Posted
<button value="Text" action="bypass -h npc_%objectId%_Quest 9999_NPCBuffer" width=80 height=20 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">

 

Sample button with bypass.

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

    • LF the following chars / items on chronos   Elf - with class Aeore's Shillen Saint - this is possible if you had done a class change with a ticket in the past. Dwarf - with class Mystic Muse - same as above   Any greater jewels / Radiant Circle Grace or Foresight +5 and above Cloak      
    • First, you need to understand what you're doing and what you want to achieve. You have to choose a server core. After that, decide what you want your server to include, code it, modify the client to fit your server, go public, and drink champagne.   If you know how to code, creating a server is relatively easy — a few months of work and you can make it happen. Modifying the client is a completely different story. There’s a lack of tutorials, tools, and source materials. I’m currently working on the client myself, and I’ve already spent over three weeks just trying to get started due to the lack of information. If you don’t have the knowledge and experience, you’ll need a team and a bag of money — but realistically, it just won’t succeed.
    • The server has been online and stable for over 2 months now, and we’re still going strong! No wipes, no shortcuts ~ just continuous work, daily fixes, events, and improvements to ensure the best possible experience.   Great News! 🔥 CHAPTER II IS COMING — GRACIA FINAL 🔥 On February 16, L2Elixir enters a new era. The server will be officially updated to Gracia Final, opening Chapter II of our journey. Expect new content, improvements, and surprises that will refresh the gameplay while keeping the classic Gracia Final spirit alive.   More challenges, more competition, and more reasons to log in.   📅 Update Date: February 16 ⚔️ Chapter II: Gracia Final This is not a reset. This is evolution.   Prepare yourselves — Chapter II begins soon.   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here 👉https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
  • 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..