Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. Interesting.. :not bad:
  2. Gods, use fcking [ code ] tag... Make the topzone method like that try { URL url = new URL(Config.VOTE_LINK_TOPZONE); URLConnection con = url.openConnection(); con.addRequestProperty("User-Agent", "Mozilla/4.76"); is = con.getInputStream(); isr = new InputStreamReader(is); in = new BufferedReader(isr); String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("Votes")) { String votesLine = inputLine ; votes = Integer.valueOf(votesLine.split(">")[3].replace("</div", "")); break; } } }
  3. Missing import, move your cursor over the error and press "Import net.sf.l2j" blabla or similar "Import Say2" I dont remember exact msg. Or simpy press Ctrl+Shift+O for auto import :D
  4. public static void olympiadEnd(L2PcInstance player) remove "Static" public void olympiadEnd(L2PcInstance player)
  5. lol public static void olympiadEnd(L2PcInstance player) drop teh static word..
  6. Yes, not rly sure if we should asnwer your question, but its bljat
  7. Google it, it's shared on russian sites.
  8. Is it encrypted, the new .utx file? If no, just do it and enjoy :)
  9. Gods, so pathetic topic, lol.. None is gonna help you.
  10. lol'ed.. Right, you definitelly will know what name is under some custom files, huehue.. :D
  11. Ummm, I guess it's clear, no? :P Explanation: - your table has for example, 20 rows while your sql file which you try to execute has like +-20 (18, 21 or greater). Count the rows if you rly want to be sure. Anyway, I suggest you to take from original npc.sql any random record, and execute it, ofc change the npc type, name, id and so on.
  12. No matter where, is enough I told you what to add, change :P if you cant manage that.. Well :D
  13. Stackable items, it's also about client part. <set name="is_stackable" val="true" /> and etcitemgrp, change the last but three from 0 to 2, like that (2 0 0) 2 9175 0 3 2 5 0 dropitems.drop_sack_m00 dropitemstex.drop_sack_t01 icon.wise_man_stone_i05 4294967295 20 0 0 0 1 1 ItemSound.itemdrop_sack 2 0 0 Search, just search.. It doesn't hurt http://www.maxcheaters.com/files/file/29-personal-menu-system/
  14. Right, with that way you will connect to the vps, so smart :D
  15. Haha this one is the best :happyforever: Surely you wanted to write == :P + if (player.getClan() != null) + { + player.sendMessage("You don't have a clan."); + return; + }
  16. I knew that you're my boy ! :) Offtopic(?): Damn, he spammed to you as well? :happyforever: :happyforever:
  17. Nice.. font. Can I have it ? Haha :happyforever: Good luck brah, remember "You can !" ;)
  18. "Not bad", but it's wrong section :D Anyway, thanks for the share ;)
  19. Nice.. guide.. Explain yourself. I won't even bother to guess about what protection you are talking about, client (server?) or server/host (ddos prot).
  20. Not sure if it's gonna work or not (dunno if I changed all needed things, since it was fast :D), but try :P ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/model/actor/L2Attackable.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/L2Attackable.java (revision 319) +++ java/net/sf/l2j/gameserver/model/actor/L2Attackable.java (working copy) @@ -1280,20 +1280,20 @@ * to each Item Identifier dropped</li> <li>If the autoLoot mode is actif and if the L2Character that has killed the L2Attackable is a L2PcInstance, give this or these Item(s) to the L2PcInstance that has killed the L2Attackable</li> <li>If the autoLoot mode isn't actif or if the L2Character * that has killed the L2Attackable is not a L2PcInstance, add this or these Item(s) in the world as a visible object at the position where mob was last</li><BR> * <BR> - * @param mainDamageDealer The L2Character that made the most damage. + * @param lastAttacker The L2Character that made the last hit. */ - public void doItemDrop(L2Character mainDamageDealer) + public void doItemDrop(L2Character lastAttacker) { - doItemDrop(getTemplate(), mainDamageDealer); + doItemDrop(getTemplate(), lastAttacker); } - public void doItemDrop(L2NpcTemplate npcTemplate, L2Character mainDamageDealer) + public void doItemDrop(L2NpcTemplate npcTemplate, L2Character lastAttacker) { - if (mainDamageDealer == null) - return; + L2PcInstance player = null; + if (lastAttacker instanceof L2PcInstance) player = (L2PcInstance)lastAttacker; + if (lastAttacker instanceof L2Summon) player = ((L2Summon)lastAttacker).getOwner(); // Don't drop anything if the last attacker or owner isn't L2PcInstance - L2PcInstance player = mainDamageDealer.getActingPlayer(); if (player == null) return;
  21. Still dat suck. The one who did most dmg should take the drop, as I explained before. Anyway, it's your 'server' :P
  22. Nop :D Yeah, you are killing a rb for 30min and some random fags come and somehow make last hit, or ks-ing mobs at farm zone, seriously.. Don't do that.
  23. Nop. There is nothing special, it's just pure htm design that you can do as well.. :P
  24. Seriously, you want last hit? None would join your server with that lol :D
×
×
  • 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..