Jump to content
  • 0

Multifuctionzone Annoying "to Village" Button -_-


xXObanXx

Question

Hello! guys!

 

so before some minute i've installed the MultiFuctionZone by ^Wyatt.

 

so i've correctly added all the code and on Die.java.... but this F@@@@ button doesn't want to stop appear on death... the edited code is here:

_canTeleport = (cha.canRevive() && !cha.isPendingRevive()) || (cha.isInsideZone(ZoneId.MULTI_FUNCTION) && !L2MultiFunctionZone.revive));

doesn't work...

 

also i've tried to test by adding this command:

if ((cha instanceof L2PcInstance) && cha.isInsideZone(ZoneId.MULTI_FUNCTION) && (L2MultiFunctionZone.revive == true))
		{
			_canTeleport = false;
		}

doesn't work -_-

please help me with this annoying part...! i can't configure it on CTF too and my brain is going to be broken! :P

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Fuck I didn't sleep kill meh, no logic working today.

Yes, my bad, it should be:

 

_canTeleport = cha.canRevive() && !cha.isPendingRevive() && !(cha.isInsideZone(ZoneId.MULTI_FUNCTION) && L2MultiFunctionZone.revive));
Edited by ^Wyatt
Link to comment
Share on other sites

  • 0

writeD(0x00) is your friend

if ((cha instanceof L2PcInstance) && cha.isInsideZone(ZoneId.MULTI_FUNCTION) && (L2MultiFunctionZone.revive == true))
		{
			_canTeleport = false;
+			writeD(0x00);
		}

am i ok?! :D

Link to comment
Share on other sites

  • 0

 

I guess it should look like:

_canTeleport = !(cha.canRevive() && !cha.isPendingRevive()) || (cha.isInsideZone(ZoneId.MULTI_FUNCTION) && L2MultiFunctionZone.revive));
Link to comment
Share on other sites

  • 0

I guess it should look like:

_canTeleport = !(cha.canRevive() && !cha.isPendingRevive()) || (cha.isInsideZone(ZoneId.MULTI_FUNCTION) && L2MultiFunctionZone.revive));

i'm gonna check that..!

 

 

edit:

 

as i was waiting...! working but working and on other areas...!!

Edited by xXObanXx
Link to comment
Share on other sites

  • 0

Fuck I didn't sleep kill meh, no logic working today.

Yes, my bad, it should be:

 

_canTeleport = cha.canRevive() && !cha.isPendingRevive() && !(cha.isInsideZone(ZoneId.MULTI_FUNCTION) && L2MultiFunctionZone.revive));

aaaaaand its working..! thank you dude! lock it!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...