-
Posts
17 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by EdithFinch
-
Show me where is the scam when you take a code without pay. You guys are nuts.
-
Are you out of your mind? Add me on discord to share you screen. I made him full code. I only forgot a check which allow player to use the item and get hero over and over. It's 1 line code. In addition he first got the code and then the money. I didn't say "pay me first and then i give u code". I have nothing to do for him because it's full code. A person who report someone because he is offline for 6 hours is clearly having a brain issue. So please tell me again what i'm supposed to do? Enter in his PC and check my code and tell me if it's unfinished.
-
I clearly said "TEST" and then do the payment. Also i wrote i close AnyDesk and i leave. I was in your PC for 1 hour talking e.t.c with you after that i had to leave. You can't report someone because he is offline few FEW hours especially when he made the code for you BEFORE the payment. Also CLOSE/DELETE the topic. There is no "scam" here. The guy got his code, i told him to test it, he paid first instead of test. He could wait few hours for me to return home. I told him i'll go off after i finished with it.
-
What are you talking about.. You received the code and then you paid. I said cleary check the code and then pay. Even if im offline few hours for X reasons u can't report someone. As u see in the photo he got the code and then he paid. I told him test it first then pay. I didn't demand money. And i missed a fucking "if" that basically allow u to use the item over and over and for this i got reported. great
-
Guys what the heck i was offline for few hours and i got report? I came home now instead of 15:00 What is this? I missed for like 6 hours... Anyway I have proofs that he got his code first and then he made the payment, he had any time to check the code for any missed checks. I have also proof chat that i sended him twice and i was waiting 1 hour and he didn't respond. Report someone because he forgot a simple "IF" and he was offline 6 hours is good attitude.
-
Help Hero method for 2 weeks npc
EdithFinch replied to 0flee's question in Request Server Development Help [L2J]
Agree. Thats a big system. You can make it very simple with a long type variable that check upon login if current Milliseconds is smaller than the variable to set hero and upon log out to store but thats an amateur way. You better pay a dev or learn to make something good do not make amateur systems for servers with 2 lines of code just to have em -
Show me in private an example of a code you have create
-
When you struggle to even understand basic structure of code do not even attempt to do any task for any person on the internet with or without payment.
-
Name the list he ask and the price.
-
Help code adaption from l2jlisvus to l2jfrozen
EdithFinch replied to heladito's question in Request Server Development Help [L2J]
I ask it gently. Throw this code to the garbage. -
if (DropEvent.getInstance().isDoubleDrop() == true) Possibly the poorest code i have seen in 10 years All this: @Override public boolean useAdminCommand(String command, L2PcInstance activeChar) { try { if (command.equals("admin_startdrop")) { if (DropEvent.getInstance().isDoubleDrop() == false) { DropEvent.getInstance().startEvent(); } } else if (command.equals("admin_stopdrop")) { if (DropEvent.getInstance().isDoubleDrop() == true) { DropEvent.getInstance().forceStop(); Announcements.getInstance().announceToAll("Admin has ended the drop event"); } } } catch (Exception e) { e.printStackTrace(); } return false; } Can be written as: @Override public boolean useAdminCommand(String command, L2PcInstance activeChar) { if (DropEvent.getInstance().isDoubleDrop()) { DropEvent.getInstance().forceStop(); } else { DropEvent.getInstance().startEvent(); } } The whole code is a mess, it's like we are in 2007
-
10 post minimum required in order to post in Marketplace section.
-
Request AutoLoot
EdithFinch replied to nakashimi's question in Request Server Development Help [L2J]
If you sit down and study the code for several minutes you will understand how it work and you won't need any help or copy paste the exact code. This code: public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.equalsIgnoreCase("autolooton")) { activeChar.setAutoLootEnabled(true); activeChar.sendMessage("Auto loot is now enabled."); } else if (command.equalsIgnoreCase("autolootoff")) { activeChar.setAutoLootEnabled(false); activeChar.sendMessage("Auto loot is now disabled."); } return true; } can turn into this: @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { activeChar.setIsAutoLoot(!activeChar.isAutoLoot()); activeChar.sendMessage("Auto loot is now " + (isAutoLoot(null) ? "enabled." : "disabled")); return true; } You don't need the if statement since there are only 2 cases and the useVoicedCommand will only executed when 1 of these handler that are in String[] are called. And this code: private boolean _autoLootEnabled = false; public void setAutoLootEnabled(final boolean autoLootEnabled) { _autoLootEnabled = autoLootEnabled; } /** * @param reference * @return Returns the autoLootEnabled. */ public boolean isAutoLootEnabled(final L2Object reference) { return _autoLootEnabled && !(reference instanceof L2GrandBossInstance) && !(reference instanceof L2RaidBossInstance) && !(reference instanceof L2MinionInstance); } Should be better: private boolean _isAutoLoot; public void setIsAutoLoot(final boolean val) { _isAutoLoot = val; } public boolean isAutoLoot(final L2Character target) { return Objects.nonNull(target) && target.isRaid() ? false : _isAutoLoot; } -
Help Maximum 2 healers allowed in party
EdithFinch replied to arm4729's question in Request Server Development Help [L2J]
Premonition? -
Party zone add check
EdithFinch replied to MoNsT3ReN4RgY's question in Request Server Development Help [L2J]
In L2Party.java find the method: public void removePartyMember and under getMembers().remove(player); Add an example of code: if (player.isInsideZone(ZoneId.PVP)) { if (getMemberCount() < 5) { getMembers().forEach(s -> s.teleToLocation(TeleportWhereType.TOWN)); } } -
Help Maximum 2 healers allowed in party
EdithFinch replied to arm4729's question in Request Server Development Help [L2J]
Your code is unnecessary. @arm4729 if (party.getMembers().stream().filter(k -> k.getClassId() == ClassId.bishop).count() > 2) { // Failed to add } -
Help Delete code from instance.
EdithFinch replied to 0flee's question in Request Server Development Help [L2J]
This is the code that does the check regarding party: if ((party != null) && party.isLeader(player)) Remove the check and instead of a for to all party simply enterInstance with just the player -
final Map<String, AtomicInteger> IP = new HashMap<>(); for (final L2PcInstance activeChar : L2World.getInstance().getPlayers()) { if (IP.computeIfAbsent(activeChar.getIPAddress(), k -> new AtomicInteger()).incrementAndGet() > MAX_REWARD_PER_IP) // MAX_REWARD_PER_IP represent a static var or a config of yours. { // Skip player since there are more IP's in map than allowed continue; } // Your code for reward }
-
Discussion Why Lineage 2 is DEAD
EdithFinch replied to LordPanic's topic in General Discussion [English]
Recycling the same conversation over and over for several years, by members who grew up, have real job and no time to play. -
if (MIN_MEMBER.isValidValue(getMemberCount())) { getMembers().stream().filter(k -> k.isInsideZone(ZoneId.PVP)).forEach(k -> k.teleToLocation(TeleportWhereType.TOWN)); } in L2Party.java in method removePartyMember bellow getMembers().remove() and also add as static private static final ValueRange MIN_MEMBER = ValueRange.of(1, 4)