Jump to content

arm4729

Members
  • Posts

    231
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by arm4729

  1. protected void runImpl() { L2Player player = getClient().getActiveChar(); if (player == null) return; +if (_link.startsWith("bp_close")) { + player.sendPacket(TutorialCloseHtml.STATIC_PACKET); + } L2ClassMasterInstance.onTutorialLink(player, _link); player.onTutorialLink(_link); QuestState qs = player.getQuestState("255_Tutorial"); if (qs != null) qs.getQuest().notifyEvent(_link, null, player); sendAF(); } make button on html file with bypas bp_close , it should close tutorial htm window... if not works you should register your bypass somewhere i don't remember right now search for bypass handlers .. try it and reply
  2. check if it works near a skill master
  3. check requesttutorial.java you have bypass there
  4. maybe you can get all that info from registering account on website , with some edits on accounts table you can have something like hwid protection without needing to know to edit client files ?
  5. how can we get in contact ? discord?
  6. you asked if you can do it from xml files , i answer your question. did you encounter any errors in your code , posted here and no one help you ? i think not.
  7. long story short you need to edit source files
  8. int a = 0; for (Player player1 : World.getInstance().getPlayers()) { if (player1.isInsideZone(ZoneId.YOURZONEID) && player1.getClan() == player.getClan() { a = a++; (if a > 8){ player.abortAttack(); player.abortCast(); player.teleportTo(TeleportType.TOWN); player.sendMessage("Clan members limit reached in this zone. You have been teleported out.") } } }
  9. i give you what you want in 3 lines of code but you paste all this non sense code... if all you wanna do is not having 2 players with same ip in a specific zone you should use what i pasted above. why are you using code that you don't have any clue what is doing ? what is this line is supposed to do ?? i bet you are clueless you should start by understanding you're code , if you can't read code as machine how you expect to write it ? final AtomicInteger connectionCount = event.computeIfAbsent(addrHash, k -> new AtomicInteger()); anyway if you really wanna use this system you should paste all zone lines not only exit and enter. public boolean tryAddClient(, GameClient client, int max) { if (client == null) return false; // unable to determine IP address -->> i think you're problem is related to "event" probably this is antifeed for an automatic event engine .. and probably events are registered when they are starting , you might not have any active event at the this of this time check.. man just use the 3 lines i pasted above. final Map<Integer, AtomicInteger> event = _eventIPs.get(eventId); if (event == null) return false; // no such event registered final Integer addrHash = client.getConnection().getInetAddress().hashCode(); final AtomicInteger connectionCount = event.computeIfAbsent(addrHash, k -> new AtomicInteger()); int whiteListCount = Config.DUALBOX_CHECK_WHITELIST.getOrDefault(addrHash, Integer.valueOf(0)).intValue(); if (whiteListCount < 0 || connectionCount.get() + 1 <= max + whiteListCount) { connectionCount.incrementAndGet(); return true; } return false; }
  10. or you can make the character that is in the zone to be teleported out as soon as other character with same ip enters zone. this is undestroyable. onEnter. for (Player player1 : World.getInstance().getPlayers()) { if (player1.isInsideZone(ZoneId.YOURZONEID) && player1.getClient().getConnection().getInetAddress().getHostAddress() == player.getClient().getConnection().getInetAddress().getHostAddress() ) { player1.abortAttack(); player1.abortCast(); player1.teleportTo(TeleportType.TOWN); player.sendMessage("You're character that is using same ip address has been teleported out from this area. Dual-Box is not allowed in this zone.") player1.sendMessage("You have been teleported out. Dual-Box is not allowed in this zone.."); } } if you want to have only 2 players with same ip use this: int a = 0; for (Player player1 : World.getInstance().getPlayers()) { if (player1.isInsideZone(ZoneId.YOURZONEID) && player1.getClient().getConnection().getInetAddress().getHostAddress() == player.getClient().getConnection().getInetAddress().getHostAddress() ) { a = a++; if(a > 1){ player1.abortAttack(); player1.abortCast(); player1.teleportTo(TeleportType.TOWN); player.sendMessage("You're character that is using same ip address has been teleported out from this area. Dual-Box is not allowed in this zone.") player1.sendMessage("You have been teleported out. Dual-Box is not allowed in this zone.."); } } }
  11. maybe is client side?
  12. i guess you can search a clan leader in order to make your server populated , but there are any clans on this game anymore ?
  13. <tr><td widht="250"><font color=\"00cc66\">Chance: </font> try messing with width 250 , try bigger or lower until you fit it. is funny how this is a java topic and you are supposed to already know editing basic htm xD
  14. did you made setter / getter ? if you dont use a hwid protection for this kind of rewards it will be very easy to exploit. Date dt = new Date(_loginTime); final SimpleDateFormat df = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss"); activeChar.sendMessage("You are logged in since -> " + df.format(dt) + ". Enjoy the Game.");
  15. then you should ask them ..
  16. chch , well thats not running fine :D.. you should not try to use smartguard without paying for it
  17. is just 3 second loading screen and bam you are now a reptilian.
  18. what you give me if i can make it work only editing server side on acis ? you use requestrestart to relog a player without player making any client action
  19. what pack are you using ? you should check networks/serverpackets/PrivateStoreListSell.java Add somewhere if (item.isAugmented) return .
  20. search htm from community board check bypass name and then search source for that bypass
  21. public final boolean checkVillageMaster(ClassId pclass) { if (Config.ALT_GAME_SUBCLASS_EVERYWHERE) return true; return checkVillageMasterRace(pclass) && checkVillageMasterTeachType(pclass); try this public final boolean checkVillageMaster(ClassId pclass) { return true;
  22. Did you try to use clean mobius pack ?
  23. lol i remember having this problem in 2014 something like that , leave your discord ill help you
×
×
  • Create New...