Search found 18 matches

by crimson4649
06 Jun 2022, 06:12
Forum: Gaming Help (v1)
Topic: Make script stop when pixel shows Topic is solved
Replies: 3
Views: 348

Re: Make script stop when pixel shows Topic is solved

mikeyww wrote:
06 Jun 2022, 02:49

Code: Select all

End::bStop := True
Home::
bStop := False
Loop
{
 Click, 800 800
 Sleep, 200
 MouseMove, 600, 600
 Sleep, 200
 PixelGetColor, rgb, 400, 400, RGB
} Until (bStop || rgb = 0x4169E1)
MsgBox, Done.
Return
Thanks. seems to be working perfect :)
by crimson4649
06 Jun 2022, 01:43
Forum: Gaming Help (v1)
Topic: Make script stop when pixel shows Topic is solved
Replies: 3
Views: 348

Make script stop when pixel shows Topic is solved

Trying to get the script to stop when it detects a certain pixel changes color to blue. Preferably so that I can still manually stop it as well (like shown below) Sorry if this question has been asked before, and thanks for the help, its really appreciated! F12::Suspend Home:: bStop := false loop { ...
by crimson4649
25 Oct 2021, 02:50
Forum: Gaming Help (v1)
Topic: Help with simple GUI text timer
Replies: 3
Views: 628

Re: Help with simple GUI text timer

mikeyww wrote:
23 Oct 2021, 06:08
The forum has a bunch of timer scripts that can be found through a search.
Thanks.
I did try looking at a couple of them, but I didn't get any of them working the way I wanted.
If you know of any specific, feel free to post the link to it.
by crimson4649
23 Oct 2021, 01:36
Forum: Gaming Help (v1)
Topic: Help with simple GUI text timer
Replies: 3
Views: 628

Help with simple GUI text timer

I want to have a timer overlay in Diablo 2 Resurrected to help me keep track of how long iv been in a game. Preferable the timer should only be displayed as simple text, and nothing else, and should be able to stay on top of a active full screen game. The timer should be reset every time i press F1....
by crimson4649
18 Oct 2021, 08:37
Forum: Gaming Help (v1)
Topic: Game Creation Scrip For D2R?
Replies: 3
Views: 17108

Re: Game Creation Scrip For D2R?

mikeyww wrote:
17 Oct 2021, 19:02

Code: Select all

index = 0
F1::SendInput % "gamename" ++index
wow. just wow, your a true hero!
Thank you so much.
This is gonna be life changing :)
by crimson4649
17 Oct 2021, 18:25
Forum: Gaming Help (v1)
Topic: Game Creation Scrip For D2R?
Replies: 3
Views: 17108

Game Creation Scrip For D2R?

I need help making sequential names in D2R, i keep forgetting what number I'm on (both when creating and joining games), and this causes a lot off issues as of current patches! Is there a simple script I can make that remembers my last entered game name, and adds the next sequential number to the en...
by crimson4649
31 Aug 2020, 14:18
Forum: Gaming Help (v1)
Topic: How to make a repeating hotkey with some keys only pressed once?
Replies: 1
Views: 311

How to make a repeating hotkey with some keys only pressed once?

Sorry for the poor topic description, but i don't know what to name it. That said, this has most likely been answered before, but because I don't know what to look/search for, I'm forced to make a new topic. To the issue! I want to make a standard looping script while holding down a key. But I want ...
by crimson4649
21 Dec 2019, 10:32
Forum: Ask for Help (v1)
Topic: How to make script stop string? Topic is solved
Replies: 2
Views: 397

Re: How to make script stop string? Topic is solved

Rohwedder wrote:
21 Dec 2019, 09:57
Hallo,
try:

Code: Select all

*LShift::
send {4 down}
Loop
{
	Send {1}
	Sleep 5
	Send {2}
	Sleep 5
	Send {3}
	Sleep 5000
}
Return
*LShift Up::
send {4 up}
Reload
Return
thanks, that worked.
by crimson4649
21 Dec 2019, 08:37
Forum: Ask for Help (v1)
Topic: How to make script stop string? Topic is solved
Replies: 2
Views: 397

