Jump to content

erhan4o0

Members
  • Posts

    149
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by erhan4o0

  1. xAddytzu look from net.sf.l2j.gameserver.handler.admincommandhandlers; i take error from "isOfflineTrade" and "Vote" this lines if(player.Right Here--->>isOfflineTrade<---()) continue; Here --->>Vote.getInstance().showVoteHtml(player); } } if (command.startsWith("admin_showvotes")) Here --->>Vote.getInstance().showVoteHtml(activeChar); if (command.startsWith("admin_clear")) Here --->>Vote.getInstance().clear(); return true; } public String[] getAdminCommandList() { return ADMIN_COMMANDS; } } with what i need replace them
  2. is the same...again i get error...from all cordinate where i need put java codes i get errors..Isn't for IL?
  3. from RequestBypassToServer.java - Index: net.sf.l2j.gameserver.clientpackets i get error this line else if (_command.startsWith("Quest ")) { if(!activeChar.validateBypass(_command)) return; L2PcInstance player = getClient().getActiveChar(); if (player == null) return; String p = _command.substring(6).trim(); int idx = p.indexOf(' '); if (idx < 0) player.processQuestEvent(p, ""); else player.processQuestEvent(p.substring(0, idx), p.substring(idx).trim()); } + else if(_command.startsWith("custom_")) + { + L2PcInstance player = getClient().getActiveChar(); + if(!player.validateBypass(_command)) + return; + + BypassHandler.getInstance().handleBypass(player, _command); + } i can't find this cordination ... BypassHandler.java - Index: net.sf.l2j.gameserver.model.custom from Vote.java - Index: net.sf.l2j.gameserver.model.entity.Events /* 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.model.entity.Events; import net.sf.l2j.gameserver.handler.admincommandhandlers.AdminCustom; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.serverpackets.NpcHtmlMessage; /** * @author xAddytzu */ public class Vote { private static Vote _instance = null; private List<String> _IPs = new FastList<String>(); public static int voteCount1 = 0; public static int voteCount2 = 0; public static int voteCount3 = 0; public static Vote getInstance() { if(_instance == null) _instance = new Vote(); return _instance; } public void handleCommand(L2PcInstance player,String command) { if(command.startsWith("custom_vote_1")) { if (_IPs.contains(player.getClient().getConnection().getSocketChannel().socket().getInetAddress().getHostAddress())) continue; _IPs.add(player.getClient().getConnection().getSocketChannel().socket().getInetAddress().getHostAddress()); voteCount1++; player.sendMessage("Thanks for your vote."); } else if(command.startsWith("custom_vote_2")) { if (_IPs.contains(player.getClient().getConnection().getSocketChannel().socket().getInetAddress().getHostAddress())) continue; _IPs.add(player.getClient().getConnection().getSocketChannel().socket().getInetAddress().getHostAddress()); voteCount2++; player.sendMessage("Thanks for your vote."); } else if(command.startsWith("custom_vote_3")) { if (_IPs.contains(player.getClient().getConnection().getSocketChannel().socket().getInetAddress().getHostAddress())) continue; _IPs.add(player.getClient().getConnection().getSocketChannel().socket().getInetAddress().getHostAddress()); voteCount3++; player.sendMessage("Thanks for your vote."); } } public void showVoteHtml(L2PcInstance activeChar) { String htmFile = "data/html/custom/vote.htm"; NpcHtmlMessage html = new NpcHtmlMessage(1); html.setFile(htmFile); html.replace("%first%", String.valueOf(AdminCustom.first)); html.replace("%second%", String.valueOf(AdminCustom.second)); html.replace("%third%", String.valueOf(AdminCustom.third)); html.replace("%voteCount1%", String.valueOf(voteCount1)); html.replace("%voteCount2%", String.valueOf(voteCount2)); html.replace("%voteCount3%", String.valueOf(voteCount3)); activeChar.sendPacket(html); } public void clear() { voteCount1 = 0; voteCount2 = 0; voteCount3 = 0; AdminCustom.first = ""; AdminCustom.second = ""; AdminCustom.third = ""; _IPs.clear(); } } why i get this errors? i do everything right..
  4. use search man http://www.maxcheaters.com/forum/index.php?topic=167195.0
  5. I am on windows 7 using kaspersky i don't have any problem.. everything work fine..without any errors or something else.. If you want serious protections, my suggestion is Padna antivirus. Panda Antivirus Pro 2011 1 More security, more protection. More protection: Collective Intelligence is a network of information based on the community of users where we all share and contribute knowledge. Real-time detection and protection. 2 More speed, more simplicity. Lighter and easier: In addition to being very easy to use, it uses our Collective Intelligence, hosted on the Internet instead of your PC, that results in minimum performance impact on your PC. 3 More complete than ever. More than a simple Antivirus: Includes a set of new tools for your total piece of mind and protection. Real-time protection with the collective knowledge of millions of users Panda protects your online world and ... Your PC Your web experience Your network Your email Your family and identity Your valuable data Minimum system requirements Operating system * Windows 7 32 & 64 bits * Windows Vista 32 & 64 bits * Windows XP 32 bits Technical requirements * Processor: Pentium 300 MHz or faster * RAM: 128 MB without TruPrevent 512 MB with TruPrevent (1 GB recommended) * Hard disk: 265 MB free space * MS Internet Explorer 6.0 Supported browsers * Microsoft Internet Explorer 6.0 or above * Mozilla Firefox 2 or above * Google Chrome gl.. ;)
  6. try other server... or just go talk with your connection service to fix it...gl ;)
  7. really nice done! but so many custom ... many ppl don't know what to download..anyway great share!
  8. all photo links are dead man... i can't see nothing..
  9. guys i need a little help... i need java code who will protect my server from who try to hack radar, i give some explain, who use this program (control or something like that is the program) can make under 70% cp...cp potions start to use auto, when he hack radar example he is in blazing swamp and he can see ppl in aden castle, he can see what classes they are what lvl they are...and last he can attack ppl in peace zone... when he target me and click F1 example for attack..anyone if know how to fix it plz help me!.. thank you advance.
  10. i try this too but still nothing :( int count = item.getCrystalCount() - (item.getItem().getCrystalCount() + 2) / 2; if (count < 2) count = 2;
  11. hello i want to make crystal scrolls to enchant x2 example.. when i put enchant instead one enchant to give me two on weapon i find a java code at java/gameserver/network/clientpackets/RequestEnchantItem.java and code is this int count = item.getCrystalCount() - (item.getItem().getCrystalCount() + 1) / 2; if (count < 1) count = 1; if i am wrong fix me plz
  12. is very good idea but, can u make it when you take restart hero to disapear, something like that you kill 5 guys you take only hero aura after when you die two times and you lose it or when you take restart
  13. Good share but isn't for IL :( can u make one too for interlude cuz seems this DM event will be very diffrent and new for players and for me too..thanks anyway ;)
  14. 1st time Soultaker on 50x server (forever) 2nd time Ghost Hunter on 20x server (mafia) 3rd time Ghost Sentinel on 10x server (origins) and one time Adventure on high rate server (i forgot the name)
  15. cuz he deserve it, when you make something like that ;D ;D you will get too... Galaxy™ i can't say nothing bad for your share, just they are perfect for me...anyway thank you for share ;)
  16. what is the matter work anyway right?... btw thanks for the guide :P
  17. put some other server system and try to start l2.exe..if doesn't help... download from other place your L2 Client
  18. link is dead ... next time be sure you give us correct link.... great share dude...keep it up ;)
  19. admins stoped the server i was playing in deimos too :(
  20. Bishop=Stone Mage=Wild Magic Fighter=Might,Passive Might
  21. are you crazy man?? when you are teleported before start to count you have buff... then says 60 sec before olympiad start and your buff remove...anyway no work...
×
×
  • 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