diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/config/AdminCommands.xml b/L2J_Mobius_1.0_Ertheia/dist/game/config/AdminCommands.xml index 5c950f6b4f..e13a988301 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/config/AdminCommands.xml +++ b/L2J_Mobius_1.0_Ertheia/dist/game/config/AdminCommands.xml @@ -163,10 +163,6 @@ - - - - @@ -237,8 +233,6 @@ - - @@ -435,9 +429,7 @@ - - - + diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/admin/effects_menu.htm b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/admin/effects_menu.htm index ca2623c4a4..c9f2df314e 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/html/admin/effects_menu.htm +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/html/admin/effects_menu.htm @@ -16,12 +16,6 @@ Character Based: - - - - - - diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/bosses/Teredor/TeredorWarzone.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/bosses/Teredor/TeredorWarzone.java index bcd1197689..f8def00096 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/bosses/Teredor/TeredorWarzone.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/bosses/Teredor/TeredorWarzone.java @@ -136,7 +136,7 @@ public final class TeredorWarzone extends AbstractInstance } case "TEREDOR_LAIR_CHECK": { - final Location spawnLoc = npc.getSpawn().getLocation(); + final Location spawnLoc = npc.getSpawn(); if (((spawnLoc.getX() - npc.getX()) > 1000) || ((spawnLoc.getX() - npc.getX()) < -2000)) { diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/MasterHandler.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/MasterHandler.java index 4398dee5c5..b120fdac71 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/MasterHandler.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/MasterHandler.java @@ -112,7 +112,6 @@ import handlers.admincommandhandlers.AdminPcCafePoints; import handlers.admincommandhandlers.AdminPcCondOverride; import handlers.admincommandhandlers.AdminPetition; import handlers.admincommandhandlers.AdminPledge; -import handlers.admincommandhandlers.AdminPolymorph; import handlers.admincommandhandlers.AdminPremium; import handlers.admincommandhandlers.AdminPrimePoints; import handlers.admincommandhandlers.AdminPunishment; @@ -134,6 +133,7 @@ import handlers.admincommandhandlers.AdminTarget; import handlers.admincommandhandlers.AdminTargetSay; import handlers.admincommandhandlers.AdminTeleport; import handlers.admincommandhandlers.AdminTest; +import handlers.admincommandhandlers.AdminTransform; import handlers.admincommandhandlers.AdminUnblockIp; import handlers.admincommandhandlers.AdminVitality; import handlers.admincommandhandlers.AdminZone; @@ -445,7 +445,6 @@ public class MasterHandler AdminPForge.class, AdminPledge.class, AdminZones.class, - AdminPolymorph.class, AdminPremium.class, AdminPrimePoints.class, AdminPunishment.class, @@ -467,6 +466,7 @@ public class MasterHandler AdminTargetSay.class, AdminTeleport.class, AdminTest.class, + AdminTransform.class, AdminUnblockIp.class, AdminVitality.class, AdminZone.class, diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEffects.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEffects.java index f4c750c59d..74ff8b1526 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEffects.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEffects.java @@ -58,7 +58,6 @@ import com.l2jmobius.gameserver.util.Util; *
  • gmspeed = temporary Super Haste effect. *
  • para/unpara = paralyze/remove paralysis from target *
  • para_all/unpara_all = same as para/unpara, affects the whole world. - *
  • polyself/unpolyself = makes you look as a specified mob. *
  • changename = temporary change name *
  • clearteams/setteam_close/setteam = team related commands *
  • social = forces an L2Character instance to broadcast social action packets. @@ -89,10 +88,6 @@ public class AdminEffects implements IAdminCommandHandler "admin_para_all_menu", "admin_unpara_menu", "admin_para_menu", - "admin_polyself", - "admin_unpolyself", - "admin_polyself_menu", - "admin_unpolyself_menu", "admin_clearteams", "admin_setteam_close", "admin_setteam", @@ -369,25 +364,6 @@ public class AdminEffects implements IAdminCommandHandler { } } - else if (command.startsWith("admin_polyself")) - { - try - { - final String id = st.nextToken(); - activeChar.getPoly().setPolyInfo("npc", id); - activeChar.teleToLocation(activeChar.getLocation()); - activeChar.broadcastUserInfo(); - } - catch (Exception e) - { - BuilderUtil.sendSysMessage(activeChar, "Usage: //polyself "); - } - } - else if (command.startsWith("admin_unpolyself")) - { - activeChar.getPoly().setPolyInfo(null, "1"); - activeChar.broadcastUserInfo(); - } else if (command.equals("admin_clearteams")) { L2World.getInstance().forEachVisibleObject(activeChar, L2PcInstance.class, player -> diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java index e85c59974a..b0110c6100 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java @@ -65,8 +65,6 @@ public class AdminEventEngine implements IAdminCommandHandler "admin_event_name", "admin_event_control_kill", "admin_event_control_res", - "admin_event_control_poly", - "admin_event_control_unpoly", "admin_event_control_transform", "admin_event_control_untransform", "admin_event_control_prize", @@ -305,38 +303,6 @@ public class AdminEventEngine implements IAdminCommandHandler } showEventControl(activeChar); } - else if (actualCommand.startsWith("admin_event_control_poly")) - { - final int teamId = Integer.parseInt(st.nextToken()); - final String[] polyIds = new String[st.countTokens()]; - int i = 0; - while (st.hasMoreElements()) // Every next ST should be a polymorph ID - { - polyIds[i++] = st.nextToken(); - } - - for (L2PcInstance player : L2Event._teams.get(teamId)) - { - player.getPoly().setPolyInfo("npc", polyIds[Rnd.get(polyIds.length)]); - player.teleToLocation(player.getLocation(), true); - player.broadcastUserInfo(); - } - showEventControl(activeChar); - } - else if (actualCommand.startsWith("admin_event_control_unpoly")) - { - while (st.hasMoreElements()) // Every next ST should be a team number - { - for (L2PcInstance player : L2Event._teams.get(Integer.parseInt(st.nextToken()))) - { - player.getPoly().setPolyInfo(null, "1"); - player.decayMe(); - player.spawnMe(player.getX(), player.getY(), player.getZ()); - player.broadcastUserInfo(); - } - } - showEventControl(activeChar); - } else if (actualCommand.startsWith("admin_event_control_transform")) { final int teamId = Integer.parseInt(st.nextToken()); @@ -557,7 +523,7 @@ public class AdminEventEngine implements IAdminCommandHandler final NpcHtmlMessage adminReply = new NpcHtmlMessage(0, 1); final StringBuilder sb = new StringBuilder(); - sb.append("[ L2J EVENT ENGINE ]
    Current event: "); + sb.append("[ EVENT ENGINE ]
    Current event: "); sb.append(L2Event._eventName); sb.append("

  • "); sb.append("
    Type the team ID(s) that will be affected by the commands. Commands with '*' work with only 1 team ID in the field, while '!' - none.
     
    "); @@ -566,7 +532,7 @@ public class AdminEventEngine implements IAdminCommandHandler sb.append(""); } - sb.append("
    Destroys all event npcs so no more people can't participate now on
     
    Teleports the specified team to your position
     
    Sits/Stands up the team
     
    Finish with the life of all the players in the selected team
     
    Resurrect Team's members
     
    Polymorphs the team into the NPC with the ID specified. Multiple IDs result in randomly chosen one for each player.
     
    Unpolymorph the team
     
    Transforms the team into the transformation with the ID specified. Multiple IDs result in randomly chosen one for each player.
     
    Untransforms the team
     
    Num
    ID
    Give the specified item id to every single member of the team, you can put 5*level, 5*kills or 5 in the number field for example
     
    Kicks the specified player(s) from the event. Blank field kicks target.
     
    Will finish the event teleporting back all the players
     
    "); + sb.append("