Search found 205 matches

by _3D_
20 Mar 2019, 18:28
Forum: Gaming
Topic: InGame v2.0
Replies: 88
Views: 37916

Auto-Kill-GRB version 3

The idea was to write a mechanism that can cover many different cases to activate and control main buffs in my game. Lets see one examle: When gamer press Numpad1 script send Numpad1 5 times and repeat send Numpad1 5 times any given timed period When gamer press Numpad2 script send Numpad2 5 times a...
by _3D_
05 Mar 2019, 01:54
Forum: AutoHotkey v2 Development
Topic: Hotkey call BUG
Replies: 2
Views: 214

Re: Hotkey call BUG

Thanks Helgef.
In other words I can't access list of hotkeys, created with Hotkey(), and call its corresponding actions.
by _3D_
04 Mar 2019, 13:25
Forum: AutoHotkey v2 Development
Topic: Hotkey call BUG
Replies: 2
Views: 214

Hotkey call BUG

The main code that work: Gosub("T") T::tooltip("T") BUT let see the next code: function("T", ()=>tooltip("T")) function(h, f) { Hotkey(h, f) } Gosub("T") A function that create Hotkey. --------------------------- ahk-test-code-2.ahk --------------------------- Error: Target label does not exist. Spe...
by _3D_
01 Mar 2019, 15:34
Forum: Gaming
Topic: InGame v2.0
Replies: 88
Views: 37916

Crazy Class - alpha

