Jump to content

Multifunctionzone


^Wyatt

Recommended Posts

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

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

<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

Link to comment
Share on other sites

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