Jump to content

Recommended Posts

Posted

Eh guy im working on a autobot for a pc DDR game. But somehow i tink i too noob to create one. Can some1 help me c what is wrong with the loop i written.

While 1

If PixelGetColor(50,100) = 0x34FDC5 Then

Send("{a down}")

sleep (10)

EndIf

If PixelGetColor(120,100) = 0xF7D37E Then

Send("{k down}")

sleep (10)

EndIf

If PixelGetColor(188,100) = 0xF7D37E Then

Send("{s down}")

sleep (10)

EndIf

If PixelGetColor(257,100) = 0x34FDC5 Then

Send("{l down}")

sleep (10)

EndIf

WEnd

Posted

what's the error ?

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Posted

post-38359-1217398814_thumb.jpgSomehow after starting the auto script i didnt get any response. which is like no different to the game.

The picture is the demo of my game.

Posted (edited)

Sry Andriek. but wat does {PixelGetColor returns decimal value of pixel's color. Use Hex()} mean?

Mean that you can use PixelGetColor like in this example:

If "0x" & Hex(PixelGetColor(50,100)) = 0x34FDC5 Then
Edited by Andreik
Posted

I had tried your method but still not working. Can help me see y cannot work at all?

While 1

If "0x" & Hex(PixelGetColor(45,99)) = 0x11DAA4 Then

Send("{a down}")

sleep (10)

EndIf

If "0x" & Hex(PixelGetColor(118,102)) = 0xF28532 Then

Send("{k down}")

sleep (10)

EndIf

If "0x" & Hex(PixelGetColor(189,99)) = 0xE8A660 Then

Send("{s down}")

sleep (10)

EndIf

If "0x" & Hex(PixelGetColor(260,103)) = 0x11DEA5 Then

Send("{l down}")

sleep (10)

EndIf

WEnd

Posted

Do you know how to change the coordinate to box type? Cause the one im using is only on 1 position i tink maybe abit hard to detect.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...