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);
}
Both are in-game bots. I'm looking for an out-of-game bot ((one that doesn’t require the L2 client).
Hmm, never heard about this bot. Will check, thank you
🎉 L2Mid is back!
After a 3-year pause, we’re launching a new Interlude server based on the original Interlude client (old school 😉).
What to expect
• The classic Interlude spirit
• Old friends, rival clans, and returning legends
• A season focused on pure nostalgia
This may be our final Interlude server. (maybe 😉)
🗓️ Opening: December 5, 2025 at 20:00 (GMT+2)
https://l2mid.com
I imported this file using Unreal Engine 2 Runtime, modified it, saved it back, and then placed it on the client. When I run the game and wear this back accessory, the client crashes!
2025.10.28 03:52:59
OS : Windows XP 5.1 (Build: 2600)
CPU : GenuineIntel Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz @ 3697 MHz 1023MB RAM
Video : NVIDIA GeForce GT 730 (3064)
PosCode : TS4(273) -119:-62:-1474 4/1 [0]
SkeletalMesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel: Serial size mismatch: Got 383399, Expected 383403
History: LoadObject <- (SkeletalMesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel 8376427==8376427/8376498 7993028 383403) <- ULinkerLoad::Preload <- PreLoadObjects <- UObject::EndLoad <- UObject::StaticLoadObject <- (Engine.Mesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel NULL) <- UMeshComponent::LoadMeshComponent <- UMeshContainer::UpdateMeshComponents <- APawn::UpdateMeshComponents <- User::UpdatePawnMeshContainerByItem <- User::UpdatePawnMeshContainer <- User::SetPawnResource <- NCPawnView_InvenItemWnd::OnRButtonDown <- NCVirtualWndMain::SetFocusingWindow <- NCVirtualWndMain::DispatchWndMsg <- NConsoleWnd::DispatchWndMsg <- NConsoleWnd::MasterConsoleEventProcess <- UEngine::InputEvent <- UWindowsViewport::CauseInputEvent <- UWindowsViewport::UpdateInput <- UViewport::ReadInput <- APlayerController::Tick <- ALineagePlayerController::Tick <- TickAllActors <- ULevel::Tick <- (NetMode=0) <- UMasterLevel::Tick <- TickLevel <- UGameEngine::Tick <- UpdateWorld <- MainLoop
I don't know what the reason is. Can you help me?
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
1 answer to this question
Recommended Posts