Jump to content

Multifunctionzone


^Wyatt

Recommended Posts

# 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)

Link to comment
Share on other sites

  • 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

Link to comment
Share on other sites

 

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 :(

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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:

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now



×
×
  • Create New...