Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 07:32

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

Advertisement



Minigame Bot

Discussion on Minigame Bot within the Nostale forum part of the MMORPGs category.

Reply
 
Old 11/19/2008, 01:02   #31
 
elite*gold: 0
Join Date: Sep 2008
Posts: 106
Received Thanks: 11
Quote:
Originally Posted by uni3 View Post
#include <file.au3>
#include <array.au3>
#include <String.au3>
#include <GuiConstantsEX.au3>
#include <Staticconstants.au3>

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

;Globals
#Region "Globals"
Global $LeftCritter, $RightCritter, $UpCritter, $DownCritter, $LCPixel, $RCPixel, $UCPixel, $DCPixel, $pos, $hWnd, $LPixel, $RPixel, $UPixel, $DPixel, $miner
Global $LeftCritter_X, $LeftCritter_Y, $RightCritter_X, $RightCritter_Y $UpCritter_X, $UpCritter_Y, $DownCritter_X, $DownCritter_Y
#EndRegion

$RightCritter = StringSplit("772,500",",")
$LeftCritter = StringSplit("619,562",",")
$UpCritter = StringSplit("618,560",",")
$DownCritter = StringSplit("649,457",",")

;Self Explainitory
$RightCritter_X = $RightCritter[1]
$RightCritter_Y = $RightCritter[2]

$LeftCritter_X = $LeftCritter[1]
$LeftCritter_Y = $LeftCritter[2]

$UpCritter_X = $UpCritter[1]
$UpCritter_Y = $UpCritter[2]

$DownCritter_X = $DownCritter[1]
$DownCritter_Y = $DownCritter[2]

while 1

