Jump to content

melron

Legendary Member
  • Posts

    1,403
  • Credits

  • Joined

  • Last visited

  • Days Won

    32
  • Feedback

    0%

Everything posted by melron

  1. No :( but! I have color system, anti-bot protection and anti-hlapex! Do you?
  2. Who cares about the other states except dead/alive :P Do you have it like this in your own unique server with unique farm areas ?
  3. Me and Boolean hate you too... <3 getColor(status == 1) private static String getColor(boolean alive) { return alive ? "FFFFFF" : "55555"; }
  4. Even if you used decompiler to search for it, As you can see the results are not correct. But, as i can see a config is there to handle all the id's. Config.RAID_INFO_IDS_LIST Search again with the decompiler in Config.java and search RAID_INFO_IDS_LIST = bla bla ... You will see how the config name is written
  5. well no, just look at the html he posted . To appear the html with all the raidbosses names/status , a bypass must be launched . So something is wrong here :D
  6. Wait, As i can understand by your words, you found this npc in another pre-configured pack? And added it to your own server? Without sources? How is that possible?
  7. indeed, you have to make some changes in your sources (if this manager is coded in java and not python.) Open your eclipse and click at Search in your tools. then write the bypass in text box. something like that and paste in code tag what you found in order to help you
  8. Explain your 'script'... Take a look at top 10 PvP players manager how it is working... One change in the SQL query will do the 90% of the work...
  9. Just create your custom npc and put the id inside
  10. Maybe this npc id is not exists in your npc's?
  11. Database tvt table you are missing npc values
  12. πολύ πιθανόν να έχεις κάνει edit το bypass "αποσο" καταλαβαίνω (εξίσου και το CB). Οποτε λογικά θα έχεις κάνει edit το class OlympiadManagerNpc.java. Βάλε αυτό στον κώδικα σου ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/model/actor/instance/OlympiadManagerNpc.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/OlympiadManagerNpc.java (revision 3) +++ java/net/sf/l2j/gameserver/model/actor/instance/OlympiadManagerNpc.java (working copy) @@ -275,7 +275,9 @@ if (Hero.getInstance().isInactiveHero(player.getObjectId())) hiddenText = "<a action=\"bypass -h npc_%objectId%_Olympiad 5\">\"I want to be a Hero.\"</a><br>"; html.replace("%hero%", hiddenText); html.replace("%objectId%", getObjectId()); player.sendPacket(html); break; - + case 8: + player.sendPacket(new ExHeroList()); + break; default: _log.warning("Olympiad: Couldnt send packet for request: " + val); break; και απλά πήγαινε στο html: data/html/olympiad/hero_main.htm και άλλαξε το bypass από <a action="bypass npc_%objectId%_Olympiad 4">"I want to verify who is the Hero of this era."</a> σε <a action="bypass npc_%objectId%_Olympiad 8">"I want to verify who is the Hero of this era."</a> Y.Γ. Σου έβαλα καινούριο case στο bypass διότι το case 4 λογικά το έχεις αλλάξει για να σου εμφανίζει τα options στο community board
  13. It's because the code you implement it wasn't complete at all. Your error probably comes from method calculateKarmaLost , you need to edit the array karmaMods at Formulas.java and add new values for each higher level or you can add a check to get always the latest possible value from the retail one. Possible fixes: ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/skills/Formulas.java =================================================================== --- java/net/sf/l2j/gameserver/skills/Formulas.java (revision 3) +++ java/net/sf/l2j/gameserver/skills/Formulas.java (working copy) @@ -202,6 +202,12 @@ 29.05534154, 29.41038662, 29.77769028 + //your value + //your value + //your value + //your value + //your value + //.... }; /** or ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/skills/Formulas.java =================================================================== --- java/net/sf/l2j/gameserver/skills/Formulas.java (revision 3) +++ java/net/sf/l2j/gameserver/skills/Formulas.java (working copy) @@ -1512,7 +1512,7 @@ */ public static int calculateKarmaLost(int playerLevel, long exp) { - return (int) (exp / karmaMods[playerLevel] / 15); + return (int) (exp / karmaMods[Math.min(karmaMods.length-1, playerLevel)] / 15); } /**
  14. Τότε είσαι πολύ ακριβώς :Ρ το συγκεκριμένο δεν χρειάζεται τίποτα άλλο παρά μόνο μια μορφοποίηση στην λίστα των target που δέχεται ο guard (μπορείς εύκολα να δεις πως ο guard βλέπει τους karma players) και κάτι διαμορφώσεις στο attack case (ανάλογα το pack σου)
  15. Δεν ξέρω τι ερώτηση διάβασες εγώ δεν ρώτησα κάτι που περίμενα αυτή την απάντηση. Εγώ ρώτησα εάν θα έδιναν δωρεάν υλικό σε μια τέτοια ερώτηση . (Από την στιγμή που ασχολείσαι επαγγελματικά δεν Νομίζω)...
  16. Αυτό το team δίνει δωρεάν βοήθεια σε ερωτήσεις σαν και αυτή που ανέφερε? Που δεν γνωρίζει java (και αυτομάτως σημαίνει ότι ψάχνει έτοιμο code) ? Εγώ βλέπω σαν 1η μάτια ότι θέλουν λεφτά τα παιδιά . Μπορεί να κάνω και λάθος
  17. Όχι δεν κράζω , αντιθέτως είμαι μαζί σε όποιον πάει να κάνει κάτι new γιατί όλοι έτσι ξεκινήσαμε. Όταν όμως είσαι σε χαμηλό επίπεδο σε αυτό που θες να κάνεις απλά κάθεσαι να γίνεις καλύτερος και οχι να το παίξεις κάποιος
  18. Αν εξαιρέσουμε το γεγονός ότι το παιδί ψάχνει για βοήθεια Και όχι για developers, το site δείχνει την εμπειρία των διαχειριστών... Εάν όντως είχαν δουλειά το site δεν θα είχε 1 παράγραφο για description και images αρχάριου designer όπου λέει και την τιμή των προϊόντων που υποτίθεται ότι πουλάει...
  19. My answer was not only for this topic. peace p.s the bleeding eyes thing wasn't for u p.s2 how do you know if his code is good or not? With a small glance his code will give 0 heal if 2 or more healers found int the party Proof: 858 heal % 3 (healers) ? result is 0... Evie probably made a mistake and wanted to divide (/=) instead of modulo...
  20. my eyes are bleeding and stop spamming
  21. Since you got it you should have methods too like activeChar.getHWID() ? to get the ip address activeChar.getClient().getConnection().getInetAddress().getHostAddress();
  22. The point is the share ;) Btw not bad idea about archers :P @OnTopic As sweets said you have useless checks and variables, You can update your post. Something like that would be better ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/handler/skillhandlers/Heal.java =================================================================== --- java/net/sf/l2j/gameserver/handler/skillhandlers/Heal.java (revision 3) +++ java/net/sf/l2j/gameserver/handler/skillhandlers/Heal.java (working copy) @@ -1,5 +1,7 @@ package net.sf.l2j.gameserver.handler.skillhandlers; +import java.util.stream.Collectors; + import net.sf.l2j.gameserver.handler.ISkillHandler; import net.sf.l2j.gameserver.handler.SkillHandler; import net.sf.l2j.gameserver.model.L2Skill; @@ -111,6 +113,10 @@ hp *= target.calcStat(Stats.HEAL_EFFECTIVNESS, 100, null, null) / 100; } + final int healers = activeChar.getParty() == null ? 0 : activeChar.getParty().getMembers().stream().filter(mem -> mem.getClassId().getId() == 97).collect(Collectors.toList()).size(); + if (healers >= 2) + hp /= healers; + // If you have full HP and you get HP buff, u will receive 0HP restored message if ((target.getCurrentHp() + hp) >= target.getMaxHp()) hp = target.getMaxHp() - target.getCurrentHp();
  23. Do you know all the gm commands?
  24. If i'm not mistaken a table in db handle the teleports for events
×
×
  • Create New...