Jump to content
  • 0

teleport


remigas

Question

Hello i have two problems.

1) Scroll of Caste and Scroll of Clan Hall, don' works, they make tp to town only. ( any solutions how to fix it ? )

2) i try to make custom teleport in Castle Npc.

where i need to add red market part, to make it working, because now i add teleport.html in html\chamberlain folder, then i add below code to chamberlain.html and i add loc to teleport.xml.

<a action="bypass -h npc_%objectId%_teleport">Teleport</a><br>

 

and all after this when you press on Teleport nothing happens.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

OK i add text below to CastleChamberlain.java and now i see teleport List. what and where i need to add something else to actually active teleportation, because now i see list but its not teleporting.  Tnx sweets very much.

        else if (actualCommand.equalsIgnoreCase("teleport"))
        {
            if (!validatePrivileges(player, L2Clan.CP_CS_USE_FUNCTIONS))
                return;
            
            sendFileMessage(player, "data/html/chamberlain/teleport.htm");
        }

Edited by remigas
Link to comment
Share on other sites

  • 0

Now, you have to create your bypass to teleport. Basically, that teleport thing to show HTM it pointless, as HTM is accessible normally. So, create your code to teleport there like player.teleToLocation(...

Link to comment
Share on other sites

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.



×
×
  • Create New...

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