Better Questing

Better Questing

39M Downloads

Client kick with the crash.

YOKOGAMA opened this issue ยท 2 comments

commented

After removing the quest and placing a new one, client kick with the crash.
crash-2018-06-11_00.57.48-client.txt

commented

The same issue, but it does with one of my administrators, not me.
Crash
And it happens when he tries to add a new quest to the grid:
image

commented

I'll admit, this took me way longer to figure out than it should have. Reason this happens is that when quests are deleted they sync the quests but not the quest lines client side. This means that when you add a new quest it uses that now 'free' ID but conflicts with the old entry not yet updated in the quest line. This also happens because I missed a secondary conflict check in quest lines (shouldn't be necessary if the prior code works but that's not the case here).

TLDR: I didn't delete quests properly and an additional missing check results in this crash.

I'm still trying to get a much bigger issue fixed elsewhere but I've fixed this in dev for the next update at least.

Side Note: Although this is probably the worst temporary solution, you can try running /bq_user refresh to possibly prevent the crash after deleting quests.