-
Posts
1,403 -
Credits
0 -
Joined
-
Last visited
-
Days Won
32 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by melron
-
Help Need help with RBInfo
melron replied to Thrusteris's question in Request Server Development Help [L2J]
No :( but! I have color system, anti-bot protection and anti-hlapex! Do you? -
Help Need help with RBInfo
melron replied to Thrusteris's question in Request Server Development Help [L2J]
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 ? -
Help Need help with RBInfo
melron replied to Thrusteris's question in Request Server Development Help [L2J]
Me and Boolean hate you too... <3 getColor(status == 1) private static String getColor(boolean alive) { return alive ? "FFFFFF" : "55555"; } -
Help Need help with RBInfo
melron replied to Thrusteris's question in Request Server Development Help [L2J]
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 -
Help Need help with RBInfo
melron replied to Thrusteris's question in Request Server Development Help [L2J]
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 -
Help Need help with RBInfo
melron replied to Thrusteris's question in Request Server Development Help [L2J]
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? -
Help Need help with RBInfo
melron replied to Thrusteris's question in Request Server Development Help [L2J]
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 -
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...
-
Help Tvt working good, but don't spawning npc
melron replied to martuxas1's question in Request Server Development Help [L2J]
Just create your custom npc and put the id inside -
Help Tvt working good, but don't spawning npc
melron replied to martuxas1's question in Request Server Development Help [L2J]
Maybe this npc id is not exists in your npc's? -
Help Tvt working good, but don't spawning npc
melron replied to martuxas1's question in Request Server Development Help [L2J]
Database tvt table you are missing npc values -
Help Monument of heroes gs error
melron replied to ThelwHelpRePaidia's question in Request Server Development Help [Greek]
πολύ πιθανόν να έχεις κάνει 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 -
Help acis karma gs error
melron replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
Nice one -
Help acis karma gs error
melron replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
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); } /** -
Help Ερωτηση για npc
melron replied to bblastersd's question in Request Server Development Help [Greek]
Τότε είσαι πολύ ακριβώς :Ρ το συγκεκριμένο δεν χρειάζεται τίποτα άλλο παρά μόνο μια μορφοποίηση στην λίστα των target που δέχεται ο guard (μπορείς εύκολα να δεις πως ο guard βλέπει τους karma players) και κάτι διαμορφώσεις στο attack case (ανάλογα το pack σου) -
Help Ερωτηση για npc
melron replied to bblastersd's question in Request Server Development Help [Greek]
Δεν ξέρω τι ερώτηση διάβασες εγώ δεν ρώτησα κάτι που περίμενα αυτή την απάντηση. Εγώ ρώτησα εάν θα έδιναν δωρεάν υλικό σε μια τέτοια ερώτηση . (Από την στιγμή που ασχολείσαι επαγγελματικά δεν Νομίζω)... -
Help Ερωτηση για npc
melron replied to bblastersd's question in Request Server Development Help [Greek]
Αυτό το team δίνει δωρεάν βοήθεια σε ερωτήσεις σαν και αυτή που ανέφερε? Που δεν γνωρίζει java (και αυτομάτως σημαίνει ότι ψάχνει έτοιμο code) ? Εγώ βλέπω σαν 1η μάτια ότι θέλουν λεφτά τα παιδιά . Μπορεί να κάνω και λάθος -
Help Ερωτηση για npc
melron replied to bblastersd's question in Request Server Development Help [Greek]
Όχι δεν κράζω , αντιθέτως είμαι μαζί σε όποιον πάει να κάνει κάτι new γιατί όλοι έτσι ξεκινήσαμε. Όταν όμως είσαι σε χαμηλό επίπεδο σε αυτό που θες να κάνεις απλά κάθεσαι να γίνεις καλύτερος και οχι να το παίξεις κάποιος -
Help Ερωτηση για npc
melron replied to bblastersd's question in Request Server Development Help [Greek]
Αν εξαιρέσουμε το γεγονός ότι το παιδί ψάχνει για βοήθεια Και όχι για developers, το site δείχνει την εμπειρία των διαχειριστών... Εάν όντως είχαν δουλειά το site δεν θα είχε 1 παράγραφο για description και images αρχάριου designer όπου λέει και την τιμή των προϊόντων που υποτίθεται ότι πουλάει... -
Code 2+ healers in party decrease heal
melron replied to ThelwHelpRePaidia's topic in Server Shares & Files [L2J]
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... -
Code 2+ healers in party decrease heal
melron replied to ThelwHelpRePaidia's topic in Server Shares & Files [L2J]
my eyes are bleeding and stop spamming -
Help HWID checks to limit the opened clients.
melron replied to L2J NexuS's question in Request Server Development Help [L2J]
Since you got it you should have methods too like activeChar.getHWID() ? to get the ip address activeChar.getClient().getConnection().getInetAddress().getHostAddress(); -
Code 2+ healers in party decrease heal
melron replied to ThelwHelpRePaidia's topic in Server Shares & Files [L2J]
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(); -
Do you know all the gm commands?
-
Help l2jfrozen tvt change teleport location
melron replied to martuxas1's question in Request Server Development Help [L2J]
If i'm not mistaken a table in db handle the teleports for events