koolo icon indicating copy to clipboard operation
koolo copied to clipboard

Fix Den of Evil quest - never starts unless you are in act 1

Open sorc653 opened this issue 10 months ago • 2 comments

So if you join the game outside of act 1 you’ll go there before attempting this quest

sorc653 avatar Mar 14 '25 01:03 sorc653

This is awesome. I found another bug in the Quests.go file if anyone is feeling frisky.

When you run retrieveBookQuest()

Let's assume you don't have any act 3 waypoints, it will get spider forest and great marsh waypoints no problem, but it bugs out after that, I believe due to how Flayer is mapped between Great Marsh and Lower Kurast which bugs out the adjacent area logic (is my theory).

Antizerg avatar Mar 15 '25 12:03 Antizerg

another update request. We should add logic so it doesn't run quests that were already completed. We can steal the logic from the leveling scripts.

I believe this function will open quest log to see which quests were completed for the active act you are in. lvl, _ := s.Data.PlayerUnit.FindStat(stat.Level, 0)

Above example was taken from sorceress_leveling.go. Please note they need to already be in the right act for it to work. So if you want to see if Den of Evil quest is complete, you need to be in act 1 when you run that function.

Then here is an example where we check to see if a quest is completed.

if !a.isCainInTown() && !a.ctx.Data.Quests[quest.Act1TheSearchForCain].Completed() { a.deckardCain() }

Antizerg avatar Mar 22 '25 12:03 Antizerg