Search found 24 matches

by bennybroseph
11 Mar 2020, 11:33
Forum: Ask For Help
Topic: Map key to mouse right-click and send key
Replies: 2
Views: 266

Re: Map key to mouse right-click and send key

You need to send a RButton Up at some point or remove the Down part. The right mouse button never gets released so FireFox probably doesn't recognize it.
by bennybroseph
11 Mar 2020, 11:04
Forum: Ask For Help
Topic: Using AutoHotkey in C# to get RawInput messages
Replies: 0
Views: 433

Using AutoHotkey in C# to get RawInput messages

So I know this is a weird way to go about it, but I need to be able to read raw mouse delta in C#. I've searched all over the place to find out a solution, and decided I would try to use AHK since I'm already familiar with the language. However, "OnMessage(0x00FF ..." does not seem to be working wit...
by bennybroseph
18 Jan 2020, 02:30
Forum: AutoHotkey_H
Topic: AutoHotkey_H x64w_MT freezes on ahkThread() call
Replies: 14
Views: 3283

Re: AutoHotkey_H x64w_MT freezes on ahkThread() call

So I tried a bunch of things with no luck until I found something very interesting. The code posted runs perfectly after a restart. It'll keep running just fine seemingly forever. However, as soon as I remove the override of ahkThread it freezes AND adding the override back in still freezes. Restart...
by bennybroseph
12 Jan 2020, 21:44
Forum: AutoHotkey_H
Topic: AutoHotkey_H x64w_MT freezes on ahkThread() call
Replies: 14
Views: 3283

Re: AutoHotkey_H x64w_MT freezes on ahkThread() call

The script freezes after this line

Code: Select all

obj:={(""):lib:=MemoryLoadLibrary(dll=""?&ahkdll:dll="FC2328B39C194A4788051A3B01B1E7D5"?&ahkmini:dll),base:base}
by bennybroseph
12 Jan 2020, 18:48
Forum: AutoHotkey_H
Topic: AutoHotkey_H x64w_MT freezes on ahkThread() call
Replies: 14
Views: 3283

Re: AutoHotkey_H x64w_MT freezes on ahkThread() call

error2.png This is what happens when pasting it at the end like so #Persistent testThread := ahkThread("#Persistent`n#NoTrayIcon`nMsgBox, Test`nReturn") SoundBeep Return ahkthread_free(obj:=""){ static objects if !objects objects:=[] if obj="" objects:=[] else if !IsObject(obj) return objects else ...
by bennybroseph
12 Jan 2020, 12:05
Forum: AutoHotkey_H
Topic: AutoHotkey_H x64w_MT freezes on ahkThread() call
Replies: 14
Views: 3283

Re: AutoHotkey_H x64w_MT freezes on ahkThread() call

Changed it to the non_MT version but got the same result.

I have all of the provided scripts in the %My_Documents%\Autohotkey\lib folder but I'm getting the same thing.
by bennybroseph
11 Jan 2020, 21:35
Forum: AutoHotkey_H
Topic: AutoHotkey_H x64w_MT freezes on ahkThread() call
Replies: 14
Views: 3283

Re: AutoHotkey_H x64w_MT freezes on ahkThread() call

Same thing unfortunately
by bennybroseph
11 Jan 2020, 18:28
Forum: AutoHotkey_H
Topic: AutoHotkey_H x64w_MT freezes on ahkThread() call
Replies: 14
Views: 3283

AutoHotkey_H x64w_MT freezes on ahkThread() call

I've installed AutoHotkey_H Multi-Threading according to the AutoHotkey_H.chm, but when running the following script, nothing happens and the script appears to completely freeze. I can't interact with the Tray icon and the program's CPU usage in task manager is really high for some reason. #Persiste...
by bennybroseph
11 Jan 2020, 14:28
Forum: AutoHotkey_H
Topic: Crash with ahkThread on Win10 x64 - v1.1.32
Replies: 9
Views: 2661

Re: Crash with ahkThread on Win10 x64 - v1.1.32

