Search the Community
Showing results for tags 'Code'.
-
Code Kill The Boss Event L2jaCis Interlude
ZaunProject posted a topic in Server Shares & Files [L2J]
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 -
Hey MxC I'd like to share a simple, but util java modification. It's written for aCis, but you can simple adapt to any chronicle and project by changing the XML parser. This mod will allow you to set specific drops to specific monsters with determined level range, or determined class (RB, GB, Normal Mobs...) with chances. Why i made this mode? Normally L2J set monster drops like > Monster "X" have Items "Y" as drops. Then, to facilitate servers configuration i did the opposite. Like: Item "X" will be dropped by a specific range of mobs. There are 2 types of
-
Hy there i decided to share something even is not a big deal , but i already shared on sunrise . Put the following line on requestexenchantitemattribute.class Elementals oldElement = item.getElemental(elementToAdd); int elementValue = oldElement == null ? 0 : oldElement.getValue(); int limit = getLimit(item, stoneId); int powerToAdd = getPowerToAdd(stoneId, elementValue, item); // if ((item.isWeapon() && (oldElement != null) && (oldElement.getElement() != elementToAdd) && (oldElement.getElement() != -2)) || (item.isArmor() &
-
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/rel
-
Code Fix for aCis login issue from server machine
Devlin posted a topic in Server Shares & Files [L2J]
Hey there! Referring to aCis project, I noticed an issue that if you open a public server from your PC, other players can join but you can't join from the machine that you are running the server (as localhost). Here is the quick fix about that issue, --- a/aCis_gameserver/java/net/sf/l2j/loginserver/network/serverpackets/ServerList.java +++ b/aCis_gameserver/java/net/sf/l2j/loginserver/network/serverpackets/ServerList.java @@ -22,10 +22,13 @@ { _lastServer = client.getLastServer(); + String clientIp = client.getConnection().getInetAddress().getHostAdd -
In quotes let's say I get an aCis l2jserver and I want to add, this key system from l2jserver with, license. Is there any diff or Patch that is available? @Elfocrash @Elfocrash_old
-
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
-
L2jFrozen last version I can't change the title color to custom_npcNpcgrp.dat and npcname.dat can't using a custom npc only a default npc. To default npc I change title colors with. Dat files but I want to changes all of npc title colors. I add new lines for dat. Files to custom npc and again nothing Thnx for your time and big sorry for my fail English 😂
-
This is custom bufftime support for latest public acis source - aCis 382 Patch code here: https://pastebin.com/embed_js/HXM03hrN Add skill id's in players.properties: EnableModifySkillDuration = True SkillDurationList = 1204;1048;
-
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.co
- 25 replies
-
- 11
-
-
-
-
Good afternoon I come to make available a mod I made, it rewards players who reach a certain level. https://pastebin.com/raw/gPJt4kzs
-
Hello From time to time I like to pick one of the things that are being sold but are really easy to code and I like to code them real quick and share them. Today's share is L2Warland's server-side Autofarm feature. How it works You set a few skills on the 10th shortcut skill bar Each section represents a skill type Skill usage is prioritised (Feel free to change the order to whatever works for you) Chance Low life Self skills Attacks You can toggle it or turn it on and of with
- 19 replies
-
- 15
-
-
-
-
-
Okay , a simple drop event coded on l2j Sources it multiplies the drops of item only if its100% rate you type //startdrop and it will announce and automaticly start after 15 minutes you can type //stopdrop if you wish to force stop it there is a configuration on the rate default is x1.2 the event will last for 60 minutes , and it will announce back when it ends if event is active and a player logs in he will get a notification by pm :) Create a new class : DropEvent package com.event; import net.sf.l2j.gameserver.An
-
https://pastebin.com/fC763kww many ask none helps so it wasnt shared as i checked here u go
-
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
- 28 replies
-
- 11
-
-
-
-
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.Lo
-
hello I'm new here, more I come to bring this engine Siege renewal Siege Renewal Leader / Member LeaderRewardsID = 0-0; MembersRewardsID = 0-0; https://pastebin.com/QUQ2RH0u L2j-One@Juvenil Amaro™
-
Hello, its my first share i made for my server, maybe some one need it. Its function when you delete something , after you can recovery it and take back at itemrecovery.ini you can find settings how much days item will save for you sorry my english :D code and install guide can find on git my https://bitbucket.org/vagan2005/lineage2-works/src/master/itemRecovery-mobius/ its for last version mobius photos
-
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.
- 1 reply
-
- 3
-
-
<?php // // Crest read from database by nightwolf // // Description // Usage 1: show a crest stored in database by using a clan id (form or var) // Usage 2: save a crest in a file "crests/[clanid].png" (where [clanid] is the clan id in database) // // Notes // 1: Cannot be SQL injected, this system uses prepared statements and PDO driver. // 2: Checks only for integer values if not then nothing happens // 3: Make sure you have in same level of this file a folder named "crests" with write permissions // Database values $ip = ""; $dbname = ""; $user = ""; $pass = ""; // show directly image
-
Hi guys. I have just one question regarding core side and using the SQL statements to update/insert datas into the database. How could i implement the following query when a new character is created? ("UPDATE characters SET botprev_fail_account = (SELECT botprev_fail_account FROM accounts WHERE account_name=login") I want that the new character that's created on the same account to have the botprev_fail_account value taken from the ACCOUNTS table and inserted into botprev_fail_account from CHARACTERS table. The account_name and login have the same va
-
So here is the thing. There is a check for private sell stores that verifies if each of listed items has a corresponding item template. I checked most of projects out there and all had the same issue. Here is the code I refer to, nested in TradeList privateStoreBuy() method: // Check if requested item is available for manipulation L2ItemInstance oldItem = _owner.checkItemManipulation(item.getObjectId(), item.getCount(), "sell"); if (oldItem == null || !oldItem.isTradeable()) { // Private store sell invalid item - disable it lock(); return false;
-
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
- 16 replies
-
- 10
-
-
-
I come to share something I did for my server. improvements please can comment, please remove the part of Event code : https://pastebin.com/raw/Xa9dU7zd