L2JMobius

High Five Q118 and Q123

emptyslash · 2 · 313

Offline emptyslash

  • Vassal
  • *
    • Posts: 2
Q00118_ToLeadAndBeLed
Q00123_TheLeaderAndTheFollower

both quests doesnt recognize sponsors. when a sponsor starts a dialog, it leads to
Code: [Select]
public String onTalk(Npc npc, Player player)function, and ends with 30298-02 (31961-02 for the Q123) dialog. but all sponsor actions are in the
Code: [Select]
public String onEvent(String event, Npc npc, Player player)function.
i have found a handler
game/data/scripts/handlers/bypasshandlers/QuestLink.java

but i dont know how to fix it.



Online Mobius

  • Distinguished King
  • *****
    • Posts: 17001
Range check?

Code: [Select]
final Player c0 = World.getInstance().getPlayer(player.getSponsor());
if ((c0 != null) && Util.checkIfInRange(Config.ALT_PARTY_RANGE, npc, c0, true))