Jump to content

Trance

Global Moderator
  • Posts

    3,896
  • Credits

  • Joined

  • Last visited

  • Days Won

    61
  • Feedback

    0%

Everything posted by Trance

  1. Lol. We already told ya, now gtfo. You have to learn how to talk.
  2. Dump SQL file (npc) and c/p a random npc and replace only Npc Id, Name, Npc Type from this new.
  3. [Err] 1146 - Table 'l2jdb.npc' doesn't exist
  4. "Really Nice Pack" but it haven't that, I understand. Maybe retail chance and config doesn't exist.
  5. Delete armor, weapon & etcitem.sql and read what FighterBoss said.
  6. WAT DA FAK. A mod junk it lol.
  7. Are ya talking about like a box and when u use it (like a potion) will be a chance for many items?
  8. Awesome commit bro. ^.^ without sql xD. <item id="2" type="Weapon" name="Long Sword"> <set name="default_action" val="equip" /> <set name="weapon_type" val="sword" /> <set name="bodypart" val="rhand" /> <set name="random_damage" val="10" /> <set name="attack_range" val="40" /> <set name="damage_range" val="0;0;40;120" /> <set name="material" val="fine_steel" /> <set name="weight" val="1560" /> <set name="price" val="136000" /> <set name="soulshots" val="2" /> <set name="spiritshots" val="2" /> <for> <set order="0x08" stat="pAtk" val="24" /> <set order="0x08" stat="mAtk" val="17" /> <set order="0x08" stat="rCrit" val="8" /> <set order="0x08" stat="pAtkSpd" val="379" /> </for> </item>
  9. haha si eu am +2 de la maxtor, sa imi anuleze alea 2 "-". -- ce mai faceti bajeti ;d?
  10. I like 1st and 3rd. xD
  11. aCis Project - Click for MaxCheater topic view.
  12. He is newbie, he doesn't understand I'm sure of it. ---- "etcitem" from database. Check item_type table and change from "quest" to "none".
  13. "if ((activeChar.getPvpKills() >= 100) || (activeChar.isGM()))" works on all chronicles.
  14. pac pac, up.
  15. Ce as vrea sa iau asa o dacie rablagita si sa dau peste toti motociclisti :))).
  16. Raule cand o sa te prind pe strada cu scuteru` o sa accelerez :)).
  17. Index: D:/L2HauntedStory/L2_GameServer/java/net/sf/l2j/gameserver/handler/chathandlers/ChatTrade.java =================================================================== --- D:/L2HauntedStory/L2_GameServer/java/net/sf/l2j/gameserver/handler/chathandlers/ChatTrade.java (revision 2785) +++ D:/L2HauntedStory/L2_GameServer/java/net/sf/l2j/gameserver/handler/chathandlers/ChatTrade.java (working copy) @@ -42,27 +42,15 @@ */ public void handleChat(int type, L2PcInstance activeChar, String target, String text) { - CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.getName(), text); - - Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); - - if (Config.DEFAULT_TRADE_CHAT.equalsIgnoreCase("on") || (Config.DEFAULT_TRADE_CHAT.equalsIgnoreCase("gm") && activeChar.isGM())) + if((activeChar.getPvpKills() >= 100) || (activeChar.isGM())) { - for (L2PcInstance player : pls) - { - if (!BlockList.isBlocked(player, activeChar)) - player.sendPacket(cs); - } - - } - else if (Config.DEFAULT_TRADE_CHAT.equalsIgnoreCase("limited")) - { - int region = MapRegionTable.getInstance().getMapRegion(activeChar.getX(), activeChar.getY()); + CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.getName(), text); + + Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); //synchronized (L2World.getInstance().getAllPlayers()) { for (L2PcInstance player : pls) - if (region == MapRegionTable.getInstance().getMapRegion(player.getX(), player.getY()) && !BlockList.isBlocked(player, activeChar) && player.getInstanceId() == activeChar.getInstanceId()) - player.sendPacket(cs); + player.sendPacket(cs); } } } Index: D:/L2HauntedStory/L2_GameServer/java/net/sf/l2j/gameserver/handler/chathandlers/ChatShout.java =================================================================== --- D:/L2HauntedStory/L2_GameServer/java/net/sf/l2j/gameserver/handler/chathandlers/ChatShout.java (revision 2785) +++ D:/L2HauntedStory/L2_GameServer/java/net/sf/l2j/gameserver/handler/chathandlers/ChatShout.java (working copy) @@ -42,28 +42,17 @@ */ public void handleChat(int type, L2PcInstance activeChar, String target, String text) { - CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.getName(), text); - - Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); - - if (Config.DEFAULT_GLOBAL_CHAT.equalsIgnoreCase("on") || (Config.DEFAULT_GLOBAL_CHAT.equalsIgnoreCase("gm") && activeChar.isGM())) + if((activeChar.getPvpKills() >= 200) || (activeChar.isGM())) { - int region = MapRegionTable.getInstance().getMapRegion(activeChar.getX(), activeChar.getY()); + CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.getName(), text); + + Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); //synchronized (L2World.getInstance().getAllPlayers()) { for (L2PcInstance player : pls) - if (region == MapRegionTable.getInstance().getMapRegion(player.getX(), player.getY()) && !BlockList.isBlocked(player, activeChar) && player.getInstanceId() == activeChar.getInstanceId()) - player.sendPacket(cs); + player.sendPacket(cs); } } - else if (Config.DEFAULT_GLOBAL_CHAT.equalsIgnoreCase("global")) - { - for (L2PcInstance player : pls) - { - if (!BlockList.isBlocked(player, activeChar)) - player.sendPacket(cs); - } - } } /**
  18. batraneeeeeeeeeeeeeee!
  19. I do not see anything skilled/interesting in this timeline.
  20. Just take a look inside and you'll have a idea then.
  21. Keep up, I really like your work. hmm, How long did it take to make the second?
×
×
  • Create New...