Amanda55
-
Posts
116 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by Amanda55
-
-
XP : 500
SP : 500
Adena : 500
Enchant:
Safe +4
Max +14
Blessed Scroll 100%
Easy Farm !
Visite www.l2flash.com for mor info
-
<?xml version='1.0' encoding='utf-8'?>
<list maintainEnchantment="true">
<item>
<ingredient id="57" count="1000" />
<production id="15575" count="1" enchantmentLevel="16"/>
<production id="15572" count="1" enchantmentLevel="16"/>
<production id="15578" count="1" enchantmentLevel="16"/>
<production id="15581" count="1" enchantmentLevel="16"/>
<production id="15584" count="1" enchantmentLevel="16"/>
</item>multisell.xsd:
</xs:element>
</xs:sequence>
<xs:attribute name="applyTaxes" type="xs:boolean" />
<list maintainEnchantment="true">
<xs:attribute name="useRate" type="xs:token" />
</xs:complexType>
</xs:element>dont work xD
-
i have <xs:attribute name="maintainEnchantment" type="xs:boolean" /> in multisell.xsd
-
<?xml version='1.0' encoding='utf-8'?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd" maintainEnchantment="true">
<item>
<ingredient id="57" count="1000" enchant="0"/>
<production id="15575" count="1" enchant="16"/>
<production id="15572" count="1" enchant="16"/>
<production id="15578" count="1" enchant="16"/>
<production id="15581" count="1" enchant="16"/>
<production id="15584" count="1" enchant="16"/>
</item>here ?
-
dont work
<item>
<ingredient id="57" count="1000" enchant="0"/>
<production id="15575" count="1" enchant="16"/>
<production id="15572" count="1" enchant="16"/>
<production id="15578" count="1" enchant="16"/>
<production id="15581" count="1" enchant="16"/>
<production id="15584" count="1" enchant="16"/>
</item>
<item>
<ingredient id="57" count="1000"/>
<production id="15576" count="1" enchant="16"/>
<production id="15573" count="1" enchant="16"/>
<production id="15579" count="1" enchant="16"/>
<production id="15582" count="1" enchant="16"/>
<production id="15585" count="1" enchant="16"/>
</item> -
how to add item enchant +16 in shop ?
ty for help
-
-
Point pvp after a kill in Zone Arena ( giran arena , etc )
-
* 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 com.end.gameserver.model.zone.type;
import com.end.gameserver.model.actor.L2Character;
import com.end.gameserver.model.actor.instance.L2PcInstance;
import com.end.gameserver.model.zone.L2ZoneType;
import com.end.gameserver.network.SystemMessageId;
/**
* A PVP Zone
* @author durgus
*/
public class L2ArenaZone extends L2ZoneType
{
public L2ArenaZone(int id)
{
super(id);
}
@Override
protected void onEnter(L2Character character)
{
if (character instanceof L2PcInstance)
{
if (!character.isInsideZone(L2Character.ZONE_PVP))
{
character.sendPacket(SystemMessageId.ENTERED_COMBAT_ZONE);
}
}
character.setInsideZone(L2Character.ZONE_PVP, true);
}
@Override
protected void onExit(L2Character character)
{
if (character instanceof L2PcInstance)
{
if (!character.isInsideZone(L2Character.ZONE_PVP))
{
character.sendPacket(SystemMessageId.LEFT_COMBAT_ZONE);
}
}
character.setInsideZone(L2Character.ZONE_PVP, false);
}
@Override
public void onDieInside(L2Character character)
{
}
@Override
public void onReviveInside(L2Character character)
{
}
}
Don't work
* 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 com.end.gameserver.model.zone.type;
import com.end.gameserver.model.actor.L2Character;
import com.end.gameserver.model.actor.instance.L2PcInstance;
import com.end.gameserver.model.zone.L2ZoneType;
import com.end.gameserver.network.SystemMessageId;
/**
* A PVP Zone
* @author durgus
*/
public class L2ArenaZone extends L2ZoneType
{
public L2ArenaZone(int id)
{
super(id);
}
@Override
protected void onEnter(L2Character character)
{
if (character instanceof L2PcInstance)
{
if (!character.isInsideZone(L2Character.ZONE_PVP))
{
character.sendPacket(SystemMessageId.ENTERED_COMBAT_ZONE);
}
}
character.setInsideZone(L2Character.ZONE_PVP, true);
}
@Override
protected void onExit(L2Character character)
{
if (character instanceof L2PcInstance)
{
if (!character.isInsideZone(L2Character.ZONE_PVP))
{
character.sendPacket(SystemMessageId.LEFT_COMBAT_ZONE);
}
}
character.setInsideZone(L2Character.ZONE_PVP, true);
}
@Override
public void onDieInside(L2Character character)
{
}
@Override
public void onReviveInside(L2Character character)
{
}
}
don't work too
-
I want :
ex: Coliseum ( zone arena ) don't give pvp point after a kill
i want :
i kill a player at Coliseum , i have a PvP point
i want just Add Point pvp in arena zone
-
-
where i make reward for All members of Pt in PVP ?
ty for help
-
where i add point pvp in arena zone in L2PcInstance.java ?
thx for ur help
-
not bad :P
-
-
Compil Ok
i will test ig :)
-
-
Small Error
if (activeChar.getClan().getMembersCount() >= "2") //// The operator >= is undefined for the argument type(s) int, string ////
And Compil error :
:72: error: bad operand types for binary operator '>='
[javac] if (activeChar.getClan().getMembersCount() >= "2")
[javac] ^
[javac] first type: int
[javac] second type: String
[javac] 1 error
-
Stewie don't work :/
exity where i put the code in:
public final class RequestJoinPledge extends L2GameClientPacket { private static final String _C__26_REQUESTJOINPLEDGE = "[C] 26 RequestJoinPledge"; private int _target; private int _pledgeType; @Override protected void readImpl() { _target = readD(); _pledgeType = readD(); } @Override protected void runImpl() { final L2PcInstance activeChar = getClient().getActiveChar(); if (activeChar == null) { return; } final L2Clan clan = activeChar.getClan(); if (clan == null) { return; } final L2PcInstance target = L2World.getInstance().getPlayer(_target); if (target == null) { activeChar.sendPacket(SystemMessageId.YOU_HAVE_INVITED_THE_WRONG_TARGET); return; } if (!clan.checkClanJoinCondition(activeChar, target, _pledgeType)) { return; } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if (activeChar.getClan().getMembersCount() >= "NUM") ( HERE ) ? { activeChar.sendMessage("Your clan is full!."); return; } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if (!activeChar.getRequest().setRequest(target, this)) { return; } final String pledgeName = activeChar.getClan().getName(); final String subPledgeName = (activeChar.getClan().getSubPledge(_pledgeType) != null ? activeChar.getClan().getSubPledge(_pledgeType).getName() : null); target.sendPacket(new AskJoinPledge(activeChar.getObjectId(), subPledgeName, _pledgeType, pledgeName)); } public int getPledgeType() { return _pledgeType; } @Override public String getType() { return _C__26_REQUESTJOINPLEDGE; } }
-
Where i make max 2 clan members
/** * @param pledgeType the Id of the pledge type. * @return the maximum number of members allowed for a given {@code pledgeType}. */ public int getMaxNrOfMembers(int pledgeType) { int limit = 2; switch (pledgeType) { case 0: switch (getLevel()) { case 3: limit = 2; break; case 2: limit = 2; break; case 1: limit = 2; break; case 0: limit = 2; break; default: limit = 2; break; } break; case -1: limit = 2; break; case 100: case 200: switch (getLevel()) { case 11: limit = 2; break; default: limit = 2; break; } break; case 1001: case 1002: case 2001: case 2002: switch (getLevel()) { case 9: case 10: case 11: limit = 2; break; default: limit = 2; break; } break; default: break; } return limit; }
Don't work
ty for help
-
hi all who have a Top pvp with numbers of death per players
thx for help
( Sorry for wrong section ! )
-
Hi all who have a top clan with Numbers of kill and Deaths ?
thx for ur help
( Sorry for wrong section ! )
-
i have a probleme with my Top Arena,Fisherman,Craft,TvT
gameserver\data\scripts\handlers\bypasshandlers\Leaderboard.java
package handlers.bypasshandlers;import com.l2jserver.Config;
import com.l2jserver.gameserver.handler.IBypassHandler;
import com.l2jserver.gameserver.instancemanager.leaderboards.ArenaLeaderboard;
import com.l2jserver.gameserver.instancemanager.leaderboards.CraftLeaderboard;
import com.l2jserver.gameserver.instancemanager.leaderboards.FishermanLeaderboard;
import com.l2jserver.gameserver.instancemanager.leaderboards.TvTLeaderboard;
import com.l2jserver.gameserver.model.actor.L2Character;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;
/**
* @author Gnacik
*/
public class Leaderboard implements IBypassHandler
{
private static final String[] COMMANDS =
{
"rank_arena_info",
"rank_fisherman_info",
"rank_craft_info",
"rank_tvt_info"
};
@Override
public boolean useBypass(String command, L2PcInstance activeChar, L2Character target)
{
if (!(target instanceof L2Npc))
return false;
NpcHtmlMessage html = new NpcHtmlMessage(((L2Npc)target).getObjectId());
if (command.toLowerCase().startsWith(COMMANDS[0]) && Config.RANK_ARENA_ENABLED)
{
html.setHtml(ArenaLeaderboard.getInstance().showHtm(activeChar.getObjectId()));
activeChar.sendPacket(html);
}
else if (command.toLowerCase().startsWith(COMMANDS[1]) && Config.RANK_FISHERMAN_ENABLED)
{
html.setHtml(FishermanLeaderboard.getInstance().showHtm(activeChar.getObjectId()));
activeChar.sendPacket(html);
}
else if (command.toLowerCase().startsWith(COMMANDS[2]) && Config.RANK_CRAFT_ENABLED)
{
html.setHtml(CraftLeaderboard.getInstance().showHtm(activeChar.getObjectId()));
activeChar.sendPacket(html);
}
else if (command.toLowerCase().startsWith(COMMANDS[3]) && Config.RANK_TVT_ENABLED)
{
html.setHtml(TvTLeaderboard.getInstance().showHtm(activeChar.getObjectId()));
activeChar.sendPacket(html);
}
return false;
}
@Override
public String[] getBypassList()
{
return COMMANDS;
}
}
gameserver\config\Event\leaderboards.properties
#==============================================================## Arena LeaderBoards #
#==============================================================#
# Required: CustomNpcTable = True
# Default: False
RankArenaEnabled = True
# Interval in minutes
RankArenaInterval = 500
# Reward ID
RankArenaRewardId = 57
# Reward amount 0 to disable
RankArenaRewardCount = 1000000
#==============================================================#
# Fisherman LeaderBoards #
#==============================================================#
# Required: CustomNpcTable = True
# Default: False
RankFishermanEnabled = True
# Interval in minutes
RankFishermanInterval = 120
# Reward ID
RankFishermanRewardId = 57
# Reward amount 0 to disable
RankFishermanRewardCount = 5000000
#==============================================================#
# Craft LeaderBoards #
#==============================================================#
# Required: CustomNpcTable = True
# Default: False
RankCraftEnabled = True
# Interval in minutes
RankCraftInterval = 120
# Reward ID
RankCraftRewardId = 57
# Reward amount 0 to disable
RankCraftRewardCount = 5000000
#==============================================================#
# TvT LeaderBoards #
#==============================================================#
# Required: CustomNpcTable = True
# Default: False
RankTvTEnabled = True
# Interval in minutes
RankTvTInterval = 200
# Reward ID
RankTvTRewardId = 6673
# Reward amount 0 to disable
RankTvTRewardCount = 100
gameserver\data\html\default\8888.html
<html><body>Rank Stone:<br>Many years ago, a <font color=LEVEL>Mysterious Aura</font> occurred in all cities to protect key players. This aura is always present and have rewards for everyone who works enough to get the prizes.<br>
Aren't you? anyways congratulations, at this moment you are talking with a stone.<br><br>
<a action="bypass -h npc_%objectId%_rank_arena_info">Arena Top Players Rank</a><br>
<a action="bypass -h npc_%objectId%_rank_fisherman_info">Fisherman Top Players Rank</a><br>
<a action="bypass -h npc_%objectId%_rank_craft_info">Craft Top Players Rank</a><br>
<a action="bypass -h npc_%objectId%_rank_tvt_info">TvT Top Players Rank</a>
</body></html>
Ex : i make a pvp in zone Arena and i don't see the name of player in top
thx for help , i don't see error :/
-
hi all !
who have a ranking of All arena zone ? with Position, Name, kill , death
thx for help
L2 Flash X500 * Full Pvp *
in Private Servers
Posted · Edited by Amanda55
XP : 500
SP : 500
Adena : 500
Enchant:
Safe +4
Max +14
Blessed Scroll 100%
Easy Farm !
Visite www.l2flash.com for mor info