sleep(20)
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)
$UCPixel = PixelGetColor($UpCritter_X, $UpCritter_Y, $hWnd)
$DCPixel = PixelGetColor($DownCritter_X, $DownCritter_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
$RCPixel = PixelGetColor($RightCritter_X, $RightCritter_Y, $hWnd)
$LCPixel = PixelGetColor($LeftCritter_X, $LeftCritter_Y, $hWnd)
$UCPixel = PixelGetColor($UpCritter_X, $UpCritter_Y, $hWnd)
$DCPixel = PixelGetColor($DownCritter_X, $DownCritter_Y, $hWnd)

;If the Constant Pixel color changes
Sleep("40")
If $RPixel <> $RCPixel then
Send("{RIGHT}",0)
Sleep("300")
EndIf

If $LPixel <> $LCPixel then
Send("{LEFT}",0)
Sleep("300")
EndIf
If $UPixel <> $UCPixel then
Send("{Up}",0)
Sleep("300")
EndIf
If $DPixel <> $DCPixel then
Send("{Down}",0)
Sleep("300")


WEnd

EndFunc

Func Close()
Exit 0
EndFunc



habe mal etwas probiert aber komme einfach nicht weiter ! helft mal bitte aud die sprünge danke ! und keine doofen komentare hier wird ja immer nur gemeckert besser machen !

Ach der steinbot funtzt solltet mal die bildeinstellungen richtig einstellen ! ist vollbild bei mir nach umstellundg des bots !
uni3 is offline  
Old 11/19/2008, 09:10   #32
 
blinko's Avatar
 
elite*gold: 0
Join Date: Aug 2005
Posts: 499
Received Thanks: 132
Quote:
Originally Posted by Atheuz View Post
You rather want to use GetDIBits for a faster processing.
That's alot like using the GDIPlus.au3 file for autoit.However whenever i use it it never Hook's to Nostale Client for some reason.However the _GDIPlus_LockBits is the method i believe you would use. Again thats copying the image to a buffer to be read/written to. We're gathering the constantly changing pixels from the game as it runs.Placing a Image into a buffer wouldnt really be a good idea to speed up anything
blinko is offline  
Old 11/19/2008, 13:05   #33
 
Atheuz's Avatar
 
elite*gold: 81
Join Date: Jul 2005
Posts: 1,921
Received Thanks: 2,239
Quote:
Originally Posted by blinko View Post
That's alot like using the GDIPlus.au3 file for autoit.However whenever i use it it never Hook's to Nostale Client for some reason.However the _GDIPlus_LockBits is the method i believe you would use. Again thats copying the image to a buffer to be read/written to. We're gathering the constantly changing pixels from the game as it runs.Placing a Image into a buffer wouldnt really be a good idea to speed up anything
I'm am sure you already know that the usual way is worser, its constantly creating & destroying which is very bad for the CPU. You could compare it to a code that has a while loop and you always Open, Write & Close the file during the Loop just to be reopened again later, noone wouldn't want to avoid that kind of situation. For me it totally works fine in Nostale, also on my Operation7 Triggerbot its almost twice faster and uses less resources.

Quote:
Placing a Image into a buffer wouldnt really be a good idea to speed up anything
Correct me if I'm wrong, but GetDIBits does only get a small part of a bitmap. While the regular functions used by people here are getting the whole screen. They all have to go through a buffer. If not, you wouldn't have any Problems with AutoIt and those so called _Anti-Cheat_.
Atheuz is offline  
Old 11/20/2008, 07:08   #34
 
CrunkJuice's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 37
Received Thanks: 3
Quote:
Originally Posted by Lialf View Post
nunja habe versucht, aber kein peil davon..
ich gehe so vor..
Starte Nostale
gehe ins Miniland
öffne steinbruch.
sobald das Game losgeht starte ich das Bot.
Anleitung:
Esc beenden
F1 start
F2 (wofür ist der da?)

sobald ich auf F1 drück haut er ans Stein immer und immer
Jedoch uaf diese Wriggler macht der nichts.
was mache ich da falsch?
sagt bitte wie ihr vorgeht.
Vielen dank im Vorraus.
F2 macht i-wie dass der auf die wiggler haut
CrunkJuice is offline  
Old 11/20/2008, 13:20   #35
 
Lialf's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 103
Received Thanks: 94
Quote:
Originally Posted by Atheuz View Post
I'm am sure you already know that the usual way is worser, its constantly creating & destroying which is very bad for the CPU. You could compare it to a code that has a while loop and you always Open, Write & Close the file during the Loop just to be reopened again later, noone wouldn't want to avoid that kind of situation. For me it totally works fine in Nostale, also on my Operation7 Triggerbot its almost twice faster and uses less resources.


Correct me if I'm wrong, but GetDIBits does only get a small part of a bitmap. While the regular functions used by people here are getting the whole screen. They all have to go through a buffer. If not, you wouldn't have any Problems with AutoIt and those so called _Anti-Cheat_.
da passiert mir nichts..

wie gehst du vor?
Lialf is offline  
Old 11/20/2008, 14:58   #36
 
Atheuz's Avatar
 
elite*gold: 81
Join Date: Jul 2005
Posts: 1,921
Received Thanks: 2,239
Quote:
Originally Posted by Lialf View Post
da passiert mir nichts..

wie gehst du vor?
Was meinst du überhaupt?
Atheuz is offline  
Old 11/21/2008, 16:11   #37
 
Lialf's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 103
Received Thanks: 94
Quote:
Originally Posted by Atheuz View Post
I'm am sure you already know that the usual way is worser, its constantly creating & destroying which is very bad for the CPU. You could compare it to a code that has a while loop and you always Open, Write & Close the file during the Loop just to be reopened again later, noone wouldn't want to avoid that kind of situation. For me it totally works fine in Nostale, also on my Operation7 Triggerbot its almost twice faster and uses less resources.


Correct me if I'm wrong, but GetDIBits does only get a small part of a bitmap. While the regular functions used by people here are getting the whole screen. They all have to go through a buffer. If not, you wouldn't have any Problems with AutoIt and those so called _Anti-Cheat_.
sorry hab den falschen zitiert wolte den posting von CrunkJuice zitieren
Lialf is offline  
Old 11/22/2008, 06:50   #38
 
elite*gold: 0
Join Date: Nov 2008
Posts: 1
Received Thanks: 0
-*-
witth is offline  
Old 11/22/2008, 11:16   #39
 
elite*gold: 0
Join Date: Nov 2008
Posts: 37
Received Thanks: 0
was muss man mit dem Text machen ich kapier das nicht richtig =(
=) =) xDD is offline  
Old 12/12/2008, 18:00   #40
 
