L2JMobius

The Kamael Cant compile it

panadelum2 · 12 · 6890

Offline panadelum2

  • Vassal
  • *
    • Posts: 4
Hi i try to compile as you said here: https://l2jmobius.org/forum/index.php?topic=3231.0
and eclipse run it show 42k errors
\L2J_Mobius_Classic_3.0_TheKamael\java\org\l2jmobius\gameserver\data\sql\impl\PetNameTable.java:1: error: illegal character: '\u0000'


Offline ihearcolors

  • Knight
  • ***
    • Posts: 53
    • L2Interlude
What OS / JDK ?
Try to check JAVA_PATH / JAVA_HOME / Ecplipse Build Path, delete the git, re-clone it.




Offline panadelum2

  • Vassal
  • *
    • Posts: 4
same settings and same errors as before
i try to change to utf-8 and still same error
i try to reclone all repository now


Offline Daimonass

  • Heir
  • **
    • Posts: 12
I follow this instruction: https://l2jmobius.org/forum/index.php?topic=3231.0

But I get similar error just with Interlude project



I try change the Java version (openJDK and BellSoft). Same result.

Any suggestion ???


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16135
You obviously cannot compile when you have errors showing on your package explorer.


Offline Daimonass

  • Heir
  • **
    • Posts: 12
Ok. I try everything start from zero :D

Same error with Interlude project. But success with Kameal,H5,PreludeOfWar projects. That's mean C6 project have bug ?


Offline Daimonass

  • Heir
  • **
    • Posts: 12
Maybe someone can share the latest version of Interlude project ?


Offline ihearcolors

  • Knight
  • ***
    • Posts: 53
    • L2Interlude
Ok. I try everything start from zero :D

Same error with Interlude project. But success with Kameal,H5,PreludeOfWar projects. That's mean C6 project have bug ?

Try this:

Code: [Select]
Index: java/org/l2jmobius/Config.java
===================================================================
--- java/org/l2jmobius/Config.java (revision 7034)
+++ java/org/l2jmobius/Config.java (working copy)
@@ -1152,14 +1152,6 @@
 
  /** Client Packets Queue settings */
  public static final int CLIENT_PACKET_QUEUE_SIZE = 14; // default MMO_MAX_READ_PER_PASS + 2
- public static final int CLIENT_PACKET_QUEUE_MAX_BURST_SIZE = 13; // default MMO_MAX_READ_PER_PASS + 1
- public static final int CLIENT_PACKET_QUEUE_MAX_PACKETS_PER_SECOND = 160; // default 160
- public static final int CLIENT_PACKET_QUEUE_MEASURE_INTERVAL = 5; // default 5
- public static final int CLIENT_PACKET_QUEUE_MAX_AVERAGE_PACKETS_PER_SECOND = 80; // default 80
- public static final int CLIENT_PACKET_QUEUE_MAX_FLOODS_PER_MIN = 2; // default 2
- public static final int CLIENT_PACKET_QUEUE_MAX_OVERFLOWS_PER_MIN = 1; // default 1
- public static final int CLIENT_PACKET_QUEUE_MAX_UNDERFLOWS_PER_MIN = 1; // default 1
- public static final int CLIENT_PACKET_QUEUE_MAX_UNKNOWN_PER_MIN = 5; // default 5
 
  /** Packet handler settings */
  public static final boolean PACKET_HANDLER_DEBUG = false;
Index: java/org/l2jmobius/gameserver/network/clientpackets/GameClientPacket.java
===================================================================
--- java/org/l2jmobius/gameserver/network/clientpackets/GameClientPacket.java (revision 7034)
+++ java/org/l2jmobius/gameserver/network/clientpackets/GameClientPacket.java (working copy)
@@ -16,7 +16,6 @@
  */
 package org.l2jmobius.gameserver.network.clientpackets;
 
-import java.nio.BufferUnderflowException;
 import java.util.logging.Logger;
 
 import org.l2jmobius.commons.mmocore.ReceivablePacket;
@@ -42,10 +41,6 @@
  catch (Exception e)
  {
  LOGGER.severe("Client: " + getClient() + " - Failed reading: " + getType() + " ; " + e.getMessage() + " " + e);
- if (e instanceof BufferUnderflowException)
- {
- getClient().onBufferUnderflow();
- }
  }
  return false;
  }

Mobius, those parts got left out...i guess.