Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 07:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



need help troubleshooting code

Discussion on need help troubleshooting code within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2011
Posts: 1
Received Thanks: 0
need help troubleshooting code

code is kinda wacky this is an mtgo trading bot in the works hoping someone can shed some light not sure my code is perfectly right so far i know the bottom function the mouse click does not work properly the one outside the loop


#include "misc.au3"

;Wait for trade
While 1 = 1
if _ispressed("0d") then exitloop; press the ENTER key to exit the loop
$coord1 = PixelSearch( 538, 463, 626, 479, 0xE7E7E7 )
If Not @error Then
MouseClick("left", $coord1[0], $coord1[1], 1)
EndIf



;dock window
$FindDock = PixelSearch(766, 41, 781, 49, 0xFEFEFE )
If Not @error Then
MouseClick("left", $FindDock[0], $FindDock[1], 1)
Else
$FindDock2 = PixelSearch(784, 212, 797, 221, 0xFEFEFE )
If Not @error Then
MouseClick("left", $FindDock2[0], $FindDock2[1], 1)
EndIf
EndIf

$FindDock3 = PixelSearch(803, 386, 817, 394, 0xFEFEFE )
If Not @error Then
MouseClick("left", $FindDock3[0], $FindDock3[1], 1)
Else
$FindDock4 = PixelSearch(819, 559, 834, 567, 0xFEFEFE )
If Not @error Then
MouseClick("left", $FindDock4[0], $FindDock4[1], 1)
EndIf
EndIf
WEnd

sleep(2000)

MouseClick("left", 1139, 585, 1, 0)
Send("Welcome to a bot in testing 123!!!")
Send("{ENTER}")
decadude is offline  
Reply


Similar Threads Similar Threads
[TuT]: Server Troubleshooting
04/09/2013 - WoW Private Server - 27 Replies
Das es mir langsam ziemlich aufn Geist geht das ich jede Frage in den Server Threads 100x wiederholt schreib ich hier mal n kleines Troubleshooting(Probemlösung :) TuT: Du hast Probleme mit deinem Server? (1 klick oder whatever) Schritt 1: Check nochmal das Server Tut ob du auch alles gesehn hast und mach das ganze am besten neu, wenns dann immernoch nicht geht: Schritt 2: Du hast ein Gehirn (ja genau du!) und selbst ein totaler volln00b kann logisch denken, setz dich einfach mal ne...
LGZ Troubleshooting
06/08/2009 - Grand Chase Philippines - 40 Replies
do i have to use old mle with sys retriever and kerneldata to use LGZ na dl ko na xa by searching in google i tried to do 1 hit hack but the thing is it aint reading addresses when i scan 16256
Bot Troubleshooting
03/13/2009 - Rohan - 1 Replies
Good day guys i just want to ask some few questions.. i hope you can help me out with these.. *I am a templar and I want to use heal while I train..is it possible for me to configure that with the current bot? If yes please teach me *Whenever my character die it won't go back to its training area..how can i fix this? your answers will be very much appreciated!
Troubleshooting.
01/22/2009 - RF Online - 7 Replies
I know this isn't a help desk, but the RF guys don't have an actual forum where I can address this issue. I used to play RF when it was run by CM before it was closed. Most of the times something would happen to my game that I needed to use system restore to make it work normally. Now, I can run the game just fine, I meet the system requirements even though I can't part take in the mine wars where I need a better PC to actually have more than 2 frames a second, but this issue is...
BYPASS TROUBLESHOOTING?!
12/04/2008 - Dekaron - 2 Replies
Ok first off...I know im in the wrong section...second....I dont care...I havent gotten a single productive answer in the general discussion so if your gunna flame me...I dont really care....it wont affect me in the slightest. now on to the topic at hand...nebular bypass aint workin for me...or lots of others with winxp apparently.....I hace the new no CRC for 4.5.8 and I have all the files in there respective places just like it was when I bypassed the last two versions acclaim had. the...



All times are GMT +1. The time now is 07:54.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.