Skip to content

Swampfire nano mission bug workaround | refactoring Missions.cpp#322

Open
filkata123 wants to merge 1 commit into
OpenFusionProject:masterfrom
filkata123:fix/swampfire-mission-stuck
Open

Swampfire nano mission bug workaround | refactoring Missions.cpp#322
filkata123 wants to merge 1 commit into
OpenFusionProject:masterfrom
filkata123:fix/swampfire-mission-stuck

Conversation

@filkata123

Copy link
Copy Markdown

Summary

The current logic in Missions.cpp only checks whether all necessary quest items for a task have been gathered once an item is dropped. If the logic somehow fails (which seems to happen to many people during the swampfire nano mission as per the FAQ; maybe the packet fails to deliver?), then the player will be stuck since the quest items will be full and the logic which ends the task will not be accessible by the code anymore. Then, they won't be able to progress in the game until a dev helps them.

This fix takes out the logic which checks if all the items have been gathered outside of the code section that is only accessible once an item is dropped. Then, if the issue is encountered, the player can just kill one or more npcs of the type they need to kill for the item and the quest task will be completed.

Testing

I reproduced the bug on my own server and fixed it by applying the changes in this pull request. I have played now for 3 more levels and have completed many missions and I have not encountered any issues with the new logic.

Future

This is is merely a workaround for the bug, since it ensures that players are not stuck if the bug happens, but it is still unknown why sometimes getting all necessary items for the quest fails to complete the task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant