Jump to content

EdenEternal

Banned
  • Posts

    2,090
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by EdenEternal

  1. No Comments Just Awesome i like this GM-Shop
  2. that is is caused if you did 1. You cut the hexid(you should copy it) 2. If you did not copy it to gameserver/config 3. If you did not rename it(from hexid(1) to to hexid) check and feedback
  3. try to clean all gameservers in gameserver.sql delete all hexids from folders and then try to make a new one
  4. check the id of npc...
  5. ElfoCrash Very Trusted member here. his Works Awesome. GJ Elfo.
  6. Thank you NeverMore for your Feedback. so i need some ideas to make a some new codes ( :
  7. if you have problem just uninstall your client and install it again. and try again.
  8. Welcome, Read The Rules and have fun! ( :
  9. It working perfect on interlude packs. H5 have very different core from interlude... I don't know H5 core as good as interlude so I can't give you my opinions. sorry.
  10. im ddosed? lol if you dont know dont speak man.
  11. look at my share's after talk i dont care.
  12. useless level: 9999
  13. if a clan has aden castle, the members of this clan transform to npc you choose.
  14. Thanks Guys for feedback now i making new java codes ( : Stay tuned!
  15. Thank you Exile For FeedBack.
  16. poly aplo pragma dwse teamviwer na sou dikso :D
  17. Hello. As usual I share nothing amazing. This patch allows you to transform all clan members(if clan has aden castle) to npc. Index: java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 5) +++ java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (working copy) @@ -24,6 +24,7 @@ import net.sf.l2j.gameserver.datatables.MapRegionTable; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.datatables.SkillTable.FrequentSkill; +import net.sf.l2j.gameserver.instancemanager.CastleManager; import net.sf.l2j.gameserver.instancemanager.ClanHallManager; import net.sf.l2j.gameserver.instancemanager.CoupleManager; import net.sf.l2j.gameserver.instancemanager.DimensionalRiftManager; @@ -35,6 +36,7 @@ import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.L2Character; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; +import net.sf.l2j.gameserver.model.entity.Castle; import net.sf.l2j.gameserver.model.entity.ClanHall; import net.sf.l2j.gameserver.model.entity.Couple; import net.sf.l2j.gameserver.model.entity.Siege; @@ -114,6 +116,17 @@ if (activeChar.getClan() != null) { + L2Clan clan = activeChar.getClan(); + Castle castle = CastleManager.getInstance().getCastleByOwner(clan); + if (Config.ALLOW_ADEN_TRANFORM && (castle != null) && (castle == CastleManager.getInstance().getCastleById(5))) + { + String aden_transform_id = Config.TRANSFORM_NPC_ADEN; + activeChar.getPoly().setPolyInfo("npc", aden_transform_id); + activeChar.teleToLocation(activeChar.getX(), activeChar.getY(), activeChar.getZ(), false); + activeChar.sendMessage("The castle of Aden Belongs to your clan"); + activeChar.sendMessage("You have been transformed to "+Config.TRANSFORM_NPC_ADEN_NAME+"."); + activeChar.broadcastUserInfo(); + } activeChar.sendPacket(new PledgeSkillList(activeChar.getClan())); notifyClanMembers(activeChar); notifySponsorOrApprentice(activeChar); Index: config/ByLeki.properties =================================================================== --- config/ByLeki.properties (revision 6) +++ config/ByLeki.properties (working copy) @@ -26,4 +26,17 @@ PKCleanItemID = 4037 #PK Cleaning price -PKCleanPrice = 1 +PKCleanPrice = 1 + +######################################## +# Allow clan members tranformation if +# it has Aden Castle? +######################################## +#Default: False +EnableTransformAden = False + +#NPC id of transformation +TransformAdenNPCID = 12564 + +#NPC name +TransformAdenNPCName = Sin Eater \ No newline at end of file Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 6) +++ java/net/sf/l2j/Config.java (working copy) @@ -505,7 +505,10 @@ public static boolean SEVEN_SIGNS_MSG; public static boolean GM_STARTUP_HASTE; public static int PK_CLEAN_ID; - public static int PK_CLEAN_PRICE; + public static int PK_CLEAN_PRICE; + public static boolean ALLOW_ADEN_TRANFORM; + public static String TRANSFORM_NPC_ADEN; + public static String TRANSFORM_NPC_ADEN_NAME; // -------------------------------------------------------- // Rates // -------------------------------------------------------- @@ -1305,7 +1308,10 @@ SEVEN_SIGNS_MSG = Boolean.parseBoolean(byleki.getProperty("Allow7SignsMsg", "True")); GM_STARTUP_HASTE = Boolean.parseBoolean(byleki.getProperty("StartupGMHaste", "True")); PK_CLEAN_ID = Integer.parseInt(byleki.getProperty("PKCleanItemID", "4037")); - PK_CLEAN_PRICE = Integer.parseInt(byleki.getProperty("PKCleanPrice", "1")); + PK_CLEAN_PRICE = Integer.parseInt(byleki.getProperty("PKCleanPrice", "1")); + ALLOW_ADEN_TRANFORM = Boolean.parseBoolean(byleki.getProperty("EnableTransformAden", "False")); + TRANSFORM_NPC_ADEN = byleki.getProperty("TransformAdenNPCID", "12564"); + TRANSFORM_NPC_ADEN_NAME = byleki.getProperty("TransformAdenNPCName", "Sin Eater"); } catch (Exception e) { waiting for feedback. Credits to me
  18. i did not tested on relogin. now i can't test it and if some1 can please feedback
  19. if some1 tested if can you check if transformation remains when you relogin?
  20. thanks for help. you can lock it.
  21. as i know Or in core is || && means and a suggest you this code if(Config.ALT_GAME_SUBCLASS_WITH_NOBLES) { QuestState qs = player.getQuestState("247_PossessorOfAPreciousSoul_4"); if(qs == null || !qs.isCompleted() |) { player.sendMessage("You must have completed the nobles quest."); player.setLocked(false); return; } else if(player.getAllianceWithVarkaKetra() != 0) { player.sendMessage("You must have alliance with varka or ketra lvl 1 or more"); player.setLocked(false); return; } } Sry if i did mistakes(i'm bad in java)
  22. that allows all players to kill each other at all time, i want it only for friends.
  23. How to allow to friends(/friendinvite) to kill each other in town etc, any place they meet?
×
×
  • 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