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, i created 2 accounts with 9 and 7 builder level and i see in the sql database that my accounts and the users they have the builder level that i applied with the account creation program but when i login i try to use commands and nothing is happening, for example i try the command //gmspeed 4 and i get nothing. I added in the ilext.ini my account ids at BuilderAccountIdList i can't make it work. Can you help me?
Saint Spear Haste +4
DB Focus +4
AS Haste +4
AM Acu +4
TT Set +3
Draconic Set +3
DC Robe Set +3
Tallum Heavy Set +3
NM Light Set +3
(also i can wtt this char with everything. it is clean mail and noblesse + 3 sub 80 lvl)
wtt these items for adena or items in signature.
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.