Hello, i have added multifuncion zone from this site. Everything is fine, but when player die inside zone (multifuncion) then he deflag after ~30 seconds.
Multifuncion .java
public void onDieInside(final L2Character character)
{
if (character instanceof L2PcInstance)
{
final L2PcInstance activeChar = ((L2PcInstance) character);
activeChar.updatePvPFlag(1);
L2PcInstance.java
public boolean doDie(final L2Character killer)
{
if (isInsideZone(ZONE_MULTIFUNCTION))
{
updatePvPFlag(1);
}
public void updatePvPStatus()
{
if ((TvT.is_started() && _inEventTvT) || (CTF.is_started() && _inEventCTF) || (DM.is_started() && _inEventDM) || (VIP._started && _inEventVIP))
return;
if (isInsideZone(ZONE_PVP))
return;
if (isInsideZone(ZONE_MULTIFUNCTION))
{
updatePvPFlag(1);
}
setPvpFlagLasts(System.currentTimeMillis() + Config.PVP_NORMAL_TIME);
if (getPvpFlag() == 0)
{
startPvPFlag();
}
}
public void updatePvPStatus(final L2Character target)
{
L2PcInstance player_target = null;
if (isInsideZone(ZONE_MULTIFUNCTION) || player_target.isInsideZone(ZONE_MULTIFUNCTION))
{
updatePvPFlag(1);
}
L2Character.java
public boolean doDie(final L2Character killer)
{
if (this instanceof L2PcInstance)
{
final L2PcInstance player = (L2PcInstance) this;
if (player.isInsideZone(ZONE_MULTIFUNCTION))
{
updatePvPFlag(1);
}
these are all Korean customers https://gyazo.com/2662ff349f76993ac909db8d7b2273a6 166 is the version of saviors in Russian localization and the euro taiwan is called differently, the engine there, too, the other will not work without changes for the original server.
everything works on original ncsoft files https://www.youtube.com/watch?v=73uNkAhFyGki know that you are asking the client 162 166 but tell me what files you will give in return that will really be useful and i will think
now installed live version from svn L2_LIVE_LSERVER - CLIENT166 - REVISION 24I didn’t change anything in the client, but I immediately changed the title of the game on login and added this item to character creation
https://gyazo.com/0e874f58d330780466a3be28293774e7
https://gyazo.com/e4b066ffcea1a1b37ebd81a8e3e7002f
Kamel and Ertea race was also opened
https://gyazo.com/15ff03b495e723d6736176c0de1ecd6a
Selling items list:
DYN R 55%+8
DYN L 55% +87776
Halisha +13
Dstaff+14
LF+12 x2
Falstone+5
Horuth+6
KandrA+7
Gara+6
Only in bulk, Price 150eur negotiable! The exchange will be done via any of the MODS as middleman!
Question
l2fire
Hello, i have added multifuncion zone from this site. Everything is fine, but when player die inside zone (multifuncion) then he deflag after ~30 seconds.
Multifuncion .java
public void onDieInside(final L2Character character) { if (character instanceof L2PcInstance) { final L2PcInstance activeChar = ((L2PcInstance) character); activeChar.updatePvPFlag(1);
L2PcInstance.java
public boolean doDie(final L2Character killer) { if (isInsideZone(ZONE_MULTIFUNCTION)) { updatePvPFlag(1); } public void updatePvPStatus() { if ((TvT.is_started() && _inEventTvT) || (CTF.is_started() && _inEventCTF) || (DM.is_started() && _inEventDM) || (VIP._started && _inEventVIP)) return; if (isInsideZone(ZONE_PVP)) return; if (isInsideZone(ZONE_MULTIFUNCTION)) { updatePvPFlag(1); } setPvpFlagLasts(System.currentTimeMillis() + Config.PVP_NORMAL_TIME); if (getPvpFlag() == 0) { startPvPFlag(); } } public void updatePvPStatus(final L2Character target) { L2PcInstance player_target = null; if (isInsideZone(ZONE_MULTIFUNCTION) || player_target.isInsideZone(ZONE_MULTIFUNCTION)) { updatePvPFlag(1); }
L2Character.java
public boolean doDie(final L2Character killer) { if (this instanceof L2PcInstance) { final L2PcInstance player = (L2PcInstance) this; if (player.isInsideZone(ZONE_MULTIFUNCTION)) { updatePvPFlag(1); }
pack: l2jfrozen
Link to comment
Share on other sites
1 answer to this question
Recommended Posts