How to make script stop string? Topic is solved

Sorry for the bad topic, but I couldn't find a better way to describe it. What I want is for the script to completely stop at what its doing when I let go of LShift Not for it to complete the cycle, then stop. *LShift:: send {4 down} While, GetKeyState("lshift","P") { Send {1} Sleep 5 Send {2} Sleep...
by crimson4649
21 Nov 2019, 21:19
Forum: Ask for Help (v1)
Topic: How to make one key allways pressed down, while two are spaming? Topic is solved
Replies: 2
Views: 397

How to make one key allways pressed down, while two are spaming? Topic is solved

Sorry for the bad topic, but I couldn't find a better way to describe it. What I want is a script that does something like this: *X:: send {1 down} Loop { if not GetKeyState("X","P") Break } send {1 up} return While something like this is happening: *X:: Loop { if not GetKeyState("X","P") Break Send...
by crimson4649
21 Nov 2019, 05:14
Forum: Ask for Help (v1)
Topic: How to make a key repeat it self every 2sec while spaming others? Topic is solved
Replies: 2
Views: 371

How to make a key repeat it self every 2sec while spaming others? Topic is solved

Sorry for the bad topic, but I couldn't find a better way to describe it :( What I want is a script that does something like this: ~X:: Loop { if not GetKeyState("X", "P") Break Send {1} sleep 20 Send {2} sleep 20 Send {3 - Only every 2sec while X is held down, otherwise just skip} sleep 20 } Return...
by crimson4649
10 Sep 2017, 03:27
Forum: Gaming Help (v1)
Topic: Pixel color dedection?
Replies: 0
Views: 309

Pixel color dedection?

Hi. can someone help me make a script that detects when a specific pixel turns to a specific color in a game?

Example:
When the pixel at 453, 887 turns to the color #FF8A00 the script will push "j".

//Thanks in advanced.
by crimson4649
25 Jul 2017, 09:33
Forum: Ask for Help (v1)
Topic: execute string only as long as a button is pushed down?
Replies: 9
Views: 1246

Re: execute string only as long as a button is pushed down?

Thanks. it looks like it works. I need to re-adjust the sleep timers because there seem to be an extra delay now in between each string.
Btw. this is for a game that runs in 60fps. is there a way to make the sleep/tick counter count in 60fps instead of 100fps? (1frame = ~16,666... ms?)
by crimson4649
24 Jul 2017, 04:00
Forum: Ask for Help (v1)
Topic: execute string only as long as a button is pushed down?
Replies: 9
Views: 1246

Re: execute string only as long as a button is pushed down?

boiler wrote:Then you'll have to store that info in an array and have a function that interprets it and executes it. The way you have it, it won't do the check for F1 being released in between each.
that is way above me, how do i do that?
btw. thanks for the help :)
by crimson4649
23 Jul 2017, 08:45
Forum: Ask for Help (v1)
Topic: execute string only as long as a button is pushed down?
Replies: 9
Views: 1246

Re: execute string only as long as a button is pushed down?

the ABC string was just en example. I need to execute something much more complex that requires me to use the key down/key up command, I also need to have variable delays in between each command. This is the actuale code: F1:: SetKeyDelay, -1 While GetKeyState("F1") { Send, {s down} Sleep 22 Send, {...
by crimson4649
23 Jul 2017, 07:53
Forum: Ask for Help (v1)
Topic: execute string only as long as a button is pushed down?
Replies: 9
Views: 1246

Re: execute string only as long as a button is pushed down?

Its me the creator of the topic. saw I wasn't logged in :P Ok. this is how fare I have gotten. F1:: SetKeyDelay, -1 While GetKeyState("F1") { Send, {A down} Sleep 5 Send, {A up} Sleep 1000 Send, {B down} Sleep 5 Send, {B up} Sleep 1000 Send, {C down} Sleep 5 Send, {C up} Sleep 1000 Send, {D down} Sl...

Go to advanced search