New Revision

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: New Revision

Post by _DS_ »

GTFO and test ?
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
Micr0
Posts: 119
Joined: Sun Sep 05, 2010 5:44 pm

Re: New Revision

Post 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
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

Re: New Revision

Post 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;-       }
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: New Revision

Post by _DS_ »

Read code more carefully.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
Sirpaypi
Posts: 108
Joined: Mon May 18, 2009 11:51 pm
Location: Moяocco.

Re: New Revision

Post by Sirpaypi »

Hello, can someone tell me how to increase java heap space for eclipse.
Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders.
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: New Revision

Post by badboy29 »

Edit your eclipse.ini and increase your Xmx and Xms (heap spaces).
Aka UnHoly
User avatar
Sirpaypi
Posts: 108
Joined: Mon May 18, 2009 11:51 pm
Location: Moяocco.

Re: New Revision

Post by Sirpaypi »

Here is the edit :

Code: Select all

--launcher.XXMaxPermSize256M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize512m
Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders.
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: New Revision

Post 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 
Aka UnHoly
User avatar
Sirpaypi
Posts: 108
Joined: Mon May 18, 2009 11:51 pm
Location: Moяocco.

Re: New Revision

Post 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 
Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: New Revision

Post 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 
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
gabrielhw
Posts: 77
Joined: Thu Jun 17, 2010 6:32 pm

Re: New Revision

Post 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)
MELERIX FOR PRESIDENT
\O/
User avatar
La2Servers
Posts: 1
Joined: Sat Oct 30, 2010 3:02 pm
Location: Россия, Москва
Contact:

Re: New Revision

Post 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:
IT Director

Image

ICQ 389-375
ksmxbg
Posts: 109
Joined: Wed Aug 12, 2009 8:17 am

Re: New Revision

Post 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
ksmxbg
Posts: 109
Joined: Wed Aug 12, 2009 8:17 am

Re: New Revision

Post 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:
User avatar
dark911_ro
Posts: 80
Joined: Wed Sep 08, 2010 11:48 am
Location: Romania

Re: New Revision

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