Skip to content

Multifunctionzone

Featured Replies

I have clean line and I can normally enter the zone with S grades :P

I have clean line and I can normally enter the zone with S grades :P

 

ok try using the Major Arcana is only with her blocking.

 

hqit.jpg

# List of Items(id's) that won't be usable inside this area and also will be unequiped when entering
# (armor, weapons, scrolls, potions, etc), example: 728,7575, 6383, 1538
Items = 7575,6383,1538

sorry friends :-[ had not noticed the restricted items (6383)

how to change zone? 

 

crystall caverns for tower of insolence 14

  • 2 months later...
arning: [options] bootstrap class path not set in conjunction with -source 1.6

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:83: error: ')' expected

    [javac] if(classes != null && classes.contains(""activeChar.getClassId().getId()))

    [javac]                                         ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:83: error: illegal start of expression

    [javac] if(classes != null && classes.contains(""activeChar.getClassId().getId()))

    [javac]                                                   ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:83: error: ';' expected

    [javac] if(classes != null && classes.contains(""activeChar.getClassId().getId()))

    [javac]                                                    ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:83: error: illegal start of expression

    [javac] if(classes != null && classes.contains(""activeChar.getClassId().getId()))

    [javac]                                                               ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:83: error: ';' expected

    [javac] if(classes != null && classes.contains(""activeChar.getClassId().getId()))

    [javac]                                                                        ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:96: error: ')' expected

    [javac] activeChar.sendMessage(o.getItemName()" unequiped because is not allowed inside this zone.");

    [javac]                                      ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:96: error: illegal start of expression

    [javac] activeChar.sendMessage(o.getItemName()" unequiped because is not allowed inside this zone.");

    [javac]                                                                                           ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ')' expected

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                    ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: illegal start of expression

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                       ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                           ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: not a statement

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                             ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                                   ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: not a statement

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                                    ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                                          ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: not a statement

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                                                ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                                                   ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                                                                          ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: not a statement

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                                                                               ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected

    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);

    [javac]                                                                                                  ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: ')' expected

    [javac] if(items != null && items.contains(""item.getItemId()))

    [javac]                                     ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: illegal start of expression

    [javac] if(items != null && items.contains(""item.getItemId()))

    [javac]                                         ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: ';' expected

    [javac] if(items != null && items.contains(""item.getItemId()))

    [javac]                                          ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: illegal start of expression

    [javac] if(items != null && items.contains(""item.getItemId()))

    [javac]                                                    ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: not a statement

    [javac] if(items != null && items.contains(""item.getItemId()))

    [javac]                                                   ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: ';' expected

    [javac] if(items != null && items.contains(""item.getItemId()))

    [javac]                                                     ^

    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:337: error: not a statement

    [javac] i;

    [javac] ^

    [javac] 26 errors

    [javac] 1 warning

 

 

 

 

why i get this errors every time ?:S

 

arning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:83: error: ')' expected
    [javac] if(classes != null && classes.contains(""activeChar.getClassId().getId()))
    [javac]                                         ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:83: error: illegal start of expression
    [javac] if(classes != null && classes.contains(""activeChar.getClassId().getId()))
    [javac]                                                   ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:83: error: ';' expected
    [javac] if(classes != null && classes.contains(""activeChar.getClassId().getId()))
    [javac]                                                    ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:83: error: illegal start of expression
    [javac] if(classes != null && classes.contains(""activeChar.getClassId().getId()))
    [javac]                                                               ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:83: error: ';' expected
    [javac] if(classes != null && classes.contains(""activeChar.getClassId().getId()))
    [javac]                                                                        ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:96: error: ')' expected
    [javac] activeChar.sendMessage(o.getItemName()" unequiped because is not allowed inside this zone.");
    [javac]                                      ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:96: error: illegal start of expression
    [javac] activeChar.sendMessage(o.getItemName()" unequiped because is not allowed inside this zone.");
    [javac]                                                                                           ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ')' expected
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                    ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: illegal start of expression
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                       ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                           ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: not a statement
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                             ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                                   ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: not a statement
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                                    ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                                          ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: not a statement
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                                                ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                                                   ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                                                                          ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: not a statement
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                                                                               ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:140: error: ';' expected
    [javac]     activeChar.teleToLocation(loc[0]Rnd.get(-radius,radius), loc[1]Rnd.get(-radius,radius), loc[2]);
    [javac]                                                                                                  ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: ')' expected
    [javac] if(items != null && items.contains(""item.getItemId()))
    [javac]                                     ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: illegal start of expression
    [javac] if(items != null && items.contains(""item.getItemId()))
    [javac]                                         ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: ';' expected
    [javac] if(items != null && items.contains(""item.getItemId()))
    [javac]                                          ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: illegal start of expression
    [javac] if(items != null && items.contains(""item.getItemId()))
    [javac]                                                    ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: not a statement
    [javac] if(items != null && items.contains(""item.getItemId()))
    [javac]                                                   ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:220: error: ';' expected
    [javac] if(items != null && items.contains(""item.getItemId()))
    [javac]                                                     ^
    [javac] C:\workspace2\e\gameserver\head-src\com\l2jfrozen\gameserver\model\zone\type\L2MultiFunctionZone.java:337: error: not a statement
    [javac] i;
    [javac] ^
    [javac] 26 errors
    [javac] 1 warning
 
 
 
 
