Page 3 of 4

Re: New Revision

Posted: Sat Dec 11, 2010 7:49 pm
by _DS_
GTFO and test ?

Re: New Revision

Posted: Sun Dec 12, 2010 12:03 pm
by Micr0
plss help me

when i try discard item i get error in console

Code: Select all

Client: [Character: micro[268482545] - Account: iliqbg - IP: 93.155.164.206] - F ailed running: [C] 12 RequestDropItem? - L2J Server Version: ${l2j.revision} - DP     Revision: ${l2jdp.revision} ; 21 java.lang.ArrayIndexOutOfBoundsException?: 21     at com.l2jserver.gameserver.model.actor.L2Character.isInsideZone(L2Chara cter.java:291)     at com.l2jserver.gameserver.network.clientpackets.RequestDropItem?.runImp l(RequestDropItem?.java:72)     at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run (L2GameClientPacket.java:62)     at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1 003)     at java.util.concurrent.ThreadPoolExecutor?$Worker.runTask(Unknown Source )     at java.util.concurrent.ThreadPoolExecutor?$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
line 291 L2Character.java

Code: Select all

    public final boolean isInsideZone(final byte zone)    {        Instance instance = InstanceManager.getInstance().getInstance(getInstanceId());        switch (zone)        {            case ZONE_PVP:                if (instance != null && instance.isPvPInstance())                    return true;                return _zones[ZONE_PVP] > 0 && _zones[ZONE_PEACE] == 0;            case ZONE_PEACE:                if (instance != null && instance.isPvPInstance())                    return false;        }        return _zones[zone] > 0; this is line 291    }
last rev

Re: New Revision

Posted: Mon Dec 13, 2010 12:44 am
by momo61
Is it possible that L2J did some mistakes with the newest release? It seems that by looking at the code, that you forgot some important olympiad codes :s

like these lines are removed, but they are not re-added anywhere in the core.

Code: Select all

