Integrate AutoHook for FSH class quests#487
Conversation
…ages. Include an Unescape helper to render HTML-safe character escape sequences correctly.
|
Thanks! @LeontopodiumNivale14 was also looking at implementing AutoHook for QST, based on the cosmic exploration plugin. I haven't had the time to look into it myself, and beyond the three Ixal quests that use fishing I hadn't bothered because we don't yet have support for the fishing questline either. Looks good so far. |
|
This is a brilliant effort - I've been writing some quest paths for the FSH quests on my local machine, so if you're able to get the setup working with the first one I can adapt my paths to use this approach. There should be a way to create temporary presets for AutoHook - I know some plugins like Ice's Cosmic Exploration or Henchman can do that with their auto-fishing functionalities. If you can't figure it out, then we'll just need to make sure to leave a note in the quest path that the presets need to be manually imported. |
|
Me or Ice can add the autohook IPC to make the _anon presets when the rest is done. |
|
I feel like that's the piece I'm missing. Just based on the naming and what I could understand from the AutoHook repo, I assumed that I'm going to give that a try and see if the import starts working. |
…ove documentation. Added specific EzIPC attribute names for clarity and updated method summaries to better describe functionality.
… no matter how the pathfinding gets them to the fising spot.

I am completely inexperienced with Dalamud plugin development and would appreciate any and all feedback. I am going to continue adding and testing the FSH quests as I work through them.
This PR is a rough draft of integrating AutoHook for use during FSH class quests. I have only added the first missing quest, Bigger Fish to Fry, for now, so that I can get feedback on this setup.
I encountered many issues with the AutoHook plugin, and I cannot tell whether I implemented AutoHookIpc incorrectly or if the plugin is truly not working through this method. I instead chose to use the plugin's slash commands as a workaround. Unfortunately, this also meant that I could not have Questionable automatically import and clean up a fishing preset for AutoHook. This seems possible based on the IPC code in the AutoHook repo, but it never worked for me.Because I couldn't automatically import the preset, I created a folder for them on the AutoHook wiki that can be imported in-game.

I am willing to continue working on this. My next goal is to implement a few more quests to get more experience with quest scripting
and to explore whether I can determine if my issues with the AutoHook IPC are caused by a bug in that plugin. I may also be able to fix that and then undo the preset importing workaround. As with all open-source projects, that will depend on what time and energy I have available. I hope this will at least serve as a good starting point for me or anyone else willing to take it forward.Update: I made a silly mistake in the IPC and renamed the function delegates without giving them the proper names in the
EzIPCattribute. This has now been fixed and the AutoHookIpc is working as intended, as far as I can tell.