drake2wow Posted July 6, 2013 Posted July 6, 2013 And please dont compare my the best MMO RPG in the world with Lineage. It just shows you are brain damanged. maybe ur brain damaged, where excactly I compare them ? lol Quote
Guest Elfocrash Posted July 6, 2013 Posted July 6, 2013 maybe I don't want to play games with pigs and walking minitaurs with piersed noses. (warcraft) or a game witch rages you 24/7 (League of legends) I prefer the old cool and slow l2 gameplay Saying that you dont pick warcraft cuz of pigs (which dont exist btw) and minotaurs or lol but you prefer l2 is the MEANING of comparing. I got to love this forums community level. Quote
drake2wow Posted July 6, 2013 Posted July 6, 2013 Saying that you dont pick warcraft cuz of pigs (which dont exist btw) and minotaurs or lol but you prefer l2 is the MEANING of comparing. I got to love this forums community level. For facks sake, Im L2 player but I always new that wow was years ahead, I just didnt want to completly ruin my life by playing wow, cause since u start it there is no return. Quote
Guest Elfocrash Posted July 6, 2013 Posted July 6, 2013 For facks sake, Im L2 player but I always new that wow was years ahead, I just didnt want to completly ruin my life by playing wow, cause since u start it there is no return. You are so naive and i can tell that you dont have a clue for what you're talking about. Btw your england is very best. Do you have weather for a coffee? Quote
drake2wow Posted July 6, 2013 Posted July 6, 2013 You are so naive and i can tell that you dont have a clue for what you're talking about. Btw your england is very best. Do you have weather for a coffee? sry for not going tryhard on my english on a forum lol Quote
vampir Posted July 7, 2013 Posted July 7, 2013 This, I don't think so people will play it for longer period of time, rather to check it out.. :) L2 is L2, if someone want rpg style, he pick ofhter game, you know. But indeed it's interesting idea :P Yeah probably. The only group of people that could get known of this server(ofc if admins wouldnt make big adv campaign), are l2 players - guys that love pvp, rpg style. So i just some of the people that downloaded the server system will stay on it longer. Its project mostly for fun of developing it and showing people that something so different can be created in Lineage II client using Java server. Quote
An4rchy Posted July 7, 2013 Author Posted July 7, 2013 Yeah probably. The only group of people that could get known of this server(ofc if admins wouldnt make big adv campaign), are l2 players - guys that love pvp, rpg style. So i just some of the people that downloaded the server system will stay on it longer. Its project mostly for fun of developing it and showing people that something so different can be created in Lineage II client using Java server.i As a matter of fact, i have started working on it :) I have created a svn and i modify the whole l2j source, meaning i delete useless features like clans, allies, seven signs etc. Then i'll start working on it as a modification in an empty l2 server. Idk, but i think that if i code it properly it will be used. I do it on Interlude chronicle and i'm going to use an instance system so that multiple fights can take place. I don't know how will the development continue, but i hope to find someone to work with on it, since i have limited time too. Quote
Jeremy_ Posted July 31, 2013 Posted July 31, 2013 If you can try to do it... Clan members Can teleport to Clan leader Voiced Command: .gotoleader I am Waiting :) Quote
SweeTs Posted July 31, 2013 Posted July 31, 2013 If you can try to do it... Clan members Can teleport to Clan leader Voiced Command: .gotoleader I am Waiting :) It's surely already shared. Just use search (uncle google) :) 1st result, old like sh1t :D http://trac.assembla.com/l2jroh/browser/L2JSaver/src/l2jsaver/Vago/GotoLeader.java?rev=10 Quote
Devlin Posted July 31, 2013 Posted July 31, 2013 If you can try to do it... Clan members Can teleport to Clan leader Voiced Command: .gotoleader I am Waiting :) ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/handler/customcommandhandlers/GoToLeader.java =================================================================== --- java/net/sf/l2j/gameserver/handler/customcommandhandlers/GoToLeader.java (revision 0) +++ java/net/sf/l2j/gameserver/handler/customcommandhandlers/GoToLeader.java (working copy) @@ -0,0 +1,53 @@ +/* + * 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 net.sf.l2j.gameserver.handler.customcommandhandlers; + +import net.sf.l2j.gameserver.handler.ICustomCommandHandler; +import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; + +/** + * @author Devlin + * + */ +public class GoToLeader implements ICustomCommandHandler +{ + private static String[] VOICED_COMMANDS = { "gotoleader" }; + + @Override + public boolean useCustomCommand(String command, L2PcInstance activeChar) + { + if (command.equals("gotoleader")) + { + if (activeChar.getClan() != null) + { + L2PcInstance clanLeader = activeChar.getClan().getLeader().getPlayerInstance(); + + if (clanLeader == null) + return false; + + activeChar.teleToLocation(clanLeader.getX(), clanLeader.getY(), clanLeader.getZ(), 0); + return true; + } + } + + return true; + } + + @Override + public String[] getCustomCommandList() + { + return VOICED_COMMANDS; + } +} \ No newline at end of file Index: java/net/sf/l2j/gameserver/handler/CustomCommandHandler.java =================================================================== --- java/net/sf/l2j/gameserver/handler/CustomCommandHandler.java (revision 81) +++ java/net/sf/l2j/gameserver/handler/CustomCommandHandler.java (working copy) @@ -21,6 +21,7 @@ import net.sf.l2j.Config; import net.sf.l2j.gameserver.handler.customcommandhandlers.EventCommands; import net.sf.l2j.gameserver.handler.customcommandhandlers.GlobalEventCommands; +import net.sf.l2j.gameserver.handler.customcommandhandlers.GoToLeader; import net.sf.l2j.gameserver.handler.customcommandhandlers.HappyHour; import net.sf.l2j.gameserver.handler.customcommandhandlers.OlympiadTime; import net.sf.l2j.gameserver.handler.customcommandhandlers.Topstats; @@ -53,6 +54,8 @@ registerCustomCommandHandler(new EventCommands()); registerCustomCommandHandler(new GlobalEventCommands()); + + registerCustomCommandHandler(new GoToLeader()); } public void registerCustomCommandHandler(ICustomCommandHandler handler) A fast code without checks and such. Quote
Jeremy_ Posted August 2, 2013 Posted August 2, 2013 It's surely already shared. Just use search (uncle google) :) 1st result, old like sh1t :D http://trac.assembla.com/l2jroh/browser/L2JSaver/src/l2jsaver/Vago/GotoLeader.java?rev=10 ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/handler/customcommandhandlers/GoToLeader.java =================================================================== --- java/net/sf/l2j/gameserver/handler/customcommandhandlers/GoToLeader.java (revision 0) +++ java/net/sf/l2j/gameserver/handler/customcommandhandlers/GoToLeader.java (working copy) @@ -0,0 +1,53 @@ +/* + * 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 net.sf.l2j.gameserver.handler.customcommandhandlers; + +import net.sf.l2j.gameserver.handler.ICustomCommandHandler; +import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; + +/** + * @author Devlin + * + */ +public class GoToLeader implements ICustomCommandHandler +{ + private static String[] VOICED_COMMANDS = { "gotoleader" }; + + @Override + public boolean useCustomCommand(String command, L2PcInstance activeChar) + { + if (command.equals("gotoleader")) + { + if (activeChar.getClan() != null) + { + L2PcInstance clanLeader = activeChar.getClan().getLeader().getPlayerInstance(); + + if (clanLeader == null) + return false; + + activeChar.teleToLocation(clanLeader.getX(), clanLeader.getY(), clanLeader.getZ(), 0); + return true; + } + } + + return true; + } + + @Override + public String[] getCustomCommandList() + { + return VOICED_COMMANDS; + } +} \ No newline at end of file Index: java/net/sf/l2j/gameserver/handler/CustomCommandHandler.java =================================================================== --- java/net/sf/l2j/gameserver/handler/CustomCommandHandler.java (revision 81) +++ java/net/sf/l2j/gameserver/handler/CustomCommandHandler.java (working copy) @@ -21,6 +21,7 @@ import net.sf.l2j.Config; import net.sf.l2j.gameserver.handler.customcommandhandlers.EventCommands; import net.sf.l2j.gameserver.handler.customcommandhandlers.GlobalEventCommands; +import net.sf.l2j.gameserver.handler.customcommandhandlers.GoToLeader; import net.sf.l2j.gameserver.handler.customcommandhandlers.HappyHour; import net.sf.l2j.gameserver.handler.customcommandhandlers.OlympiadTime; import net.sf.l2j.gameserver.handler.customcommandhandlers.Topstats; @@ -53,6 +54,8 @@ registerCustomCommandHandler(new EventCommands()); registerCustomCommandHandler(new GlobalEventCommands()); + + registerCustomCommandHandler(new GoToLeader()); } public void registerCustomCommandHandler(ICustomCommandHandler handler) A fast code without checks and such. Ty Mate ;) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.