Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 20:38

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

Advertisement



Script works only sometimes

Discussion on Script works only sometimes within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
xUnbekannt's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 244
Received Thanks: 100
Script works only sometimes


Help^^
xUnbekannt is offline  
Old 08/02/2016, 02:23   #2
 
°Incinerate's Avatar
 
elite*gold: 400
Join Date: Jun 2011
Posts: 513
Received Thanks: 101
Dein Skript startet und wird gleich wieder beendet weil du keine Funktion aufrufst.

°Incinerate is offline  
Old 08/02/2016, 02:43   #3
 
xUnbekannt's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 244
Received Thanks: 100
Habs vergessen zu erwähnen:
Quote:
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

EndSwitch
WEnd
Hatte ich wegen der GUI drin.
Aber es kommt folgendes in der Konsole:
>"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\Desktop\AutoIT\Bot.au3"

EDIT: Beim texteditor funkt das script, nur bei dem Game halt nur manchmal....
Deswegen habe ich ja WinActiv udn winwait..., fehlt noch ein befehl?
EDIT: Vielleicht auch eine andere Form vom send Befehl?
Die Zahlen werden vom Spiel angenommen, aber send("M") um die Map zu öffnen nicht..., sondern nur manchmal
xUnbekannt is offline  
Old 08/02/2016, 11:36   #4
 
°Incinerate's Avatar
 
elite*gold: 400
Join Date: Jun 2011
Posts: 513
Received Thanks: 101
Du kannst ja mal send("{M}") versuchen.
°Incinerate is offline  
Old 08/02/2016, 14:08   #5
 
xUnbekannt's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 244
Received Thanks: 100
Mach ich, aber was bringt der Befehl?
#Edit geht nicht

Mein nicht funktionierendes Script:
Quote:
Code:
#include <AutoItConstants.au3>
#include <Misc.au3>
#RequireAdmin

HotKeySet("{F1}", "StartlevelingStart")
HotKeySet("{F5}", "CloseBotandWindow")

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 617, 199, 192, 124)
$Label1 = GUICtrlCreateLabel("F1 to start", 24, 26, 90, 29)
GUICtrlSetFont(-1, 16, 400, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
         EndSwitch
WEnd
Func StartlevelingStart() ;Anfangsgebiet

   start()
   sleep(100)
   co("m")
   sleep(100)

   mouse(1080,628)
   sleep(5000)

   mouse(1100,604)
   sleep(2000)
   send("y")
   sleep(100)

      While 1
         sleep(10)
         send("{TAB}")
         send("1")
         sleep(1000)
         send("2")
         sleep(100)
         send("3")
         sleep(100)
         send("4")
         sleep(100)
         send("2")
         sleep(100)
         send("3")
         sleep(100)
         send("4")
         sleep(5500)
         send("z")
         sleep(50)
      WEnd
EndFunc
Func mouse($x,$y)        ; Mausklick links
   Mouseclick("left",$x,$y,1,5)
EndFunc
Func start(); Muss zum aktivieren davor geschrieben werden(FALLS SPIEL AKTIV SEIN SOLL)
   WinActivate ( "x" )
   WinWaitActive ( "x" )
   sleep(100)
EndFunc
xUnbekannt is offline  
Old 08/04/2016, 22:24   #6
 
[Beatrice]'s Avatar
 
elite*gold: LOCKED
Join Date: Oct 2014
Posts: 1,258
Received Thanks: 12,469
Don't forget to check if the hotkey is not used, that'd cause problems with the hotkey.
[Beatrice] is offline  
Old 08/12/2016, 14:48   #7
 
xUnbekannt's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 244
Received Thanks: 100
It is used for nothing atm...
xUnbekannt is offline  
Old 08/13/2016, 13:52   #8
 
°Incinerate's Avatar
 
elite*gold: 400
Join Date: Jun 2011
Posts: 513
Received Thanks: 101
Wenn dein Skript nicht Funktioniert dann spring Scite auch direkt an die Stelle, an der sich den Fehler befindet. Ansonsten hast du unten auch dein DebugLog (heißt das so?) indem du siehst wo genau der Fehler liegt.
°Incinerate is offline  
Reply


Similar Threads Similar Threads
Bhop Script (works 100% now)
11/05/2013 - Counter-Strike - 21 Replies
Hey Comm ! Wie im Titel bereits steht wollte euch einen Bunnyhop Script präsentieren. . Es läuft nicht mit Autohotkey oder sonstiges kein Hack --> keine bann gefahr. Also es sind Befehle zusammengeführte "aliase". //F5 toggles A & D turn on / off. //F1 toggles space loop on / off. //This "script" binds A and D to turn in the same direction that you move. //This script also allows you to jump over and over again in a loop.
WTS Skill Hack Script [Works For CE]
03/16/2012 - Dekaron Trading - 8 Replies
PM ME, Doesn't matter which server. PM ME OFFER Or Post Offer here I personally want to give the script out, but the script will only be available for people who WON'T LEECH IT and if they do, ask me first. I didn't make this hack, my friend made it. He knows C++ well and game coding is a part of his job, he doesn't use Elitepvpers or any other forum, so all creds to him.... :handsdown:
T-Bomb Script - Works on July !
07/27/2011 - WarRock Hacks, Bots, Cheats & Exploits - 3 Replies
#removed
NEED A SCRIPT here please that does works
10/07/2009 - Grand Chase Philippines - 0 Replies
doesnt works outside



All times are GMT +1. The time now is 20:38.


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.