BlackDevilDev Posted November 27, 2012 Posted November 27, 2012 Γεια σας παιδια αποφασισα να ξανα αρχισω το ψαξιμο στο γραψιμο κωδικα ,και θελω την βοηθεια σας εφτιαξα αυτο τον κωδικα .Εχω κανει καποια λαθη ? ### Eclipse Workspace Patch 1.0 #P L2J_DataPack Index: dist/game/data/scripts/handlers/voicedcommandhandlers/BlackDevilCommands.java =================================================================== --- dist/game/data/scripts/handlers/voicedcommandhandlers/BlackDevilCommands.java (revision 0) +++ dist/game/data/scripts/handlers/voicedcommandhandlers/BlackDevilCommands.java (working copy) @@ -0,0 +1,32 @@ +/* + * 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.gameserver.handler.IUserCommandHandler; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; + + + public abstract class BlackDevilCommands implements IUserCommandHandler +{ + public void useVoicedCommand(String command, L2PcInstance activeChar, String params) + { + if(command.equalsIgnoreCase("hero")) + { + activeChar.setHero(true); + } + + } +} \ No newline at end of file
0 AbsolutePower Posted November 28, 2012 Posted November 28, 2012 Γεια σας παιδια αποφασισα να ξανα αρχισω το ψαξιμο στο γραψιμο κωδικα ,και θελω την βοηθεια σας εφτιαξα αυτο τον κωδικα .Εχω κανει καποια λαθη ? ### Eclipse Workspace Patch 1.0 #P L2J_DataPack Index: dist/game/data/scripts/handlers/voicedcommandhandlers/BlackDevilCommands.java =================================================================== --- dist/game/data/scripts/handlers/voicedcommandhandlers/BlackDevilCommands.java (revision 0) +++ dist/game/data/scripts/handlers/voicedcommandhandlers/BlackDevilCommands.java (working copy) @@ -0,0 +1,32 @@ +/* + * 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.gameserver.handler.IUserCommandHandler; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; + + + public abstract class BlackDevilCommands implements IUserCommandHandler +{ + public void useVoicedCommand(String command, L2PcInstance activeChar, String params) + { + if(command.equalsIgnoreCase("hero")) + { + activeChar.setHero(true); + } + + } +} \ No newline at end of file an kai uparxoun tetia para polla. nai ekanes... voicedcommandhandlers ebales kai meta to gyrises se implements IUserCommandHandler.... prepei na einai IVoiced oxi Iuser..... tespa psa3tw sto l2j frozen i esios i opou allou 8es uparxei idi.
0 `Rοmeο Posted November 28, 2012 Posted November 28, 2012 http://maxcheaters.com/forum/index.php?topic=255828.0 Diavase Rule prin ftiaksis new topic.
Question
BlackDevilDev
### Eclipse Workspace Patch 1.0
#P L2J_DataPack
Index: dist/game/data/scripts/handlers/voicedcommandhandlers/BlackDevilCommands.java
===================================================================
--- dist/game/data/scripts/handlers/voicedcommandhandlers/BlackDevilCommands.java (revision 0)
+++ dist/game/data/scripts/handlers/voicedcommandhandlers/BlackDevilCommands.java (working copy)
@@ -0,0 +1,32 @@
+/*
+ * 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.gameserver.handler.IUserCommandHandler;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+
+
+ public abstract class BlackDevilCommands implements IUserCommandHandler
+{
+ public void useVoicedCommand(String command, L2PcInstance activeChar, String params)
+ {
+ if(command.equalsIgnoreCase("hero"))
+ {
+ activeChar.setHero(true);
+ }
+
+ }
+}
\ No newline at end of file
2 answers to this question
Recommended Posts