Jump to content

Celebron

Members
  • Posts

    526
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Celebron

  1. Se euxaristw pantos se pio fakelo mesa eine sto data meta? h5 pack milame
  2. Euxaristw kai pou boro na valo na vgenoun i new player se ena leveling zone
  3. Thelo na kano mia zone peace zone dld na min bori o alos na varai ton alon player se ena meros , kai akrivos to antitheto. Episis Thelo otan ksekinai enas player na vgeni se ena meros random dikomou Pou akrivos pigeneno kai vazo to id /loc gia na vgeni Client H5 Pack
  4. To ekana na douleui kai se h5 :) douleui se ola ta pack apla na to alaksis ligo :)
  5. Kanena den eine dikosou distixos kai i GK eine to fallfalcon kapos etc :)
  6. Uploaded with ImageShack.us This problem why --> L2jServer BETA 8440 Problem fixed Download and install Java JDK 7. http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
  7. You get +1 Thanks for all share work fine and is stable :)
  8. Pos boro na ta kano ta festival adena na ginontai trade ?
  9. How can add this in my server. Index: data/scripts/handlers/MasterHandler.java =================================================================== --- data/scripts/handlers/MasterHandler.java (revision 7732) +++ data/scripts/handlers/MasterHandler.java (working copy) @@ -245,6 +245,7 @@ import handlers.voicedcommandhandlers.Debug; import handlers.voicedcommandhandlers.Lang; import handlers.voicedcommandhandlers.TvTVoicedInfo; +import handlers.voicedcommandhandlers.VisualArmor; import handlers.voicedcommandhandlers.Wedding; import handlers.voicedcommandhandlers.stats; @@ -550,6 +551,8 @@ VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Lang()); if (Config.L2JMOD_DEBUG_VOICE_COMMAND) VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Debug()); + + VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new VisualArmor()); _log.config("Loaded " + VoicedCommandHandler.getInstance().size() + " VoicedHandlers"); } Index: data/scripts/handlers/voicedcommandhandlers/VisualArmor.java =================================================================== --- data/scripts/handlers/voicedcommandhandlers/VisualArmor.java (revision 0) +++ data/scripts/handlers/voicedcommandhandlers/VisualArmor.java (revision 0) @@ -0,0 +1,65 @@ +/* + * 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. + */ +package handlers.voicedcommandhandlers; + +import com.l2jserver.extensions.VisualArmorController; +import com.l2jserver.gameserver.handler.IVoicedCommandHandler; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.network.serverpackets.InventoryUpdate; + +public class VisualArmor implements IVoicedCommandHandler +{ + private static final String[] VOICED_COMMANDS = + { + "dressme", "dressMe", "DressMe", "cloakOn", "cloakOff" + }; + + + public boolean useVoicedCommand(String command, L2PcInstance activeChar, String params) + { + if(command.contains("cloakOn")) + { + activeChar.visualArmor.weaponLRHANDId =0; + InventoryUpdate iu = new InventoryUpdate(); + activeChar.sendPacket(iu); + activeChar.broadcastUserInfo(); + InventoryUpdate iu2 = new InventoryUpdate(); + activeChar.sendPacket(iu2); + activeChar.broadcastUserInfo(); + activeChar.sendMessage("Cloak enabled."); + } + else if(command.contains("cloakOff")) + { + activeChar.visualArmor.weaponLRHANDId =1; + InventoryUpdate iu = new InventoryUpdate(); + activeChar.sendPacket(iu); + activeChar.broadcastUserInfo(); + InventoryUpdate iu2 = new InventoryUpdate(); + activeChar.sendPacket(iu2); + activeChar.broadcastUserInfo(); + activeChar.sendMessage("Cloak disabled."); + } + else + VisualArmorController.dressMe(activeChar); + + return true; + } + + + public String[] getVoicedCommandList() + { + return VOICED_COMMANDS; + } +} \ No newline at end of file Master Handler..
  10. nai kai thelo na peraso ta handler nai mipos prepi na alakso kai ta imports? Gia paradigma auta edw ti prepi na alakso gia na ta valo sto server Index: data/scripts/handlers/MasterHandler.java =================================================================== --- data/scripts/handlers/MasterHandler.java (revision 7732) +++ data/scripts/handlers/MasterHandler.java (working copy) @@ -245,6 +245,7 @@ import handlers.voicedcommandhandlers.Debug; import handlers.voicedcommandhandlers.Lang; import handlers.voicedcommandhandlers.TvTVoicedInfo; +import handlers.voicedcommandhandlers.VisualArmor; import handlers.voicedcommandhandlers.Wedding; import handlers.voicedcommandhandlers.stats; @@ -550,6 +551,8 @@ VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Lang()); if (Config.L2JMOD_DEBUG_VOICE_COMMAND) VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Debug()); + + VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new VisualArmor()); _log.config("Loaded " + VoicedCommandHandler.getInstance().size() + " VoicedHandlers"); } Index: data/scripts/handlers/voicedcommandhandlers/VisualArmor.java =================================================================== --- data/scripts/handlers/voicedcommandhandlers/VisualArmor.java (revision 0) +++ data/scripts/handlers/voicedcommandhandlers/VisualArmor.java (revision 0) @@ -0,0 +1,65 @@ +/* + * 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. + */ +package handlers.voicedcommandhandlers; + +import com.l2jserver.extensions.VisualArmorController; +import com.l2jserver.gameserver.handler.IVoicedCommandHandler; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.network.serverpackets.InventoryUpdate; + +public class VisualArmor implements IVoicedCommandHandler +{ + private static final String[] VOICED_COMMANDS = + { + "dressme", "dressMe", "DressMe", "cloakOn", "cloakOff" + }; + + + public boolean useVoicedCommand(String command, L2PcInstance activeChar, String params) + { + if(command.contains("cloakOn")) + { + activeChar.visualArmor.weaponLRHANDId =0; + InventoryUpdate iu = new InventoryUpdate(); + activeChar.sendPacket(iu); + activeChar.broadcastUserInfo(); + InventoryUpdate iu2 = new InventoryUpdate(); + activeChar.sendPacket(iu2); + activeChar.broadcastUserInfo(); + activeChar.sendMessage("Cloak enabled."); + } + else if(command.contains("cloakOff")) + { + activeChar.visualArmor.weaponLRHANDId =1; + InventoryUpdate iu = new InventoryUpdate(); + activeChar.sendPacket(iu); + activeChar.broadcastUserInfo(); + InventoryUpdate iu2 = new InventoryUpdate(); + activeChar.sendPacket(iu2); + activeChar.broadcastUserInfo(); + activeChar.sendMessage("Cloak disabled."); + } + else + VisualArmorController.dressMe(activeChar); + + return true; + } + + + public String[] getVoicedCommandList() + { + return VOICED_COMMANDS; + } +} \ No newline at end of file
  11. as poume kapia handler apo ena server se alo kai kapia custom ti na kano?
  12. Kalhspera to ekana kai sto english section otan arxizo to server to login server kai to game server eine ola mia xara meta molis pane na ftiaksioun pexti kai pata start na peksoun mou vgazi auto edw.. to error Client: [Account: Unknow - IP: 195.241.252.91] - Failed running: [C] 12 Characte rSelect - L2J Server Version: 4858:4859M - DP Revision: Unsupported Custom Versi on. ; null java.lang.NullPointerException at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.restore(L2 PcInstance.java:7728) at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.load(L2PcI nstance.java:1293) at com.l2jserver.gameserver.network.L2GameClient.loadCharFromDisk(L2Game Client.java:609) at com.l2jserver.gameserver.network.clientpackets.CharacterSelect.runImp l(CharacterSelect.java:125) at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run (L2GameClientPacket.java:62) at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1 127) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) his messag
  13. Hello guys i have 1 problem please help me when i start GS console we get tClient: [Account: Unknow - IP: 195.241.252.91] - Failed running: [C] 12 Characte rSelect - L2J Server Version: 4858:4859M - DP Revision: Unsupported Custom Versi on. ; null java.lang.NullPointerException at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.restore(L2 PcInstance.java:7728) at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.load(L2PcI nstance.java:1293) at com.l2jserver.gameserver.network.L2GameClient.loadCharFromDisk(L2Game Client.java:609) at com.l2jserver.gameserver.network.clientpackets.CharacterSelect.runImp l(CharacterSelect.java:125) at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run (L2GameClientPacket.java:62) at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1 127) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) his message
  14. Twilight's Hammer Europe: Join i play here last 5 year, Name Character Netheris DeathKnight Official
  15. kalo to share ala auto eine eukolo apla tou alazis oplo tou guard tou vazis to id kai to kanis kai + an thes na fenete kai tou anevazis ta stats to kalo tha itan na eitan custom pk killer :)
  16. Bravo ρε φιλε καλή δουλειά δεν ξέρω τι σου λένε η ali απλά εγώ την βλέπω μια χαρά την buffer συνέχισε έτσι.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock