L2JMobius

Frost Lord Autopilot Engine

mrk · 21 · 6952

Offline KachambA

  • Black Sheep
  • Heir
  • **
    • Posts: 12
I am happy to hear. Did you do anything in particular to get it to boot?

yes i did this:
Code: [Select]
diff --git a/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 62bce62..06cbf44 100644
--- a/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -1219,7 +1219,7 @@
  * @param accountName The name of the account including this PlayerInstance
  * @param app
  */
- private PlayerInstance(int objectId, PlayerTemplate template, String accountName, PlayerAppearance app)
+ public PlayerInstance(int objectId, PlayerTemplate template, String accountName, PlayerAppearance app)
  {
  super(objectId, template);
  setInstanceType(InstanceType.PlayerInstance);
diff --git a/java/org/l2jmobius/gameserver/scripting/java/JavaExecutionContext.java b/java/org/l2jmobius/gameserver/scripting/java/JavaExecutionContext.java
index 97a8e1d..4378d66 100644
--- a/java/org/l2jmobius/gameserver/scripting/java/JavaExecutionContext.java
+++ b/java/org/l2jmobius/gameserver/scripting/java/JavaExecutionContext.java
@@ -163,6 +163,11 @@
  out.println("-----------------------");
  for (Diagnostic<? extends JavaFileObject> diagnostic : compilationDiagnostics.getDiagnostics())
  {
+ if (diagnostic.getSource() == null)
+ {
+ throw new AssertionError(diagnostic);
+ }
+
  out.println("\t" + diagnostic.getKind() + ": " + diagnostic.getSource().getName() + ", Line " + diagnostic.getLineNumber() + ", Column " + diagnostic.getColumnNumber());
  out.println("\t\tcode: " + diagnostic.getCode());
  out.println("\t\tmessage: " + diagnostic.getMessage(null));


Offline mrk

  • Heir
  • **
    • Posts: 21
As it was one of the first things I did, I forgot to include this (PlayerInstance visibility change) in the readme. Thank you very much.

As for the errors in using Autopilot, some are already expected. I will make the corrections and post the updates here. Thank you again.



Offline KachambA

  • Black Sheep
  • Heir
  • **
    • Posts: 12
As it was one of the first things I did, I forgot to include this (PlayerInstance visibility change) in the readme. Thank you very much.

As for the errors in using Autopilot, some are already expected. I will make the corrections and post the updates here. Thank you again.

Thanks for your great work.


Offline dabmvbnm

  • Vassal
  • *
    • Posts: 1
Thanks for your
L2J_Mobius_Essence_6.1_BattleChronicle great work.


Offline mrk

  • Heir
  • **
    • Posts: 21
This is very nice of you, but thanks must go to Mobius and the core developement team.


Online nnlyy520

  • Viscount
  • *****
    • Posts: 342
This is very nice of you, but thanks must go to Mobius and the core developement team.


Is this project still going on? Has there been an update?