Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 19:16

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

Advertisement



need so help on this script

Discussion on need so help on this script within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2007
Posts: 4
Received Thanks: 0
need so help on this script

#cs ----------------------------------------------------------------------------

AutoIt Version: 3.3.6.1
Author:Chris606
#ce ----------------------------------------------------------------------------
#include <GUIConstantsEx.au3>

GUICreate("Chris606 Bot", 335, 100)


GUICreate("GUICtrlSetData", 200,100)
GUISetState(@SW_SHOW)

$button = GUICtrlCreateButton("Start",8, 10)
$button = GUICtrlCreateButton("Stop", 35, 40, 120)

HotKeySet("{NUMPADSUB}", "_getPosition")

$x = 544
$y = 249
$color = 0
$status = "off"

While 1
sleep("1")
If $status = "on" Then
;code here
EndIf

WEnd

Func _getDefault()
$coord = MouseGetPos(,)
$x = $coord[0]
$y = $coord[1]
$color = 425513(4347155( $coord[0], $coord[1]), 6)
$status = "on"
EndFunc

HotKeySet("{NUMPADSUB}", "_getDefault")

$x = 544
$y = 249
$color = 0
$newColor = 0
$status = "off"

While 1
If $status = "on" Then
If _getCurrentColor($x, $y) <> $color Then
Send("1")
EndIf
EndIf
WEnd


Func _getDefault() <------i dont no what to do can some 1 help me out
$coord = MouseGetPos()
$x = $coord[0]
$y = $coord[1]
$color = Hex(PixelGetColor( $coord[0], $coord[1]), 6)
$status = "on"
EndFunc


Func _getCurrentColor($xDef, $yDef)
$newColor = Hex(PixelGetColor( $xDef, $yDef), 6)
Return ($newColor)
EndFunc
chris606 is offline  
Reply


Similar Threads Similar Threads
L2Walker script: Solo rebuff/restock/return script
08/08/2012 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 63 Replies
Hello! I've been reading alot and not really contributing so i'll start off here with a very well working script im using to bot my SK outside ivory tower in oren. I've tried to structure the code so it easily can be modified for another level of character, town, and hunting spot. The script is made for CT2 Retail, mainly to get advantage of the newbie buffs (which now lasts all the way until level 62) Change log: Update 2008-09-01 Version 1.14 -Download
[suche] d2nt level rush script 1-25 / follow script
06/23/2010 - Diablo 2 Programming - 5 Replies
moin erstmal sry falls es da doch schon was passendes zu gab - hab schonmal gesucht aber nur alte sachen gefunden oder eben antworten in richtung "geht so schnell dafür braucht man keinen bot" ^^ mein problem besteht darin dass ich für lvl 1 bis 20 immer x stunden brauche - trist geht ja noch halberwegs aber mit tombruns such ich mich immer dusselig ^^ - bzw cows sind noch schlimmer (dafür geht das cow-script für d2nt ausm bluebird zumindest halberwegs) die frage ist jetz die - giebt...



All times are GMT +1. The time now is 19:17.


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.