elite*gold: 0
Join Date: Dec 2008
Posts: 2
Received Thanks: 0
Hmm doofe Frage aber wie benutzt man so einen Bot?
Hab hier schon ein bisschen gesucht aber da ich nicht so genau weiß
wonach ich eigentlich suche, nichts gefunden.
Wär nett wenn mir das jemand erklären könnte =)

Ok hab schon was gefunden aber irgendwie weiß ich trotzdem nicht so
genau wo ich den script einfügen muss bzw wie der bot dann startet...
EliasDestiny is offline  
Old 12/13/2008, 12:22   #41
 
elite*gold: 0
Join Date: Dec 2008
Posts: 2
Received Thanks: 0
kann jez mal hier irgendwer nen ordentlichn bot hoch holn, bzw erklärn, wie man die benutzt ?
wenn ich einen der bots nehme, dann haun die immer auf den bodn recht von mir
1x stein, 1x bodn, 1x stein, 1x bodn
un so geht das die ganze zeit...
also, falls ich das richtig verstanden hab:
als erstes öffnet man das spiel,
dann drückt man F2

wenn irgendwer hier ne ahnung hat, wiso des bei mir nich klappt, könnt ihr euch ja melden.
es wäre sehr nett..
schon ma danke im vorraus ^^
LG Relax
~*~*~ReLaX~*~*~ is offline  
Old 12/14/2008, 18:24   #42
 
elite*gold: 0
Join Date: Jun 2008
Posts: 42
Received Thanks: 5
also ich drück f2 und dan schlag ich nua auf den stein ein pls erkleren wie töte ich auch diese würmer



edit:/ wens vista is macht rechtskilck und dan als andministrator ausführen aba bei mia schlegt es die wiggler nich
-Ali- is offline  
Old 12/18/2008, 19:59   #43
 
elite*gold: 0
Join Date: Nov 2008
Posts: 37
Received Thanks: 0
LEUDE ICH BRAUCHE HILFE BEIN SCRIP BITTE WO SOLL ICH DSA HINSPEICHERN?
=) =) xDD is offline  
Old 12/19/2008, 12:52   #44
 
elite*gold: 0
Join Date: Mar 2008
Posts: 18
Received Thanks: 1
Also im endeffekt is es das:
#include <file.au3>
#include <array.au3>
#include <String.au3>
#include <GuiConstantsEX.au3>
#include <Staticconstants.au3>

;Hotkeys
#Region "HotKeys"
HotKeySet("{F1}", "SetMiningStuff")
HotKeySet("{F2}", "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 $RPixel <> $RCPixel then
Send("{RIGHT}",0)
EndIf


If $LPixel <> $LCPixel then
Send("{LEFT}",0)

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




Aber wie starte ich diese Au3 Datei?
mfg
XyZmensch is offline  
Old 12/19/2008, 14:48   #45
 
elite*gold: 0
Join Date: Jun 2008
Posts: 42
Received Thanks: 5
rechtsklick und srcript run oda sowas das erste halt
-Ali- is offline  
Reply


Similar Threads Similar Threads
Minigame Bot
07/20/2010 - Nostale - 20 Replies
Hallo, Ich suche einen minigame Bot der immer lvl 5 Belohnungen macht und automatisch die Belohnung nimmt. Da ich bei den anderen Themen den Überblick verloren habe oder die nicht geklappt haben oder <-- xD ein Virus drin war etc..... THX
Nos Minigame Bot
05/19/2010 - Nostale - 0 Replies
Hey leude kann mir bitte jemand nen holzhack hack bot machen der auf behlonung 5 macht dass wäre nett :handsdown::handsdown:
Ga Bot 1,0 (Minigame und Lvl Bot)
02/17/2010 - Nostale - 1 Replies
So Leute, das hier ist meine neuster Bot. Momentan noch in der Probeversion. Funktioiert Global sowie bei dem Deutschen Nos ;) Bedienung F1 Start F2 Stopp, R= 1ter Angriffsskill E= 2ter Angriffskill Q= Essen
MINIGAME BOT
09/07/2009 - Nostale - 1 Replies
where can I get one? ive reading the while forum I only see are scripts of php. is there a working bot program for minigame here?? can I pls know a valid direct link thank you
Minigame bot
12/28/2008 - Nostale - 2 Replies
ich suche funktionierende mingame bot am besten erklert also schreibs hier rein



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


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