| Author |
Message |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 30th, 2011, 2:15 pm
|
|
Replies: 22 Views: 471
|
| Ty for your reply, all is getting much clearer now to understand. :idea: Although i wish i had a different explanaition about these 2; http://www.autohotkey.com/docs/commands/IfEqual.htm http://www.autohotkey.com/docs/commands/IfExpression.htm I dont quite understand the diff between non expression ... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 29th, 2011, 4:32 pm
|
|
Replies: 22 Views: 471
|
| RunWait "..\Launch Dungeon Lords!.lnk" SetKeyDelay, 0, 20 Wheel_At := "f 4 5 6 7 8" StringSplit, Wheel_, Wheel_At, %A_Space% Wheel_At := 1 WinWaitActive, Dungeon Lords, , 5 { If WinNotActive, Dungeon Lords { ExitApp } } IfWinNotExist, Dungeon Lords { Msg... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 29th, 2011, 2:27 pm
|
|
Replies: 22 Views: 471
|
| Current Script: EDITED SetKeyDelay, 0, 20 Wheel_At := "f 4 5 6 7 8" StringSplit, Wheel_, Wheel_At, %A_Space% Wheel_At := 1 WinWait, Dungeon Lords, , 5 WinWaitClose, Dungeon Lords, , 3 IfWinNotExist, Dungeon Lords { MsgBox, 64, AHK Script Closing,The Hotkey script for Dungeon Lords wil... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 29th, 2011, 12:43 pm
|
|
Replies: 22 Views: 471
|
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 29th, 2011, 12:41 pm
|
|
Replies: 22 Views: 471
|
Theres a way;
$ is used for it... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 29th, 2011, 12:35 pm
|
|
Replies: 22 Views: 471
|
| I do apologise, I really wish I could, but I too am not great at AutoHotkey yet, I have a lot of other things on at work and so I am just slowly learning it as and when I can . . . I'm sure someone else could give a good explanation . . . lol i was pointing to VxE, the one who gave the script. Its ... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 29th, 2011, 12:21 pm
|
|
Replies: 22 Views: 471
|
| Can you explain this piece? Wheel_At := 1 + Mod( Wheel_At + Wheel_0, Wheel_0 ) Send, % "{Blind}" Wheel_%Wheel_At% Wheel_At is a var containing multiple entry's. You set the pos to 1. + Mod ??? cant find info on the mod thing. Im trying to read this using the cmd list. But... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 29th, 2011, 12:19 pm
|
|
Replies: 22 Views: 471
|
tryd it before doesnt work.
Maybe game forces it. |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 29th, 2011, 12:01 pm
|
|
Replies: 22 Views: 471
|
| ty again. I am looking on the manual pages. And sure i believe you :) I create websites etc. So thats why this kind of stuff is new to me. It isnt the same. Most stuff looks logically the same, but a lot of cmd's i did never ever used before. Never closed windows other than the current one. Never di... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 29th, 2011, 1:25 am
|
|
Replies: 22 Views: 471
|
| This doesnt work somehow; SetKeyDelay, 0, 20 Wheel_At := "f 4 5 6 7 8" StringSplit, Wheel_, Wheel_At, %A_Space% Wheel_At := 1 Return #IfWinActive, Dungeon Lords $*WheelDown:: Wheel_At -= 2 $*WheelUp:: Wheel_At := 1 + Mod( Wheel_At + Wheel_0, Wheel_0 ) Send, % "{Blind}... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 27th, 2011, 2:34 am
|
|
Replies: 22 Views: 471
|
| I have a request... But if you find me lazy (and i can not blame you for thinking this :wink: ) i will try do it myself. the current setup of button order: Q Q 5 6 7 8 Causes trouble ingame. Its because of the game mechanics. It can be solved but i dont know how to script this. Because of the ingame... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 27th, 2011, 12:00 am
|
|
Replies: 22 Views: 471
|
| Thank you again for your reply, I found out a part of my other code messed it up. Suspend, on PauseScript := true SplashTextOn, , , Loading Script... Sleep, 500 SplashTextOff MsgBox, 64, Dungeon Lords - Scroll Script Active, You activated the Dungeon Lords - Scroll Script.`nPlease note that the scri... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 26th, 2011, 1:32 am
|
|
Replies: 22 Views: 471
|
Thank you for your reply.
However, the code you give isnt sending the keys.
If i enable it without Winactive, so i can test it in wordpad, the mouse wont scroll anymore, but you should expect typing in wordpad. But it doesnt.
I dont understand your code so will you please take a look at it? |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 25th, 2011, 2:48 pm
|
|
Replies: 22 Views: 471
|
| This isnt working, i never had to use so many "things' at once; CWeap1 = true CWeap2 = false CSlot5 = false CSlot6 = false Cslot7 = false CSlot8 = false $WheelUp:: if CWeap1 { Send Q CWeap1 := false CWeap2 := true Return } if CWeap2 { Send 5 CWeap2 := false CSlot5 := true Return ... |
|
 |
Forum: Support Topic: Scroll items/weapons in game. |
| WRobN |
|
Posted: June 25th, 2011, 1:15 pm
|
|
Replies: 22 Views: 471
|
| Hello, Ive been using AHK for a long time. But im confused about the following; Im trying to make scroll up and down to select the following keys in order and backwards: Q _____ Q _____ 5 ____ 6 ____ 7 ___ 8 Weap1 Weap2 Slot5 Slot6 Slot7 Slot8 (yes 2x Q) So the script needs to start on first Q (its ... |
|
 |
| Sort by: |