
HeyHops
Members-
Posts
58 -
Credits
0 -
Joined
-
Last visited
Never -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by HeyHops
-
[Share] Teleport To One Location (PvP Location) (.pvp)
HeyHops replied to HeyHops's topic in Server Shares & Files [L2J]
no, registerVoicedCommandHandler(new PvPTeleport()); or u use c6? anyway ... and not import...pvp the name is PvPTeleport.... -
e kala josso... kanis san moraki.... san na m les tora "zilevis zilevis zilevis..esei den boris" e kala ama den boreso na alakso xroma se iparxoda weapons... ti taxoume ta ptixia...p leei o logos ... an kai egw den axoloume me client editing...ala afto einai pexnidaki
-
molis kerdises ena lepto apo th zwh m gia na diabasw ta parapona s k allo 1 gia na s apanthsw...otan les ston toixo s na s milhsei nomizeis oti telika 8a s piasei th koubenta? den milao se tixo ...se porta milao... kai den kseris pios einai apo piso kai akouei.. kseri aftos :D pados omologo oti eisai grigoros.. se ena min diabases/egrapses bravo file ... is anotera
-
[Request].pvp voice command
HeyHops replied to SaLeoTragem's question in Request Server Development Help [L2J]
is a only one example :D is not a serius work. :D -
[Request].pvp voice command
HeyHops replied to SaLeoTragem's question in Request Server Development Help [L2J]
http://www.maxcheaters.com/forum/index.php?topic=52965.msg374085#msg374085 -
Apply The Patch Manually plz. Create One Java File (PvPTeleport) /* * 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.voicedcommandhandlers; import net.sf.l2j.Config; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; public class PvPTeleport implements IVoicedCommandHandler { private static final String[] _voicedCommands = { "pvp", }; public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.equalsIgnoreCase("pvp")) { if(activeChar.atEvent) { activeChar.sendMessage("You are an Event."); return false; } else if(activeChar.isInDuel()) { activeChar.sendMessage("You are on Duel."); return false; } else if(activeChar.isInOlympiadMode()) { activeChar.sendMessage("You are in Olympiad"); return false; } else if(activeChar.isInCombat()) { activeChar.sendMessage("You can't teleport in Combat Mod"); return false; } else if(activeChar.getParty().isInDimensionalRift()) { activeChar.sendMessage("You cant do this because you are in Dimensional Rift"); return false; } else if (activeChar.isFestivalParticipant()) { activeChar.sendMessage("You are in a festival."); return false; } else if (activeChar.isInJail()) { activeChar.sendMessage("You are in Jail."); return false; } else if (activeChar.inObserverMode()) { activeChar.sendMessage("You are in Observ Mode."); return false; } else if (activeChar.isDead()) { activeChar.sendMessage("You Dead. Can't Teleport"); return false; } else if (activeChar.isFakeDeath()) { activeChar.sendMessage("You are Dead? week up :D"); return false; } if(activeChar.getInventory().getItemByItemId(3470) == null) { activeChar.sendMessage("You Need One Gold Bar To Use This."); return false; } activeChar.teleToLocation(Config.PVP_X, Config.PVP_Y, Config.PVP_Z); activeChar.destroyItemByItemId("Gold Bar", 3470, 1, activeChar, true); activeChar.sendMessage("You have teleport in PvP Area"); } return true; } public String[] getVoicedCommandList() { return _voicedCommands; } } register the comand registerVoicedCommandHandler(new PvPTeleport()); Put Configs in Config.Java Index: C:/Documents and Settings/Albion/workspace/Gracia Core/java/net/sf/l2j/Config.java =================================================================== --- C:/Documents and Settings/Albion/workspace/Gracia Core/java/net/sf/l2j/Config.java (revision 2787) +++ C:/Documents and Settings/Albion/workspace/Gracia Core/java/net/sf/l2j/Config.java (working copy) @@ -559,18 +564,45 @@ public static boolean L2JMOD_WEDDING_SAMESEX; public static boolean L2JMOD_WEDDING_FORMALWEAR; public static int L2JMOD_WEDDING_DIVORCE_COSTS; public static boolean L2JMOD_ENABLE_WAREHOUSESORTING_CLAN; public static boolean L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE; public static boolean L2JMOD_ENABLE_WAREHOUSESORTING_FREIGHT; + public static int PVP_X; + public static int PVP_Y; + public static int PVP_Z; @@ -1776,6 +1810,25 @@ L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingPrivate", "False")); L2JMOD_ENABLE_WAREHOUSESORTING_FREIGHT = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingFreight", "False")); + PVP_X = Integer.parseInt(L2JModSettings.getProperty("LocationX", "0")); + PVP_Y = Integer.parseInt(L2JModSettings.getProperty("LocationY", "0")); + PVP_Z = Integer.parseInt(L2JModSettings.getProperty("LocationZ", "0")); + CTF_EVEN_TEAMS = L2JModSettings.getProperty("CTFEvenTeams", "BALANCE"); CTF_ALLOW_INTERFERENCE = Boolean.parseBoolean(L2JModSettings.getProperty("CTFAllowInterference", "false")); CTF_ALLOW_POTIONS = Boolean.parseBoolean(L2JModSettings.getProperty("CTFAllowPotions", "false")); CTF_ALLOW_SUMMON = Boolean.parseBoolean(L2JModSettings.getProperty("CTFAllowSummon", "false")); CTF_ON_START_REMOVE_ALL_EFFECTS = Boolean.parseBoolean(L2JModSettings.getProperty("CTFOnStartRemoveAllEffects", "true")); @@ -2296,7 +2375,12 @@ else if (pName.equalsIgnoreCase("ChampionRewardHigherLvlItemChance")) L2JMOD_CHAMPION_REWARD_HIGHER_LVL_ITEM_CHANCE = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("ChampionRewardItemID")) L2JMOD_CHAMPION_REWARD_ID = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("ChampionRewardItemQty")) L2JMOD_CHAMPION_REWARD_QTY = Integer.parseInt(pValue); - + + //L2JMOD PvP Area (.pvp) + else if (pName.equalsIgnoreCase("LocationX")) PVP_X = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("LocationY")) PVP_Y = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("LocationZ")) PVP_Z = Integer.parseInt(pValue); + // L2JMOD Wedding System else if (pName.equalsIgnoreCase("AllowWedding")) L2JMOD_ALLOW_WEDDING = Boolean.parseBoolean(pValue); else if (pName.equalsIgnoreCase("WeddingPrice")) L2JMOD_WEDDING_PRICE = Integer.parseInt(pValue); else return false; return true; } Go l2jmods.properties and put this #---------------------------------- # PvP Location - (.pvp) # Put your PvP Location ( x,y,z ) ( # Example (2750, 14762, -7601) #---------------------------------- LocationX = 0 LocationY = 0 LocationZ = 0
-
[Request].pvp voice command
HeyHops replied to SaLeoTragem's question in Request Server Development Help [L2J]
http://www.maxcheaters.com/forum/index.php?topic=52965.msg374085#msg374085 -
L2JWargods Interlude Open source Project
HeyHops replied to DragonHunter's topic in Server Development Discussion [L2J]
one more team :D gg... -
[Request].pvp voice command
HeyHops replied to SaLeoTragem's question in Request Server Development Help [L2J]
1. Create File with Name (PvPTeleport) /* * 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.voicedcommandhandlers; import net.sf.l2j.Config; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; public class PvPTeleport implements IVoicedCommandHandler { private static final String[] _voicedCommands = { "pvp", }; public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.equalsIgnoreCase("pvp")) { activeChar.teleToLocation(Config.PVP_X, Config.PVP_Y, Config.PVP_Z); activeChar.sendMessage("You have teleport in PvP Area"); } return true; } public String[] getVoicedCommandList() { return _voicedCommands; } } -
[Question - Help ] Penalty when Change Name.
HeyHops posted a question in Request Server Development Help [L2J]
Hi i never work about Sql in "Java" and i dont know how to do this.... Im Need This. 1. Create One Table in DB For Some Time Penaltys (penaltys.sql) (Char obj id + Days + Hours + Minutes) (thats np i know) but this hard for me 2. the Code in "Java" to store values in DB 3. Load Penaltyes in EnTering in Game i want this bcause i wana add penaltys to character when change name .... to can every week... or every month.... -
hello.......... gia proto pragma vazoume host ... meta ama thelis vale kai patchaki... tha katsi o alos tora na kani katevasi to patch ...i na kani updates ta file... einai xronoboro... akoma kai 5 min na kani.... Helloooooo ti adilipsis einai aftes....
-
Pws katalavaineis oti eisai kammenos :P
HeyHops replied to FightToTheDeath's topic in General Discussion [Greek]
kamenos sto l2? vgale to net apo to spiti gia ena mina min pigenis se nets gia ena mina na min milas peri l2..me filous an adeksis eisai ok... an oxi ... tin exeis patisi... eisai "narkomanis" -
Change Name Instance Credis: - 10% To L2J Server Forum, He Help me litle with (IF NAME EXIST ...RETURN) - 5% To L2JFree Forum... About Links in 2nd Pages, 3rd Pages ... Etc, i Forgot To Put .. html.replace("%objectId%", String.valueOf(getObjectId())); - 85 % To Me. Informations - Require 1 Dynastic Essence - Dynastic Essence Can Buyed in Npc 50kk - Action Delay 20 Minute - Config For Delay - If Name exist cant change your name. select one other. - About Symbols - Name ... Change The Name if u mee This Criterias: - CnameTemplate = value (server.properties) Core Side - Apply The Patches Manually Datapack Side - Copy (custom) Folder to (data/html) - Copy Customs.properties at your configs Folder - Insert Service Npc in your DB ( From - npc.sql) Images - Image 1 = Main Panel - Image 2 = Name Panel - Image 3 = Syntact Error - Image 4 = Help File - Image 5 = Flood Protection - Delay - Image 6 = Item is Missing - Image 7 = Name Already Exist - Image 8 = Shop For Item "Dynastic Essence" - Image 9 = Messages When use Action Download Link http://www.4shared.com/file/95964173/ec2a288c/Services.html Bugs-Updates - Personal Message Fixed. - Bug No1: Delay For Action Removed In Restart .... So must save Penalty in DB .. and when Load the Character to Load and Penalty... ...hmmmmmm
-
1. this idea with updater is stiuped :D ppl ned only the ip... so put the host.. 2. is x10 :( .... GL
-
[Question]3 Small qestion :D
HeyHops replied to Kate's question in Request Server Development Help [L2J]
go in DB And put ur item.... -
vsika den kano war se kanenan ala den eimai vlakas na vlepo ilithia pragmata kai na tous leo bravo..perfect gti etc exete katadisi oli edw mesa ......... PS: Den xalsa aplos varethika na vlepo ilithia pragmata kai i ali na lene telio kai pipes... m pernoun c4 weapons alazoun xroma kai meta s lene poli kalo... perfect... ...eee den stekoun... ps: den to sinexizo giati eimai kai albanos kai den steko... kseris esei peri albanians
-
malakia... ftiakste eki kanan AGIO BASILI NA PETAEI... to na alazete xroma katadaei meta apo ena simio vareto
-
as staff sayd.. he banned bcause take l2jarchid :D
-
LOLL THATS FUNYYY
-
e kala.. afu den s kane to l2dot tote asto... min to psaxnis