Shadowspaz / NIAutoclicker

Autoclicks in the background, giving you full control of your own mouse to do whatever else you want!
175 stars 34 forks source link

Script crashes game if left in background for long enough #5

Open Kelvets opened 8 years ago

Kelvets commented 8 years ago

First of all thanks for the awesome script :D Just started using it today and I love it.

However, if I leave it running at 50 clicks/sec for more than about 5 minutes with the game tab minimized, upon trying to return the game I'll find that I can't. Clicking the game window in the taskbar does nothing. Clicking "Switch to..." in the task manager doesn't work. Pausing the script doesn't work. I have to end the task and re-open the game, losing some progress.

Things I've tried:

System: Windows 7 x64 Core i7 3770 GTX 970 16 GB RAM

Shadowspaz commented 8 years ago

In my experience, if the game is minimized, it simply takes forever to reopen the window. I have no idea why it does this, but I suspect it's something on the Windows side of things, with how it handles sending clicks while simultaneously changing window states. It doesn't seem to like it.

As an alternative, I would just leave the window open in the back of whatever window I was actually working in.

Kelvets commented 8 years ago

Yeah that's what I've been doing.

On a different issue, I mainly get the "game slows down" bug (where you have to hold click and click outside the screen) if I save the game with the script on, and almost every time after that flying bee clickable (the one that goes from right to left and you have to click 50 times) produces the "clickstorm" power. If I use clickstorm myself, the bug doesn't trigger.

Thought that info might be useful.