-
Posts
1,041 -
Credits
0 -
Joined
-
Last visited
-
Days Won
21 -
Feedback
100%
Everything posted by StinkyMadness
-
WTS Graphic/Html Designs - Protojah
StinkyMadness replied to protoftw's topic in Marketplace [L2Packs & Files]
No worries at all about the credits! Just a quick question on who the customer is. Could you send me their name in a private message? Only three people should have access to the CommunityBoard I coded a few years back. -
WTS Graphic/Html Designs - Protojah
StinkyMadness replied to protoftw's topic in Marketplace [L2Packs & Files]
I like my design from 2020 -
That code is shared of "Server Shares & Files [L2J]" section. Requires Java source of the server and interface modification.
-
WTB Bigger HTML window implementation (H5)
StinkyMadness replied to Rationale's topic in Marketplace [L2Packs & Files]
With NPCDialogWnd.uc modification of Interface.u you can change the size of the window for each HTML: Use this: https://pastebin.com/iYs8AQQ7 and you will need also this one on UICommonAPI.uc:: function String StringBetween(String param, String iString1, String iString2) { local int varInt; varInt = InStr(param, iString1) + Len(iString1); return Mid(param, varInt, InStr(param, iString2) - varInt); } Inside the <html> tag you can add "WIDTH=X", "HEIGHT=X" or "IMAGE=X"- 1 reply
-
- 1
-
-
Help Who Know Java Code Killing Spree
StinkyMadness replied to MegaCheat's question in Request Server Development Help [L2J]
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 -
Tool IconParser (Items & Skills) Reshare
StinkyMadness replied to Celestine's topic in Server Shares & Files [L2J]
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));" -
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.
-
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
-
Guide Read Current Votes from HTTP (Using Jsoup.jar)
StinkyMadness replied to StinkyMadness's topic in Server Shares & Files [L2J]
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 :) -
LF LF or WTB XDAT Editor (Latest version if possible)
StinkyMadness replied to RiperRO's topic in [Request] Client Dev Help
xDatEditor its open source tool : https://github.com/acmi/xdat_editor -
Help Please Help with this event
StinkyMadness replied to Kotegaeshi92's question in Request Server Development Help [L2J]
if (((int) player.distance3D(zone.getLastSpawn())) <= getInt("zoneRadius")) -
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
-
Help Community Board backround image interlude
StinkyMadness replied to arm4729's topic in [Request] Client Dev Help
Perfect, I'm sorry that I gave you ready UI.. -
Help Community Board backround image interlude
StinkyMadness replied to arm4729's topic in [Request] Client Dev Help
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 -
WTB Flying Damage Hi5 273 Interface
StinkyMadness replied to Lea's topic in Marketplace [L2Packs & Files]
Isn't funny when the others value your job? (Just my opinion) -
Tool TOOL - IconParser (Items & Skills)
StinkyMadness replied to StinkyMadness's topic in Server Shares & Files [L2J]
Your welcome -
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
- 7 replies
-
- 13
-
-
-
-
I'm talking about the one on the video.. startup system existing years
-
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
-
Code COMMUNITYBOARD - RankingSystem (Top 15 PVP/PK)
StinkyMadness replied to StinkyMadness's topic in Server Shares & Files [L2J]
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.. -
Code COMMUNITYBOARD - RankingSystem (Top 15 PVP/PK)
StinkyMadness replied to StinkyMadness's topic in Server Shares & Files [L2J]
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... -
Code COMMUNITYBOARD - RankingSystem (Top 15 PVP/PK)
StinkyMadness replied to StinkyMadness's topic in Server Shares & Files [L2J]
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. -
Code COMMUNITYBOARD - RankingSystem (Top 15 PVP/PK)
StinkyMadness replied to StinkyMadness's topic in Server Shares & Files [L2J]
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.