poochie89 / SnipDo-Extensions

SnipDo extensions and advanced guide
128 stars 1 forks source link

Not compatible with Counter-Strike 2 #85

Closed micturkey closed 11 months ago

micturkey commented 1 year ago

With snipdo enabled, shooting in cs2 will cause lag and after quitting snipdo this will not happen again. I try adding cs2.exe into the exception list but it does nothing to the lag.

poochie89 commented 1 year ago

Is there a way that i can access the beta? Can you try these things for me:

micturkey commented 1 year ago

Is there a way that i can access the beta? Can you try these things for me:

* disable SnipDo in SnipDo settings manually

* disable the activation methods one by one

* Run cs2 as admin

Since cs2 is still in limited test, it may be hard for a new player to get the access to it :( But I have tried these things:

The specific issue is that if I click (continuously click the mouse) in CS2 while in full-screen mode, CS2 will be forcefully minimized, and I will return to the regular computer desktop.

poochie89 commented 1 year ago

Thanks for the feedback, this will be bard to debug if i dont have access to the game. You can howerver enable logging in snipdo, start the game and play a bit. Then send me the logfile, maybe i find something

micturkey commented 1 year ago

Thanks for the feedback, this will be bard to debug if i dont have access to the game. You can howerver enable logging in snipdo, start the game and play a bit. Then send me the logfile, maybe i find something

OK, I will send the logfile when I play it late this week.

micturkey commented 1 year ago

Thanks for the feedback, this will be bard to debug if i dont have access to the game. You can howerver enable logging in snipdo, start the game and play a bit. Then send me the logfile, maybe i find something

08/09/2023
Windows Version: Microsoft Windows NT 10.0.22621.0
App Version: 3.0.60.0

[16:59:30:588] GlobalHookMouseDown
[16:59:30:658] GlobalHookMouseUp
[16:59:30:671] PercentageDifference _generictemplate0.171875, Cursor = 41880963
[16:59:31:735] GlobalHookMouseDown
[16:59:31:741] PercentageDifference _generictemplate0.171875, Cursor = 41880963
[16:59:31:863] GlobalHookMouseUp
[16:59:32:070] GlobalHookMouseDown
[16:59:32:075] PercentageDifference _generictemplate0.171875, Cursor = 41880963
[16:59:32:163] GlobalHookMouseUp
[16:59:32:163] DoubleClick
[16:59:32:275] GlobalHookMouseDown
[16:59:32:386] GlobalHookMouseUp
[16:59:32:386] DoubleClick
[16:59:32:574] GlobalHookMouseDown
[16:59:32:579] PercentageDifference _generictemplate0.171875, Cursor = 41880963
[16:59:32:677] GlobalHookMouseUp
[16:59:32:847] GlobalHookMouseDown
[16:59:32:853] PercentageDifference _generictemplate0.171875, Cursor = 41880963
[16:59:32:954] GlobalHookMouseUp
[16:59:32:954] DoubleClick
[16:59:33:044] GlobalHookMouseDown
[16:59:33:051] PercentageDifference _generictemplate0.171875, Cursor = 41880963
[16:59:33:131] GlobalHookDragStarted
[16:59:33:162] GlobalHookMouseUp
[16:59:33:162] DoubleClick
[16:59:33:326] GlobalHookMouseDown
[16:59:33:331] PercentageDifference _generictemplate0.171875, Cursor = 41880963
[16:59:33:348] GlobalHookDragStarted
[16:59:33:439] GlobalHookMouseUp
[16:59:33:439] DoubleClick
[16:59:33:757] GlobalHookMouseDown
[16:59:33:763] PercentageDifference _generictemplate0.171875, Cursor = 41880963
[16:59:33:886] GlobalHookMouseUp
[16:59:34:526] GlobalHookMouseDown
[16:59:34:575] PercentageDifference _generictemplate0.171875, Cursor = 41880963
[16:59:34:589] GlobalHookDragStarted
[16:59:34:871] GlobalHookMouseUp
[16:59:34:871] GlobalHookDragFishied
[16:59:34:871] GetSelectedText
[16:59:34:871]  Process disabled .... can not invoke
[16:59:37:013] GlobalHookMouseDown
[16:59:37:116] GlobalHookMouseUp
[16:59:37:980] GlobalHookMouseDown
[16:59:38:083] GlobalHookMouseUp
[16:59:40:008] GlobalHookMouseDown
[16:59:40:119] GlobalHookMouseUp
[16:59:40:847] GlobalHookMouseDown
[16:59:40:852] PercentageDifference _generictemplate0.6289063, Cursor = 65567
[16:59:40:853] PercentageDifference _adobetemplate0.7578125, Cursor = 65567
[16:59:40:923] GlobalHookMouseUp
[16:59:40:928] PercentageDifference _generictemplate0.6289063, Cursor = 65567
[16:59:40:929] PercentageDifference _adobetemplate0.7578125, Cursor = 65567
[16:59:41:750] GlobalHookMouseDown
[16:59:41:869] GlobalHookMouseUp

This is the log file when I shoot in CS2

poochie89 commented 1 year ago

Thanks for the help, would you want to test a beta version? I implemented some possible fixes but its a bit a shot in the dark.

Let me know if its still lagging if you have cs2 in the exclusions and also if you dont have it there. Also try again to disable and enable 'mouse drag' .

Let me know which combination of settings might work.

To install simply unzip the file, rightclick and run with powershell https://www.dropbox.com/scl/fi/ta9ltwqyfkp19yz7371rh/SnipDoConverted_3.0.63.0_Test.zip?rlkey=f051svhlhi4ypnepjz3o95llk&dl=0

micturkey commented 1 year ago

Thanks for the help, would you want to test a beta version? I implemented some possible fixes but its a bit a shot in the dark.

Let me know if its still lagging if you have cs2 in the exclusions and also if you dont have it there. Also try again to disable and enable 'mouse drag' .

Let me know which combination of settings might work.

To install simply unzip the file, rightclick and run with powershell https://www.dropbox.com/scl/fi/ta9ltwqyfkp19yz7371rh/SnipDoConverted_3.0.63.0_Test.zip?rlkey=f051svhlhi4ypnepjz3o95llk&dl=0

Thanks. I tried the beta version and it works well with or without cs2 in the exclusions when 'mouse drag' is enabled. This beta really fix the bug.

poochie89 commented 1 year ago

Cool, could you try another version as well a let me know how it works? I removed a couple of things in your beta, but would like to try a more refined version.

https://www.dropbox.com/scl/fi/629bjnn0aoxsma1hhirej/SnipDoConverted_3.0.64.0_Test.zip?rlkey=jwlvvnms1vsdthkexd7v5d4ph&dl=0

micturkey commented 12 months ago

Cool, could you try another version as well a let me know how it works? I removed a couple of things in your beta, but would like to try a more refined version.

https://www.dropbox.com/scl/fi/629bjnn0aoxsma1hhirej/SnipDoConverted_3.0.64.0_Test.zip?rlkey=jwlvvnms1vsdthkexd7v5d4ph&dl=0

This version leads to incompatibility again. All looks same as original bug. I uninstall it and use 3.0.63 to get rid of of the bug.

poochie89 commented 12 months ago

Thanks for the report, I will add an option to disable „aggressive“ mode in the next official release. It will remove compatibility with some apps like adobe reader but will not cause any lag in cs2 and maybe some other games

micturkey commented 12 months ago

Thanks for the report,

I will add an option to disable „aggressive“ mode in the next official release. It will remove compatibility with some apps like adobe reader but will not cause any lag in cs2 and maybe some other games

Could this mode be activated automatically when detecting games such as CS2 or something in full screen and be disabled when games quit? If this function can be enabled automatically, it will be good for us who use Adobe reader to work and sometimes play games🤣

poochie89 commented 12 months ago

Yes I will try to automatically deactivate it when the running app is a game (maybe check for fullscreen?)

poochie89 commented 11 months ago

I have another test version ready. This one automatically tries to detect fullscreen mode and disable aggressiv mode in that case. I tested it with CS1 and it worked well. If it still leads to incompatibility with cs2 i would need another logfile when playing the game.

https://www.dropbox.com/scl/fi/g6vbjlletactq1j5pqt0x/SnipDoConverted_3.0.64.1_Test.zip?rlkey=whkqihaa0bk15w78fqx88phzb&dl=0

micturkey commented 11 months ago

I have another test version ready. This one automatically tries to detect fullscreen mode and disable aggressiv mode in that case. I tested it with CS1 and it worked well. If it still leads to incompatibility with cs2 i would need another logfile when playing the game.

https://www.dropbox.com/scl/fi/g6vbjlletactq1j5pqt0x/SnipDoConverted_3.0.64.1_Test.zip?rlkey=whkqihaa0bk15w78fqx88phzb&dl=0

Thanks. I will try it late this week.

poochie89 commented 11 months ago

Hey, where you able to test this version? Would be cool if i could release this fix

micturkey commented 11 months ago

Hey, where you able to test this version? Would be cool if i could release this fix

Sorry for the late reply. This fix works well with cs2 on my work PC. Since cs2 may be released next Wednesday, I think you can release this fix soon, and when cs2 is released officially more users can test the compatibility.

poochie89 commented 11 months ago

Awesome thanks