Jump to content

Multifunctionzone


^Wyatt

Recommended Posts

i use acis and i have prob in die.java how to modify this to work in acis???

if you have problems when adapting...

post your code and your problem in the correct section

here

 

pd: looking for someone with this patch added and working to help me testing one thing, send pm plz

Link to comment
Share on other sites

Update V.1.2 !

also corrected an error of interlude patch

 

# If set to false, zone will be no-restart zone

NoRestartZone = False

 

# If set to false, zone will be no-logout zone

NoLogoutZone = False

 

# If set to false, zone will be no-store zone

NoStoreZone = False

 

# Give noblesse after revive?

ReviveNoblesse = False

 

# Heal after revive?

ReviveHeal = False

Now I see that config names should be different but nvm...

Link to comment
Share on other sites

awesome work !

Thanks for sharing !

 

One idea , since your revive tp is instant and automated you can disable to village button

 

### Eclipse Workspace Patch 1.0
#P L2J_Server
Index: java/com/l2jserver/gameserver/network/serverpackets/Die.java
===================================================================
--- java/com/l2jserver/gameserver/network/serverpackets/Die.java	(revision 5526)
+++ java/com/l2jserver/gameserver/network/serverpackets/Die.java	(working copy)
@@ -35,7 +35,7 @@
public class Die extends L2GameServerPacket
{
	private final int _charObjId;
-	private final boolean _canTeleport;
+	private boolean _canTeleport;
	private boolean _sweepable;
	private L2AccessLevel _access = AdminTable.getInstance().getAccessLevel(0);
	private L2Clan _clan;
@@ -58,6 +58,10 @@
		_canTeleport = !((cha.isPlayer() && TvTEvent.isStarted() && TvTEvent.isPlayerParticipant(_charObjId)) || cha.isPendingRevive());
		if (cha instanceof L2Attackable)
			_sweepable = ((L2Attackable) cha).isSweepActive();
+		if (cha instanceof L2PcInstance && L2MultiFunctionZone.revive == true && ((L2PcInstance)cha).getWorldRegion().containsZone(55555))
+		{
+			_canTeleport = false;
+		}

	}

 

 

Import 55555 id to your code and ready !

 

 

Dunno,its just an idea , but then there will be able to escape only with Gatekeeper !

 

Link to comment
Share on other sites

awesome work !

Thanks for sharing !

 

One idea , since your revive tp is instant and automated you can disable to village button

O_o... it's already done in my code

Link to comment
Share on other sites

O_o... it's already done in my code

true , i didnt check the whole code , i just read it fast !

 

 

anyway thanks for sharing ! :D

Link to comment
Share on other sites

true , i didnt check the whole code , i just read it fast !

anyway thanks for sharing ! :D

hahah no worries, ty.

 

Update!

Added patch for L2jServer H5 Beta, rev core:5639 datapack:9185

ty to valanths1990

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now



×
×
  • Create New...