SamMackrill / gw2-alternator

Launches GW2 Alt Accounts automatically for daily reward
The Unlicense
5 stars 1 forks source link

Collect not working anymore #100

Closed Caliban2017 closed 1 year ago

Caliban2017 commented 2 years ago

Hi,

i noticed a new Bug in the newest Vrsion 1.0.26. The Collect Button does not work anymore. When i click it, nothing happens. I looked at the Log and after a failed Login it says:

2022-08-10 12:26:31.9612|XXX@googlemail.com Started Collect 2022-08-10 12:26:32.6068|XXX@googlemail.com GW2 process exited because Crashed 2022-08-10 12:26:32.8326|XXX@googlemail.com Mutex not found 2022-08-10 12:26:32.8436|XXX@googlemail.com error killing Mutex, ignoring

in another Log File it says:

2022-08-10 12:26:32.8326|ERROR|Client|XXX@googlemail.com Mutex not found 2022-08-10 12:26:32.8326|ERROR|Client|XXX@googlemail.com error killing Mutex, ignoring|guildwars2.tools.alternator.Gw2MutexException: XXX@googlemail.com Mutex not found at guildwars2.tools.alternator.MVVM.model.Client.KillMutex(Int32 delayBefore, Int32 delayAfter)

SamMackrill commented 2 years ago

Thanks, I am working on the mutex issue right now I am pushing a new version, but is only a partial fix Since the latest patch gw2exes don't like running together

SamMackrill commented 2 years ago

Investigation:

  1. When launching multiple gw2 instances then there is a high chance one of them will soft lock and report as "Not Responding"
  2. This causes the stuck delay to fire and the process to be killed
  3. The affects both the login and collect tasks
  4. Using Force Serial can help with stability
  5. Something is relaunching gw2 this can cause a mutex lock and all further launches to fail immediately
Caliban2017 commented 2 years ago

At the Moment Alternator is working fine again. I always use Serial Mode, to be shure nothing is crashing or freezing and it works fine so far.