Jump to content

Recommended Posts

Posted

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

Posted

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...

Posted

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 !

 

Posted

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

Posted

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

Posted

as i see code need some edit i belevie what everyone1 need that,

 

1st if u hit some1 in that zone u dont flaged

2nd if u enable flag when u enter u dont get +1 at pvps and u dont get any reward.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...