Byond autoit script bot not working.

06/13/2014 17:09 Dach Kinderson#1
o.o
07/11/2014 07:00 VitorCornelius#2
Quote:
Originally Posted by Dach Kinderson View Post
Hello I'm new here and I'm wondering what's wrong with my script for a game called Byond. I want it to automatically push arrows that come in randomly, I have all the correct coords ,but it seems to only have mouse movements.(The red dots are where i get my coords from) The link is the original script


[Only registered and activated users can see links. Click Here To Register...]


If $arrow = 1 Then
If PixelGetColor(338,362) = "0x000033" And PixelGetColor(343,362) = "0x000033" Then
Send("{DOWN}")
$arrow = 2
ElseIf PixelGetColor(338,355) = "0x000033" And PixelGetColor(343,355) = "0x000033" Then
Send("{UP}")
$arrow = 2
ElseIf PixelGetColor(337,354) = "0x000033" And PixelGetColor(337,359) = "0x000033" Then
Send("{LEFT}")
$arrow = 2
ElseIf PixelGetColor(344,354) = "0x000033" And PixelGetColor(364,359) = "0x000033" Then
Send("{RIGHT}")
$arrow = 2
EndIf
ElseIf $arrow = 2 Then
If PixelGetColor(354,362) = "0x000033" And PixelGetColor(359,362) = "0x000033" Then
Send("{DOWN}")
$arrow = 3
ElseIf PixelGetColor(354,355) = "0x000033" And PixelGetColor(359,355) = "0x000033" Then
Send("{UP}")
$arrow = 3
ElseIf PixelGetColor(353,354) = "0x000033" And PixelGetColor(353,359) = "0x000033" Then
Send("{LEFT}")
$arrow = 3
ElseIf PixelGetColor(360,354) = "0x000033" And PixelGetColor(360,359) = "0x000033" Then
Send("{RIGHT}")
$arrow = 3
EndIf
ElseIf $arrow = 3 Then
If PixelGetColor(370,362) = "0x000033" And PixelGetColor(375,362) = "0x000033" Then
Send("{DOWN}")
$arrow = 4
ElseIf PixelGetColor(370,355) = "0x000033" And PixelGetColor(375,355) = "0x000033" Then
Send("{UP}")
$arrow = 4
ElseIf PixelGetColor(369,354) = "0x000033" And PixelGetColor(369,359) = "0x000033" Then
Send("{LEFT}")
$arrow = 4
ElseIf PixelGetColor(376,354) = "0x000033" And PixelGetColor(376,359) = "0x000033" Then
Send("{RIGHT}")
$arrow = 4
EndIf
ElseIf $arrow = 4 Then
If PixelGetColor(386,362) = "0x000033" And PixelGetColor(391,362) = "0x000033" Then
Send("{DOWN}")
$arrow = 5
ElseIf PixelGetColor(386,355) = "0x000033" And PixelGetColor(391,355) = "0x000033" Then
Send("{UP}")
$arrow = 5
ElseIf PixelGetColor(385,354) = "0x000033" And PixelGetColor(385,359) = "0x000033" Then
Send("{LEFT}")
$arrow = 5
ElseIf PixelGetColor(392,354) = "0x000033" And PixelGetColor(392,359) = "0x000033" Then
Send("{RIGHT}")
$arrow = 5
EndIf
ElseIf $arrow = 5 Then
If PixelGetColor(402,362) = "0x000033" And PixelGetColor(407,362) = "0x000033" Then
Send("{DOWN}")
$arrow = 1
ElseIf PixelGetColor(402,355) = "0x000033" And PixelGetColor(407,355) = "0x000033" Then
Send("{UP}")
$arrow = 1
ElseIf PixelGetColor(401,354) = "0x000033" And PixelGetColor(401,359) = "0x000033" Then
Send("{LEFT}")
$arrow = 1
ElseIf PixelGetColor(408,354) = "0x000033" And PixelGetColor(408,359) = "0x000033" Then
Send("{RIGHT}")
$arrow = 1
Is it your full code? If yes, then you should do something with it, cause horyble looking. Advice. If u run this scrpitl how it is atm. It will finish before u switch task.
You should use a Sleep order and use Hotkey to run, to stop. For this orders, use Help file pls. Everything writen there from this 2 order clearly with good examples how to use. Other stuff, you should use Loop, then it will not stop after once runned...
07/11/2014 21:27 cяαzуℓυмι#3

kwt
03/17/2015 12:42 Padre123#4
Does this script you made still work for the game?
03/20/2015 14:52 Dach Kinderson#5
nah it didn't work @Padre123
and I have to delete this thread before im banned from dbs
03/20/2015 16:18 Moneypulation#6
Quote:
Originally Posted by Dach Kinderson View Post
nah it didn't work @Padre123
and I have to delete this thread before im banned from dbs
Threads won't be deleted unless they are spam or contain a virus etc.
If you want your thread to be closed though, you can use the report button and request a close
03/20/2015 16:48 Dach Kinderson#7
ah thanks
03/20/2015 23:09 snow#8
Quote:
o.o
Bonrax?

#closed