Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Search the Community

Showing results for tags 'Code'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Zone
    • Announcements and News
    • Newbies Introduce Urself
    • Maxcheaters Competitions & Events
    • Votes/Polls Area
    • Report Section
    • Downloads Section
    • Suggestions/Feedback Board
  • Lineage II General Section
    • General Discussion [English]
    • Request Support [English]
  • Lineage II Hacks,Cheats and Bots
    • Hacks & Cheats [English]
    • Request Hacks & Cheats [English]
    • Botting [English]
    • Request Botting [English]
  • Lineage II Private Servers
    • Buy Advertising Link #1
    • Private Servers
    • Buy Advertising Link #2
    • [Previews] L2 Private Servers
    • Clans and Alliances
  • Lineage II Marketplace
    • Marketplace [Items & Chars]
    • Marketplace [L2Packs & Files]
    • Marketplace [Powerlvl & Support]
  • Lineage II OFF Server Development
    • Server Development Discussion [L2OFF]
    • Request Server Development Help [L2OFF]
    • Server Shares & Files [L2OFF]
  • Lineage II Java Server Development
    • Server Development Discussion [L2J]
    • Request Server Development Help [L2J]
    • Server Shares & Files [L2J]
    • Private Projects [L2J]
  • Lineage II Client Development
    • Client Development Discussion
  • MMO Games
    • Grand Theft Auto V: FiveM
    • League of Legends
    • Other Multiplayer Games
  • General Section
    • General Marketplace
    • Webmasters Zone
    • Hacking/Coding Zone
  • Graphics/GFX Zone
    • Graphics/GFX General Discussion
    • Graphics/GFX Showcase
    • Graphics/GFX Resources/Tools
  • Premium Zone
    • General Discussion [Premium]
    • Lineage II [Premium]
    • GFX Area [Premium]
  • MaxCheaters Corner
    • Tech/World News
    • Off-Topics
    • Spam Topics
  • L2Classic Club's Just trying this thing out
  • Lineage 2 Revolution Club's Discussions
  • Lineage 2 Revolution Club's Tutorials
  • Lineage 2 Revolution Club's Request Help
  • DenArt Designs's Hello and welcome to my club!
  • DenArt Designs's News

