L2JMobius

High Five Quests don't work

GH · 11 · 239

Offline GH

  • Vassal
  • *
    • Posts: 7
Hello!

I ran into a problem: I can’t accept quests of any kind.
Let's look at the example of protocol 273 HF.

Let's look at the example of quests.
1) Letters of Love (game\data\scripts\quests\Q00001_LettersOfLove):
http://dl4.joxi.net/drive/2024/05/02/0016/0459/1057227/27/367c33aee2.jpg

2) Path of the Warrior (game\data\scripts\quests\Q00401_PathOfTheWarrior):
http://dl4.joxi.net/drive/2024/05/02/0016/0459/1057227/27/18e49ae57c.jpg

3) Enhance Your Weapon (game\data\scripts\quests\Q00350_EnhanceYourWeapon):
http://dl4.joxi.net/drive/2024/05/02/0016/0459/1057227/27/ca9da6a961.jpg

This is a problem with all quests on the HF protocol, no matter what I try to start.

I see that the quest files are in the game\data\scripts\quests folder. But NPCs always give the same answer - noquest.htm

I also tried protocols 439 and 228 - all have the same problem.

Is it something I'm doing wrong or is there some problem with quests globally?


Offline CostyKiller

  • Distinguished King
  • *****
    • Posts: 973
Try shift click on quest npc and see if the quest is there in the quests tab, if not then you have an error somewhere or quests are disabled in config.


Offline GH

  • Vassal
  • *
    • Posts: 7
Try shift click on quest npc and see if the quest is there in the quests tab, if not then you have an error somewhere or quests are disabled in config.
Not a single NPC has quests in Shift + Click.
If you can, please tell me where to look at the config, are quests disabled?
Or where the error might be
http://dl4.joxi.net/drive/2024/05/02/0016/0459/1057227/27/c34df6df41.jpg


Offline GH

  • Vassal
  • *
    • Posts: 7
I noticed this error when turning on the game server. Could this be related to my problem?
http://dl4.joxi.net/drive/2024/05/02/0016/0459/1057227/27/7ce6e91fa0.jpg


Offline CostyKiller

  • Distinguished King
  • *****
    • Posts: 973
Yes that error prevents all scripts from loading, try remove any custom scripts you added and see if it works, or reinstall java from the readme file.


Offline GH

  • Vassal
  • *
    • Posts: 7
Yes that error prevents all scripts from loading, try remove any custom scripts you added and see if it works, or reinstall java from the readme file.
I did not use custom scripts, only what is in the mobius repository.
Are you talking about this link in the readme?
http://dl4.joxi.net/drive/2024/05/02/0016/0459/1057227/27/5f36d91620.jpg



Offline GH

  • Vassal
  • *
    • Posts: 7
Yes that link.
I used this link to install everything I needed. But I reinstalled it anyway.
After reinstalling Java, do I need to compile the assembly again in Eclipse?


Offline CostyKiller

  • Distinguished King
  • *****
    • Posts: 973
Try some cleanup first, then build again.



Offline GH

  • Vassal
  • *
    • Posts: 7
Try some cleanup first, then build again.



Reinstalled JDK. I compiled the assembly, still got this error in the game server:
[02/05 02:24:51] Failed to execute script list!
java.lang.NullPointerException: Cannot invoke "javax.tools.JavaFileObject.getName()" because the return value of "javax.tools.Diagnostic.getSource()" is null
   at org.l2jmobius.gameserver.scripting.java.JavaExecutionContext.executeScripts(JavaExecutionContext.java:121)
   at org.l2jmobius.gameserver.scripting.ScriptEngineManager.executeScriptList(ScriptEngineManager.java:177)
   at org.l2jmobius.gameserver.GameServer.<init>(GameServer.java:354)
   at org.l2jmobius.gameserver.GameServer.main(GameServer.java:485)


Am I choosing the correct settings when compiling (indicated in the screenshot)?
http://dl4.joxi.net/drive/2024/05/02/0016/0459/1057227/27/406b511f30.jpg


Offline GH

  • Vassal
  • *
    • Posts: 7
Problem solved. I just needed to download the files from the repository directly into Eclipse, and not add the project manually :)