Jump to content
  • 0

[Request]Right click item for html chat with actions.


Question

Posted

Ok, so wat i wana know, ive already searched the forums and found how to give an HTML to an item but not how to make that HTML do actions, such as teleport, buff, purchase.. Does anyone know how to do this?

A reply with some help would be much appreciated.

 

15 answers to this question

Recommended Posts

  • 0
Posted

In Gracia Part 2 you can see in Ectitem

 

(17,'Wooden Arrow','false','arrow',6,'stackable','wood','none',-1,-1,1,0,'true','true','true','true','0-0;','false'),

replace html for False

 

In gracia Final mayme this line

 

(17,'Wooden Arrow','false','arrow',6,'stackable','wood','none',-1,-1,1,0,'true','true','true','true','book','0-0;'),

  • 0
Posted

In gracia Final mayme this line

 

(17,'Wooden Arrow','false','arrow',6,'stackable','wood','none',-1,-1,1,0,'true','true','true','true','book','0-0;'),

Yeah thats what i did on gracia final, i set the handler to book, made a new java code for it but it only opens up an html, if the html has buttons, they dont do anything, if its a text line with a teleport, the question to "Would you like to teleport to...etc.." pops up but when i hit yes it doesnt do anything.

  • 0
Posted

yeah.. as you noticed, link doesnt work cuz i think you used direct lines from a teleporter? in which case the link wont work since the item isnt a teleport npc instance =P

anyway.. you can do many things.. but i dont think you can do anything without editing the actual source and adding the code you want to the item.

  • 0
Posted

Find share with "item buffer" and cheack the code, then you will know how to make "NPC in Item"

Could you be more specific? That could be anywhere. Ima use the search engine *crosses fingers*

 

EDIT: Found this topic, but its only for hellbound, i cant find the specific lines on my java files to add the ones given by the patch. Im using L2J Gracia Final.

  • 0
Posted

Witch lines you cant find? I hope you remember ...now handlers are in DataPack.

Well i found them but that share needs the file CustomCommandHandler and the guy that shared it, didn't add its code. So i pm'd him about it but he hasnt replied. There's also ICustomCommandHandler but thats no good. And then, theres a code CustomCommandHandler.GetInstance, well that GETINSTANCE isnt working.

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

    • Hi, I inviting you to join L2Einhovant server, lets give them chanse. It's x1 Classic with some bonus futures, no duals box, no wipes, buffs stores and etc. Grow up by litle steps together with the server population.   🔥 Why L2Einhovant? ✅ Authentic Classic Gameplay – No dual box, all classes inportant, no auto farm. ✅ Hardcore x1 Rates – A true test of your gameplay skill, level up stages. ✅ Active Community & Fair Administration – A server built for passionate players. ✅ Long-Term Stability – Grow your character in a world that lasts.   Gather your allies, sharpen your weapons, and prepare for an unforgettable journey. Join to our comunity now and prepare for start.   Open beta: 1th February. Grand opening: 7th February, 20:00 UTC+2.   🔗 Discord: https://discord.gg/zfKd4tU9N2
    • ElmoreLab Harbor - Eternal C1 x1: ✅ https://harbor.elmorelab.com ElmoreLab Harbor - Eternal C1 x1 - is an exclusive server of the Eternal C1 chronicles from the top project ElmoreLab Harbor.   A unique server of its kind, on which everyone will have maximum pleasure, such as oldschool players who dream of nostalgia and to feel the warmest and classic C1 chronicles, as well as experienced players who are tired of thousands unbalanced servers of late chronicles. Due to the professional corrections of the balance system and the HONEST gameplay system - on this server, EVERY player will feel like in their own, warm and cozy Harbor C1. Let's return to the origins of L2 - back to 2004 in C1! ❤️   ⭐ Server characteristics:   STRICTLY 1 window, NO BOXES Bans for RMT and bots/cheats No donations with benefits Unique and high-quality PTS-build from Master Toma Professional corrections and full class-balance Reworked economy and closed all abuses Improved animations and all aspects of the game Exclusive HD-client with high-quality textures Experienced administration and management Fixed all bugs, geodata, exploits and holes Maximum sociality due to the 1-box system Discovering, exploring and researching Big online International server Nostalgia and oldschool-feelings   Rates: x1 Server start: 14.02.2025   The server is at the final stages of development and preparation for release. Information on the server will be updated, soon the patchnotes and changes/edits will be posted. Don't miss the legendary and epic experience on the best server in the last 20 years! ❤️ Join our C1-forum with a lot of information about server and active discussions.   ⭐ Website: https://harbor.elmorelab.com   ✅ Forum: https://forum-harbor.elmorelab.com   💥 Telegram: https://t.me/l2harbor https://t.me/l2harbor_chat   ⚡ Discord: https://discord.gg/harborelmorelab
    • yeah ok, if you say what is fuctional 100% i can't say something different 😛  but if someone find hard to compile it or get vs and all that things i have here one more simple way here to put overlay in your own server or to change your window name with few money.
    • I've been using this for 2 years now with no issues from Discord. I don't use ogg.dll either. This one works with any l2.exe too; I don’t see any difference between them.
  • Topics

×
×
  • Create New...