Product Groups

  • Advertisements
  • Old Vips
  • Premium Member

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. VDS Vote Donate System Implementation of vote global and individual system with itopz donate panel task manager. As title says its an auto donation reward based on DenArt-Designs panel and or https://itopz.com free ones A Vote System & Donate System made for a variety of projects ideas and problems send on github! A project with sources and planned for updates to match a bigger variety of projects and topsites and maybe more codes. Full VDS project source: https://github.com/nightw0lv/iTopZ-Java/ Compiled VDS Jars: https://github.com/nightw0lv/iTopZ-Java/releases/ Developer's Note: the (small) patch its on each project's folder with name Patch.diff Global vote system IP restricted rewards Reward every XX minutes Reward step every XX votes Reward item list will check if item exist Reward item list with chances 0-100% Reward item randomized of min-max values Update console votes and ranking Save votes in case of restarting the server Monthly reset for votes Print response failure message Configured announcement print of server vote statistics Individual vote system Automatically register .itopz command Reward item list will check if item exist Reward item list with chances 0-100% Reward item randomized of min-max values Reward will set as "expired" after 12hours checking server time Reward reuse 12hours Command used after reward will show remaining time (PM/AM) to vote again Check for local ips is restricted Check for response errors Check if player voted Donate Management (upgrade version of https://github.com/nightw0lv/DonatePanel) Player donates through Donate Panel Item will be rewarded in game Configs Fully configured Console Fully configured global reward Fully configured individual reward Console Information buttons Can send global reward in-game manually Prints rewards Prints donates Prints monthly reset Prints database updates Shows server ranking statistics Shows if you use DEMO or API key as mode status Auto scrolling messages Fully configured Revisions Version 1.2 Minimal Requirement on server resources and class consistency along projects. Addition of Thread class. Addition of Random class. Addition of Logs class. Addition of Url class. Addition of Rewards class. SQL independence on tables with vds_individual and vds_global tables automatic install by default Addition of topsites and their configs. Hopzone. L2Network. L2TopGameServer. L2TopServers. L2Votes. L2JBrasil. Gui Addition of Debug on/off button. Addition of Bug report button. Removed Debug mode. Rework on the class to update all topsite statistics. Rework on console size and re-arrange information and console. Fixed Bug that made global with individual rewards conflict. Improved custom JSon parser for wannabe-called APIs on a lot of topsites. Improved Debug with External IP Address. Version 1.1 Refactor on URL to prepare extend Added missing default values on config for console RGB colors Fixed output paths on project dir Updated dictionary and workspace project files HWID Protection fallback to IP that fallback into player name in case of null refactor ips to fingerprint removed ip check added objects null coalesce check on HWID, IP, player name on this order Game console string separator Updated script version Version 1.0 Initial commit Special thanks to Rationale Images https://raw.githubusercontent.com/nightw0lv/iTopZ-Java/master/images/1.png https://raw.githubusercontent.com/nightw0lv/iTopZ-Java/master/images/2.png https://raw.githubusercontent.com/nightw0lv/iTopZ-Java/master/images/3.png https://raw.githubusercontent.com/nightw0lv/iTopZ-Java/master/images/4.png https://raw.githubusercontent.com/nightw0lv/iTopZ-Java/master/images/5.png https://raw.githubusercontent.com/nightw0lv/iTopZ-Java/master/images/6.png https://raw.githubusercontent.com/nightw0lv/iTopZ-Java/master/images/7.png
  2. I have created a code to reward for voting on several well-known sites. If someone has difficulty adding this code to their package, they can write to me at my discord https://discord.com/invite/VbnZbWR I will adapt this code for l2jfrozen and l2jserver or for some popular open source package. You can see the code in the following link: aCis: https://pastebin.com/1Wq6GZPs L2JServer H5: https://pastebin.com/KVyPAZ0X L2JFrozen 1.5 Interlude https://pastebin.com/GaAyMMT2 L2JMobius Classic Interlude https://pastebin.com/rJcPsbD4 L2JMobius Interlude https://pastebin.com/1HAX4UbN l2jfrozen 1132 https://pastebin.com/YczLkpUp L2jMobius High-Five https://pastebin.com/aYvSZVC8 L2Mythras (2017.07.12) https://pastebin.com/yTKnHpDD 05/17/2020 - For people who have integrated the voting system, I have made some arrangements to the voting system, it is currently working correctly and stable, the changes are already applied to the sources. http://www.mediafire.com/file/g6kag6pg5zu342h/patch_with_some_fiexes.txt/file
  3. Well, one friend asked to me to help him coding a simple "pvp zone" and then asked to me to add an item checker... etc So I coded a "MultiFunction", "AIO"... whatever... zone. Easy to modify, with configs... and I wanted to share it with you. Simply if you don't like it or you don't like me, don't spam here. We know that some of this features could be already shared over the net... blabla... But here are all together, are configurable and I think that it's 90% without bugs. Note: Default zone: Crystal Caverns Quickly enumeration of which configs it has: -Enable/Disable pvp flag on enter -Enable/Disable revive delay & set the time -Specify (unlimited) random respawns if revive enabled -Specify random respawn radius -Enable/Disable noblesse blessing on enter -Enable/Disable remove buffs on enter -Enable/Disable remove pets on enter -Specify special reward when hunting inside -Specify items that will be unequiped & blocked to use inside the zone -Specify items by grades that will be unequiped & blocked to use inside the zone -Specify an enchant level. Items with that level or more, will be unequiped & blocked to use inside the zone -Specify classes id's that won't be able to enter to this zone V.1.3 - 14/02/2013 Coded for l2jserver Freya. - Wyatt L2jServer Freya patch Addapted to l2jfrozen Interlude. - Wyatt L2jFrozen Interlude patch. Addapted to l2jserver H5 Beta, rev core:5639 datapack:9185. - Valanths L2jServer H5 Beta patch Addapted to l2jserver H5 Beta, rev core:6165 datapack:9909. - Valanths L2jServer H5 Beta patch Addapted to Acis, Changeset 309. - Tяαnce Acis patch Addapted to Acis, rev:299. - Dεbian Acis patch Credits: Wyatt
  4. PT-BR EN https://pastebin.com/yfBeK9r0
  5. Allow Healers in TvT/Ctf/DM https://pastebin.com/EyaYWsbG Announce olympiad end season (on enter )https://pastebin.com/PFJR4JQ6 Augment item trade https://pastebin.com/iJEt2Lsn PvP Count TvT/Ctf/DM https://pastebin.com/FEBQv78Y Show HP/CP/ at pvp death https://pastebin.com/SpLCmuyU Show Clan npc crest https://pastebin.com/DqcW0y1Q No enchant near npc l2jfrozen 1132 https://pastebin.com/aSs19TaT Automatic restart l2jfrozen 1132 https://pastebin.com/F3qtVFPx Fix auto learn skill (Freeze bug) https://pastebin.com/CUTWh6UV Fix soulshot l2jfrozen 1132 https://pastebin.com/bQTEPc99 Fix bug clan warehouse lost items l2jfrozen 1132 https://pastebin.com/a6rjUXxL Siege announce system https://pastebin.com/RDznqXiA
  6. Hello members, I made a useful search action only for gms in order to save some of your time while you want to search items (ids,actual names etc). (Its 15 min code since i copied Bookmarks code and edited it) write //search to open the html or //search {word} for directly search Coded in aCis 370 rev Video Code Html P.s Dont forget to add the commands in adminCommands.xml ps2. i didnt design the html cause im lazy. Edit: Updated by @StinkyMadness
  7. Set your dressme the way you prefer. Like this : <dressme itemId="3470"> <appearance hairId="0" chestId="9210" legsId="0" glovesId="6380" feetId="6381" /> </dressme> OR <dressme itemId="3470"> <appearance hairId="0" chestId="9210" /> </dressme> code : Skin aCis
  8. Hello. I share nothing special but i think many will use it right way. With this patch you can make zones with only craft,sell and buy. For example, on Giran, you can make right side only buy, left side only sell and back side only craft. [/img] ### Eclipse Workspace Patch 1.0 #P Hero-GS Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestPrivateStoreBuy.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/RequestPrivateStoreBuy.java (revision 14) +++ java/net/sf/l2j/gameserver/network/clientpackets/RequestPrivateStoreBuy.java (working copy) @@ -23,6 +23,7 @@ import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.PrivateStoreType; import net.sf.l2j.gameserver.model.tradelist.TradeList; +import net.sf.l2j.gameserver.model.zone.ZoneId; import net.sf.l2j.gameserver.network.SystemMessageId; import net.sf.l2j.gameserver.util.Util; @@ -79,6 +80,12 @@ if (!player.isInsideRadius(storePlayer, 150, true, false)) return; + if(!player.isInsideZone(ZoneId.BUY)) + { + player.sendMessage("You can't buy items on this area."); + return; + } + if (!(storePlayer.getPrivateStoreType() == PrivateStoreType.SELL || storePlayer.getPrivateStoreType() == PrivateStoreType.PACKAGE_SELL)) return; Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestRecipeShopListSet.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/RequestRecipeShopListSet.java (revision 14) +++ java/net/sf/l2j/gameserver/network/clientpackets/RequestRecipeShopListSet.java (working copy) @@ -61,13 +61,13 @@ player.sendPacket(SystemMessageId.CANT_OPERATE_PRIVATE_STORE_DURING_COMBAT); return; } - - if (player.isInsideZone(ZoneId.NO_STORE)) + + if(!player.isInsideZone(ZoneId.CRAFT)) { player.sendPacket(SystemMessageId.NO_PRIVATE_WORKSHOP_HERE); player.sendPacket(ActionFailed.STATIC_PACKET); return; - } + } if (_count == 0) player.forceStandUp(); Index: java/net/sf/l2j/gameserver/model/zone/type/L2CraftZone.java =================================================================== --- java/net/sf/l2j/gameserver/model/zone/type/L2CraftZone.java (revision 0) +++ java/net/sf/l2j/gameserver/model/zone/type/L2CraftZone.java (working copy) @@ -0,0 +1,55 @@ +/* + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free Software + * Foundation, either version 3 of the License, or (at your option) any later + * version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see <http://www.gnu.org/licenses/>. + */ +package net.sf.l2j.gameserver.model.zone.type; + +import net.sf.l2j.gameserver.model.actor.L2Character; +import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; +import net.sf.l2j.gameserver.model.zone.L2ZoneType; +import net.sf.l2j.gameserver.model.zone.ZoneId; + +/** + * @author Leki + */ +public class L2CraftZone extends L2ZoneType +{ + public L2CraftZone(final int id) + { + super(id); + } + + @Override + protected void onEnter(final L2Character character) + { + if (character instanceof L2PcInstance) + character.setInsideZone(ZoneId.CRAFT, true); + } + + @Override + protected void onExit(final L2Character character) + { + if (character instanceof L2PcInstance) + character.setInsideZone(ZoneId.CRAFT, false); + } + + @Override + public void onDieInside(final L2Character character) + { + } + + @Override + public void onReviveInside(final L2Character character) + { + } +} \ No newline at end of file Index: java/net/sf/l2j/gameserver/model/zone/type/L2BuyZone.java =================================================================== --- java/net/sf/l2j/gameserver/model/zone/type/L2BuyZone.java (revision 0) +++ java/net/sf/l2j/gameserver/model/zone/type/L2BuyZone.java (working copy) @@ -0,0 +1,55 @@ +/* + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free Software + * Foundation, either version 3 of the License, or (at your option) any later + * version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see <http://www.gnu.org/licenses/>. + */ +package net.sf.l2j.gameserver.model.zone.type; + +import net.sf.l2j.gameserver.model.actor.L2Character; +import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; +import net.sf.l2j.gameserver.model.zone.L2ZoneType; +import net.sf.l2j.gameserver.model.zone.ZoneId; + +/** + * @author Leki + */ +public class L2BuyZone extends L2ZoneType +{ + public L2BuyZone(final int id) + { + super(id); + } + + @Override + protected void onEnter(final L2Character character) + { + if (character instanceof L2PcInstance) + character.setInsideZone(ZoneId.BUY, true); + } + + @Override + protected void onExit(final L2Character character) + { + if (character instanceof L2PcInstance) + character.setInsideZone(ZoneId.BUY, false); + } + + @Override + public void onDieInside(final L2Character character) + { + } + + @Override + public void onReviveInside(final L2Character character) + { + } +} \ No newline at end of file Index: java/net/sf/l2j/gameserver/model/zone/ZoneId.java =================================================================== --- java/net/sf/l2j/gameserver/model/zone/ZoneId.java (revision 14) +++ java/net/sf/l2j/gameserver/model/zone/ZoneId.java (working copy) @@ -38,7 +38,10 @@ DANGER_AREA(15), CAST_ON_ARTIFACT(16), NO_RESTART(17), - SCRIPT(18); + SCRIPT(18), + SELL(19), + BUY(20), + CRAFT(21); private final int _id; Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestPrivateStoreSell.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/RequestPrivateStoreSell.java (revision 14) +++ java/net/sf/l2j/gameserver/network/clientpackets/RequestPrivateStoreSell.java (working copy) @@ -20,6 +20,7 @@ import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.PrivateStoreType; import net.sf.l2j.gameserver.model.tradelist.TradeList; +import net.sf.l2j.gameserver.model.zone.ZoneId; import net.sf.l2j.gameserver.network.SystemMessageId; public final class RequestPrivateStoreSell extends L2GameClientPacket @@ -74,6 +75,12 @@ if (!player.isInsideRadius(storePlayer, 150, true, false)) return; + if(!player.isInsideZone(ZoneId.SELL)) + { + player.sendMessage("You can't sell items on this area."); + return; + } + if (storePlayer.getPrivateStoreType() != PrivateStoreType.BUY) return; Index: java/net/sf/l2j/gameserver/model/zone/type/L2SellZone.java =================================================================== --- java/net/sf/l2j/gameserver/model/zone/type/L2SellZone.java (revision 0) +++ java/net/sf/l2j/gameserver/model/zone/type/L2SellZone.java (working copy) @@ -0,0 +1,55 @@ +/* + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free Software + * Foundation, either version 3 of the License, or (at your option) any later + * version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see <http://www.gnu.org/licenses/>. + */ +package net.sf.l2j.gameserver.model.zone.type; + +import net.sf.l2j.gameserver.model.actor.L2Character; +import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; +import net.sf.l2j.gameserver.model.zone.L2ZoneType; +import net.sf.l2j.gameserver.model.zone.ZoneId; + +/** + * @author Leki + */ +public class L2SellZone extends L2ZoneType +{ + public L2SellZone(final int id) + { + super(id); + } + + @Override + protected void onEnter(final L2Character character) + { + if (character instanceof L2PcInstance) + character.setInsideZone(ZoneId.SELL, true); + } + + @Override + protected void onExit(final L2Character character) + { + if (character instanceof L2PcInstance) + character.setInsideZone(ZoneId.SELL, false); + } + + @Override + public void onDieInside(final L2Character character) + { + } + + @Override + public void onReviveInside(final L2Character character) + { + } +} \ No newline at end of file After this go to data/xml/zones. Create files SellZone.xml, BuyZone.xml and CraftZone.xml and put inside <zone type="SellZone" shape="NPoly" minZ="-x" maxZ="-z"> <node X="-x" Y="y" /> <node X="-x" Y="y" /> </zone> Zone type put that type you want, and about making zone you can look on SweeTs Guide http://www.maxcheaters.com/topic/188679-how-to-check-remove-and-add-zone Thank you.
  9. Event Demo Procure por commandname-e em seu sistema e adicione no final dele 115 114 register 116 115 unregister /** restrictions for event */ * Cannot Potion in Event. * Cannot Summon in Event. * Cannot Restart in Event. * Cannot Logout in Event. * Cannot attack same team. code v1 : https://pastebin.com/YRaCbU9T code v2 : * added event prize name announcement. Thank you @StinkyMadness * CopyOnWriteArrayList moved to ConcurrentHashMap.newKeySet, for better performance. Thank you @Tryskell * TVT_DOOR_LIST moved to getProperty and removed arrays. Thank you @Tryskell * Removed useless calls * added weather message for next event when coming into play. Thank you @ edusz93 for the idea Código v2 : https://pastebin.com/raw/59jyZa14 Autor do novo evento Williams Autor do código original DnR
  10. Some people are trying to sell shared stuff but there it is for free even if they sell it for like 5/10 € still waste of money Index: aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java b/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java --- a/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java (revision 33bdb515614e31c09ae565ef3c2bec0cd9c1fb08) +++ b/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java (date 1623023055776) @@ -3,15 +3,7 @@ import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collection; -import java.util.Comparator; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Optional; -import java.util.Set; +import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentSkipListMap; import java.util.concurrent.Future; @@ -6122,7 +6114,47 @@ { return _subclassLock.isLocked(); } - + + + /** + * Send siege info for this player after logging in into the world. + */ + private void sendSiegeInfo(){ + for (Castle castle : CastleManager.getInstance().getCastles()) { + sendMessage(String.format("Castle : %s will have its siege on: %s", getCastleName(castle.getCastleId()), castle.getSiegeDate().getTime())); + } + } + + /** + * Get Name for castle id + * @param id id of the castle + * @return return the right name for the requested name + */ + private String getCastleName(int id){ + switch(id){ + case 1: + return "Gludio"; + case 2: + return "Dion"; + case 3: + return "Giran"; + case 4: + return "Oren"; + case 5: + return "Aden"; + case 6: + return "Innadril"; + case 7: + return "Goddard"; + case 8: + return "Rune"; + case 9: + return "Schuttgart"; + default: return "Not found"; + } + } + + public void onPlayerEnter() { if (isCursedWeaponEquipped()) @@ -6182,6 +6214,8 @@ whItem.scheduleLifeTimeTask(); } } + //Send siege info + sendSiegeInfo(); } public long getLastAccess()
  11. Hello everyone, I would like to share this simple event. A registration npc spawns at a specific time and announces the registration as any event, after that everyone will have a time to register and those that are registered will be taken to a configured location where they will have time to kill the boss that will spawn. Each must achieve a minimum damage to the boss to receive the rewards. There are also two active functions: Last Attacker Reward and Main Damage Dealer reward. Both announced on the boss's death. Enjoy. Code
  12. 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:
  13. Hello Folks. Here is a code for items that bestow augment skills by double click. Code is for L2jfrozen but is very easy to adapt everywhere. Credits: Gabrieljdb. + Some Features and fixed from Yo_Sarada and me. Java Part: Client Part: Sql Query:
  14. Some time ago i helped someone with disabling shot spells. So, the next code it's more elegant solution than my previous guide. Example of course will for aCis but adapt for any other pack not a problem, i guess. For broadcasting all shot spells except soulshot uses broadcastPacketInRadius method into Creature.java. So, then we changing him. public void broadcastPacketInRadius(GameServerPacket packet, int radius) { if (radius < 0) radius = 600; // Check if packet is MagicSkillUse. final boolean isMagicSkillUse = (packet instanceof MagicSkillUse); for (final Player player : getKnownTypeInRadius(Player.class, radius)) { // Check if magicSkillUse contains Shot's skill and check if player disabled shot spells. if (isMagicSkillUse && SkillTable.isShotSkill(((MagicSkillUse) packet).getSkillId()) && player.getGameSettings().isBlockedShotEffect()) continue; player.sendPacket(packet); } } Next one step we add fix for soulshot spells broadcasting via broadcastPacket() method. public void broadcastPacket(GameServerPacket packet, boolean selfToo) { final boolean isAttackWithShots = (packet instanceof Attack) && ((Attack) packet).soulshot; Attack attackPacket = null; if (isAttackWithShots) { attackPacket = new Attack(((Attack) packet).getAttacker(), false, 0); final HitHolder[] holder = ((Attack) packet).getHits(); final HitHolder[] newHolder = new HitHolder[holder.length]; // This magic need for cleanup FLAG bit mask from SS usage. for (int i = 0; i < newHolder.length; i++) newHolder[i] = new HitHolder(holder[i]._target, holder[i]._damage, holder[i]._crit, holder[i]._miss, holder[i]._shld); // Generating FLAG bit mast anew. attackPacket.processHits(newHolder); } for (final Player player : getKnownType(Player.class)) { if (isAttackWithShots && player.getGameSettings().isBlockedShotEffect() && attackPacket != null) { player.sendPacket(attackPacket); continue; } player.sendPacket(packet); } } Next one step we add return methods for some fields in Attack packet. Don't forget change field INT to Creature for storing attaker as object, and not object ID. And add changes into constuct method also. public Creature getAttacker() { return _attacker; } public HitHolder[] getHits() { return _hits; } Next one step add method inside MagicSkillUse packet for getting skill id of sendable skill. public int getSkillId() { return _skillId; } Next one step add into SkillTable array with shot's skill IDs and method for checking them. private static final int[] _shotSkillsId = { 2008, 2009, 2033, 2039, 2047, 2061, 2150, 2151, 2152, 2153, 2154, 2155, 2156, 2157, 2158, 2159, 2160, 2161, 2162, 2163, 2164, 2181, 2182, 2183, 2184, 2185, 2186 }; public static boolean isShotSkill(int skillId) { for (int id : _shotSkillsId) if (id == skillId) return true; return false; } Next one step is addition trigger option for store player configuration as i'm uses (player.getGameSettings().isBlockedShotEffect()). I uses separated GameSetting instance for all player's settings. You can make directly the new field inside Player.java and use like player.isBlockedShotEffect(). That's all what you need. This code disable all spells (SoulShot, SpritShot, Blessed SpiritShot, Beats Shot, Fishing Shot) from other objects except your spells. If you need add own servitor spell seeing then just add new return method in MagicSkillUse for get caster object IOD and thek him with your servitor object ID.
  15. Hello forum, i was searching around and i saw on many forum's peoples selling this code for gold. (30-40 euro) rolf... That's who we are, sad... So this is one "Gift" from me for the new year. On this code you have the listed options: You can add as many zones you want. You can setup for each zone the running time. (On the current diff i have use Giran Arena and Gludin Arena). Gatekeeper command : <a action="bypass -h npc_%objectId%_pvp">Random Zone</a> The codes required more then 1 zone. Ofc you can add your own configs like "Auto Flag" "Auto Nobles" and whatever you want.. take this share like platform and work on it. DIFF is coded on aCis 381 revision - Feel free to adapt it in whatever revision or project you need. Credits : StinkyMadness Code r381: Here
  16. Pretty self explanatory. This is a new Packet in order to open any url that you want to the user's pc. Can be used in vote rewards and shit like that. It is for Interlude. package net.sf.l2j.gameserver.network.serverpackets; /** * @author Elfocrash * */ public class OpenUrl extends L2GameServerPacket { private final String _url; public OpenUrl(String url) { _url = url; } @Override protected final void writeImpl() { writeC(0x70); writeS(_url); } } Usage: activeChar.sendPacket(new OpenUrl("https://www.google.co.uk/")); Client side: entry.dll Engine.dll in case just the entry file doens't work: engine.dll If the two things above don't work either here is the whole vanilla system: system Thanks to Szaka for helping me understand how this shit works btw.
  17. This system is just to give merchants a life. To avoid floods create a config for this I left "FloodProtector.SOCIAL" as an example only. code +<?xml version="1.0" encoding="UTF-8"?> +<list> +<!-- SayType + + ALL, + SHOUT, // ! + TELL, // " + PARTY, // # + CLAN, // @ + GM, + PETITION_PLAYER, + PETITION_GM, + TRADE, // + + ALLIANCE, // $ + ANNOUNCEMENT, + BOAT, + L2FRIEND, + MSNCHAT, + PARTYMATCH_ROOM, + PARTYROOM_COMMANDER, // (Yellow) + PARTYROOM_ALL, // (Red) + HERO_VOICE, + CRITICAL_ANNOUNCE; + --> + <settings npcId="30001" text="Hello what do you want ?" sayType="SHOUT" effect="true" /> +</list> code optimization Update
  18. Here are the files to replace in any Atualstudio L2J website to be able to use it with the L2J Mobius packs (https://l2jmobius.org/). The web that you can use as a base is https://www.mediafire.com/file/0vusjh9higx7hd0/www-l2j.zip/file, original shared by @dandiarena. Only these modifications apply to it and it is available to use in L2J Mobius (it was tested in the C4 and C6 packs, but it should work for the others as well). Link: https://drive.google.com/file/d/1j28xV1lXlFwVmGls-881SrdURu36H8I5/view?usp=sharing For those who are more curious and want to learn, I leave the project uploaded on my GitHub so that you can see the lines that were modified in the versioned: https://github.com/gastonsingh/l2j-to-l2jmobius Thank you very much, I hope it helps you. Any inconvenience or thanks they comment. Greetings.
  19. Hello, i made a fast code within 10 minute. It's Rock Paper Scissor with your self. You basically type .rps select Rock or Paper or Scissor, you wait 3 seconds and see the results if you won, lose or tie. PS. It's coded for L2J H5 only. Other project's wont work cause it use listeners e.t.c Code - Html (html is very simple only 3 buttons so change it) PS. Sorry for mistake. It's late i wrote Paper as Pepper i think.
  20. Auto pvp Announce http://pastebin.com/prCgqNHU otan kapios pari kapia kill sinexomena xoris na pe8ani tote o server bgazi anakinosi gia ton paixti poy pire ta sinexomena pvp + to posa pvp pire
  21. Hello again cheaters. - An simple limit zone for the raidbosses. (Works as "Anti-Take-Away" the Raidbosses) - You can use the @melron code to create easy that zones (Code Here ). - I know can be done with just the boss spawn location and threadpool but i prefer use zone for it. Code : Here
  22. Color name - title system + Skill Reward coded on 374 acis . cheers package net.sf.l2j.gameserver.datatables; import net.sf.l2j.gameserver.templates.L2Pvp; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; import net.sf.l2j.gameserver.model.holder.IntIntHolder; import net.sf.l2j.gameserver.templates.StatsSet; import net.sf.l2j.gameserver.xmlfactory.XMLDocumentFactory; import org.w3c.dom.*; public class PvpTable { public PvpTable() { } public static void load() { try { File f = new File("./data/xml/pvp.xml"); Document doc = XMLDocumentFactory.getInstance().loadDocument(f); Node n = doc.getFirstChild(); for(Node d = n.getFirstChild(); d != null; d = d.getNextSibling()) if(d.getNodeName().equalsIgnoreCase("template")) { NamedNodeMap attrs = d.getAttributes(); int pvpAmount = Integer.valueOf(attrs.getNamedItem("pvp_amount").getNodeValue()).intValue(); int nameColor = Integer.decode((new StringBuilder()).append("0x").append(attrs.getNamedItem("name_color").getNodeValue()).toString()).intValue(); int titleColor = Integer.decode((new StringBuilder()).append("0x").append(attrs.getNamedItem("title_color").getNodeValue()).toString()).intValue(); String learnSkill = attrs.getNamedItem("learn_skill").getNodeValue().trim(); StatsSet set = new StatsSet(); set.set("pvp_amount", pvpAmount); set.set("name_color", nameColor); set.set("title_color", titleColor); L2Pvp template = new L2Pvp(set); if(learnSkill != null) { String property[] = learnSkill.split(";"); String as[] = property; int i = as.length; for(int j = 0; j < i; j++) { String data = as[j]; String holder[] = data.split(","); template.addLearnSkill(new IntIntHolder(Integer.parseInt(holder[0]), Integer.parseInt(holder[1]))); } } _templates.add(template); } } catch(Exception e) { _log.severe((new StringBuilder()).append("Exception: PvpTable load: ").append(e).toString()); } _log.info((new StringBuilder()).append("PvpTable: Loaded ").append(_templates.size()).append(" template(s).").toString()); } public static List<L2Pvp> getTemplate() { return _templates; } private static final Logger _log = Logger.getLogger(PvpTable.class.getName()); private static final List<L2Pvp> _templates = new ArrayList<>(); } package net.sf.l2j.gameserver.templates; import java.util.ArrayList; import java.util.List; import net.sf.l2j.gameserver.model.holder.IntIntHolder; import net.sf.l2j.gameserver.templates.StatsSet; public class L2Pvp { public L2Pvp(StatsSet set) { _pvpAmount = set.getInteger("pvp_amount"); _nameColor = set.getInteger("name_color"); _titleColor = set.getInteger("title_color"); } public int getPvpAmount() { return _pvpAmount; } public int getNameColor() { return _nameColor; } public int getTitleColor() { return _titleColor; } public List<IntIntHolder> getLearnSkills() { return _learnSkill; } public void addLearnSkill(IntIntHolder holder) { _learnSkill.add(holder); } private final int _pvpAmount; private final int _nameColor; private final int _titleColor; private final List<IntIntHolder> _learnSkill = new ArrayList<>(); } Open : Gameserver.java add somewhere this : PvpTable.load(); Open : Player.java add somewhere this : public static void updatePvp(Player player) { for(Iterator<L2Pvp> iterator = PvpTable.getTemplate().iterator(); iterator.hasNext();) { L2Pvp template = iterator.next(); if(template.getPvpAmount() <= player.getPvpKills()) { player.getAppearance().setNameColor(template.getNameColor()); player.getAppearance().setTitleColor(template.getTitleColor()); Iterator<IntIntHolder> iterator1 = template.getLearnSkills().iterator(); while(iterator1.hasNext()) { IntIntHolder holder = iterator1.next(); net.sf.l2j.gameserver.model.L2Skill skill = SkillTable.getInstance().getInfo(holder.getId(), holder.getValue()); if(skill != null) player.addSkill(skill, false); } } } player.broadcastUserInfo(); } find in Player.java below this line setPvpKills(getPvpKills() + 1); add -> updatePvp(this); find : public boolean setActiveClass(int classIndex) under this line restoreSkills(); add - > updatePvp(this); find : public void onPlayerEnter() add somewhere under : updatePvp(this); XML : loc : data/xml/pvp.xml <?xml version='1.0' encoding='utf-8'?> <list> <!-- <template pvp_amount="100" name_color="FFAA00" title_color="FFFF77" learn_skill="0,0;" /> --> <template pvp_amount="5" name_color="FFAA00" title_color="FFFF77" learn_skill="0,0;" /> </list>
  23. Hello again Cheaters, nothing special again. I don't know why peoples asking for this kind of balancing but somebody ask me for it and i make it for him free so i decide to share it with all. (Coded/Tested in 20 minutes) Coded for aCis 385 but its easy to be adapted to any source. XML looks like : <?xml version='1.0' encoding='utf-8'?> <list> <!-- Type List : NORMAL, MAGIC, CRITICAL, M_CRITICAL, BLOW, PHYSICAL_SKILL_DAMAGE, PHYSICAL_SKILL_CRITICAL --> <balance type="NORMAL" class="SHILLIEN_TEMPLAR" target="CARDINAL" value="1.3"/> </list> Result: value="1.0" -> You hit for 875 damage. value="1.3" -> You hit for 1138 damage. Code : Here