Jump to content
  • 0

Multifuctionzone Annoying "to Village" Button -_-


Question

Posted

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

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

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
  • 0
Posted

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

  • 0
Posted

 

I guess it should look like:

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

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
  • 0
Posted

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!

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..