
arm4729
Members-
Posts
231 -
Credits
0 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by arm4729
-
Discussion Custom Second Windows Html (like NPCdialog)
arm4729 replied to sacrifice's topic in Server Development Discussion [L2J]
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 -
Help Community Button Adquire Skills
arm4729 replied to barao45's question in Request Server Development Help [L2J]
check if it works near a skill master -
Discussion Custom Second Windows Html (like NPCdialog)
arm4729 replied to sacrifice's topic in Server Development Discussion [L2J]
check requesttutorial.java you have bypass there -
Request HWID system or something
arm4729 replied to 'Baggos''s question in Request Server Development Help [L2J]
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 ? -
files dev service (unity)
arm4729 replied to tets's question in Request Server Development Help [L2J]
how can we get in contact ? discord? -
nice
-
Help How to make a autosweep skill?
arm4729 replied to redsky9's question in Request Server Development Help [L2J]
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. -
Help How to make a autosweep skill?
arm4729 replied to redsky9's question in Request Server Development Help [L2J]
long story short you need to edit source files -
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.") } } }
-
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; }
-
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.."); } } }
-
Help WASD movement Lucera 2 source
arm4729 replied to LinIeIage's question in Request Server Development Help [L2J]
maybe is client side? -
LF Looking for someone to fully advertise my server
arm4729 replied to AntiSocialist's topic in Request Support [English]
i guess you can search a clan leader in order to make your server populated , but there are any clans on this game anymore ? -
Help Help With drop/spoil panel
arm4729 replied to cronol's question in Request Server Development Help [L2J]
<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 -
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.");
-
then you should ask them ..
-
chch , well thats not running fine :D.. you should not try to use smartguard without paying for it
-
Help Genre switching without relogin
arm4729 replied to Williams's question in Request Server Development Help [L2J]
is just 3 second loading screen and bam you are now a reptilian. -
Help Genre switching without relogin
arm4729 replied to Williams's question in Request Server Development Help [L2J]
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 -
Help Quick Question About Private Stores
arm4729 replied to Eleven's question in Request Server Development Help [L2J]
what pack are you using ? you should check networks/serverpackets/PrivateStoreListSell.java Add somewhere if (item.isAugmented) return . -
Help Help getting started with source
arm4729 replied to chrislate3's question in Request Server Development Help [L2J]
search htm from community board check bypass name and then search source for that bypass -
Help about change classes in acis
arm4729 replied to thepsolartek's question in Request Server Development Help [L2J]
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; -
Help Skill Use Lag/Delay
arm4729 replied to SirrSquirtlle's question in Request Server Development Help [L2J]
Did you try to use clean mobius pack ? -
Share L2JSERVER MOST PRECISE DROP STRATEGY
arm4729 replied to Cherish's topic in Server Shares & Files [L2J]
-
lol i remember having this problem in 2014 something like that , leave your discord ill help you