Search found 14 matches
- 25 Nov 2017, 04:23
- Forum: Ask For Help
- Topic: simple script can't seem to read ini file
- Replies: 5
- Views: 1302
Re: simple script can't seem to read ini file
If(value = on) ; set variable using 'expresion' style i tried your suggestion but a messege box nothing happened appeared... it seems it cannot read anything :( test() { IniRead, value, skillmode.ini, skillmode, toggle If(value = on) { send, {f9} msgbox, now its on! return } else If(value = off) { ...
- 25 Nov 2017, 01:43
- Forum: Ask For Help
- Topic: simple script can't seem to read ini file
- Replies: 5
- Views: 1302
simple script can't seem to read ini file
i'm trying to read ini file, however it cannot seem read the ini file, even i put on or off only the first statement runs, any idea why? heres in my skillmode.ini file [skillmode] toggle=off heres my whole script home:: Loop { test() sleep, 1500 } test() { IniRead, value, skillmode.ini, skillmode, t...
- 26 Sep 2017, 07:19
- Forum: Ask For Help
- Topic: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
- Replies: 110
- Views: 34972
Re: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
any further updates?
- 19 Sep 2017, 06:01
- Forum: Ask For Help
- Topic: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
- Replies: 110
- Views: 34972
Re: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
When we release our pre-alpha (Am hoping next weekend), I aim to have support for keyboard keys, mouse buttons and mouse movement. Mouse wheel may or may not be in the initial alpha, as it is a slightly special case. The ability to turn on/off blocking of inputs will probably not be in the initial ...
- 16 Sep 2017, 12:41
- Forum: Ask For Help
- Topic: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
- Replies: 110
- Views: 34972
Re: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
Many thanks Noesis for the C# wrapper skeleton, it saved me a bunch of time. I just had a fiddle - in a couple of hours, I managed to write a basic C# wrapper for Interception. As a proof-of-concept, I mimicked AHK's hotkey functionality - you can register a hotkey and it fires a callback when it c...
- 11 Sep 2017, 15:47
- Forum: Ask For Help
- Topic: error else with no matching if,
- Replies: 0
- Views: 380
error else with no matching if,
my autohotkey script seems to be wrong , i keep getting error else with no matching if, is there something that i missed? loop { loot()1 } loot1() { ImageSearch,violetX, violetY, 266, 141, 579, 527, C:\image\loot.png If ErrorLevel { mobs1() } else If ErrorLevel=0 { mousemove(%violetX%,%violetY%) mou...
- 10 Sep 2017, 03:56
- Forum: Ask For Help
- Topic: is my script having recursion? it always crash after 3-5min
- Replies: 2
- Views: 648
Re: is my script having recursion? it always crash after 3-5min
As what Ive thought.. Do u have idea how to run my script go to the main top to continue the scrip without recursion?just me wrote:Obviously! You are calling Main() from almost any function originally called by Main(). This is what is called 'recursion'.is my script having recursion?
- 10 Sep 2017, 01:32
- Forum: Ask For Help
- Topic: is my script having recursion? it always crash after 3-5min
- Replies: 2
- Views: 648
is my script having recursion? it always crash after 3-5min
my script always crashes every 3-5mins i dont know why theres no error mesage why its crashing? home:: main() { loot1() } loot1() { ImageSearch,violetX, violetY, 266, 141, 579, 527, C:\image\loot.png If ErrorLevel mobs1() else newvioletX := violetX + 20 newvioletY := violetY + 40 mousemove(%newviole...
- 08 Sep 2017, 07:29
- Forum: Scripts and Functions
- Topic: Class_DD
- Replies: 37
- Views: 25123
Re: Class_DD - WingRing0 alternative, a vitual keyboard/mouse library
however keypress such DD._key_press("F1") f1-f12, enter,home,insert,delete, button doesnt seem to work on my game any idea how to make it work? Adding some sleep between key up and key down might help, please take a look at the code (of _key_press function) and try it yourself. key(param1, param2) ...
- 08 Sep 2017, 07:03
- Forum: Ask For Help
- Topic: pixelsearch else doesnt work
- Replies: 5
- Views: 1236
Re: pixelsearch else doesnt work
First thing I noticed you have two "else" in one bracket pair (it messes your script). Also, what I do in scripts with many conditions, I make only "IF" conditions: if it doesn't comply - it skips to another "IF". You will just make your script more complicated with many ifs and else. Also I may be...
- 08 Sep 2017, 07:02
- Forum: Ask For Help
- Topic: pixelsearch else doesnt work
- Replies: 5
- Views: 1236
Re: pixelsearch else doesnt work
edit: i tried to switch else of imagesearch and pixelsearch .. make the imasearch priority
and then imagesearch worked but pixelsearch wont work, what sorcery is this?
and then imagesearch worked but pixelsearch wont work, what sorcery is this?
- 08 Sep 2017, 06:42
- Forum: Ask For Help
- Topic: pixelsearch else doesnt work
- Replies: 5
- Views: 1236
pixelsearch else doesnt work
i try to combine pixel search and imagesearch , then f5 if it theres no color and image but only pixelsearch works and it skips imagesearch why? home:: Loop { PixelSearch, X, Y, 29, 198, 771, 577, 0x00FF00, 0, fast if(ErrorLevel=0) { MouseClick, left, %X%, %Y% } else { ImageSearch,X2, Y2, 235, 43, 7...
- 08 Sep 2017, 06:08
- Forum: Scripts and Functions
- Topic: Class_DD
- Replies: 37
- Views: 25123
Re: Class_DD - WingRing0 alternative, a vitual keyboard/mouse library
sending string works abcefghij, however keypress such DD._key_press("F1") f1-f12, enter,home,insert,delete, button doesnt seem to work on my game any idea how to make it work? and what is command for this? key(param1, param2) { return DllCall(this.dllFile "\DD_key", "int", param1, "int", param2) } i...
- 06 Sep 2017, 18:29
- Forum: Gaming
- Topic: gui how to output text or label?
- Replies: 0
- Views: 359
gui how to output text or label?
hi i made pixelsearch bot, but i want output/print the real-time actions on gui text any idea how to achieve something like this? http://i.imgur.com/KG9TIer.png #SingleInstance, force GuiWidth = 400 GuiHeight = 350 GuiTitle = my bot ;------------------this scrolling gui seems appear nicely, but i do...