Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 02:35

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

Advertisement



Steinbrucht Hilfe

Discussion on Steinbrucht Hilfe within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2008
Posts: 169
Received Thanks: 9
Steinbrucht Hilfe

#include <file.au3>
#include <array.au3>
#include <String.au3>
#include <GuiConstantsEX.au3>
#include <Staticconstants.au3>

;Hotkeys
#Region "HotKeys"
HotKeySet("{F5}", "SetMiningStuff")
HotKeySet("{F6}", "MiningWithTori")
HotKeySet("{ESC}","Close")
#EndRegion

;Globals
#Region "Globals"
Global $LeftCritter, $RightCritter, $LCPixel, $RCPixel, $pos, $hWnd, $LPixel, $RPixel, $miner
Global $LeftCritter_X, $LeftCritter_Y, $RightCritter_X, $RightCritter_Y
#EndRegion


$LeftCritter = StringSplit("403,582",",")
$RightCritter = StringSplit("630,582",",")

;Self Explainitory
$LeftCritter_X = $LeftCritter[1]
$LeftCritter_Y = $LeftCritter[2]

$RightCritter_X = $RightCritter[1]
$RightCritter_Y = $RightCritter[2]

while 1
sleep(100)
WEnd

Func SetMiningStuff()
$hWnd = WinGetHandle('Nostale')
;Use this as SOON as the Start button of the Minigame is clicked
;This sets the Pixel colors to watch for.

$RCPixel = PixelGetColor($RightCritter_X, $RightCritter_Y, $hWnd)
$LCPixel = PixelGetColor($LeftCritter_X, $LeftCritter_Y, $hWnd)
EndFunc

Func MiningWithTori()
$miner = NOT $miner

While $miner
$hWnd = WinGetHandle('Nostale')

;This Sets new Variables as the Constant Pixel Color within ths given coords
$RPixel = PixelGetColor($RightCritter_X, $RightCritter_Y, $hWnd)
$LPixel = PixelGetColor($LeftCritter_X, $LeftCritter_Y, $hWnd)

;If the Constant Pixel color changes
If $LPixel <> $LCPixel then
Send("{LEFT}",0)

If $RPixel <> $RCPixel then
Send("{RIGHT}",0)

EndIf

EndIf
;If no change is present Keep Hitting that Rock you crackhead i know u like it !
Send("{UP}")
;Sleep(20)


WEnd

EndFunc

Func Close()
Exit 0
EndFunc



habe mal in anderen foren nachgeguckt und das gefunden etwas verändert und an die auflösung 1024x768 geändert doch leider funktionierts immernoch nicht...
kann mir bitte jemand helfen??
danke im vorraus
MFG Fabi
datafabi is offline  
Reply


Similar Threads Similar Threads
[Hilfe]Schnelle hilfe! Dyndns Hp geht nicht trotz korrekter eingabe
03/20/2011 - Metin2 Private Server - 6 Replies
Tag zusammen Also ich habe folgendes problem 1. Bin ich um 3 Uhr abendds ( 2:50) noch immer Wach und prepariere meinen Server und 2. Meine Homepage geht nicht! Also Stand sieht wie folgt aus bei der Portfreigabe in meiner Fritzbox 7270 Fon Wlan
Hilfe Hilfe Pls Gucken Brauche Hilfe
04/04/2010 - Technical Support - 3 Replies
Ja wegen der Signatur sieht es euch ma an in pics /http://img641.imageshack.us/img641/6070/unbenann t790kjkh.png http://img444.imageshack.us/img444/6981/unbenannt kjhghzuijhbh.png kann mir pls einer HELFEN...
HILFE HILFE HILFE MIT SjSro Startproblem
12/14/2009 - SRO Private Server - 4 Replies
Hi Leute hab ein Problem mit SjSro wenn ich auf starten klicke kommt diese Meldung Sorry.Failed to execute Silkroad. bitte helfen hab anti virus aus geht immer noch nicht wo liegt das problem thx schon mal im voraus BITTE HELFEN BITTE WILL UMBEDINGT ZOCKEN!!



All times are GMT +2. The time now is 02:35.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.