You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hi there!
Based on the below i adapted the champion mod code for acis 401.
Not my proudest work but it gets the job done.
https://pastebin.com/GR78sg0Z
Lineage 2 Chronicle 2 system folder:
https://mega.nz/file/qckEHIIb#zQP_nCxF0IJDEr5xvxnEBdHWJGIq_i0cEdMT2U_RKrE
Patch for win xp,win7-win10.
Protocol 485.
Default L2ini ip=127.0.0.1 L2ini
Editor in the pack, patch is clear.
A good starting point for most setups would be a server with at least 16 GB of RAM and a multi-core processor. Also, ensure you have SSD storage; it's much faster than traditional hard drives.
If you’re considering Offshore hosting, you might want to check out some providers specializing in this. They often offer excellent privacy and reliability features. Overall, think about your needs and scale accordingly. You want a server that can grow with your business without breaking the bank.
Question
NuclearCitizen
Hey guys. I am trying to make my !global chat to be seen everywhere in the world. Can somebody help me with the code here?
package net.sf.l2j.gameserver.handler.chathandlers; import net.sf.l2j.gameserver.data.xml.MapRegionData; import net.sf.l2j.gameserver.enums.FloodProtector; import net.sf.l2j.gameserver.enums.SayType; import net.sf.l2j.gameserver.handler.IChatHandler; import net.sf.l2j.gameserver.model.World; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.network.serverpackets.CreatureSay; public class ChatShout implements IChatHandler { private static final SayType[] COMMAND_IDS = { SayType.SHOUT }; @Override public void handleChat(SayType type, Player player, String target, String text) { if (!player.getClient().performAction(FloodProtector.GLOBAL_CHAT)) return; final CreatureSay cs = new CreatureSay(player, type, text); final int region = MapRegionData.getInstance().getMapRegion(player.getX(), player.getY()); for (Player worldPlayer : World.getInstance().getPlayers()) { if (region == MapRegionData.getInstance().getMapRegion(worldPlayer.getX(), worldPlayer.getY())) worldPlayer.sendPacket(cs); } } @Override public SayType[] getChatTypeList() { return COMMAND_IDS; } }
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.