Jump to content

Cod3x

Members
  • Posts

    581
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Cod3x

  1. I tested the second code only and it worked perfectly. I haven't tested the first one but it seems to work. If anyones occurs a problem with the code on pastebin try the 2nd.
  2. bumb. 2 copies left.
  3. Maybe you like it more now ? xD
  4. there is a double mis-understanding then xD Nevermind, this thing is not a big deal =P
  5. I am sorry is there a mis-understanding here? I never said the idea was mine, and that's the reason i've added that quotes over there in my main topic. =)
  6. If the player is casting or attacking or moving, it will not make this social thing. Is absolutely safe to use ;)
  7. Whatever, i can make that in 4-5 different ways, haha what's the point. Well i am pretty sure this one is not the same with L2Akin's xD Anyway. Hope some members will like it ;) EDIT: That's also working... ### Eclipse Workspace Patch 1.0 #P trunk Index: L2JBattle-Game/java/net/sf/l2j/gameserver/clientpackets/Say2.java =================================================================== --- L2JBattle-Game/java/net/sf/l2j/gameserver/clientpackets/Say2.java (revision 21) +++ L2JBattle-Game/java/net/sf/l2j/gameserver/clientpackets/Say2.java (working copy) @@ -30,6 +30,7 @@ import net.sf.l2j.gameserver.handler.VoicedCommandHandler; import net.sf.l2j.gameserver.instancemanager.PetitionManager; import net.sf.l2j.gameserver.model.BlockList; +import net.sf.l2j.gameserver.serverpackets.SocialAction; import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.SystemMessageId; @@ -124,6 +126,32 @@ return; } + if ((_text.equalsIgnoreCase("hello") + || _text.equalsIgnoreCase("hey") + || _text.equalsIgnoreCase("aloha") + || _text.equalsIgnoreCase("alo") + || _text.equalsIgnoreCase("hi")) + && (!activeChar.isRunning() || !activeChar.isAttackingNow() || !activeChar.isCastingNow())) + activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 2)); + + if ((_text.equalsIgnoreCase("lol") + || _text.equalsIgnoreCase("haha") + || _text.equalsIgnoreCase("xaxa") + || _text.equalsIgnoreCase("jaja")) + && (!activeChar.isRunning() || !activeChar.isAttackingNow() || !activeChar.isCastingNow())) + activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 10)); + + if ((_text.equalsIgnoreCase("yes") + || _text.equalsIgnoreCase("yep")) + && (!activeChar.isRunning() || !activeChar.isAttackingNow() || !activeChar.isCastingNow())) + activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 6)); + + if ((_text.equalsIgnoreCase("no") + || _text.equalsIgnoreCase("nop") + || _text.equalsIgnoreCase("nope")) + && (!activeChar.isRunning() || !activeChar.isAttackingNow() || !activeChar.isCastingNow())) + activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 5)); + if (activeChar == null) { _log.warning("Say2: Active Character is null.");
  8. Hey cheaters, i am sharing something that is being used as a "useless" but also "cool" feature on some l2j private servers and on many other online games. Is the chat social emotions or.. see below: That's all ^_^ Get it: http://pastebin.com/uUEemCJv Or try a different one.. the following ( same ingame effects ) ### Eclipse Workspace Patch 1.0 #P trunk Index: L2JBattle-Game/java/net/sf/l2j/gameserver/clientpackets/Say2.java =================================================================== --- L2JBattle-Game/java/net/sf/l2j/gameserver/clientpackets/Say2.java (revision 21) +++ L2JBattle-Game/java/net/sf/l2j/gameserver/clientpackets/Say2.java (working copy) @@ -30,6 +30,7 @@ import net.sf.l2j.gameserver.handler.VoicedCommandHandler; import net.sf.l2j.gameserver.instancemanager.PetitionManager; import net.sf.l2j.gameserver.model.BlockList; +import net.sf.l2j.gameserver.serverpackets.SocialAction; import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.SystemMessageId; @@ -124,6 +126,32 @@ return; } + if ((_text.equalsIgnoreCase("hello") + || _text.equalsIgnoreCase("hey") + || _text.equalsIgnoreCase("aloha") + || _text.equalsIgnoreCase("alo") + || _text.equalsIgnoreCase("hi")) + && (!activeChar.isRunning() || !activeChar.isAttackingNow() || !activeChar.isCastingNow())) + activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 2)); + + if ((_text.equalsIgnoreCase("lol") + || _text.equalsIgnoreCase("haha") + || _text.equalsIgnoreCase("xaxa") + || _text.equalsIgnoreCase("jaja")) + && (!activeChar.isRunning() || !activeChar.isAttackingNow() || !activeChar.isCastingNow())) + activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 10)); + + if ((_text.equalsIgnoreCase("yes") + || _text.equalsIgnoreCase("yep")) + && (!activeChar.isRunning() || !activeChar.isAttackingNow() || !activeChar.isCastingNow())) + activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 6)); + + if ((_text.equalsIgnoreCase("no") + || _text.equalsIgnoreCase("nop") + || _text.equalsIgnoreCase("nope")) + && (!activeChar.isRunning() || !activeChar.isAttackingNow() || !activeChar.isCastingNow())) + activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 5)); + if (activeChar == null) { _log.warning("Say2: Active Character is null."); Credits: Me The idea came from the respective member: Sofaki
  9. On retail, backstab has chance to land only from behind.
  10. wow cool xD
  11. relax. Well, good luck, i am surely gonna give a shot to this wonderful (till now xD) server.
  12. +1 Making money online is much better than in real life lol. And it is real work. What about succesful web designers that take over 4,000E/month
  13. You guys forgot about karma ? -.- You give karma to staffers for a string and you don't give to users that really worth it. TARDS. +1 Continue sharing your stuff and you'll get a sweet.
  14. - Fixed currenthp, mp, cp values for killer info ( instead of double it is now int without affecting anything) - Frontstab is now fixed no matter what value is in blow front chance.
  15. Well it's not the same, and is much more advanced.
  16. New add-ons available: - Killer's info ( pop-up after death ) ( No charge ) - Vote reward system. ( Additional 5e for this feature )
  17. Big story ^_^. Bump!
  18. Nothing got hacked, loled. There was someone that knew Yolanda's aka Goddess aka Anya's account a friend of her, and he made a gm char. About db, it was hosting's fault they didn't keep backup of it.
  19. I am thinking of buying it.... 1. Working everywhere ????? 2. It can shutdown everything FasT ???? 3. IT can damage my pc or it is safe ? 4. They can block this ddos fast ?
  20. Test it here: www.l2battle.eu If it is working ill buy it.
  21. Can you shut it again ? To see if is working xD
  22. Are you sure it can shut down anything ? I wanna contact you on msn if possible.
×
×
  • 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