
RedHoT
Members-
Posts
47 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by RedHoT
-
Share Automatic Lobby Changer V.2.6
RedHoT replied to snifi's topic in Client Development Discussion
Removed Again ¬¬ Google: http://www.4shared.com/rar/eP96uIKm/l2lobbychanger_v26_for_interlu.html My 4SHARED: http://www.4shared.com/rar/wKXepcGYce/l2lobbychanger_v26_for_interlu.html -
Since the site was offline, I need .m2 repository folder in order to compile L2jFree. Could someone share this? Thanks in advance.
-
When to use HashMap and ConcurrentHashMap Basic Example: private Map<String, Map<Integer, Integer>> _aviableBuffs; private FastMap<Integer, Map<String, List<Integer>>> _buffs; private Map<Integer, String> _activeSchemes; private Map<Integer, String> _activePetSchemes; private Map<Integer, List<String>> _modified; @SuppressWarnings("unused") private DataUpdater _dataUpdater; public EventBuffer() { _aviableBuffs = new FastMap<>(); _buffs = new FastMap<>(); _modified = new FastMap<>(); _activeSchemes = new FastMap<>(); _activePetSchemes = new FastMap<>(); _dataUpdater = new DataUpdater(); loadAviableBuffs(true); }
-
Code Announce Enchant Success
RedHoT replied to ThelwHelpRePaidia's topic in Server Shares & Files [L2J]
This code was created by me! http://pastebin.com/SkRSXU4g There is another code with an new version and announce only on same region ;) http://pastebin.com/rUATUF3m -
Help Broadcast Skills By Npc
RedHoT replied to RedHoT's question in Request Server Development Help [L2J]
damn! Its the Npc Template <_< I changed to the first npc template (31324) and work successfully. Thanks to all :) -
Help Broadcast Skills By Npc
RedHoT replied to RedHoT's question in Request Server Development Help [L2J]
Thanks to all, but not work :/ What I want is the NPC cast the skill on the player, so I have to use "this" -
I want my npc cast the skills by this way... ...but when I click to buff it do this way: My code for buff + action: MagicSkillUse mgc = new MagicSkillUse(this, player, buffId, buffLevel, 5, 0); SkillTable.getInstance().getInfo(buffId, buffLevel).getEffects(player, player); player.broadcastPacket(mgc); Someone knows how to solve this? Thanks a lot (And sorry for my english)
-
[2] Captcha is 'Anti Player' and not 'Anti Bot'
-
Here you can found the diff for Safe Admin.
-
Shadow Tattos For Interlude
RedHoT replied to millerose23's question in Request Server Development Help [L2J]
The time can be chosen, just change the value of column 'duration' on database. If your revision runs with xml, you must edit the following line: <set name="duration" val="90" /> -
Hello Justin Bieber fan's!! This is the Item Enchanter NPC. It uses the Icon Parser to generate the icons Configs: # Npc Id = 56 # Enable Enchant Items NPC. Default: False EnableNpcEnchantItems = False # Level of Weapon and Armor enchantment. WeaponEnchantLevel = 20 ArmorEnchantLevel = 16 # Price ID IngredientID = 6393 # Price Weapon Count IngredientAmountWeapon = 50 # Price Armor Count IngredientAmountArmor = 10 # Chance to augment item automatically on enchantment process. AugmentItemChance = 30 # List of Items that cannot be enchanted. NonEnchantableItemList = 0 ModifyItemEnchant = False ModifyItemEnchantList = 0,0; PASTEBIN BASE: Drake2wow
-
Hello Justin Bieber fan's!! I'm here to post the icon parser for interlude. In the second image, you can see what appear in case of non existent items on database. PASTEBIN
-
Discussion L2Jcannabis [Question-Discussion]
RedHoT replied to Nosti21's topic in Server Development Discussion [L2J]
This is an old project. Your last update was in mid of 2011~2012. Has many customs and very few retail stuffs. Sorry my english :D -
Yes, it's a great share.
-
You can to fix this error with EscapeFinalizer. For more info, see my topic on L2jFrozen forum: http://www.l2jfrozen.com/forum/index.php?topic=3923.msg13432#msg13432
-
Hello MxC users! Sometime ago i published this mod in another L2j forum. And NOW, I am posting HERE! It's a very simple code, because i'm still learning! What is this? - The AioBuffer Shop can sell AIO status by any items that the admin chooses. How to Use? - It's very simple! Just need edit the html file. <button value="30 Days" action="bypass -h npc_%objectId%_add_aio $item_id $item_count $aio_time" width=100 height=15 back="sek.cbui94" fore="sek.cbui92"> Just replace the tags with their respective values: $item_id: ItemId needed $item_count: Count of ItemId $aio_time: Time of AIO Status Appearance - The current HTML NPC can be seen in the following image: You must edit in data/html/mods/Aio Shop/start.htm file; And finally the code: Index: data/html/mods/Aio Shop/start.htm =================================================================== --- data/html/mods/Aio Shop/start.htm (revision 0) +++ data/html/mods/Aio Shop/start.htm (working copy) @@ -0,0 +1,36 @@ +<html> + <title>Aio Shop</title> + <body> + <br> + <center><img src=L2UI.SquareWhite width=276 height=1></center> + <center> + <table width=256> + <tr> + <td><img src=L2UI.GM_Icon width=32 height=32></td> + <td width=192 align=center> + <font color="LEVEL">%servername%</font><br1>Bem Vindo ao Aio Shop! + </td> + <td><img src=L2UI.GM_Icon width=32 height=32></td> + </tr> + </table> + </center> + <br> + <center><img src=L2UI.SquareWhite width=276 height=1></center> + <br> + <center> + <font color=99FF66>Quando voce faz um AIO, seu personagem nao<br1> + podera dar hits ou usar skills fora da cidade.</font><br1> + <font color=FF0055>Use um personagem alternativo para isso!</font><br> + <img src=L2UI_CH3.herotower_deco width=256 height=32><br> + <font color=FF9900>Os precos dos pacotes de dias sao em<br1> + "Gold Bar" e os dias sao cumulativos.</font><br> + <button value="30 Dias [10 GB]" action="bypass -h npc_%objectId%_add_aio 3470 10 30" width=100 height=15 back="sek.cbui94" fore="sek.cbui92"><br> + <button value="60 Dias [20 GB]" action="bypass -h npc_%objectId%_add_aio 3470 20 60" width=100 height=15 back="sek.cbui94" fore="sek.cbui92"><br> + <button value="180 Dias [40 GB]" action="bypass -h npc_%objectId%_add_aio 3470 40 180" width=100 height=15 back="sek.cbui94" fore="sek.cbui92"><br> + <button value="365 Dias [80 GB]" action="bypass -h npc_%objectId%_add_aio 3470 80 365" width=100 height=15 back="sek.cbui94" fore="sek.cbui92"><br> + <font color=0099FF>Se voce clicar em "Remover AIO" seu status AIO<br1> + sera removido e voce perdera os creditos restantes.</font> + <button value="Remover Aio" action="bypass -h npc_%objectId%_remove_aio" width=100 height=15 back="sek.cbui94" fore="sek.cbui92"><br> + </center> + </body> +</html> #P L2jFrozen_GameServer Index: head-src/com/l2jfrozen/Config.java =================================================================== --- head-src/com/l2jfrozen/Config.java (revision 972) +++ head-src/com/l2jfrozen/Config.java (working copy) @@ -572,6 +572,8 @@ public static int AIO_TCOLOR; public static boolean ALLOW_AIO_USE_GK; public static boolean ALLOW_AIO_USE_CM; + public static int DUAL_AIO_ID; + public static boolean ANNOUNCE_CASTLE_LORDS; /** Configuration to allow custom items to be given on character creation */ @@ -672,6 +674,8 @@ AIO_TCOLOR = Integer.decode("0x" + otherSettings.getProperty("AioTitleColor", "88AA88")); ALLOW_AIO_USE_GK = Boolean.parseBoolean(otherSettings.getProperty("AllowAioUseGk", "False")); ALLOW_AIO_USE_CM = Boolean.parseBoolean(otherSettings.getProperty("AllowAioUseClassMaster", "False")); + DUAL_AIO_ID = Integer.parseInt(otherSettings.getProperty("DualAioItemId", "6580")); + ANNOUNCE_CASTLE_LORDS = Boolean.parseBoolean(otherSettings.getProperty("AnnounceCastleLords", "False")); if(ENABLE_AIO_SYSTEM) //create map if system is enabled { Index: head-src/com/l2jfrozen/gameserver/model/actor/instance/L2AioSellerInstance.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/actor/instance/L2AioSellerInstance.java (revision 0) +++ head-src/com/l2jfrozen/gameserver/model/actor/instance/L2AioSellerInstance.java (working copy) @@ -0,0 +1,227 @@ +/* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * http://www.gnu.org/copyleft/gpl.html + */ +package com.l2jfrozen.gameserver.model.actor.instance; + +import java.util.StringTokenizer; + +import com.l2jfrozen.Config; +import com.l2jfrozen.gameserver.ai.CtrlIntention; +import com.l2jfrozen.gameserver.network.SystemMessageId; +import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed; +import com.l2jfrozen.gameserver.network.serverpackets.EtcStatusUpdate; +import com.l2jfrozen.gameserver.network.serverpackets.InventoryUpdate; +import com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected; +import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; +import com.l2jfrozen.gameserver.network.serverpackets.SystemMessage; +import com.l2jfrozen.gameserver.network.serverpackets.ValidateLocation; +import com.l2jfrozen.gameserver.templates.L2NpcTemplate; + +/** + * Aio Shop e um re-make do Mod Aio Seller. De uma versao para outra, muitas coisas mudaram e isto altera o modo de usar do mod por completo! + * Agora e possivel alterar a template, o item, o preco e o tempo via html. Em resumo, esta nova versao do codigo esta bem mais flexivel. + * Faca um bom uso! + * @author RedHoT + * @version 1.0.7 + */ +public class L2AioSellerInstance extends L2FolkInstance +{ + public L2AioSellerInstance(int objectId, L2NpcTemplate template) + { + super(objectId, template); + } + + @Override + public void onAction(L2PcInstance player) + { + if (!canTarget(player)) + return; + + player.setLastFolkNPC(this); + + // Check if the L2PcInstance already target the L2NpcInstance + if (this != player.getTarget()) + { + // Set the target of the L2PcInstance player + player.setTarget(this); + + // Send a Server->Client packet MyTargetSelected to the L2PcInstance player + MyTargetSelected my = new MyTargetSelected(getObjectId(), 0); + player.sendPacket(my); + my = null; + + // Send a Server->Client packet ValidateLocation to correct the L2NpcInstance position and heading on the client + player.sendPacket(new ValidateLocation(this)); + } + else + { + // Calculate the distance between the L2PcInstance and the L2NpcInstance + if (!canInteract(player)) + { + // Notify the L2PcInstance AI with AI_INTENTION_INTERACT + player.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this); + } + else + { + showMessageWindow(player); + } + } + // Send a Server->Client ActionFailed to the L2PcInstance in order to avoid that the client wait another packet + player.sendPacket(ActionFailed.STATIC_PACKET); + } + + private void showMessageWindow(L2PcInstance player) + { + String filename = "data/html/mods/Aio Shop/start.htm"; + + NpcHtmlMessage html = new NpcHtmlMessage(1); + html.setFile(filename); + html.replace("%objectId%", String.valueOf(getObjectId())); + html.replace("%servername%", Config.ALT_Server_Name); + player.sendPacket(html); + filename = null; + html = null; + } + + @Override + public void onBypassFeedback(L2PcInstance player, String command) + { + if (command.startsWith("add_aio")) + { + StringTokenizer st = new StringTokenizer(command); + st.nextToken(); + + String priceId = null, priceCount = null, time = null; + int aioPriceId = 0, aioPriceCount = 0, aioTime = 0; + + if (st.hasMoreTokens()) + { + priceId = st.nextToken(); + priceCount = st.nextToken(); + time = st.nextToken(); + + try + { + aioPriceId = Integer.parseInt(priceId); + aioPriceCount = Integer.parseInt(priceCount); + aioTime = Integer.parseInt(time); + } + catch(NumberFormatException e) {} + } + else + { + _log.warning("Could not update aio status of player " + player.getName()); + return; + } + + makeAioCharacter(player, aioPriceId, aioPriceCount, aioTime); + } + else if (command.startsWith("remove_aio")) + removeAio(player); + + showMessageWindow(player); + } + + + public void makeAioCharacter(L2PcInstance player, int itemId, int itemCount, int aioTime) + { + L2ItemInstance itemInstance = player.getInventory().getItemByItemId(itemId); + + if (itemInstance == null || !itemInstance.isStackable() && player.getInventory().getInventoryItemCount(itemId, -1) < (itemCount)) + { + player.sendPacket(new SystemMessage(SystemMessageId.NOT_ENOUGH_ITEMS)); + return; + } + else if (itemInstance.isStackable()) + { + if (!player.destroyItemByItemId("Aio", itemId, itemCount, player.getTarget(), true)) + { + player.sendPacket(new SystemMessage(SystemMessageId.NOT_ENOUGH_ITEMS)); + return; + } + } + else + for (int i = 0; i < (itemCount); i++) + player.destroyItemByItemId("Aio", itemId, 1, player.getTarget(), true); + + doAio(player, aioTime); + } + public void doAio(L2PcInstance player, int days) + { + if(player == null) + return; + + int daysLeft = player.getAioEndTime() <= 0 ? 0 : (int) ((player.getAioEndTime() - System.currentTimeMillis()) / 86400000); + player.setAio(true); + player.setEndTime("aio", days + daysLeft); + + player.getStat().addExp(player.getStat().getExpForLevel(81)); + + if(Config.ALLOW_AIO_NCOLOR && player.isAio()) + player.getAppearance().setNameColor(Config.AIO_NCOLOR); + + if(Config.ALLOW_AIO_TCOLOR && player.isAio()) + player.getAppearance().setTitleColor(Config.AIO_TCOLOR); + + /* Give Aio Dual */ + L2ItemInstance item; + if(player.getInventory().getItemByItemId(Config.DUAL_AIO_ID) == null) + { + item = player.getInventory().addItem("", Config.DUAL_AIO_ID, 1, player, null); + InventoryUpdate iu = new InventoryUpdate(); + iu.addItem(item); + player.sendPacket(iu); + } + + player.rewardAioSkills(); + player.sendPacket(new EtcStatusUpdate(player)); + player.sendSkillList(); + player.broadcastUserInfo(); + + player.sendMessage("You are now an Aio, Congratulations!"); + } + + public void removeAio(L2PcInstance player) + { + if(!player.isAio()) + { + player.sendMessage("You are not an AIO."); + return; + } + + player.setAio(false); + player.setAioEndTime(0); + + player.getAppearance().setNameColor(0xFFFFFF); + player.getAppearance().setTitleColor(0xFFFF77); + + /* Remove Aio Dual */ + L2ItemInstance item; + player.getWarehouse().destroyItemByItemId("", Config.DUAL_AIO_ID, 1, player, null); + item = player.getInventory().destroyItemByItemId("", Config.DUAL_AIO_ID, 1, player, null); + InventoryUpdate iu = new InventoryUpdate(); + iu.addItem(item); + player.sendPacket(iu); + + player.lostAioSkills(); + player.sendPacket(new EtcStatusUpdate(player)); + player.sendSkillList(); + player.broadcastUserInfo(); + + player.sendMessage("Now You are not an Aio.."); + } +} Index: config/head/other.properties =================================================================== --- config/head/other.properties (revision 972) +++ config/head/other.properties (working copy) @@ -225,6 +225,9 @@ # Aio Buffers can speak to Class Master? AllowAioUseClassMaster = False +# ID Item for Reward AIO's in Transformation +DualAioItemId = 6580 + # Announce castle lords on enter game. default = false AnnounceCastleLords = False SQL: INSERT INTO `custom_npc` VALUES ('100', '14207', 'Mr. Catra', '1', 'Aio Shop', '1', 'Monster.silver_cat', '7.00', '15.00', '42', 'male', 'L2AioSeller', '40', '2008', '679', '9.09', '2.14', '40', '43', '30', '21', '20', '25', '0', '0', '413', '236', '152', '221', '278', '0', '333', '0', '0', '0', '52', '198', 'NULL', '0', '0', '0', 'LAST_HIT'); Pastebin Sorry My English! It's Google Destroyer Traslator
-
kkkkkk E nóis mano ;)
-
This is My Real Name.
-
This is another simple administrative command... It shows the Olympiad Points of any player noble ingame. Command: //olympiad_stat Index: head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminOlympiadStat.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminOlympiadStat.java (revision 0) +++ head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminOlympiadStat.java (revision 0) @@ -0,0 +1,73 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * [url]http://www.gnu.org/copyleft/gpl.html[/url] + */ +package com.l2jfrozen.gameserver.handler.admincommandhandlers; + +import java.util.logging.Logger; + +import com.l2jfrozen.gameserver.handler.IAdminCommandHandler; +import com.l2jfrozen.gameserver.model.L2Object; +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; +import com.l2jfrozen.gameserver.model.entity.olympiad.Olympiad; + +/** + * @Description: Shows Player Olympiad Points + * @Usage: //olympiad_stat <target> + * + * @author Leandro Cândido + */ +public class AdminOlympiadStat implements IAdminCommandHandler +{ + protected static final Logger _log = Logger.getLogger(AdminOlympiadStat.class.getName()); + + private static String[] ADMIN_COMMANDS = { "admin_olympiad_stat" }; + + @Override + public boolean useAdminCommand(String command, L2PcInstance activeChar) + { + if(command.startsWith("admin_olympiad_stat")) + { + L2Object target = activeChar.getTarget(); + L2PcInstance player = null; + + if(target != null && target instanceof L2PcInstance) + player = (L2PcInstance)target; + else + activeChar.sendMessage("Usage: //olympiad_stat <target>"); + + if(player.isNoble()) + { + activeChar.sendMessage("Match(s): " + Olympiad.getInstance().getCompetitionDone(player.getObjectId())); + activeChar.sendMessage("Points: "+Olympiad.getInstance().getNoblePoints(player.getObjectId())); + return true; + } + else + { + activeChar.sendMessage("Oops! Your target is not a Noble!"); + return true; + } + } + return true; + } + + @Override + public String[] getAdminCommandList() + { + return ADMIN_COMMANDS; + } +} Index: head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java (revision 903) +++ head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java (working copy) @@ -64,11 +65,13 @@ import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminMobGroup; import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminMonsterRace; import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminNoble; +import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminOlympiadStat; import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminPForge; import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminPetition; import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminPledge; @@ -185,6 +189,10 @@ registerAdminCommandHandler(new AdminNoble()); registerAdminCommandHandler(new AdminBuffs()); registerAdminCommandHandler(new AdminAio()); + registerAdminCommandHandler(new AdminMassHero()); //ATTENTION: adding new command handlers, you have to change the //sql file containing the access levels rights SQL: INSERT INTO admin_command_access_rights VALUES ('admin_olympiad_stat', '2'); Developed and tested on L2jFrozen Interlude Credits: Me Thanks and I hope it useful! Enjoy! NOTE: Sorry My English, haha
-
I just create for events on christmas and the new year.
-
[Request] Chaos Event Sources
RedHoT replied to livogro's question in Request Server Development Help [L2J]
Or post the link here (: -
DESCRIPTION: This command gives Hero Status to all online players... it's a simple command... IMAGE: JAVA CODE: Index: head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminMassHero.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminMassHero.java (revision 0) +++ head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminMassHero.java (revision 0) @@ -0,0 +1,75 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * [url]http://www.gnu.org/copyleft/gpl.html[/url] + */ +package com.l2jfrozen.gameserver.handler.admincommandhandlers; + +import java.util.logging.Logger; + +import com.l2jfrozen.gameserver.handler.IAdminCommandHandler; +import com.l2jfrozen.gameserver.model.L2World; +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; +import com.l2jfrozen.gameserver.network.serverpackets.SocialAction; + +/** + * Give Status Hero to All Players In Game + * + * Usage: //masshero + * + * @author Leandro Cândido + * + */ + +public class AdminMassHero implements IAdminCommandHandler +{ + protected static final Logger _log = Logger.getLogger(AdminMassHero.class.getName()); + + @Override + public String[] getAdminCommandList() + { + return ADMIN_COMMANDS; + } + + @Override + public boolean useAdminCommand(String command, L2PcInstance activeChar) + { + if(activeChar == null) + return false; + + if(command.startsWith("admin_masshero")) + { + for(L2PcInstance player : L2World.getInstance().getAllPlayers()) + { + if(player instanceof L2PcInstance) + { + /* Check to see if the player already is Hero */ + if(!player.isHero()) + { + player.setIsHero(true); + player.sendMessage("Admin is rewarding all online players with Hero Status."); + player.broadcastPacket(new SocialAction(player.getObjectId(), 16)); + player.broadcastUserInfo(); + } + player = null; + } + } + } + return true; + } + + private static String[] ADMIN_COMMANDS = { "admin_masshero" }; +} Index: head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java (revision 903) +++ head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java (working copy) @@ -91,6 +91,7 @@ import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminTvTEngine; import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminUnblockIp; import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminVIPEngine; +import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminMassHero; import com.l2jfrozen.gameserver.handler.admincommandhandlers.AdminZone; /** @@ -185,6 +120,9 @@ registerAdminCommandHandler(new AdminNoble()); registerAdminCommandHandler(new AdminBuffs()); registerAdminCommandHandler(new AdminAio()); + registerAdminCommandHandler(new AdminMassHero()); //ATTENTION: adding new command handlers, you have to change the //sql file containing the access levels rights SQL: INSERT INTO admin_command_access_rights VALUES ('admin_masshero', '2'); Tested on L2jFrozen and it's Working Properly. If you find any error. tell-me. Created By Me! Thanks and Good Use!
-
[share][Interlude]Shaiya Helmet's to Interlude
RedHoT replied to johnscott's topic in Client Development Discussion
nice share.