Author Topic: quest bug  (Read 192 times)

Offline bladock

  • Vassal
  • *
  • Posts: 3
quest bug
« on: September 13, 2020, 12:17:53 AM »
Hello, on several occasions, when I do different quests, it gets stuck or does not continue to the next step, it stays stuck, it usually happens when I reach the number of items that the quest asks for.
It is a totally random error, sometimes it happens and sometimes it doesn't. there are also no error logs

http://prntscr.com/ug8z34

Online Mobius

  • Administrator
  • Distinguished King
  • *****
  • Posts: 7889
Re: quest bug
« Reply #1 on: September 13, 2020, 11:54:15 AM »
Check
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
if count is correct etc.

Offline bladock

  • Vassal
  • *
  • Posts: 3
Re: quest bug
« Reply #2 on: September 14, 2020, 01:05:26 AM »
the cont number is correct...
http://prntscr.com/ugowgs

Online Mobius

  • Administrator
  • Distinguished King
  • *****
  • Posts: 7889
Re: quest bug
« Reply #3 on: September 14, 2020, 02:27:55 AM »
the cont number is correct...
http://prntscr.com/ugowgs

Is the quest at condition 2?
You can check from the Quests button in admin menu.

Offline bladock

  • Vassal
  • *
  • Posts: 3
quest bug
« Reply #4 on: October 07, 2020, 01:32:03 AM »
Hello, I want to report a quest bug again, I consider it to be very serious, I checked the code and I cannot find the problem, it is the same bug that I reported a few weeks ago

https://l2jmobius.org/forum/index.php?topic=5377.0

You see, I come with better evidence!

http://prntscr.com/uudf0w

http://prntscr.com/uudgfb

http://prntscr.com/uudesg

The solution is to remove one of the two items and try again to change the status of the quest.
the bug happens very few times, but on a server with many players it is very tedious, they can do the same quest 10 times and one of the times it is bugged.



Online Mobius

  • Administrator
  • Distinguished King
  • *****
  • Posts: 7889
Re: quest bug
« Reply #5 on: October 07, 2020, 03:43:19 AM »
Do not double post.
Topics merged.

The number of players has probably nothing to do with it.
If you cannot point where the problematic code is in any quest there is nothing we can do.
Debug the code and tell us why the memostate does not change etc...

Online Mobius

  • Administrator
  • Distinguished King
  • *****
  • Posts: 7889
Re: quest bug
« Reply #6 on: October 17, 2020, 05:26:20 PM »
I found the source of this problem and probably have a solution for it.
It will be applied on the next free version after the one it is to be released.

Locked until them.