Jump to content

Gam3Master

Members
  • Posts

    284
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Gam3Master

  1. hmm weird... on 1st page I go to SVN link and it shows 510 rev. but on timeline it says 512 rev.
  2. It can't be used yet? to test
  3. The problem was in L2Character.java I wanted for VIP members additional slots of buffs and I got no error when I compiled but when I started Gameserver it showed those errors.
  4. 22-05-2016 17:50:07 WARNING 15 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 25 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 17 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 19 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 21 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 24 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 18 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 22 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 29 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 30 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 28 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 21 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 15 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 27 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 23 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 26 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 16 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 19 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 27 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 27 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 17 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 19 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 26 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance 22-05-2016 17:50:07 WARNING 26 net.sf.l2j.commons.concurrent.ThreadPool Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
  5. Does anyone know what this error means? Where would I do mistake and how to find? image hosting 30 mb
  6. can you send me diff patch for aCis ? I mean Automatic potions.
  7. Can`t find where can i change champion mobs to be passive. Saw on many packs but which file making it can't understand. I use aCis 360
  8. Can anyone tell me where to put this + if (isAutoPot(728)) + { + sendPacket(new ExAutoSoulShot(728, 0)); + setAutoPot(728, null, false); + } + if (isAutoPot(1539)) + { + sendPacket(new ExAutoSoulShot(1539, 0)); + setAutoPot(1539, null, false); + } + if (isAutoPot(5592)) + { + sendPacket(new ExAutoSoulShot(5592, 0)); + setAutoPot(5592, null, false); + }
  9. And what if player is not in party and kills it alone?
  10. thanks i corrected it.
  11. hmmm you are right, I am so dumb.... you mean like this ? if(!Config.LIST_REMOVE_FROM_DROP.contains(data.getItemId())) { category.addDropData(data, isRaid); }
  12. Hello. With this config you can manage what item to delete from droplist. This patch is for aCis packs, as you know aCis have no droplist in sql so it is very hard to open each npc and remove item from it's drop. So put item ids in this config and item will remove from droplist. aCis 357 rev. http://pastebin.com/HWvYX088
  13. Nothing special.... just red circle for npcs you want, I used it because players easily mention important npcs. aCis 357 rev. http://pastebin.com/YS5KwNN3 Screenshot
  14. Yes but InIntHolder have only aCis, among Interlude packs.
  15. When I tried to send you message it says you can't receive more messages.
  16. Absolute, why you deleted Quiz, Hitman and offline trade? they didn't work?
  17. I like l2jhellas. 2 years already stopped but still good.
  18. thanks. you are really skillful.
  19. Starting buffs for newbie characters. ### Eclipse Workspace Patch 1.0 #P Hero-GS Index: config/players.properties =================================================================== --- config/players.properties (revision 36) +++ config/players.properties (working copy) @@ -5,6 +5,15 @@ #Amount of adenas that a new character is given, default is 100 StartingAdena = 250000 +#Newbie Characters have starting buffs +StartingBuffs = True + +#Starting Buffs for Mystics. +StartingBuffsMage = 1204,2;1085,3; + +#Starting Buffs for Fighters. +StartingBuffsFighter = 1204,2;1086,2; + # If True, when effects of the same stack group are used, lesser # effects will be canceled if stronger effects are used. New effects # that are added will be canceled if they are of lesser priority to the old one. Index: java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java (revision 35) +++ java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java (working copy) @@ -22,15 +22,18 @@ import net.sf.l2j.gameserver.datatables.SkillTreeTable; import net.sf.l2j.gameserver.idfactory.IdFactory; import net.sf.l2j.gameserver.model.L2ShortCut; +import net.sf.l2j.gameserver.model.L2Skill; import net.sf.l2j.gameserver.model.L2SkillLearn; import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.template.PcTemplate; import net.sf.l2j.gameserver.model.item.instance.ItemInstance; import net.sf.l2j.gameserver.model.item.kind.Item; +import net.sf.l2j.gameserver.network.SystemMessageId; import net.sf.l2j.gameserver.network.serverpackets.CharCreateFail; import net.sf.l2j.gameserver.network.serverpackets.CharCreateOk; import net.sf.l2j.gameserver.network.serverpackets.CharSelectInfo; +import net.sf.l2j.gameserver.network.serverpackets.SystemMessage; import net.sf.l2j.gameserver.scripting.Quest; import net.sf.l2j.gameserver.scripting.ScriptManager; @@ -146,6 +149,7 @@ newChar.addAdena("Init", Config.STARTING_ADENA, null, false); } + if(Config.STARTING_BUFFS) + { + if(!newChar.isMageClass()) + { + for (int[] buff : Config.STARTING_BUFFS_F) //Custom buffs for fighters + { + L2Skill skill = SkillTable.getInstance().getInfo(buff[0], buff[1]); + if (skill != null) + { + skill.getEffects(newChar, newChar); + newChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT).addSkillName(buff[0])); + } + } + } + else + { + for (int[] buff : Config.STARTING_BUFFS_M) //Custom buffs for mystics + { + L2Skill skill = SkillTable.getInstance().getInfo(buff[0], buff[1]); + if (skill != null) + { + skill.getEffects(newChar, newChar); + newChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT).addSkillName(buff[0])); + } + } + } + } newChar.setXYZInvisible(template.getSpawnX(), template.getSpawnY(), template.getSpawnZ()); newChar.setTitle(""); Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 46) +++ java/net/sf/l2j/Config.java (working copy) @@ -401,6 +401,9 @@ /** Misc */ public static int STARTING_ADENA; + public static boolean STARTING_BUFFS; + public static List<int[]> STARTING_BUFFS_M = new ArrayList<int[]>(); + public static List<int[]> STARTING_BUFFS_F = new ArrayList<int[]>(); public static boolean EFFECT_CANCELING; public static double HP_REGEN_MULTIPLIER; public static double MP_REGEN_MULTIPLIER; @@ -1075,6 +1078,47 @@ // players ExProperties players = load(PLAYERS_FILE); STARTING_ADENA = players.getProperty("StartingAdena", 100); + STARTING_BUFFS = players.getProperty("StartingBuffs", true); + String[] propertySplit = players.getProperty("StartingBuffsMage", "1204,2").split(";"); + STARTING_BUFFS_M.clear(); + for (String buff : propertySplit) + { + String[] buffSplit = buff.split(","); + if (buffSplit.length != 2) + _log.warning("StartingBuffsMage[Config.load()]: invalid config property -> StartingBuffsMage \"" + buff + "\""); + else + { + try + { + STARTING_BUFFS_M.add(new int[]{Integer.parseInt(buffSplit[0]), Integer.parseInt(buffSplit[1])}); + } + catch (NumberFormatException nfe) + { + if (STARTING_BUFFS_M.equals("")) + System.out.println("EROOOOOOOOOOOR WITH STARTING BUFS"); + } + } + } + propertySplit = players.getProperty("StartingBuffsFighter", "1204,2").split(";"); + STARTING_BUFFS_F.clear(); + for (String buff : propertySplit) + { + String[] buffSplit = buff.split(","); + if (buffSplit.length != 2) + _log.warning("StartingBuffsFighter[Config.load()]: invalid config property -> StartingBuffsFighter \"" + buff + "\""); + else + { + try + { + STARTING_BUFFS_F.add(new int[]{Integer.parseInt(buffSplit[0]), Integer.parseInt(buffSplit[1])}); + } + catch (NumberFormatException nfe) + { + if (STARTING_BUFFS_F.equals("")) + System.out.println("EROOOOOOOOOOOR WITH STARTING BUFS"); + } + } + } EFFECT_CANCELING = players.getProperty("CancelLesserEffect", true); HP_REGEN_MULTIPLIER = players.getProperty("HpRegenMultiplier", 1.); MP_REGEN_MULTIPLIER = players.getProperty("MpRegenMultiplier", 1.);
  20. how to take only sell buff mode?
  21. Can someone share feanor events? Like glittering medals or that one where you must put together word Lineage2,npcsoft etc? If possible for Interlude aCis.
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..