Skip to content

Multifunctionzone

Featured Replies

Yes I Have Ideas

 

No Party IN Zone

Differently name

karma =Jail

Pk = Jail

no chat

Another Race

 

 

As exit the pvp zone? flag always, I would not let gk using state flag.

Using to village? or is there some type command. res to reappear at random respawn

Friend I have this error in the gameserver

java.lang.NullPointerException

at com.l2jserver.gameserver.model.zone.type.L2MultiFunctionZone.checkItem(L2MultiFunctionZone.java:220)

at com.l2jserver.gameserver.model.zone.type.L2MultiFunctionZone.onEnter(L2MultiFunctionZone.java:93)

at com.l2jserver.gameserver.model.zone.L2ZoneType.revalidateInZone(L2ZoneType.java:338)

at com.l2jserver.gameserver.model.L2WorldRegion.revalidateZones(L2WorldRegion.java:103)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.revalidateZone(L2PcInstance.java:2010)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.onTeleported(L2PcInstance.java:11206)

at com.l2jserver.gameserver.network.clientpackets.Appearing.runImpl(Appearing.java:44)

at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)

at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1000)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

 

I hope answers thank you very much for the great contribution certainly use Freya last revision.

 

Excuse my English use a translator.

 

  • 4 weeks later...

L2JBeta -

    [javac] \java\com\l2jserver\gameserver\model\zone\type\L2MultiFunctionZone.java:182: error: cannot find symbol
    [javac] 				L2Summon pet = player.getPet();
    [javac] 				                     ^
    [javac]   symbol:   method getPet()
    [javac]   location: variable player of type L2PcInstance

 

2 of those errors in eclipse...

 

Fixed, changed getPet to getSummon...

I HAVE THIS PROBLEM

 

e154a827a958.jpg

 

 

why????

 

Same here...

 

Solvet

 

Maybe share solution please?

L2JBeta -

    [javac] \java\com\l2jserver\gameserver\model\zone\type\L2MultiFunctionZone.java:182: error: cannot find symbol
    [javac] 				L2Summon pet = player.getPet();
    [javac] 				                     ^
    [javac]   symbol:   method getPet()
    [javac]   location: variable player of type L2PcInstance

 

2 of those errors in eclipse...

 

Fixed, changed getPet to getSummon...

 

Eclipse itself has its own corrective solutions.

 

I can't imagine some people without the help of these programs, and you don't know how to take advantage of them.

Eclipse itself has its own corrective solutions.

 

I can't imagine some people without the help of these programs, and you don't know how to take advantage of them.

Eclipse didn't show the solution I used.. It showed me other things as isPet, which caused new problems and of course is wrong. I just had forgotten in what kind of method the getPet one changed.. I tried getServitor, but well it at last I tried getSummon and it worked so...

Fix error  ;)

 

- L2Summon pet = player.getPet();
+ L2Summon pet = player.getSummon();

java.lang.NullPointerException

at com.l2jserver.gameserver.model.zone.type.L2MultiFunctionZone.checkItem(L2MultiFunctionZone.java:220)

at com.l2jserver.gameserver.model.zone.type.L2MultiFunctionZone.onEnter(L2MultiFunctionZone.java:93)

at com.l2jserver.gameserver.model.zone.L2ZoneType.revalidateInZone(L2ZoneType.java:338)

at com.l2jserver.gameserver.model.L2WorldRegion.revalidateZones(L2WorldRegion.java:103)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.revalidateZone(L2PcInstance.java:2010)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.onTeleported(L2PcInstance.java:11206)

at com.l2jserver.gameserver.network.clientpackets.Appearing.runImpl(Appearing.java:44)

at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)

at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1000)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

 

Any solution yet? And I 'd like to ask how it would be possible to create a second Multifunction zone. For example I want 1 Zone to have S Grade only and 1 Zone everything allowed.

same error as the above one but on the bottom there is another error:

ZoneData: Bad data for zone: 11011 in file: zone.xml

same error as the above one but on the bottom there is another error:

 

Post the .xml file where you have added the Multifunction zone, would help^^

<zone name="MultiZone" type="MultiFunctionZone" shape="NPoly" minZ="-15000" maxZ="-10000">

<node X="130000" Y="160000" />

<node X="130000" Y="130000" />

<node X="160000" Y="130000" />

<node X="160000" Y="160000" />

</zone>

 

file name: peace.xml

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.