-   public static void addSpectator(int id, L2PcInstance spectator, boolean storeCoords)-   {-       if (getInstance().isRegisteredInComp(spectator))-       {-           spectator.sendPacket(new SystemMessage(SystemMessageId.WHILE_YOU_ARE_ON_THE_WAITING_LIST_YOU_ARE_NOT_ALLOWED_TO_WATCH_THE_GAME));-           return;-       }-       if (!TvTEvent.isInactive() && TvTEvent.isPlayerParticipant(spectator.getObjectId()))-       {-           spectator.sendMessage("You can not observe games while registered for TvT");-           return;-       }-       -       OlympiadManager.STADIUMS[id].addSpectator(id, spectator, storeCoords);-       -       if (storeCoords)-           handleSpectatorEnter(id, spectator); //npc bypass
or

Code: Select all

-       if (!noble.isNoble())-       {-           sm = new SystemMessage(SystemMessageId.C1_DOES_NOT_MEET_REQUIREMENTS_ONLY_NOBLESS_CAN_PARTICIPATE_IN_THE_OLYMPIAD);-           sm.addPcName(noble);-           noble.sendPacket(sm);-           return false;-       }-       -       /** Begin Olympiad Restrictions */-       if (noble.getBaseClass() != noble.getClassId().getId())-       {-           sm = new SystemMessage(SystemMessageId.C1_CANT_JOIN_THE_OLYMPIAD_WITH_A_SUB_CLASS_CHARACTER);-           sm.addPcName(noble);-           noble.sendPacket(sm);-           return false;-       }-       if (noble.isCursedWeaponEquipped())-       {-           sm = new SystemMessage(SystemMessageId.C1_CANNOT_JOIN_OLYMPIAD_POSSESSING_S2);-           sm.addPcName(noble);-           sm.addItemName(noble.getCursedWeaponEquippedId());-           noble.sendPacket(sm);-           return false;-       }-       if (!noble.isInventoryUnder80(true))-       {-           sm = new SystemMessage(SystemMessageId.C1_CANNOT_PARTICIPATE_IN_OLYMPIAD_INVENTORY_SLOT_EXCEEDS_80_PERCENT);-           sm.addPcName(noble);-           noble.sendPacket(sm);-           return false;-       }-       if (getMillisToCompEnd() < 600000)-       {-           sm = new SystemMessage(SystemMessageId.GAME_REQUEST_CANNOT_BE_MADE);-           noble.sendPacket(sm);-           return false;-       }-       if (TvTEvent.isPlayerParticipant(noble.getObjectId()))-       {-           noble.sendMessage("You can't join olympiad while participating on TvT Event.");-           return false;-       }

Re: New Revision

Posted: Mon Dec 13, 2010 1:29 am
by _DS_
Read code more carefully.

Re: New Revision

Posted: Mon Dec 13, 2010 8:26 pm
by Sirpaypi
Hello, can someone tell me how to increase java heap space for eclipse.

Re: New Revision

Posted: Mon Dec 13, 2010 8:33 pm
by badboy29
Edit your eclipse.ini and increase your Xmx and Xms (heap spaces).

Re: New Revision

Posted: Mon Dec 13, 2010 8:35 pm
by Sirpaypi
Here is the edit :

Code: Select all

--launcher.XXMaxPermSize256M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize512m

Re: New Revision

Posted: Mon Dec 13, 2010 8:35 pm
by badboy29
Try this:

Code: Select all

-startupplugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.0.200.v20090519-showsplashorg.eclipse.platform--launcher.XXMaxPermSize256m-vmargs-Xms512m-Xmx1g 

Re: New Revision

Posted: Mon Dec 13, 2010 8:42 pm
by Sirpaypi
Fixed :

Code: Select all

-startupplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810-productorg.eclipse.epp.package.java.product--launcher.defaultActionopenFile--launcher.XXMaxPermSize256M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize256m--launcher.defaultActionopenFile-vmargs-Dosgi.requiredJavaVersion=1.5-Xms512m-Xmx1024m 

Re: New Revision

Posted: Mon Dec 13, 2010 8:51 pm
by jurchiks
Sirpayapi - your ini contains double entry for these:
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile

My ini:

Code: Select all

-showlocation-showsplashorg.eclipse.platform--launcher.defaultActionopenFile-vmC:/Program Files/Java/jdk1.6.0_22/jre/bin/server/jvm.dll-vmargs-Dcom.sun.management.jmxremote-XX:+HeapDumpOnOutOfMemoryError-XX:+HeapDumpOnCtrlBreak-Dosgi.requiredJavaVersion=1.6-Xms128m-Xmx384m-Xss4m-XX:PermSize=128m-XX:MaxPermSize=384m-XX:CompileThreshold=5-XX:MaxGCPauseMillis=10-XX:MaxHeapFreeRatio=70-XX:+CMSIncrementalPacing-XX:+UnlockExperimentalVMOptions-XX:+UseG1GC-XX:+UseFastAccessorMethods 

Re: New Revision

Posted: Tue Dec 14, 2010 12:06 pm
by gabrielhw
I have the
L2J Revision 4223
Revision 7669 L2JDP


To upgrade to latest version.
Simply update the svn, and use the database_installer.sh update to update my database?

So all the modifications that would be 100% latest version?

I'm more worried about the database, issue the config folder just get generated and the new copy of my current folders (.properties)

Re: New Revision

Posted: Wed Dec 22, 2010 12:57 am
by La2Servers
gabrielhw wrote:I have the
L2J Revision 4223
Revision 7669 L2JDP


To upgrade to latest version.
Simply update the svn, and use the database_installer.sh update to update my database?

So all the modifications that would be 100% latest version?

I'm more worried about the database, issue the config folder just get generated and the new copy of my current folders (.properties)
Make database archive, and use Google :mrgreen:

Re: New Revision

Posted: Mon Jan 10, 2011 2:04 pm
by ksmxbg
qwerty13 wrote:Agree with DS. Hellbound not so important when exists many quests and drops for s80\4 etc.
can you say them ? What ways works in L2j for collecting S80/4 ?

thanks in advice

Re: New Revision

Posted: Mon Jan 24, 2011 8:07 pm
by ksmxbg
ksmxbg wrote:
qwerty13 wrote:Agree with DS. Hellbound not so important when exists many quests and drops for s80\4 etc.
can you say them ? What ways works in L2j for collecting S80/4 ?

thanks in advice
YOUP :arrow:

Re: New Revision

Posted: Mon Jan 24, 2011 9:39 pm
by dark911_ro
ksmxbg wrote:
ksmxbg wrote:
qwerty13 wrote:Agree with DS. Hellbound not so important when exists many quests and drops for s80\4 etc.
can you say them ? What ways works in L2j for collecting S80/4 ?

thanks in advice
YOUP :arrow:
Since freya - > Quests and drops in : giants cave , beast farm , plains of lizardman , soa, mos , etc.