I added this MOD on my server, however I have a problem; When clicking where the player wants to go, he is teleported directly, the bar with the "Ok" and "Cancel" buttons only appears after the player has already been teleported. Should any part of the code be absent?
Config.java
public static boolean TELEPORTER_ENABLE;
public static FastList<Integer> ACCEPTED_TELEPORTERS = new FastList<>();
TELEPORTER_ENABLE = Boolean.valueOf(p.getProperty("EnableTeleporter", "false")).booleanValue();
if (TELEPORTER_ENABLE)
{
ACCEPTED_TELEPORTERS = new FastList<>();
for (String type : p.getProperty("AcceptedTeleportersId", "30080").split(",")) {
ACCEPTED_TELEPORTERS.add(Integer.valueOf(type));
}
}
config.properties
# ================================================================
# Teleporter System
# ================================================================
# Teleporter com timer
# NOTA: adc systemmsg 2155 para funcionar
# Ativar timmer teleporter
EnableTeleporter = True
# Ativar Id teleporters?
AcceptedTeleportersId = 30080
# Systemmsg ID
MessageID = 2155
L2TeleporterInstance.java (In the doTeleport method)
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.
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
L2shaken
http://imgur.com/a/APPzF
I added this MOD on my server, however I have a problem; When clicking where the player wants to go, he is teleported directly, the bar with the "Ok" and "Cancel" buttons only appears after the player has already been teleported. Should any part of the code be absent?
Config.java
config.properties
L2TeleporterInstance.java (In the doTeleport method)
ConfirmDlg.java
DlgAnswer.java
L2PcInstance.java
SystemMessageId.java
CLIENT:
System/systemmsg-e.dat
2 answers to this question
Recommended Posts
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.