Makar8000 / ACT-Discord-Triggers

An ACT plugin for routing audio to discord
50 stars 14 forks source link

Playing triggers freezes ACT / throws an error #35

Closed Webberjo closed 5 years ago

Webberjo commented 6 years ago

Problem: Attempting to play a trigger after connecting my bot to a voice channel freezes ACT. Attempting to play a trigger after either connecting then disconnecting my bot from a voice channel, or after disabling the ACT_DiscordTriggers.dll plugin throws this error:

A new guard page for the stack cannot be created

Steps: (Assuming you have a bot setup already)

  1. Open ACT
  2. Connect bot to voice channel
  3. Play trigger

OR

  1. Open ACT
  2. Connect bot to voice channel
  3. Disconnect bot from voice channel
  4. Play trigger

OR

  1. Open ACT
  2. Disable ACT_DiscordTriggers.dll plugin
  3. Play trigger

Additional Info:

Makar8000 commented 5 years ago

Hey. Are you still having this issue?

Webberjo commented 5 years ago

Yes.

I should mention that my friends that use Windows 10 do not have this problem, so it could likely be Windows 7 related.

Makar8000 commented 5 years ago

What other ACT plugins do you have installed?

Webberjo commented 5 years ago

FFXIV_ACT_Plugin.dll (v1.7.0.13) OverlayPlugin.dll (v0.3.4.0)

Makar8000 commented 5 years ago

I think this may be an issue with ACT itself - have you tried reinstalling? You can backup your config in the folder located in AppData

Webberjo commented 5 years ago

Completely removing and reinstalling ACT seems to have fixed the bug where it would freeze if it tried to play a trigger while my bot was connected to a voice channel, but it still throws the same stack error when I attempt to play a TTS trigger after disconnecting my bot or disabling the ACT_DiscordTriggers.dll plugin.

Webberjo commented 5 years ago

I asked on the ACT forum and an admin replied with some useful info. https://forums.advancedcombattracker.com/discussion/47/a-new-guard-page-for-the-stack-cannot-be-created

Makar8000 commented 5 years ago

Awesome. I'll push a fix when I get the chance.

Nephera commented 5 years ago

Is there an update on this?

Makar8000 commented 5 years ago

I pushed a release that applies this fix. Thank you @Webberjo for putting in the effort to contact the ACT developer 👍