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

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Αν σε ενδιαφέρει ο κόσμος των κρυπτονομισμάτων και θέλεις να συζητάς, να μαθαίνεις, αλλά και να μοιράζεσαι γνώσεις με άλλους Έλληνες χρήστες, τότε σε προσκαλούμε στο νέο μας Telegram forum αποκλειστικά για την ελληνική crypto κοινότητα!   Συζητάμε για Bitcoin, altcoins, DeFi, trading, νέες τάσεις, NFTs, τεχνική ανάλυση και ό,τι άλλο αφορά τον κόσμο των crypto. Είτε είσαι αρχάριος είτε προχωρημένος, θα βρεις κάτι που σε ενδιαφέρει και μια παρέα που μιλάει τη γλώσσα σου – κυριολεκτικά!     Σύνδεσμος πρόσβασης:    https://t.me/investfuture_crypto_gr    ή   Scan QR Code:       Έλα να γίνουμε η πιο ενεργή ελληνική κοινότητα στο χώρο των crypto!
    • Αν σε ενδιαφέρει ο κόσμος των κρυπτονομισμάτων και θέλεις να συζητάς, να μαθαίνεις, αλλά και να μοιράζεσαι γνώσεις με άλλους Έλληνες χρήστες, τότε σε προσκαλούμε στο νέο μας Telegram forum αποκλειστικά για την ελληνική crypto κοινότητα!   Συζητάμε για Bitcoin, altcoins, DeFi, trading, νέες τάσεις, NFTs, τεχνική ανάλυση και ό,τι άλλο αφορά τον κόσμο των crypto. Είτε είσαι αρχάριος είτε προχωρημένος, θα βρεις κάτι που σε ενδιαφέρει και μια παρέα που μιλάει τη γλώσσα σου – κυριολεκτικά!     Σύνδεσμος πρόσβασης:    https://t.me/investfuture_crypto_gr    ή   Scan QR Code:       Έλα να γίνουμε η πιο ενεργή ελληνική κοινότητα στο χώρο των crypto!
    • ➡ Discount for your purchase: APRIL (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: APRIL (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • Good luck with your g/o!
  • Topics

×
×
  • Create New...