This is a side effect from class Buff and class Flag. And as result most complicated method to do something simple. class Ahk2 class Ahk2 { ahkTrig:= 0 __New(ahkHkey, ahkFunc, ahkView) { try Hotkey(ahkHkey[1], ()=>ahkFunc[1].call(this)) try Hotkey(ahkHkey[2], ()=>ahkFunc[2].call(this)) (this.ahkView...
by _3D_
28 Feb 2019, 02:13
Forum: Gaming
Topic: How to achieve the lowest level of access to keys?
Replies: 5
Views: 254

Re: How to achieve the lowest level of access to keys?

Your problem must be separated in 2 parts: 1. Catch hotkey F1:: 2. Send method Send 1 Pre. First of all you need to check: 1 Windows 32/64 2 Game 32/64 3 AutoHotkey.exe 32/64 The worst combination W32 + G32 + A32. This case will torch you. The best combination W64 + G32 + A64. Game is encapsulated i...
by _3D_
27 Feb 2019, 13:15
Forum: Gaming
Topic: AHK script issue when using combined mouse clicks Topic is solved
Replies: 2
Views: 218

Re: AHK script issue when using combined mouse clicks Topic is solved

Actually I don`t understand what is the idea of script, so I post methods that can trigger mouse buttons. #SingleInstance force ;Copyright (c) D.Donchev ; method 1 - pooling ---------------------------------------------------------- loop { state:= getKeyState("LButton", "P")? "L": "-" state.= getKey...
by _3D_
25 Feb 2019, 06:39
Forum: AutoHotkey v2 Development
Topic: I want Class For SQLite v2, thanks!!
Replies: 1
Views: 397

Re: I want Class For SQLite v2, thanks!!

It is well written code, I think you can use it in AHKv2.0 with small syntax corrections.
For example: <> replace with !=

And in additions youll become v2 developer :P
by _3D_
25 Feb 2019, 06:30
Forum: AutoHotkey v2 Development
Topic: Bug: StrSplit Topic is solved
Replies: 4
Views: 670

Re: Bug: StrSplit Topic is solved

As jeeswg wrote you compare string to string.
If you need to compare separated elements as integer: (spl[<index>] + 0) <comparison> (spl[<index>] + 0) - it is forced conversion to integer if possible or exception.
by _3D_
25 Feb 2019, 06:21
Forum: AutoHotkey v2 Development
Topic: bug: closure doesn't recognize "base" keyword Topic is solved
Replies: 5
Views: 352

Re: bug: closure doesn't recognize "base" keyword Topic is solved

As closure cant be member of a given class then base is not accessed inside closure without this.
In other words closure not "see" class members and to do this it need this.
by _3D_
25 Feb 2019, 04:00
Forum: AutoHotkey v2 Development
Topic: potential line continuation bug
Replies: 2
Views: 349

Re: potential line continuation bug

I think there no any bug. See syntax of IF in v2: If(condition) ;condition enclosed in brackets action ;next line is action In your example: if(r:=DllCall(a, 'int',n , 'ptr',p)) ;condition enclosed in brackets => r:=DllCall(a, 'int',n, 'ptr',p) d++ ;action Next when you add operator &&: then error i...
by _3D_
22 Feb 2019, 10:12
Forum: Gaming
Topic: Rapid fire while both mouse buttons are held down
Replies: 1
Views: 254

Re: Rapid fire while both mouse buttons are held down

AHKv2.0

Code: Select all

~LButton::
~RButton::
	while(getKeyState("LButton", "P") && getKeyState("RButton", "P")) {
		Send("F")
		Sleep(50)
	}
return	
#!Q::ExitApp
Enjoy!
by _3D_
19 Feb 2019, 08:39
Forum: Gaming
Topic: InGame v2.0
Replies: 88
Views: 37916

Auto-Kill-GRB again

After couple of days testing and optimizing - new Auto-Kill-GRB. Why? 1. Meta-functions provide a broader way of controlling access to properties and methods of an object, but are more complicated and error-prone. I change properties to a single function. 2. Using Auto-Buff - interrupt fast killing....
by _3D_
17 Feb 2019, 02:11
Forum: Gaming
Topic: InGame v2.0
Replies: 88
Views: 37916

All about timed buffs

I did it in times complicated. At the beginning idea was to be connected all similar actions to a single variable. And when value of this variable is changed then actions run or stopped together. BUT at the end I made one more class that collect itself list of "similar" actions. Class Buff: class Bu...
by _3D_
13 Feb 2019, 09:46
Forum: Gaming
Topic: InGame v2.0
Replies: 88
Views: 37916

Re: All about SetTimer

There was too many questions about this timers. Lets start with the syntax: SetTimer [Callback, PeriodOnOffDelete, Priority] parameter #2: control the status of timer parameter #3: control the priority of timer parameter #1: must be "String" or "Function Object" Now let see what this parameter Callb...
by _3D_
09 Feb 2019, 14:37
Forum: Gaming
Topic: InGame v2.0
Replies: 88
Views: 37916

Auto-Kill

An small but powerful script that keep buffs updated and auto kill. There 4 buffs attached to Numpad1, 2, 3, 4 and auto attack attached to 1. #SingleInstance Force ;Copyright (c) D.Donchev SendMode("Event") CoordMode("Mouse", "Screen") CoordMode("Pixel", "Screen") CoordMode("Tooltip", "Screen") SetK...
by _3D_
13 Nov 2018, 09:57
Forum: Forum Issues
Topic: Please return back old forum theme.
Replies: 9
Views: 854

Re: Please return back old forum theme.

Nice work ty.
by _3D_
24 Oct 2018, 12:28
Forum: Forum Issues
Topic: Please return back old forum theme.
Replies: 9
Views: 854

Re: Please return back old forum theme.

"SimplicityOld" return back blue, but code field still no expand/collapse button and highlighting.
by _3D_
24 Oct 2018, 01:11
Forum: Forum Issues
Topic: Please return back old forum theme.
Replies: 9
Views: 854

Please return back old forum theme.

The new one haven`t needed functionality, especially for code presentation.
by _3D_
23 Sep 2018, 02:55
Forum: Gaming
Topic: InGame v2.0
Replies: 88
Views: 37916

fast and furious

A simple speed test about sending and running functions as arguments. #SingleInstance Force ;Copyright (c) D.Donchev loops:= 100000 ;test function funct() { return "" } fatfu()=>"" ;complete argument check ------------------------------------------------------ ff_1(arg:="") { return %(type(arg) == "...

Go to advanced search