-
Posts
53 -
Credits
0 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Acacia
-
Request Hunting zones level
Acacia replied to xristoeli1994's question in Request Server Development Help [L2J]
i think he meant info for zones like elven forest 10-15 elven fortress 15-20 etc etc , to add info on his html on gk unfortunately i don't know , incase you know any website to help him drop it -
Help Mod anúncio PvP
Acacia replied to FA1XAPRET4's question in Request Server Development Help [L2J]
there are countless Spree Systems shared bro . -
Share Lineage 2 Ultimate Client Collection
Acacia replied to Finn's topic in Client Development Discussion
ty didn't noticed that one -
LF Hi5 Skin system
Acacia replied to FossilGamer's question in Request Server Development Help [L2J]
it changes the current equiped Item's visual ( saves in db under item id in inventory table ). if u equip another equipment it wont have the other visual . u'll have to reuse -
Share Lineage 2 Ultimate Client Collection
Acacia replied to Finn's topic in Client Development Discussion
152 Protocol System Link is Dead -
Share Interface.u, NWindow.u source code Fafurion ( 196 Protocol )
Acacia replied to Rolo's topic in Client Development Discussion
anyone got the system with the ucc in for it ? -
LF Hi5 Skin system
Acacia replied to FossilGamer's question in Request Server Development Help [L2J]
DressMe for L2JSunrise Got this now from a random forum , Its Tested i adapted it before on both acis and l2j worked as a charm HF -
Help PvP/PK Count on title
Acacia replied to DEVILMSTAR1's question in Request Server Development Help [L2J]
Its possible though it should located in client's interface -
Help PvP/PK Count on title
Acacia replied to DEVILMSTAR1's question in Request Server Development Help [L2J]
-
Its an old adapted code i made many years ago , just adapted it for latest Acis rev feel free to correct any unnecessary lines or issues ( it works as intended and good to go though ) its easy to extend *Missing Mods ( Teleporter & Symbol Maker , didn't had time to adapt from my old rev ) DIFF ( CODE ) HTML FILES Locate : data/xml/items/5500-5599.xml ( Tutorial Guide ) Locate Item Id : 5588 change : <set name="handler" val="Book" /> to : ----> <set name="handler" val="Cubic" />
- 1 reply
-
- 2
-
Hello , i coded this one a lil while ago for someone that requested it , i'll just drop it here aswell PVP PK TITLE RANK <--- DIFF Format for Latest Acis Rev Code: @Kishin Apply it using the diff or navigate and do it manually It does Updates when a new PvP / PK or when changing your Title max title letters changed to 9 ( more than that it hides the pvp/count letters ) Have fun
-
Help PvP/PK Count on title
Acacia replied to DEVILMSTAR1's question in Request Server Development Help [L2J]
PVP PK RANK UPDATE <-- Code: @Kishin Here you go ready to use . coded on latest sources of acis on diff format , or you can apply it or navigate and paste it manually . it does updates when new pvp / pk or changing title max title letters changed to 9 ( more than that it hides the pvp/count letters ) -
Code Thread Pool Manager (Dynamically on system's CPU load)
Acacia replied to Trance's topic in Server Shares & Files [L2J]
ye was about to do that , but was curious of its purpose . since even if i did implement it how it was , i would have to rework the whole src . though ty for the file . i'll look around and work around on these -
Code Thread Pool Manager (Dynamically on system's CPU load)
Acacia replied to Trance's topic in Server Shares & Files [L2J]
what of ? PriorityThreadFactory -
Tool Compiler Collection for Interface.u
Acacia replied to Akar0's topic in Client Development Discussion
any news about compiler for prot 152 , salvation etina's ? -
Never had an issue with kara , any order i requested were given to me as he did promised and even done more than that. i don't see any reason to flag him as scammer . even if you ended getting half of the codes probably your attitude was the problem on that part learn to be able to understand people's lifes first and their current problems and listen to them instead raging cause you didnt got what u wanted on * time * cause even if your at work and end up sick, you'll get a day off next day / 's understand that. good luck
-
Help NPC displaying HTML from java
Acacia replied to Sheol's question in Request Server Development Help [L2J]
create a class on -> model.actor.instance that extends Folk / L2Npc / Npc (depend the source u using) based on ur code instead using the voice command , use it on the onBypassFeedback and call ur code and appends to show the NpcHtmlWindow with onAction to Player/PlayerInstance/L2PcInstance etc create an npc afterwards as type "name of your class instance" -
Mobius for sure the only and best way around
-
Discussion Acis Source
Acacia replied to iliasgsxr1000's topic in Server Development Discussion [Greek]
many classes has been moved / renamed etc java versions also has been updated , so you need to adapt em to the newest revision . if you read where and what goes , you'll find your way most of us learnt like this , so gl -
Source (Build+Source) L2J_Mobius Premium 20-4-2023 (UPDATED)
Acacia replied to eKoIce's topic in Server Shares & Files [L2J]
@Mobius -
what source r u using ?
-
you can easily add the missing database sql files from the shared one , and add the the 2 missing fields on the characters/accounts file
-
its fine mate and thank you , we all know how this forum works , everyone is a java diva around here so you dont have to take anything personal and argue about it . you walk in prepared :D
-
ohh forgot to remove the true false part on isdouble :D was typed to be readable then remove on the other hand yes admincommand i used an old code as pattern , thank you for reply :)
-
Okay , a simple drop event coded on l2j Sources it multiplies the drops of item only if its 100% rate you type //dropevent to start the event after 15 mins ex. and re-type //dropevent 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.Config; import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.gameserver.ThreadPoolManager; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.clientpackets.Say2; import net.sf.l2j.gameserver.network.serverpackets.CreatureSay; /** * @author Kishin */ public class DropEvent { private int startIn = Config.DROP_EVENT_START; private int stopIn = Config.DROP_EVENT_END; public void sendDropEventInfo(L2PcInstance player) { player.broadcastPacket(new CreatureSay(player.getObjectId() ,Say2.TELL," "+player.getName()+":","Drop Event is currently running!")); player.sendMessage("Drop event is currently running!"); } public void startEvent() { Announcements.getInstance().announceToAll("Double drop event will start in "+startIn+" minutes"); ThreadPoolManager.getInstance().scheduleGeneral(new startTimer(), (startIn *60 * 1000)); } public void forceStop() { setDoubleDrop(false); } public class startTimer implements Runnable { public void run() { setDoubleDrop(true); Announcements.getInstance().announceToAll("Double drop event has started !"); Announcements.getInstance().announceToAll("Event will end in "+stopIn+" minutes !"); ThreadPoolManager.getInstance().scheduleGeneral(new stopTimer(), (stopIn * 60 * 1000)); } } public class stopTimer implements Runnable { public void run() { if (isDoubleDrop()) { setDoubleDrop(false); Announcements.getInstance().announceToAll("Double drop event has ended"); } } } public static DropEvent getInstance() { return DropEvent.SingletonHolder._instance; } private static class SingletonHolder { protected static final DropEvent _instance = new DropEvent(); } private boolean _isDoubleDrop; public void setDoubleDrop(boolean isDoubleDrop) { _isDoubleDrop = isDoubleDrop; } public boolean isDoubleDrop() { return _isDoubleDrop; } } L2Attackable.java search this -> private RewardItem calculateCategorizedRewardItem and under this : dropChance *= Config.L2JMOD_CHAMPION_REWARDS; paste : if (DropEvent.getInstance().isDoubleDrop()) { if ( dropChance == 1000000) { dropChance *= Config.DROP_EVENT_RATE; } } EnterWorld.java -> paste somewhere if (DropEvent.getInstance().isDoubleDrop()) { DropEvent.getInstance().sendDropEventInfo(activeChar); } in Config.java paste somewhere this : public static int DROP_EVENT_START; public static int DROP_EVENT_END; public static float DROP_EVENT_RATE; pick your destination file mine is customSettings paste : DROP_EVENT_START = Integer.parseInt(customsSettings.getProperty("dropEventStart", "15")); DROP_EVENT_END = Integer.parseInt(customsSettings.getProperty("dropEventEnd", "60")); DROP_EVENT_RATE = Float.parseFloat(customsSettings.getProperty("dropEventRate", "1.2")); Create a new class in admincommandhandlers AdminDropEvent <- package net.sf.l2j.gameserver.handler.admincommandhandlers; import com.event.DropEvent; import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.gameserver.handler.IAdminCommandHandler; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; /** * @author Kishin */ public class AdminDropEvent implements IAdminCommandHandler { private static final String[] ADMIN_COMMANDS = { "admin_dropevent" }; @Override public boolean useAdminCommand(String command, L2PcInstance activeChar) { try { if (command.equals("admin_dropevent")) { if (DropEvent.getInstance().isDoubleDrop()) { DropEvent.getInstance().forceStop(); Announcements.getInstance().announceToAll("Admin has ended the drop event"); } else { DropEvent.getInstance().startEvent(); } } } catch (Exception e) { e.printStackTrace(); } return false; } @Override public String[] getAdminCommandList() { return ADMIN_COMMANDS; } } Have fun :) register the command handler and good to go