Jump to content

StinkyMadness

Legendary Member
  • Posts

    1,036
  • Credits

  • Joined

  • Last visited

  • Days Won

    20
  • Feedback

    100%

Everything posted by StinkyMadness

  1. private int _killCount; private long _killTime; public void increasePvpKills(L2Character target) { if (target instanceof L2PcInstance && AntiFeedManager.getInstance().check(this, target)) { if (_killTime < System.currentTimeMillis()) _killCount = 0; _killCount++; _killTime = System.currentTimeMillis() + 60000L; There is no need for any task @MegaCheat
  2. The skill you seeing are used by NPC and on client side they have default "icon.skill0000" icon so that one is parsed. If the skill icon equals to skill id the parser skip it on parsing as the java itself is generating that icon. "_icon = set.getString("icon", String.format("icon.skill%04d", _id));"
  3. I have seen this project during its building process, they trying everything and focusing on the gameplay a lot. Looks like an server that i can enjoy playing on my free time. Good luck felas.
  4. The code is not written by me... I just give him some hints on private messages to fix some major issue on his code.. Williams code it.. not me. Gosh... xD
  5. Well.. now that is public we all can see how well is this pack performing xD
  6. Reading whole HTML result its not the best way to find votes when the site support JSON results ofc.. but not all sites share JSON information's for global results. Also the Jsoup lib can be used for finding any information from URL not only votes and the class I shared its an simple example. You can grab any info with simple inspect line you want to grab. Anyway... its just a guide for jsoup, not code share. I hope one day all toplist sites provide JSON results for global votes like your site. GJ :)
  7. No just newer "revisions" has more stolen codes adapted on this crappy source, Vilmis was adapting payed codes from client to his source and then include that features on his updates. Include Augment System ( VIDEO ) and old version of my Achievement System xD
  8. I already told you why there are people helping the project.. that does not change the fact that the aCis is one-man project..
  9. Huh??? You can't read your own source of information that you posted? The rest of the list its people/devs that participate and contribute (Active or Not)
  10. First of all, aCis its one-man project too (@Tryskell). Just he is not acting like he has secret files of NASA.. so he is/was sharing his files/edits and motivate people's to participate and contribute on his project, there are people that are not money grabbers and sell coal for gold.
  11. xDatEditor its open source tool : https://github.com/acmi/xdat_editor
  12. if (((int) player.distance3D(zone.getLastSpawn())) <= getInt("zoneRadius"))
  13. So, I found in my old HDD some files and maybe someone want to use this one. You can use the code to find current votes of vote sites. Here is the Java Class : https://pastebin.com/EtTxVrM4 And here are some example's for few sites: System.out.println("l2topzone.com: " + new ContentURL("https://l2topzone.com/lineage/server-info/6084/l2damage", "span.label.label-info").toInt()); System.out.println("l2.hopzone.net: " + new ContentURL("https://l2.hopzone.net/lineage2/details/93067/l2-damage", "span.rank.tooltip.hidden").toInt()); System.out.println("l2network.eu: " + new ContentURL("https://l2network.eu/details/346/L2Exilium-World/", "span.btn-label.btn-label-right").toInt()); System.out.println("topservers200.com : " + new ContentURL("https://topservers200.com/lineage2/1/l2mad", "a#vote-btn.btn-vote > span").toInt()); System.out.println("l2.topgameserver.net : " + new ContentURL("https://l2.topgameserver.net/lineage/server-detail/250/L2Reborn", "div.votes-count > strong").toInt()); System.out.println("l2top.co : " + new ContentURL("https://l2top.co/server-info/L2Unity", "li.text4").toInt()); System.out.println("top.l2jbrasil.com: " + new ContentURL("https://top.l2jbrasil.com/index.php?a=stats&u=djvogans", "div#adminctt b:contains(Entradas(Total):)").next().toInt()); System.out.println("l2votes.com : " + new ContentURL("https://l2votes.com/serverPage.php?sid=8", "a.votes").toInt()); System.out.println("itopz.com : " + new ContentURL("https://itopz.com/info/325312", "span.btn.badge.badge-secondary").toInt()); System.out.println("l2jtop.com : " + new ContentURL("https://l2jtop.com/server/exiliumworld/info/", "div.votes").toInt()); System.out.println("l2top.gr : " + new ContentURL("https://l2top.gr/?a=details&u=l2kot", "span.badge.badge-light").toInt()); // Example Output // l2topzone.com: 4878 // l2.hopzone.net: 21588 // l2network.eu: 11658 // topservers200.com : 4221 // l2.topgameserver.net : 50228 // l2top.co : 8418 // top.l2jbrasil.com: 36593 // l2votes.com : 2649 // itopz.com : 544 // l2jtop.com : 12897 // l2top.gr : 504 I guess everyone that is not lazy is able to add any website he want and create basic system for rewarding the players. To use the class you should import Jsoup.jar on your project : https://jsoup.org/download
  14. You can customize your interface.u and interface.xdat to support the change of background from HTML. Here is an updated - clean version of Interlude interface that include the changes need for that background. https://mega.nz/file/wxdkUYzK#GMrMu8G5ec16-S8FHC8YUDJv6w74VUhsNyrK-NV_JMQ
  15. Isn't funny when the others value your job? (Just my opinion)
  16. Hello there, I wanted to share an tool that parsing your client icons to items XML and skills XML. So you can use icons on HTML with "item.getIcon()" and "skill.getIcon()". The tool using client grp files to parse the custom items/skills. Preview/Tutorial Download Parser
  17. I'm talking about the one on the video.. startup system existing years
  18. Sad selling shared codes.... @haskovo That startup system is inside L2JNetwork source, and the code its ugly and need updates but I think you can manage to take it and update it: https://mega.nz/file/lkFD2IIK#NquqYGEosF4Rx5YV4jpmB5ehlpOdM5-pxmUPatNuMa0
  19. BTW this is one year ago code, I share it because I updated mine, just aCis still not using JDK14+ to share my new version. Anyway.. its just one share to show one other way on statistic systems, can be improved can be worst than this share..
  20. I don't see why its so complicated and have 3 pages on how should be.. every Raking system shared until today was ThreadPool + Connection each X minutes. I just shared one different approach to avoid as many useless task and mostly be updated each time player reach it.. that's all There can be boolean for _requestToView and avoid update as far its false.. but its way more simple with one timestamp I guess. @LordPanic You have to feed the CHM with all kills information's. That's how its was one of my previews systems but this one its way more simple I think...
  21. Ofc that's shit for PvP server I had many requests to update it after every match haha Nobody said that its something super heavy to update it each one hour. The point is to update as quick is possible (as if you are the only person that visit that page last 1 minute you will see it directly updated). The point of timestamps its that works and player can see more updated statistic than waiting 1 hour for an info he is looking right away avoiding as many useless connections.. that's all.
  22. Thanks for the offtopic. //On topic @SweeTs the only reason of timestamp is because statistic page its the most abandon page of CB. In case of ThreadPool of 1-5 minutes it will do connection w/o reason.. as it will visited a lot of less times. In case of ThreadPool of 1 hour.. then its not statistic its sh!t With timestamp you avoid the ThreadPool and useless database connection each X time.
×
×
  • Create New...