Celebron
Members-
Posts
526 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Celebron
-
Kalhspera Den ksero an exi ksnagini
Celebron replied to Celebron's question in Request Server Development Help [Greek]
Se euxaristw pantos se pio fakelo mesa eine sto data meta? h5 pack milame -
Kalhspera Den ksero an exi ksnagini
Celebron replied to Celebron's question in Request Server Development Help [Greek]
Euxaristw kai pou boro na valo na vgenoun i new player se ena leveling zone -
Kalhspera Den ksero an exi ksnagini
Celebron replied to Celebron's question in Request Server Development Help [Greek]
bump -
Kalhspera Den ksero an exi ksnagini
Celebron posted a question in Request Server Development Help [Greek]
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 -
[Share]Special Olympiad manager ranking/Menus
Celebron replied to l22expert's topic in Server Development Discussion [Greek]
To ekana na douleui kai se h5 :) douleui se ola ta pack apla na to alaksis ligo :) -
[Collection]My NPC Collection Freya!!!
Celebron replied to MaxPa1n's topic in Server Development Discussion [Greek]
Kanena den eine dikosou distixos kai i GK eine to fallfalcon kapos etc :) -
[Share] Ultra Buffer (Freya and H5)
Celebron replied to `NeverMore's topic in Server Development Discussion [L2J]
You get +1 Thanks for all share work fine and is stable :) -
[Help]Festival Adena
Celebron replied to Celebron's question in Request Server Development Help [Greek]
pou akrivos sti navicat -
Pos boro na ta kano ta festival adena na ginontai trade ?
-
[Share] Ultra Buffer (Freya and H5)
Celebron replied to `NeverMore's topic in Server Development Discussion [L2J]
Very Nice share mate thanks you! +1 for me -
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..
-
pos boro na metafero kapia pragmata
Celebron replied to Celebron's question in Request Server Development Help [Greek]
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 -
pos boro na metafero kapia pragmata
Celebron posted a question in Request Server Development Help [Greek]
as poume kapia handler apo ena server se alo kai kapia custom ti na kano? -
[Help]Kalhspera provlima me to GS
Celebron posted a question in Request Server Development Help [Greek]
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 -
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
-
Twilight's Hammer Europe: Join i play here last 5 year, Name Character Netheris DeathKnight Official
-
Nice virus Trojan
-
[Share] Pk Killer By DaRkBullxD [IL]
Celebron replied to kas23's topic in Server Shares & Files [L2J]
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 :) -
Bravo ρε φιλε καλή δουλειά δεν ξέρω τι σου λένε η ali απλά εγώ την βλέπω μια χαρά την buffer συνέχισε έτσι.
-
[Help] Pos boro na valo perisotera client
Celebron replied to Celebron's question in Request Server Development Help [Greek]
Extos thematos kai i dio telos padon problem fixed. -
bump
-
[Help] Pos boro na valo perisotera client
Celebron replied to Celebron's question in Request Server Development Help [Greek]
bump