Jump to content

Gxz

Members
  • Posts

    882
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Gxz

  1. http://www.4shared.com/file/143211067/76167dcf/Server_Attacker_V3_12.html
  2. tested l2j attacker and not working even in 100 years.
  3. here is mine for interlude /* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package net.sf.l2j.gameserver.util; import java.net.InetAddress; import java.nio.channels.SocketChannel; import java.util.ArrayList; import java.util.HashMap; import java.util.Map.Entry; import com.l2jserver.mmocore.network.IAcceptFilter; /** * Formatted Forsaiken's IPv4 filter [DrHouse] * * @Reworked by Adryan * */ public class IPv4Filter implements IAcceptFilter, Runnable { private HashMap<Integer, Flood> _ipFloodMap; private static final long SLEEP_TIME = 5000; public IPv4Filter() { _ipFloodMap = new HashMap<Integer, Flood>(); Thread t = new Thread(this); t.setDaemon(true); t.start(); } /** * * @param ip * @return */ private static final int hash(byte[] ip) { return ip[0] & 0xFF | ip[1] << 8 & 0xFF00 | ip[2] << 16 & 0xFF0000 | ip[3] << 24 & 0xFF000000; } protected static final class Flood { long lastAccess; int trys; Flood() { lastAccess = System.currentTimeMillis(); trys = 0; } } public boolean accept(SocketChannel sc) { InetAddress addr = sc.socket().getInetAddress(); int h = hash(addr.getAddress()); long current = System.currentTimeMillis(); Flood f; synchronized (_ipFloodMap) { f = _ipFloodMap.get(h); } if (f != null) { if (f.trys == -1) { f.lastAccess = current; return false; } if (f.lastAccess + 1000 > current) { f.lastAccess = current; if (f.trys >= 3) { f.trys = -1; return false; } f.trys++; } else { f.lastAccess = current; } } else { synchronized (_ipFloodMap) { _ipFloodMap.put(h, new Flood()); } } return true; } public void run() { while (true) { long reference = System.currentTimeMillis() - (1000 * 300); ArrayList<Integer> toRemove = new ArrayList<Integer>(50); synchronized (_ipFloodMap) { for (Entry<Integer, Flood> e : _ipFloodMap.entrySet()) { Flood f = e.getValue(); if (f.lastAccess < reference) toRemove.add(e.getKey()); } } synchronized (_ipFloodMap) { for (Integer i : toRemove) { _ipFloodMap.remove(i); } } try { Thread.sleep(SLEEP_TIME); } catch (InterruptedException e) { } } } }
  4. i dont know exactly what this attacker is, i think is l2j attacker.. search in forum, somewhere is posted
  5. this means someone is attacking/ddosing your server with a program, to fix it block this ip if you have linux or add java protections against this programs..
  6. with this u dont take the battle force buff at all
  7. not working
  8. wtf are u talking about?
  9. well did it exactly like the diff but its not working, are u sure u are doing the bug fine?
  10. whats ur gameserver id of server?
  11. get fileedit and open servername, edit the 1st name and save it... you could search first, its already shared
  12. not working, any other ideas?
  13. well always think about having more plays... what if your server reaches 250 online? try 500 gb and you will be able to host 400 players or more.... depends from your server also...
  14. dont work, i already have this... Remove skills...??
  15. hello guys, there is a bug when you battle force another player and he make subclass and then he go back to the class the other player made battle force, battle force stays there.. how to fix it? i already tried this fix http://www.maxcheaters.com/forum/index.php?topic=70765.0 not working, i have interlude l2j server.
  16. i already have this fix, this is for another trade bug..
  17. need a fix for l2j interlude server for this bug http://www.maxcheaters.com/forum/index.php?topic=55395.0 fast pls :)
  18. ops forgot to say to lock this topic.. fixed it already thx
  19. Actually no, the owners of the private servers gaved wrong info about their servers like: accept rules, copyright or whatever.. just bullsh1t of dev but if there is not posibility to get jailed for this why not to play? this is the main reason why private servers exist.. nice thought anw :)
  20. okay listen to this and PLS dont spam cause this is the real truth.. First of all Lineage II private servers are illegal... and lol why the -BeEp- should Official Lineage accept those private servers? they lose people and besides there was a topic in official lineage where a staff member said that private servers are illegal... Second: Attacking a server is ALWAYS ILLEGAL, some will say ? why, since l2 private servers are illegal? It is cause you flood the port of the pc you attack too and you provide lag, thing that is illegal it doesnt matters if you only host a server that is illegal and you are trying to close only that server, if you attack a pc/server its always illegal.. Third: Propably you wont get jailed for this thing, if you could get jailed for this thing, prisons will be full.. The only way to get jailed is only if you are a pro programmer causing huge disaster to big companies with programs that are illegal, this programs are so tiny in front of the disaster that happen to huge companies like google, youtube etc.. and btw, you can never hide cause FBI will go to your internet provider and ask whose MAC address is this and they will catch you, you cant change a MAC address... now @Offtopic if anyone found a fix for this, post it here or pm me pls
  21. interlude l2j server..
  22. where? what file?
  23. Hello guys, i am using l2j interlude client and the problem is that for example if max enchant is +25 and player tries by mistake to enchant to +26 the item brakes.. i want it not to brake, how can i do that?
×
×
  • Create New...