New Revision
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: New Revision
GTFO and test ?
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- Micr0
- Posts: 119
- Joined: Sun Sep 05, 2010 5:44 pm
Re: New Revision
plss help me
when i try discard item i get error in console
line 291 L2Character.java
last rev
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)
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 }
- momo61
- Posts: 1648
- Joined: Fri Jun 06, 2008 2:05 pm
- Location: Europe
Re: New Revision
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.
or
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
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;- }
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: New Revision
Read code more carefully.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- Sirpaypi
- Posts: 108
- Joined: Mon May 18, 2009 11:51 pm
- Location: Moяocco.
Re: New Revision
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.
- badboy29
- Posts: 417
- Joined: Fri Apr 24, 2009 5:34 am
- Location: Brazil
- Sirpaypi
- Posts: 108
- Joined: Mon May 18, 2009 11:51 pm
- Location: Moяocco.
Re: New Revision
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.
- badboy29
- Posts: 417
- Joined: Fri Apr 24, 2009 5:34 am
- Location: Brazil
Re: New Revision
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
- Sirpaypi
- Posts: 108
- Joined: Mon May 18, 2009 11:51 pm
- Location: Moяocco.
Re: New Revision
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.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: New Revision
Sirpayapi - your ini contains double entry for these:
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
My ini:
--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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 77
- Joined: Thu Jun 17, 2010 6:32 pm
Re: New Revision
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)
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/
\O/
- La2Servers
- Posts: 1
- Joined: Sat Oct 30, 2010 3:02 pm
- Location: Россия, Москва
- Contact:
Re: New Revision
Make database archive, and use Googlegabrielhw 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)

IT Director

ICQ 389-375

ICQ 389-375
-
- Posts: 109
- Joined: Wed Aug 12, 2009 8:17 am
Re: New Revision
can you say them ? What ways works in L2j for collecting S80/4 ?qwerty13 wrote:Agree with DS. Hellbound not so important when exists many quests and drops for s80\4 etc.
thanks in advice
-
- Posts: 109
- Joined: Wed Aug 12, 2009 8:17 am
Re: New Revision
YOUPksmxbg wrote:can you say them ? What ways works in L2j for collecting S80/4 ?qwerty13 wrote:Agree with DS. Hellbound not so important when exists many quests and drops for s80\4 etc.
thanks in advice

- dark911_ro
- Posts: 80
- Joined: Wed Sep 08, 2010 11:48 am
- Location: Romania
Re: New Revision
Since freya - > Quests and drops in : giants cave , beast farm , plains of lizardman , soa, mos , etc.ksmxbg wrote:YOUPksmxbg wrote:can you say them ? What ways works in L2j for collecting S80/4 ?qwerty13 wrote:Agree with DS. Hellbound not so important when exists many quests and drops for s80\4 etc.
thanks in advice