Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 12/22/2024 in all areas

  1. Hello cheaters, As a team of avid developers and enthusiasts of Lineage 2, we are excited to present the L2 Control Hub, a groundbreaking plugin designed by myself and my collaborator, StinkyMadness. This innovative tool equips server administrators with powerful automation capabilities directly within the game's community board. L2 Control Hub simplifies the creation and management of automations, enabling you to customize your server operations without the need to modify the source code. Key Features of L2 Control Hub: Robust Automation Triggers: Select from a plethora of triggers currently available, with continuous additions in the works to enhance your control options. Dynamic Conditions and Actions: Tailor your server operations with an extensive range of conditions and actions, ensuring flexible and precise control over game events and player interactions. Customizable Variables: Easily integrate server-specific variables from your database to further personalize and streamline your automations. Utilize these variables across various automation scenarios to cater to your specific server requirements. JavaScript Integration: Execute custom JavaScript codes that interact seamlessly with Java classes, bringing advanced functionalities to your server's ecosystem. Explore L2 Control Hub in Action: We've prepared a series of video tutorials to demonstrate the capabilities of L2 Control Hub: Control Hub - Create a Simple Flow with 1 Condition and 1 Action: Get started with basic automations. Control Hub - Multiple Conditions with Multiple Actions: Explore more complex automations for detailed server management. Control Hub - Using Variables: Discover how to implement and use custom variables for tailored automations. Control Hub - Using JavaScript: Experience the power of custom scripts in enhancing your server functionality. L2 Control Hub is currently about 70% complete, and we are actively developing and refining features. We invite you to join our Discord community to engage with the development process, provide feedback, and be the first to test new features. Additionally, any updates or changes to the plugin are seamlessly delivered to all customers directly from our web server, ensuring your system is always up-to-date without the need for manual downloads. Your game, your rules, automated. Join us in redefining server management in Lineage 2 and elevate your gaming community with unmatched automation capabilities. For more details, contact us directly to get started with L2 Control Hub. Currently, the plugin is developed using aCis sources. We will continue with these sources until we finalize all the necessary details before proceeding to integrate with the more prominent sources available. The L2 Control Hub is designed to extend beyond mere functional additions to your server. We are in the process of implementing a suite of advanced mechanisms, such as a vote manager capable of interfacing with any Lineage 2 voting site without requiring configuration, live statistics to provide admins with real-time insights, and an event engine that can generate any desired event within seconds. All these features will be seamlessly integrated into the module, enhancing your server management experience significantly. Please note that L2 Control Hub will be a premium tool, reflecting the extensive features and benefits it offers. While we are finalizing the pricing structure, rest assured that we aim to deliver great value for your investment. We will announce the cost details soon on our platforms to ensure everyone is well-informed and can plan accordingly. Join us to take your server management to the next level with L2 Control Hub.
    10 points
  2. Complete Server Pack + Source Files: C4 Scions Of Destiny: P656 Retail X1 L2OFF Server Pack + Source: Price: 200EUR C4 Scions Of Destiny: P656 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 300EUR Screenshots: https://imgur.com/a/eternal-sin-l2-athena-x45-c4-WYCpbjl C6 Interlude: P746 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 300EUR The same as C4 but in C6 Client so the Screenshots is the same: https://imgur.com/a/eternal-sin-l2-athena-x45-c4-WYCpbjl C6 Interlude: P746 L2Gold L2OFF Server Pack + Source: Price: 300EUR Screenshots: https://imgur.com/a/9kB3oA9 C6 - Classic Interlude: P110 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 500EUR Screenshots: https://imgur.com/a/Z2kZxuv Contact me here via PM (only serious buyers). Payments via: - Paypal (Friends and Family)
    2 points
  3. I want to bring to your attention an updated Interface for Chronicles Skype: iPerfect_Dev or black___world Price: 10 000 - 30 000 rubles 150 - 400 dollars Sale of source code is also possible. The price depends on the number of functions you need (for each it can be individually). Also, in this topic is not disclosed all the functionality, but only a part for review. A bit about the features: Functions through options: Options at discretion: Some Screenshots: Implementation of changing the interface from Interlude to Classic: Interface switching General appearance of Interlude: General appearance of Classic: Video: (Not advertising) Update: 1.Added a third appearance for the "Essence" Interface 2.Added binds function (Optional). 3.Added function to display target cast in target (Optional). 4.Added weakness function (Optional). 5.Added a function to replace augmentation buff icons (Optional). 6.Added function to replace Hot Springs buff icons (Optional).
    2 points
  4. exactly! we eventually same the same stuff
    2 points
  5. - Rates x1 (Adena drop chance 100%) - Vitality system - Classic 1.0 - Dynamic stages up to 2.5 - Improve Gameplay - Improved Buff System - Improved Support Classes - New Skills - Grand Boss Schedule Discord Link. https://discord.com/invite/l2einhovant Youtube video. https://www.youtube.com/watch?v=dYIKDlrICK8&t=5s More details at the website's wiki. https://l2einhovant.net/
    1 point
  6. I bought 50 hours on reborn signature , very reliable guy , eficient farming , friendly. 100% recommend.
    1 point
  7. Mhmm… perhaps something better and more stable than anything you have seen before. https://discord.gg/bUFtfpWH45
    1 point
  8. Hello Folks, I'm Sharing Essence Based Interface which is made from a Brasilian Guy called "Ona" The person copied from other projects features and started selling it as his own , claiming that everything has been made by him. So i've removed every possible protection from his interface and i would like to share it with everyone. Do not waste anymore your money for stolen projects Download: [Hidden Content] Mirror: [Hidden Content] if you have issues with installing the interface or missing any textures pm me back In order to get download link you have to react & reply. Credits: Sanyol
    1 point
  9. Trusted and experienced and time efficient deliver, not to mention affordable prices
    1 point
  10. Katara is great to work with and a standup person. Helped me get my panel working in no time. Trusted and recommended.
    1 point
  11. Why are you so mean, I don't understand? What do you care if it fails or not, look at yourself, you are like little children
    1 point
  12. https://jmp.sh/WxX9CUj8 We successfully managed to transfer simple dialogs from html to Unity ui Toolkit. So far the simplest ones but they look better than the original!
    1 point
  13. It doesn't say that anywhere. https://acis.i-live.eu/index.php?topic=30.0 check it from source java file names example in 367 -> https://acis.i-live.eu/index.php?topic=30.255 l2bufferinstance renamed to schemebuffer | l2pcinstance renamed to player check changeset 367 to understand
    1 point
  14. It's cool, but this would be better on a website. The CB doesn't lend itself to the full potential of what you're trying to do.
    1 point
  15. Send me a message or add me on skype zoumhs999 to fix our problem free.
    1 point
  16. Buy one, prolly has 50$ FFS, @AlisaCodeDragon selling patched ones.
    1 point
  17. Hello everyone, I'm sharing the version I was working on recently. And a more original server-focused package following the missions of the original game. The entire calling package was restructured, making it lighter and easier to execute. It is good for people who want to start a package, without customizing equipment and skills. * I put together 4 bases: "RusaCis3.5" "Lucera" "aCis" "Dev" It has a Modern UI template. JDK 14: https://mega.nz/file/rg5QwDJA#FwHrPbt8bw8prD3WLJz7dFOv1HAoYakNLTbVhLdgQTY Client: https://www.mediafire.com/file/rg6twikao7zugd2/L2_CLIENT_INTERLUDE.zip MariaDB: https://mega.nz/file/YBIXXSgY#9xqdkVMXAXY3VPNkBs6R05rnzJ9bH6aU47y2WNLfri4 L2FileEdit: https://mega.nz/file/xdQTTaKJ#poqzJDE-gItyQo0EOEWCHsC_r4HPXaCmLAZ_InUmOjE Soucer: https://mega.nz/file/cv1BnCpY#F6UDroejOid2i4F9ipMZTt8d0u_ww10o9e0zAjlHMSA Compilado: https://mega.nz/file/M3FxCaaR#FW6k4SFZJhajRygJSxDJwDfWc04kaC6HVUc5rktT2SE Author post: IFox
    1 point
  18. You can buy patched system from @AlisaCodeDragon. System is not being magically patched, someone does it and it requires some knowledge. If you don't have the knowledge then you should at least have the money.
    1 point
  19. just leaving this here https://github.com/sdrak94/trinity/blob/main/java/luna/discord/MyEventListener.java https://github.com/sdrak94/trinity/blob/main/java/luna/custom/RefundManager.java
    1 point
  20. I had a similar problem once when I was setting up a custom shop system in a game. For me, the fix was buried in the database settings. I had to adjust the stack limit for the item in the MySQL database, which allowed bulk purchases without triggering errors. You might want to check the item_template or a similar table for stackable values. As for inspiration, I once played around with a different setup for fun using https://themulligans.org. While it’s an online casino, their sleek inventory and transaction systems gave me some cool ideas for designing in-game economies.
    1 point
  21. Hello people , I started this project about a week ago. It's a Patch Updater for an upcoming L2 Server. I want your opinions and suggestions on what to add or remove and of course if you like it. Automatic Self Updates like any game-launcher out there. Coded with VB.Net language with encryption as well. Links can be changed via URL without having to change any codes. Able to change the download path via .ini file outside or inside system folder. Images will be included as well. Not the PSD files due my copyrights. Automatic display latest news from WordPress Posts or text files Automatic Server status Report
    1 point
  22. I don't understand why you are so offended and aggressive, who allowed you to disrespect me or call me in any way? Did I insulted you? You act like a angry kid, grow up boy. omg, everyone here is stupid or blind? I did not call his project "shit", he called his own project "shit" and I asked him why.
    1 point
  23. Do not put things in my mouth I never mentioned monkey. https://l2jmobius.org/forum/index.php?topic=3230 This topic is a shitshow. Great moderation... Quality stuff... On my forum you would be banned in the first hour. Oh wait, you are banned. Sadge... You are now the problem of people that don't even care. Continue with your empty threats. I am done with this bullshit.
    1 point
  24. Welcome back @melron, good luck to you and @StinkyMadness.
    1 point
  25. It looks amazing! congrats guys for the hard work & efficiency on this one.
    1 point
  26. 1 point
  27. I consider you to be a complete moron... My project seems perfectly fine for you to steal, on the other hand it is no good... Why don't you fork L2jServer and make your own project you skillless piece of shit? Don't add fuel to the fire. They are brainless enough to take what you say and fuel their shit logic on any shit. That is how flat earth came to be. From monkeys like them. You are a poor monkey that lives in a favela? Blame your god, not me. You are greedy bastard, that knows shit on programming and uses leaked versions? Transplant a brain. My work is the proof. People that have seen it, actually know. No subscription? Wait a few months and get an actual release. Some info on the monkey disturbing people for his own personal benefit. https://www.l2jbrasil.com/topic/145842-buildsource-l2jmobius-premium-20-4-2023/#comment-843404 https://www.l2jbrasil.com/topic/148540-l2j-king-shield-of-kingdom/page/2/#comment-854531
    1 point
  28. means u might get a version which had some bugs that was fixed after, or something was in development that had bugs
    1 point
  29. To sum it up, just because that topic still exists and just because there's still tolerance for such garbage and missleading topics to exist in here. Files worse than the free version, https://bitbucket.org/MobiusDev/l2j_mobius.git/src A dumb fuck that claims that mobius sources contain backdoors yet none found so far in an opensource project. 4 Pages of replies to a "very skilled developer" that uses google translate in order to reply in his own topic. Yet this topic is still available. Every traffic is a good traffic I guess!
    1 point
  30. thumbs up! for the amazing project @melron , @StinkyMadness
    1 point
  31. never met a programmer that doesnt know english xD and as he said his knowledge and skills are beyond our imagination xD
    1 point
  32. nice work, welcome back to world of lineage development @melron
    1 point
  33. He's likely baiting you to download his source full of backdoors indeed
    1 point
  34. In this particular topic I will share, or at least try to share all released Lineage 2 clients so far. Most of them will be NA (or later EU) versions. Some of them might be in another localization (eg. KR, if they are KR exclusive only, or if I miss the NA or EU counterpart). EDIT*: I modified the first post of this topic since all of my links are dead now. You can download clients from this client archive ( !!! THANK YOU AKUMU !!! ) >>> Lineage 2 Client Library <<< All clients are available for free - No password. >>> Lineage 2 Lobby Library <<< All lobbies are available for free - No password. Please browse your Hard Drives for older "missing" clients to get this collection "complete" !! You can reply to this topic. Leave a comment! Together we can create a nice library of Lineage 2's history!! Some missing clients - Check Spoiler for Info Here you can see a small previev of available clients. (Note: Links are dead. Use Akumus library link!): Chaotic Chronicle Saga (NA): Chaotic Throne Saga (NA): Goddess of Destruction Saga (NA): Epic Tale of Aden Saga (NA/EU): Lineage 2 Classic (NA/EU)*: Lineage 2 Essence (NA/EU)*: Lineage 2 ARENA (RU): *NOTE: Classic / Essence is included in Live releases since "ETA Ertheia". Check links / revisions to avoid duplicate downloads! *NOTE: Each repack is available for free! Please think about contributing clients which you might still have on your hard drives - especially the missing ones!!! Leave me a message! CREDITS: Akar0 (Systems), AlisaCodeDragon (Systems), Bonux (Clients/Systems), Finn (Clients/Systems), Mobius (Clients/Systems), webdes27 (Clients), Akumu (Clients/Systems/Storage)
    1 point
  35. I no longer have time to maintain and develop the project so I'm sharing it for free with everyone. Anyone who bought it got a full refund. So almost 3 years ago I released a very primitive Fake Players engine called L2jRoboto. It lacked many features and it wasn't really manageable. Thanks to the quarantine situation I decided to spend some of my spare time writing a completely new engine from scratch. So without any further ado I present to you, Autobots, the most Advanced Fake Player & Autofarm Engine. Code: https://github.com/Elfocrash/L2Autobots I will NOT be offering ANY support to install or do whatever with the engine. You are alone. I MIGHT offer some help to anyone that is in our Discord server: https://discord.gg/6DYMDV4 The engine currently supports every class except for the summoner classes and prophet-like classes. Features Autobots Full autobot control through an in game dashboard with amazing UX Spawn/Despawn/Delete Inspect a bot's inventory, status, skills and buffs Customise the bot's combat and social preferences in game Target radius PvP aggression and preferences Self sustain with potions that can be configured in game Infinite buff replenishing Infinite consumable replenishing Ingame bot filtering Persistent bots that are saved in the database and can be logged in where they logged out Unique behaviour on each bot based on its class Archers will kite Spoilers will spoil and sweeper Pet owners will have pets following or assisting them Create an autobot in game Name Level Class Appearance Create random Autobot Bot chat control You can see what the bot sees in the chat and you can do things like talk in general chat or shout chat and also use PMs Bot clan control Create a bot clan in game and change the members of the clan from the dashboard, including clan crests for remote locations Full ingame bot control (movement, attack, skills, chat) Automatic return to death area using gatekeepers Features Autofarm Fully automatic farming with targeting, attacking and self sustain logic Here is a video showcasing the features as of 04/05/2020 Some images: https://imgur.com/a/ttFkkef New feature: Full bot control Movement Chat Skills Action Combat PvP/PK (Ctrl button support) Configurable skill preferences per class Configurable Private Sell Store Configurable Private Buy Store Bots will now return to their death area after they respawn in town You you want to get a version of the engine that is already installed and it is easy to run check this out:
    1 point
  36. Classic Updater Description: Public utility for client updates, but with modifications. What has been done: At the moment, the calculation of the hash sum has been replaced with xHash instead of crc32 and the excess has been removed. PS: Generate your own test signature in the project settings. Download
    1 point
  37. You are a highly skilled developer, but unfortunately, you're targeting the wrong market or client base. If I were you, I'd consider freelancing on various websites where prices for your level of work start at €1,000 or more. Your skills are worth that much. Right now, you're wasting your time in a market that can't afford your expertise, and many of the players here may not fully grasp advanced systems like passkeys. Either way good luck. ---- PS: for potential customers, whatever he asks of money pay it, he knows what he is doing and already taking less than he should.
    1 point
  38. Hello the files are these Don't buy them now they are free from me. I bought them but he didn't want to fix the issues so I'm sharing them. The source code has some problems fix them and you will have something. [Hidden Content] I had forgotten to upload the html etc. https://mega.nz/#P!AgGBjzNYEIF1xlY-Vox-DvNmop5t1B75jxnPHD0MmGeQoS2I6P1QAVF54EBlSMcF2bhRZFXRQny4Zh9XYEXg7BTcLM-2pIp-uAlJxBGxpp3Uv91cbSBJQtO_4ZiUqc9hCc-23k74GHU Password: [Hidden Content]
    1 point
  39. This guide was shared years ago. I am not the original author. This is the only guide ever shared to generate geodata from the client. Tools needed. Stazis L2 Geo Converter (GeoConv) Download: http://www.mediafire.com/file/irzey5hk0tyywub/GeoConv_v93b.zip G16ed (A heightmap editor that works directly with the UEd3 G16 format (16-bit greyscale.)) Download: http://www.mediafire.com/file/2v2288vlbq6n2bk/G16ed.zip UTPackage (extract) Download: http://www.mediafire.com/file/vuddpqsd5ik9g3c/UTPackage.zip Unreal Engine 2 Editor (Create UTX) Download: http://www.mediafire.com/file/yx53pt73a5e6yk3/UE2Runtime-22261903.zip L2J-GeoEditor (Convert to L2J format and create the PathNode) Download: http://www.mediafire.com/file/1j5lhll1mn1uy2x/l2j-GeoEditor-v17.zip HEX Editor - (I use UEStudio or Ultraedit) Download: Find it on the web :P Important: In this example I will use the map T_22_19, but applies the same procedure for any map. First we need to extract heightmap images from UTX files (T_22_19.UTX, T_22_20.UTX etc.) * Put this file T_22_19.UTX in UTPackage/Textures and execute "unpack.bat" * Open UTPackage/RAW folder and find the file 22_19.raw * Open this file with Ultraedit and search (Ctrl + f) for "40 80 10", the first byte after this string is the start of the heightmap image. * Copy this address, in this case is 107h * Open the windows calculator and switch to "Scientific" mode, select "Hex" and input "107", select "Dec" and now you have "263". * Open G16ed, go to "File -> Import -> RAW data, search for 22_19.raw and in the field "Data start offset" input "263" and click in Input, Ok, Ok. * Go to "File -> Save (Ctrl + S)" and use the name of the map for your new image (22_19.BMP). Now you have a perfect G16 heightmap image. Now we need to create an UTX file with the image that we have saved. * Open UnrealEd and in the windows "Textures" go to "File -> New" and complete the fields. Info -> Package: T_22_19, Group: Height, Name: 22_19, Class: Raw Material Properties -> MaterialClass: Class"Engine.Texture" (Select Texture from drop-down) * Go to "File -> Import" and select the image 22_19.BMP and ensure that the fields are correct. Info -> Package: T_22_19, Group: Height, Name: 22_19 Options -> Masked: uncheck, Generate MipMaps: uncheck, Detail Hack?: uncheck, Compression: none * Go to "File -> Save" and save this file as T_22_19.utx. Now we can create our Geodata using Stazis L2 Geo Converter (GeoConv) * Navigate to the Textures folder in the game, rename your original T_22_19.utx to T_22_19_O.utx and put in this folder our new T_22_19.utx * Open GeoConv and change this params. Min Plane Angle to XY: 20, Stairs Height: 10, Optimization Different: 80 * Click "Open Packages" and select 22_19.unr in "Lineage II/MAPS", allow the process to finish and now you have your GEO 22_19_conv.dat in the folder "Lineage II/MAPS". * Convert this GEO to L2J format and create the PathNode with L2j GeoEditor or HDGE. Known Issues * Some geodata are not correctly generated or can't be generated. * Using "Stairs Height: 10" can cause problems with the stairs (If you use "8" check all the stairs in the map for correct NSEW).
    1 point
  40. Hi Maxcheaters Users! By request of many users asking me if I have compiler for interface.u, here are my share of my collection. I hope this will be useful for anyone of this forum. Enjoy it!! Interlude Compiler: DOWNLOAD Hellbound Compiler: DOWNLOAD Gracia Final Compiler: DOWNLOAD Epilogue Compiler: DOWNLOAD Freya Compiler: DOWNLOAD High Five Compiler: DOWNLOAD Ertheia Compiler: DOWNLOAD Grand Crusade Compiler: DOWNLOAD Salvation Compiler: DOWNLOAD Now, if you want to have all in one pack with a basic menu like this: Download HERE
    1 point
  41. I can confirm I've made over 100 euros the past month fixing Kara codes, maybe bring him back it's good for business?
    1 point
  42. Features: Costumized Mini map From Higher Chronicles Creator Neophron Costumized Skill bars up to 5 Auto Skills Spam Auto Buffs Auto Use Potions Elixir/CP/MP Auto Use Potions Magic Pot/Haste Pot/Attack Pot Casting Skill Bar Critical Damage / Ressisted on Screen Hold Target / Ignore Agression Buff sizes x24 to x16 Debuff + time Custom HP/CP/MP Status Bar copied from Author Savo Custom Macro system auto spaming Macros with right click if u press on it Customized Darkdelux HP/CP/MP Bar Preview: Auto Augment Auto Enchant Auto Skill Enchant and much more this is the oldest version of the interface TIP: dont get scammed by these two people T3ddy / DM Moshpit those brazilian people was trying to sell the interface for a huge amount of money but mostly people got informed already Credits: Neophron Elfen Darkdelux Savo Download Link: [Hidden Content]
    1 point
  43. I bring you a simple guide to create / add an image at the beginning of the lobby. something like this: resolution of 3004x2152 I do not know to what extent the game can support but we are going to make a texture of 4096x4096 First of all you will need Photoshop to create the image, then some compiler for the Interface.u and xdateditor for .xdat and the unreal to save the image. First they look for their image, I will use this https://www.wallpaperbetter.com/es/hd-wallpaper-gbrse then go to Photoshop and create a new layer of 4096x4096 resolution 72, it would be approx. 60mb and within that layer we would paste the image then would have something like this: clarify that my image was 7680x4320 and with paint I made it to 3004x2152 after all that they save the image in targa format, resolution 32bits, without compressing rle. Then we go to the Unreal2Runtime, and we create a texture by importing the one we have. Then we compress the texture to DXT1 and save, then to the .utx file we have to encrypt it to the L2 121 version. we can not compress DXT1 and leave the textures as imported, go to the properties of the textures and in quality put the two options in true so that the game does not alter the quality with the ALT + P or from the config of lower detail. But when making the minimum 4096x4096 texture, they lost approx. 60mb of weight, technically it is not efficient and when compressing with DXT1 they were compressed to approx. 10mb. I clarify that the size of the image, in my case 3004x2152, is important that we know, since that will be what we will tell the client to visualize. Basically in the .xdat we will make 4096x4096 visualize our image of 3004x2152 Now we will go to our interface compiler. When we have the compiler we will have the interface folder, system, nwindow. Inside interface, in the subfolder called Classes we create a file called "LoginMenuWnd.uc" .uc will be the file format. Inside we will stick the following: class LoginMenuWnd extends UICommonAPI; function OnLoad() { RegisterState("LoginMenuWnd","LoginState"); } defaultproperties { } We go to the system folder and compile with UIScript.exe the interface.u file will be created, that is pasted in the interlude system. Then we go to xdateditor and we do the following: we select the version, interlude in this case, and then the .xdat of the system. In the search brings write something random so that you can wipe the list this is in Russian and that says create a new window "add component" then we create a new folder with the window option would have to say: null [Window] Then copy The following and with CTRL + S save the changes then we go to the search engine and we write "Login" so that single element appears, if we realize it has a sub option saying "children" They right-click it and do the following: then we copy the following configuration in null [Texture] Now comes the important thing In file we will add the path of the texture. In type we put it stretch In layout in normal In uSize and vSize they will have to put the size of the image, in my case, the 4096x4096 it would be 3004x2152 After all this we save the configuration, enter the interlude and enjoy what has come out Compiler Interface.u Download xDatEditor: Download Password EmuDev Author: @Piaro
    1 point
  44. Make a zone required party with minimum members for lucera. package zones; import java.util.Collection; import java.util.Iterator; import l2.gameserver.instancemanager.ReflectionManager; import l2.gameserver.listener.zone.OnZoneEnterLeaveListener; import l2.gameserver.model.Creature; import l2.gameserver.model.Party; import l2.gameserver.model.Player; import l2.gameserver.model.Zone; import l2.gameserver.network.l2.components.CustomMessage; import l2.gameserver.network.l2.s2c.ExShowScreenMessage; import l2.gameserver.scripts.ScriptFile; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class PartyZone implements OnZoneEnterLeaveListener, ScriptFile { private static final Logger bEb = LoggerFactory.getLogger(PartyZone.class); private static final PartyZone bHe = new PartyZone(); private static final String bHf = "PartyZone"; private Object PartyInfo; public PartyZone() { } public void onLoad() { byte var1 = 0; Collection var2 = ReflectionManager.DEFAULT.getZones(); Iterator var3 = var2.iterator(); while(var3.hasNext()) { Zone var4 = (Zone)var3.next(); if (var4.getParams().getBool("PartyZone", false)) { var4.addListener(bHe); } } if (var1 > 0) { bEb.info("PartyZone: added {} party zone(s).", Integer.valueOf(var1)); } } public void onReload() { this.onShutdown(); this.onLoad(); } public void onShutdown() { Collection var1 = ReflectionManager.DEFAULT.getZones(); Iterator var2 = var1.iterator(); while(var2.hasNext()) { Zone var3 = (Zone)var2.next(); if (var3.getParams().getBool("PartyZone", false)) { var3.removeListener(bHe); } } } public void onZoneEnter(Zone var1, Creature var2) { if (var2.isPlayer()) { Player var3 = var2.getPlayer(); Party var4 = var3.getParty(); if (var4 == null) { String var10 = (new CustomMessage("zone.services.PartyZone", var3, new Object[0])).toString(); var3.sendPacket(new ExShowScreenMessage(var10, 10000, ExShowScreenMessage.ScreenMessageAlign.TOP_CENTER, false)); var3.teleToClosestTown(); } if (var3.getParty().getMemberCount() <= 4) { String var10 = (new CustomMessage("zone.services.PartyZone", var3, new Object[0])).toString(); var3.sendPacket(new ExShowScreenMessage(var10, 10000, ExShowScreenMessage.ScreenMessageAlign.TOP_CENTER, false)); var3.teleToClosestTown(); } } } public void onZoneLeave(Zone var1, Creature var2) { } } Next you have to add this parameter in zone: <set name="PartyZone" val="true" /> For example: <zone name="[primeval_peace1]" type="fun" > <coords loc="10408 -27395 -4290 -1290" /> <coords loc="12065 -25334 -4290 -1290" /> <coords loc="12223 -23159 -4290 -1290" /> <coords loc="10424 -22340 -4290 -1290" /> <coords loc="9566 -23131 -4290 -1290" /> <coords loc="9290 -24261 -4290 -1290" /> </polygon> </zone> Make it like this: <zone name="[primeval_peace1]" type="fun" > <set name="PartyZone" val="true" /> <coords loc="10408 -27395 -4290 -1290" /> <coords loc="12065 -25334 -4290 -1290" /> <coords loc="12223 -23159 -4290 -1290" /> <coords loc="10424 -22340 -4290 -1290" /> <coords loc="9566 -23131 -4290 -1290" /> <coords loc="9290 -24261 -4290 -1290" /> </polygon> </zone> Then go to en string gameserver\data\string and add this line: zone.services.PartyZone=You Are Not Currently In A Party With Minimum 5 Party Members So You Cannot Enter. And this line to ru string gameserver\data\string: zone.services.PartyZone=Вы не находитесь в партии с минимум 5 членами партии Так что вы не можете войти. If you want to change the value of minimum players then you have to change the number 4 in this line in ext: if (var3.getParty().getMemberCount() <= 4) { DOWNLOAD EXT This is a simple code i make it for my needs you can remake it as you want don't spam this topic.
    1 point
×
×
  • Create New...