|
You last visited: Today at 16:36
Advertisement
Tratsch rund um Autoit / Autoit Talk | kleinere Fragen
Discussion on Tratsch rund um Autoit / Autoit Talk | kleinere Fragen within the AutoIt forum part of the Coders Den category.
07/15/2013, 23:21
|
#1501
|
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,149
|
Quote:
Originally Posted by »FlutterShy™
Die combo box kann nicht soweit runterscrollen , ne idee ?
Code:
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Visual Basics Sources\Ink's Pixel.dll\Bot Dir\Bot Login Form.kxf
$Form1 = GUICreate("Form1", 648, 126, 192, 124)
$Label1 = GUICtrlCreateLabel("Username :", 8, 8, 164, 27)
GUICtrlSetFont(-1, 12, 400, 0, "Comic Sans MS")
$Input1 = GUICtrlCreateInput("", 8, 40, 169, 31)
GUICtrlSetFont(-1, 12, 400, 0, "Comic Sans MS")
$Label2 = GUICtrlCreateLabel("Password :", 192, 8, 166, 27)
GUICtrlSetFont(-1, 12, 400, 0, "Comic Sans MS")
$Input2 = GUICtrlCreateInput("", 192, 40, 169, 31,BitOR($ES_PASSWORD, $ES_AUTOHSCROLL))
GUICtrlSetFont(-1, 12, 400, 0, "Comic Sans MS")
$Label3 = GUICtrlCreateLabel("Server :", 376, 8, 166, 27)
GUICtrlSetFont(-1, 12, 400, 0, "Comic Sans MS")
;$Combo1 = GUICtrlCreateCombo("", 376, 40, 169, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
$Combo1 = GUICtrlCreateCombo("", 376, 40, 169, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "int1|int5|int7|int10|int11|int13|int14|int2|int6|int12|int8|int15|de1|de2|de3|de4|de5|de6|de7|int3|int4|br1|br2|hu1|tr1|tr2|tr3|tr4|tr5|tr6|ru1|ru2|ru3|ru4|ru5|ru6|gb1|gb2|us1|us2|us3|us4|pl1|pl2|pl3|fr1|fr2|fr3|fr4|it1|it2|it3|es1|es2|es3|es4|mx1|cz1|cz2|cz3")
GUICtrlSetFont(-1, 12, 400, 0, "Comic Sans MS")
$Button1 = GUICtrlCreateButton("Login", 552, 16, 91, 49)
GUICtrlSetFont(-1, 14, 400, 0, "Comic Sans MS")
$Label4 = GUICtrlCreateLabel("Status", 8, 88, 630, 27)
GUICtrlSetFont(-1, 12, 400, 0, "Comic Sans MS")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
EndSwitch
WEnd
|
$WS_VSCROLL
Ich würde außerdem eher zu $CBS_DROPDOWNLIST tendieren.
|
|
|
07/16/2013, 00:47
|
#1502
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
Teste beides morgen mal . requi es geht nur darum das moeglichst wenige fehler beim server eingeben vorkommen koennen da mein.code ja noch beta ist
Quote:
Originally Posted by butter123
in der ersten combobox wählt man die buchstaben aus, in der 2. die dazugehörigen zahlen.
|
Etwas suboptimal wuerde ich sagen
|
|
|
07/16/2013, 14:15
|
#1503
|
elite*gold: 0
Join Date: Dec 2007
Posts: 372
Received Thanks: 113
|
Ich habe eine Frage an euch!
Kann man mit AutoIt eine Art "Zähler" basteln? Am Besten mit Bilder, wo man die anklickt und man weiß, wie oft man den Gegner schon besiegt hat?
Sprich so ein Programm, was neben bei läuft und ich immer anklicken kann, sobald ich den Boss getötet habe?
|
|
|
07/16/2013, 15:06
|
#1504
|
elite*gold: 155
Join Date: Jul 2012
Posts: 24,491
Received Thanks: 2,568
|
Quote:
Originally Posted by newbot
Ich habe eine Frage an euch!
Kann man mit AutoIt eine Art "Zähler" basteln? Am Besten mit Bilder, wo man die anklickt und man weiß, wie oft man den Gegner schon besiegt hat?
Sprich so ein Programm, was neben bei läuft und ich immer anklicken kann, sobald ich den Boss getötet habe?
|
In was für ein Game ? Browser oder 3D game ?
|
|
|
07/16/2013, 17:18
|
#1505
|
elite*gold: 95
Join Date: May 2011
Posts: 982
Received Thanks: 189
|
PHP Code:
#include <StaticConstants.au3> #include <WindowsConstants.au3> #include <Date.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("", 400, 200, 192, 124)
Dim $buttons[9], $labels[9] Dim $texts[9] = ["Troll","Knödel","3","4","5","6","7","8","9"] For $i = 0 To 2 For $ii = 0 To 2 $labels[$i*3 + $ii] = GUICtrlCreateLabel($texts[$ii*3 + $i], 30+$i*130, 2+$ii*60, 132, 17) $buttons[$i*3 + $ii] = GUICtrlCreateButton("0", 8 +$i*130, 20+$ii*60, 131, 41) Next Next
$Labeltime = GUICtrlCreateLabel("0", 8, 185, 132, 17) GUISetState(@SW_SHOW) WinSetOnTop($Form1, "", 1) #EndRegion ### END Koda GUI section ###
Dim $z[9] = [0,0,0,0,0,0,0,0,0] $j = 0
$time = TimerInit() Dim $h,$m,$s
While Sleep(10)
$nMsg = GUIGetMsg()
Switch $nMsg Case $GUI_EVENT_CLOSE Exit
Case $buttons[0] To $buttons[8] $z[$nMsg/2 -2]+=1 GUICtrlSetData($buttons[$nMsg/2 -2],$z[$nMsg/2 -2]) EndSwitch
_TicksToTime(TimerDiff($time),$h,$m,$s) GUICtrlSetData($Labeltime,$h &":" &$m &":" &$s) WEnd
bei einer eleganten umsetzung der gui abfrage stand ich aufm schlauch. bitte um korrektur, so ists zwar effizient und kurz, aber kann zu komplikationen führen, falls $nmsg auch ohne die buttons werte zwischen 1 und 20 annehmen kann.
|
|
|
07/16/2013, 21:03
|
#1506
|
elite*gold: 0
Join Date: Dec 2007
Posts: 372
Received Thanks: 113
|
Quote:
Originally Posted by xcyancali
In was für ein Game ? Browser oder 3D game ?
|
Ist eigentlich ein Browsergame. Sag dir Drakensang Online etwas? Kannst es auch im Client spielen.
|
|
|
07/16/2013, 22:01
|
#1507
|
elite*gold: 278
Join Date: Aug 2010
Posts: 145
Received Thanks: 19
|
Quote:
Originally Posted by evoh12
Hey... ich hab schon wieder ein Problem:
Ich will den Port in Firefox ändern nur über eine Variable läuft es irgendwie nicht.
PHP Code:
#AutoIt3Wrapper_UseX64=n
#include <FF.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Users\Hove\Desktop\KODAK Autoit\Forms\Votetest1.kxf
$Form1_1 = GUICreate("Dark-Metin2 Vote Bot Copyright Evoh", 827, 327, 272, 177)
$MenuItem3 = GUICtrlCreateMenu("&Datei")
$Save = GUICtrlCreateMenuItem("Speichern", $MenuItem3)
$Load = GUICtrlCreateMenuItem("Laden", $MenuItem3)
$MenuItem4 = GUICtrlCreateMenuItem("Beenden", $MenuItem3)
$MenuItem1 = GUICtrlCreateMenu("&Help")
$MenuItem2 = GUICtrlCreateMenuItem("Hilfe", $MenuItem1)
GUISetBkColor(0x000000)
$Ueberschirft = GUICtrlCreateLabel("Test", 304, 8, 201, 28)
GUICtrlSetFont(-1, 14, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFFFFFF)
$Button1 = GUICtrlCreateButton("Vote", 704, 88, 81, 25)
GUICtrlSetCursor (-1, 0)
$Port1 = GUICtrlCreateInput("Port 1", 288, 88, 57, 21)
$Port2 = GUICtrlCreateInput("Port 2", 288, 128, 57, 21)
$Port3 = GUICtrlCreateInput("Port 3", 288, 168, 57, 21)
$Port4 = GUICtrlCreateInput(" Port 4", 288, 208, 57, 21)
$Label4 = GUICtrlCreateLabel("Ports", 288, 56, 33, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFFFFFF)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_Func1 ()
EndSwitch
WEnd
Func _Func1 ()
Sleep(1000)
;Seite öffnen
$variable1 = GUICtrlRead($Port1) ;Port 1
MsgBox(0,"",$variable1)
_FFStart("http://www.google.de")
_FFPrefSet("network.proxy.type", 1)
_FFPrefSet("network.proxy.http_port", $variable1) ; wenn ich statt $variable1 eine Zahl einfüge funktioniert es...
_FFOpenURL("http://www.google.de")
MsgBox(0,"",_FFPrefGet("network.proxy.http_port"))
EndFunc
|
Hat da keiner eine Idee?
|
|
|
07/17/2013, 12:16
|
#1508
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
Quote:
Originally Posted by KDeluxe
$WS_VSCROLL
Ich würde außerdem eher zu $CBS_DROPDOWNLIST tendieren.
|
so ne lange combo box ist auch nix schönes ...
Wie siehts aus mit einer überprüfung ob es den server kürzel gibt ?
Gibts ne bessere lösung als :
PHP Code:
If $sServer = "de1" or "de2" or "de3" or "de4" Then
Else
MSgBox(0,"Error","Please insert right server shortcut")
|
|
|
07/17/2013, 12:54
|
#1509
|
elite*gold: 0
Join Date: Nov 2011
Posts: 1,448
Received Thanks: 1,257
|
#Frage hat sich erledigt.
|
|
|
07/17/2013, 16:04
|
#1510
|
elite*gold: 0
Join Date: Dec 2012
Posts: 448
Received Thanks: 278
|
Wie kann ich mit Autoit in einem Spiel so rumpfuschen, wie ich es mit OllyDBG mache?
|
|
|
07/17/2013, 16:13
|
#1511
|
elite*gold: 2
Join Date: Jul 2009
Posts: 14,456
Received Thanks: 4,685
|
Wie meinst du das genau?
|
|
|
07/17/2013, 16:24
|
#1512
|
elite*gold: 0
Join Date: Dec 2012
Posts: 448
Received Thanks: 278
|
hm wenn ich in ollydbg ein paar sachen durch nops ersetze um den rückstoss zu verhindern wie schreibe ich das dann in autoit?
|
|
|
07/17/2013, 17:32
|
#1513
|
elite*gold: 159
Join Date: Jun 2013
Posts: 1,776
Received Thanks: 2,004
|
Willst du ASM in AutoIt benutzen?
|
|
|
07/17/2013, 18:34
|
#1514
|
elite*gold: 2
Join Date: Jul 2009
Posts: 14,456
Received Thanks: 4,685
|
Quote:
Originally Posted by SpieleHacksInfo
hm wenn ich in ollydbg ein paar sachen durch nops ersetze um den rückstoss zu verhindern wie schreibe ich das dann in autoit?
|
Die Stelle hat ja auch eine Adresse  Du musst also einfach nen Pointer darauf finden und mit MemoryWrite die stelle Nopen.
|
|
|
07/17/2013, 19:01
|
#1515
|
elite*gold: 0
Join Date: Dec 2012
Posts: 448
Received Thanks: 278
|
_MemoryWrite($adresse, $handle , "NOP" , "byte[4]") ?
|
|
|
Similar Threads
|
[Sammelthread]Fragen zu Autoit wie man Hacks herstellt(Autoit) + Antworten
11/16/2011 - Metin2 - 0 Replies
Hallo Liebe Community,
Ich habe diesen Thread aufgemacht weil manche leute mit Autoit nicht mehr weiterkommen wie man Hack herstellt ,ich habe mit schon ein Multihack mit Autoit herstellt das war einfach .Da viele User nicht weiterkommen werden habe ich mich entschieden ein Thread aufzumachen mit Fragen und ich den dann Antworten kann und helfen kann!
------------------------------------------------- ---------------------------
Mein Multihack:...
|
All times are GMT +1. The time now is 16:36.
|
|