why i get this errors every time ?:S

sory guys its my wrong i deleted all (+) and i get this errors :(

I got a bug..

Don't know from what reason, but there's a strange but with this zone.

 

Even if i setted it to "valakas lair", the entyre map is considered beying a multifunctionzone...

 

The auto-flag works only in valakas lair but for example if a player dies in talking island for example (my farm area), the button with  "to village" won't show up.

They can't go to village because that zone is considered as multifunctionzone BUT they also don't get auto-respawn...

Simply they get stucked where they died.

 

This bug hapens when flagged players die.. If you die without flag, u see the "To village" button...

 

Anyone any suggests what can be wrong?

I cant make this zone work , I compiled everything without errors , added MultiFunctionzone.xml to zones folder.

 

ACIS REV 310

<?xml version="1.0" encoding="UTF-8"?>
<list>
<zone type="MultiFunctionZone" shape="Npoly" minZ="-7322" maxZ="-7122">
<node X="178284" Y="-83916" />
<node X="178969" Y="-83889" />
<node X="179057" Y="-83923" />
<node X="179978" Y="-84850" />
<node X="179993" Y="-85582" />
<node X="179984" Y="-86230" />
<node X="179944" Y="-86320" />
<node X="179331" Y="-86924" />
<node X="179028" Y="-87228" />
<node X="178296" Y="-87257" />
<node X="177665" Y="-87259" />
<node X="176698" Y="-86324" />
<node X="176667" Y="-85597" />

</zone>	
</list>

nothing seems to work , im trying to add 4s as multifunctionzone. I even disabled 4s to see if that was bugged but nothing.

Good. Something's happened to the code for aCis.? regards

I was looking at the code and I think it acis need this part. because without that I do not think going to work] Multifunctionzone.

### Eclipse Workspace Patch 1.0
#P L2J_DataPack
Index: dist/game/data/zones/peace_zones.xml
===================================================================
--- dist/game/data/zones/peace_zones.xml        (revision 9174)
+++ dist/game/data/zones/peace_zones.xml        (working copy)
@@ -978,4 +978,10 @@
                <node X="-113768" Y="-150965" />
                <node X="-115424" Y="-150965" />
        </zone>
+       <zone name="Custom" 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>
</list>
\ No newline at end of file

Wrong, you need seperated file MultifunctionZone.xml

Man, not need. ^^

I use on aCis in any zone.xml

Only need put type="MultiFunctionZone"

:D

Man, not need. ^^

I use on aCis in any zone.xml

Only need put type="MultiFunctionZone"

:D

Oh well.. I prefer things to be organized :P

Oh well.. I prefer things to be organized :P

Yes, i also prefer, is much better..

 

Does anyone know if it is normal not show "To village" when die?  :huh:

don't remove this line if u dont want "to village" button to dissapear

 

 

java/net/sf/l2j/gameserver/network/serverpackets/Die.java

-            writeD(0x01); // to nearest village

and if you add this line and remove the line above , to village button will be gone.

 

+            writeD(_canTeleport ? 0x01 : 0); // to nearest village

Edited by ton3

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.