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)
hey guyz...i try to use guytis v201 source code...but when i had compiled the NpcExt.dll,it will crash L2server.exe.didnot knew why...use v158 source code ,its ok...anybody know how to fix it?
v201 only add CNpcSpawnDefine system...i had comment it out,but still crash L2server.exe.
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
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 accountSign in
Already have an account? Sign in here.
Sign In Now