Was this ever resolved?
by bennybroseph
06 Aug 2019, 19:32
Forum: Ask For Help
Topic: crash with no error message
Replies: 2
Views: 2675

Re: crash with no error message

Unfortunately it still crashes even with this change.
by bennybroseph
05 Aug 2019, 23:25
Forum: Ask For Help
Topic: crash with no error message
Replies: 2
Views: 2675

crash with no error message

Hey guys. So I ran into another problem... I'm getting a crash to desktop with no error message. I've narrowed the problem code to what you see below. More specifically, this code and the code it executes is 100% where the issue lies: this.m_Keys.Push(CriticalObject(new Key("LButton", KeybindType.Ta...
by bennybroseph
04 Aug 2019, 20:11
Forum: Gaming
Topic: Hide In-Game Cursor Topic is solved
Replies: 4
Views: 1016

Re: Hide In-Game Cursor Topic is solved

Same. That sounds like a good idea in theory though. I'll do some digging to see if that's possible.
I think that would be the less bannable thing, but I could be wrong. Modifying game files is usually bannable, so maybe it doesn't even matter so either way of doing it is just up to preference.
by bennybroseph
04 Aug 2019, 18:36
Forum: Ask For Help
Topic: Getting Error when running Init() Topic is solved
Replies: 3
Views: 2559

Re: Getting Error when running Init() Topic is solved

Thank you for the reply guys! The issue was resolved when I realized Init() was being called twice accidentally by both Controller.ahk and Intercept.ahk. However, I may very well run into an actual issue with GDip in the future as even with Init() being called twice it didn't make much sense as to w...
by bennybroseph
04 Aug 2019, 17:13
Forum: Gaming
Topic: Hide In-Game Cursor Topic is solved
Replies: 4
Views: 1016

Re: Hide In-Game Cursor Topic is solved

Yeah, that's what I'm trying to avoid as I know for sure that's a bannable 3rd Party modification for most online games. I'm using yolomouse right now to do exactly what you described with a blank cursor. At least yolomosue is a trusted app so the likely-hood of a ban is very very slightly less than...
by bennybroseph
04 Aug 2019, 17:05
Forum: Ask For Help
Topic: Getting Error when running Init() Topic is solved
Replies: 3
Views: 2559

Getting Error when running Init() Topic is solved

error.png So I'm not sure if this is related to AutoHotkey_H, but it's what I'm using. If I don't comment out Intercept.Init() then i get the above error. InputManager.ahk class InputManager { static s_Init := False static s_Moving := False static s_ForceMouseUpdate := True static s_UsingReticule :...
by bennybroseph
03 Aug 2019, 11:57
Forum: Gaming
Topic: Hide In-Game Cursor Topic is solved
Replies: 4
Views: 1016

Hide In-Game Cursor Topic is solved

I've been looking all over and unfortunately haven't found a solution. I have a script which takes XInput and turns it into mouse and keyboard input. Through a ton of code this makes you able to play games of similar genre to Diablo III with a controller on PC pretty easily. However, I'd like to hid...
by bennybroseph
21 Jul 2019, 05:52
Forum: Ask For Help
Topic: Getting random ~16 ms delay even after 'SetBatchLines, -1' Topic is solved
Replies: 5
Views: 762

Re: Getting random ~16 ms delay even after 'SetBatchLines, -1' Topic is solved

For anyone finding this thread later, I fixed it! There actually was no issue with the delay, it's just that using A_TickCount to determine FPS is inaccurate. I used the function: DllCall("QueryPerformanceCounter", "Int64*", YOUR_VARIABLE_HERE) instead. Full FPS class code edit here: ; Helps to main...
by bennybroseph
20 Jul 2019, 10:14
Forum: Ask For Help
Topic: Getting random ~16 ms delay even after 'SetBatchLines, -1' Topic is solved
Replies: 5
Views: 762

Re: Getting random ~16 ms delay even after 'SetBatchLines, -1' Topic is solved

Well currently I'm not sleeping at all which is why I'm confused. The script should be running full blast.

Go to advanced search