-
Posts
240 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by MaKasTreRo
-
Help Change Color Title Npcs?
MaKasTreRo replied to MaKasTreRo's question in Request Server Development Help [L2J]
Thanks! but in custom npcs ? -
How can change title color Npcs? Thanks dudes!
-
Help Hi5 How Can Change De Siege And Tw For 1 Week
MaKasTreRo replied to MaKasTreRo's question in Request Server Development Help [L2J]
That line should be amended to make 1 siege.java week. And I have to change to one weeks territory war Thanks 4 u help!!! -
Help Hi5 How Can Change De Siege And Tw For 1 Week
MaKasTreRo replied to MaKasTreRo's question in Request Server Development Help [L2J]
Up! :( -
Help Hi5 How Can Change De Siege And Tw For 1 Week
MaKasTreRo replied to MaKasTreRo's question in Request Server Development Help [L2J]
up!! -
Help Hi5 How Can Change De Siege And Tw For 1 Week
MaKasTreRo replied to MaKasTreRo's question in Request Server Development Help [L2J]
yes yes i know, but need change siege and territory war.... thanks! -
Help Hi5 How Can Change De Siege And Tw For 1 Week
MaKasTreRo posted a question in Request Server Development Help [L2J]
Need help , how can change for 1 week. Only can change de oly time in l2jconfig. Thanks !!! O0 -
Help Anti Feed Oly. Last Rev Hi5
MaKasTreRo replied to MaKasTreRo's question in Request Server Development Help [L2J]
up! -
Help Anti Feed Oly. Last Rev Hi5
MaKasTreRo replied to MaKasTreRo's question in Request Server Development Help [L2J]
CharInfo.java -writeS(_activeChar.getAppearance().getVisibleName()); - writeD(_activeChar.getClanId()); //clan id - writeD(_activeChar.getClanCrestId()); //crest id -writeS(_activeChar.getAppearance().getVisibleName()); - writeD(_activeChar.getClanId()); - writeD(_activeChar.getClanCrestId()); - writeD(_activeChar.getAllyId()); - writeD(_activeChar.getAllyCrestId()); -writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 1 : 0); // Hero Aura - writeD(_activeChar.getAppearance().getTitleColor()); OlympiadObservation.java - StringUtil.append(list, " ", task.getGame().getPlayerNames()[0], " : ", task.getGame().getPlayerNames()[1]); - StringUtil.append(list, "</td><td>", task.getGame().getPlayerNames()[0], " ", task.getGame().getPlayerNames()[1]); - StringUtil.append(list, "</td><td>", task.getGame().getPlayerNames()[0], " ", task.getGame().getPlayerNames()[1]); Spoil.java - sm.addCharName(target); Thanks!!! dude! -
Help Anti Feed Oly. Last Rev Hi5
MaKasTreRo posted a question in Request Server Development Help [L2J]
Hello! I need adapt this code on last rev hi5. I cant find the line in file.. Index: dist/game/data/scripts/handlers/bypasshandlers/OlympiadObservation.java =================================================================== --- dist/game/data/scripts/handlers/bypasshandlers/OlympiadObservation.java (revision 8869) +++ dist/game/data/scripts/handlers/bypasshandlers/OlympiadObservation.java (working copy) @@ -16,6 +16,7 @@ import java.util.logging.Level; +import com.l2jserver.Config; import com.l2jserver.gameserver.handler.IBypassHandler; import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.instance.L2OlympiadManagerInstance; @@ -121,7 +122,33 @@ StringUtil.append(list, "&$1718;"); // Standby } - StringUtil.append(list, " ", task.getGame().getPlayerNames()[0], " : ", task.getGame().getPlayerNames()[1]); + if (Config.ALT_OLY_ANTI_FEED) + { + if (activeChar.isGM() && Config.ALT_OLY_ANTI_FEED_GM_SEE) + { + StringUtil.append(list, + " ", + task.getGame().getPlayerNames()[0], + " : ", + task.getGame().getPlayerNames()[1]); + } + else + { + StringUtil.append(list, + " ", + Config.ALT_OLY_ANTI_FEED_NAME, + " : ", + Config.ALT_OLY_ANTI_FEED_NAME); + } + } + else + { + StringUtil.append(list, + " ", + task.getGame().getPlayerNames()[0], + " : ", + task.getGame().getPlayerNames()[1]); + } } else { @@ -156,7 +183,33 @@ StringUtil.append(list, "&$1718;"); // Standby } - StringUtil.append(list, "</td><td>", task.getGame().getPlayerNames()[0], " ", task.getGame().getPlayerNames()[1]); + if (Config.ALT_OLY_ANTI_FEED) + { + if (activeChar.isGM() && Config.ALT_OLY_ANTI_FEED_GM_SEE) + { + StringUtil.append(list, + "</td><td>", + task.getGame().getPlayerNames()[0], + " ", + task.getGame().getPlayerNames()[1]); + } + else + { + StringUtil.append(list, + "</td><td>", + Config.ALT_OLY_ANTI_FEED_NAME, + " ", + Config.ALT_OLY_ANTI_FEED_NAME); + } + } + else + { + StringUtil.append(list, + "</td><td>", + task.getGame().getPlayerNames()[0], + " ", + task.getGame().getPlayerNames()[1]); + } } else { @@ -187,7 +240,33 @@ StringUtil.append(list, "&$1718;"); // Standby } - StringUtil.append(list, "</td><td>", task.getGame().getPlayerNames()[0], " ", task.getGame().getPlayerNames()[1]); + if (Config.ALT_OLY_ANTI_FEED) + { + if (activeChar.isGM() && Config.ALT_OLY_ANTI_FEED_GM_SEE) + { + StringUtil.append(list, + "</td><td>", + task.getGame().getPlayerNames()[0], + " ", + task.getGame().getPlayerNames()[1]); + } + else + { + StringUtil.append(list, + "</td><td>", + Config.ALT_OLY_ANTI_FEED_NAME, + " ", + Config.ALT_OLY_ANTI_FEED_NAME); + } + } + else + { + StringUtil.append(list, + "</td><td>", + task.getGame().getPlayerNames()[0], + " ", + task.getGame().getPlayerNames()[1]); + } } else { Index: dist/game/data/scripts/handlers/skillhandlers/Spoil.java =================================================================== --- dist/game/data/scripts/handlers/skillhandlers/Spoil.java (revision 8869) +++ dist/game/data/scripts/handlers/skillhandlers/Spoil.java (working copy) @@ -14,6 +14,7 @@ */ package handlers.skillhandlers; +import com.l2jserver.Config; import com.l2jserver.gameserver.ai.CtrlEvent; import com.l2jserver.gameserver.handler.ISkillHandler; import com.l2jserver.gameserver.model.L2Object; @@ -73,7 +74,10 @@ else { SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_RESISTED_YOUR_S2); - sm.addCharName(target); + if (((L2PcInstance) activeChar).isInOlympiadMode() && Config.ALT_OLY_ANTI_FEED) + sm.addPcFakeName(); + else + sm.addCharName(target); sm.addSkillName(skill); activeChar.sendPacket(sm); } Index: java/com/l2jserver/gameserver/network/serverpackets/CharInfo.java =================================================================== --- java/com/l2jserver/gameserver/network/serverpackets/CharInfo.java (revision 5380) +++ java/com/l2jserver/gameserver/network/serverpackets/CharInfo.java (working copy) @@ -178,16 +178,28 @@ { writeC(_invisible? 1 : 0); // invisible ?? 0=false 1=true 2=summoned (only works if model has a summon animation) } - - writeS(_activeChar.getAppearance().getVisibleName()); - + if (_activeChar.isInOlympiadMode() && Config.ALT_OLY_ANTI_FEED) + { + writeS(Config.ALT_OLY_ANTI_FEED_NAME);//name in Olympiad when anti feed is on + } + else + { + writeS(_activeChar.getAppearance().getVisibleName()); + } if (gmSeeInvis) { writeS("Invisible"); } else { + if (_activeChar.isInOlympiadMode() && Config.ALT_OLY_ANTI_FEED) + { + writeS(Config.ALT_OLY_ANTI_FEED_TITLE);//title in Olympiad when anti feed is on + } + else + { writeS(_activeChar.getAppearance().getVisibleTitle()); + } } writeD(0); @@ -203,8 +215,16 @@ writeD(_activeChar.getAbnormalEffect()); // C2 } - writeD(_activeChar.getClanId()); //clan id - writeD(_activeChar.getClanCrestId()); //crest id + if (_activeChar.isInOlympiadMode() && Config.ALT_OLY_ANTI_FEED) + { + writeD(0);//clan in Olympiad(anti feed) + writeD(0); + } + else + { + writeD(_activeChar.getClanId()); //clan id + writeD(_activeChar.getClanCrestId()); //crest id + } writeD(0); // C2 writeD(0); // C2 writeC(0); // C2 @@ -232,7 +252,14 @@ writeD(_z); writeD(_vehicleId); writeD(_objId); - writeS(_activeChar.getAppearance().getVisibleName()); + if (_activeChar.isInOlympiadMode() && Config.ALT_OLY_ANTI_FEED) + { + writeS(Config.ALT_OLY_ANTI_FEED_NAME);//name in Olympiad when anti feed is on + } + else + { + writeS(_activeChar.getAppearance().getVisibleName()); + } writeD(_activeChar.getRace().ordinal()); writeD(_activeChar.getAppearance().getSex() ? 1 : 0); @@ -354,15 +381,32 @@ } else { + if (_activeChar.isInOlympiadMode() && Config.ALT_OLY_ANTI_FEED) + { + writeS(Config.ALT_OLY_ANTI_FEED_TITLE);//title in Olympiad when anti feed is on + } + else + { writeS(_activeChar.getAppearance().getVisibleTitle()); + } } if (!_activeChar.isCursedWeaponEquipped()) { - writeD(_activeChar.getClanId()); - writeD(_activeChar.getClanCrestId()); - writeD(_activeChar.getAllyId()); - writeD(_activeChar.getAllyCrestId()); + if (_activeChar.isInOlympiadMode() && Config.ALT_OLY_ANTI_FEED) + { + writeD(0);//clan ally in Olympiad (anti feed) + writeD(0); + writeD(0); + writeD(0); + } + else + { + writeD(_activeChar.getClanId()); + writeD(_activeChar.getClanCrestId()); + writeD(_activeChar.getAllyId()); + writeD(_activeChar.getAllyCrestId()); + } } else { @@ -420,7 +464,15 @@ writeD(_activeChar.getClanCrestLargeId()); writeC(_activeChar.isNoble() ? 1 : 0); // Symbol on char menu ctrl+I - writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 1 : 0); // Hero Aura + if (_activeChar.isInOlympiadMode() && Config.ALT_OLY_ANTI_FEED) + { + if (Config.ALT_OLY_ANTI_FEED_HERO_GLOW) + writeC(1); + else if (!Config.ALT_OLY_ANTI_FEED_HERO_GLOW) + writeC(0); + } + else + writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 1 : 0); // Hero Aura writeC(_activeChar.isFishing() ? 1 : 0); //0x01: Fishing Mode (Cant be undone by setting back to 0) writeD(_activeChar.getFishx()); @@ -434,7 +486,14 @@ writeD(_activeChar.getPledgeClass()); writeD(_activeChar.getPledgeType()); - writeD(_activeChar.getAppearance().getTitleColor()); + if (_activeChar.isInOlympiadMode() && Config.ALT_OLY_ANTI_FEED) + { + writeD(0x00CCFF);//title color in Olympiad (Anti Feed) + } + else + { + writeD(_activeChar.getAppearance().getTitleColor()); + } if (_activeChar.isCursedWeaponEquipped()) writeD(CursedWeaponsManager.getInstance().getLevel(_activeChar.getCursedWeaponEquippedId())); -
[Release] L2-Zur bot - Undetectable - Any L2 server/version
MaKasTreRo replied to L2-Zur's topic in Botting [English]
-
Buy the best Source for PVP server Hi5 unique features.
-
Hi ppl , i use this pach for my server Hi5 Index: dist/game/data/scripts/handlers/bypasshandlers/OlympiadObservation.java =================================================================== --- dist/game/data/scripts/handlers/bypasshandlers/OlympiadObservation.java (revision 8869) +++ dist/game/data/scripts/handlers/bypasshandlers/OlympiadObservation.java (working copy) @@ -16,6 +16,7 @@ import java.util.logging.Level; +import com.l2jserver.Config; import com.l2jserver.gameserver.handler.IBypassHandler; import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.instance.L2OlympiadManagerInstance; @@ -121,7 +122,33 @@ StringUtil.append(list, "&$1718;"); // Standby } - StringUtil.append(list, " ", task.getGame().getPlayerNames()[0], " : ", task.getGame().getPlayerNames()[1]); + if (Config.ALT_OLY_ANTI_FEED) + { + if (activeChar.isGM() && Config.ALT_OLY_ANTI_FEED_GM_SEE) + { + StringUtil.append(list, + " ", + task.getGame().getPlayerNames()[0], + " : ", + task.getGame().getPlayerNames()[1]); + } + else + { + StringUtil.append(list, + " ", + Config.ALT_OLY_ANTI_FEED_NAME, + " : ", + Config.ALT_OLY_ANTI_FEED_NAME); + } + } + else + { + StringUtil.append(list, + " ", + task.getGame().getPlayerNames()[0], + " : ", + task.getGame().getPlayerNames()[1]); + } } else { @@ -156,7 +183,33 @@ StringUtil.append(list, "&$1718;"); // Standby } - StringUtil.append(list, "</td><td>", task.getGame().getPlayerNames()[0], " ", task.getGame().getPlayerNames()[1]); + if (Config.ALT_OLY_ANTI_FEED) + { + if (activeChar.isGM() && Config.ALT_OLY_ANTI_FEED_GM_SEE) + { + StringUtil.append(list, + "</td><td>", + task.getGame().getPlayerNames()[0], + " ", + task.getGame().getPlayerNames()[1]); + } + else + { + StringUtil.append(list, + "</td><td>", + Config.ALT_OLY_ANTI_FEED_NAME, + " ", + Config.ALT_OLY_ANTI_FEED_NAME); + } + } + else + { + StringUtil.append(list, + "</td><td>", + task.getGame().getPlayerNames()[0], + " ", + task.getGame().getPlayerNames()[1]); + } } else { @@ -187,7 +240,33 @@ StringUtil.append(list, "&$1718;"); // Standby } - StringUtil.append(list, "</td><td>", task.getGame().getPlayerNames()[0], " ", task.getGame().getPlayerNames()[1]); + if (Config.ALT_OLY_ANTI_FEED) + { + if (activeChar.isGM() && Config.ALT_OLY_ANTI_FEED_GM_SEE) + { + StringUtil.append(list, + "</td><td>", + task.getGame().getPlayerNames()[0], + " ", + task.getGame().getPlayerNames()[1]); + } + else + { + StringUtil.append(list, + "</td><td>", + Config.ALT_OLY_ANTI_FEED_NAME, + " ", + Config.ALT_OLY_ANTI_FEED_NAME); + } + } + else + { + StringUtil.append(list, + "</td><td>", + task.getGame().getPlayerNames()[0], + " ", + task.getGame().getPlayerNames()[1]); + } } else { But i cant find this line : StringUtil.append(list, " ", task.getGame().getPlayerNames()[0], " : ", task.getGame().getPlayerNames()[1]); My OlympiadObservation: * Copyright (C) 2004-2013 L2J DataPack * * This file is part of L2J DataPack. * * L2J DataPack 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. * * L2J DataPack 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 handlers.bypasshandlers; import java.util.logging.Level; import com.l2jserver.gameserver.handler.IBypassHandler; import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.instance.L2OlympiadManagerInstance; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.olympiad.Olympiad; import com.l2jserver.gameserver.model.olympiad.OlympiadGameManager; import com.l2jserver.gameserver.model.olympiad.OlympiadGameTask; import com.l2jserver.gameserver.model.olympiad.OlympiadManager; import com.l2jserver.gameserver.network.SystemMessageId; import com.l2jserver.gameserver.network.serverpackets.ExOlympiadMatchList; /** * @author DS */ public class OlympiadObservation implements IBypassHandler { private static final String[] COMMANDS = { "watchmatch", "arenachange" }; @Override public final boolean useBypass(String command, L2PcInstance activeChar, L2Character target) { try { final L2Npc olymanager = activeChar.getLastFolkNPC(); if (command.startsWith(COMMANDS[0])) // list { activeChar.sendPacket(new ExOlympiadMatchList()); } else { if ((olymanager == null) || !(olymanager instanceof L2OlympiadManagerInstance)) { return false; } if (!activeChar.inObserverMode() && !activeChar.isInsideRadius(olymanager, 300, false, false)) { return false; } if (OlympiadManager.getInstance().isRegisteredInComp(activeChar)) { activeChar.sendPacket(SystemMessageId.WHILE_YOU_ARE_ON_THE_WAITING_LIST_YOU_ARE_NOT_ALLOWED_TO_WATCH_THE_GAME); return false; } if (!Olympiad.getInstance().inCompPeriod()) { activeChar.sendPacket(SystemMessageId.THE_OLYMPIAD_GAME_IS_NOT_CURRENTLY_IN_PROGRESS); return false; } if (activeChar.isOnEvent()) { activeChar.sendMessage("You can not observe games while registered on an event"); return false; } final int arenaId = Integer.parseInt(command.substring(12).trim()); final OlympiadGameTask nextArena = OlympiadGameManager.getInstance().getOlympiadTask(arenaId); if (nextArena != null) { activeChar.enterOlympiadObserverMode(nextArena.getZone().getSpawns().get(0), arenaId); activeChar.setInstanceId(OlympiadGameManager.getInstance().getOlympiadTask(arenaId).getZone().getInstanceId()); } } return true; } catch (Exception e) { _log.log(Level.WARNING, "Exception in " + getClass().getSimpleName(), e); } return false; } @Override public final String[] getBypassList() { return COMMANDS; } } Ty ppl for all.!!! Happy 2014
-
I buy bot working innova server. :rage:
-
Listen offert. trust and reliability
-
:happyforever:
-
Hi5 Pack + Mods for PvP server.
MaKasTreRo replied to MaKasTreRo's topic in Marketplace [L2Packs & Files]
Bump! -
Seeking coder confidence hi5 serious project, interested in datapack with mods designed for my not very complex , balance class and skill 100% fix. PM me :happyforever:
-
I help modify siege and territory war to be every week. Thanks
-
They have made the game for consoles, so we have that shit of menu ...
-
Code Rank Pvp System 3.8.9 [Il - H5]
MaKasTreRo replied to << Masterio >>'s topic in Server Shares & Files [L2J]
Work in Freya? -
As exit the pvp zone? flag always, I would not let gk using state flag. Using to village? or is there some type command. res to reappear at random respawn
-
Code Rank Pvp System 3.8.9 [Il - H5]
MaKasTreRo replied to << Masterio >>'s topic in Server Shares & Files [L2J]
Thanks friend, a question: how I can remove the button reward (loser)and details. -
Code Rank Pvp System 3.8.9 [Il - H5]
MaKasTreRo replied to << Masterio >>'s topic in Server Shares & Files [L2J]
Fix HitTask? -
I need Town War for Hi5 stable
MaKasTreRo posted a question in Request Server Development Help [L2J]
The forum no have Town War for hi5 work. Plz help me!
