Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 3866)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#730 Wont Fix Application Crash Global as Binary ransombot
Description

AppName: autoit3.exe AppVer: 3.2.12.1 ModName: autoit3.exe ModVer: 3.2.12.1 Offset: 00011c63

Caused by this line in a program I was working on Global $InCombat as Binary

I'm fairly sure I should be able to call a global and say it's binary, however I could be wrong.. & then it should be labeled a feature request (to lower memory costs) counting pixels (in an obvious bot) is resource costly!!

It may be tied into some other parts of the code for that reason:

#include <GUIConstants.au3> ; enable gui elements like forms buttons and pix
#include "speak.au3" ;  enble speak("text") function 
Opt("SendKeyDelay", 0)
Opt("SendKeyDownDelay", 0) 
Opt("ColorMode", 0)
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("^s","SetLoc")
HotKeySet("^c","SetCombat")

;HotKeySet("{ESC}", "Quit") ;So we be able to exit from the loop

;setup our locations as globals so we can grab them anywhere & have them the same.
Const $xc as 0
Const $yc as 1
Global $CombatLoc[2] 
$CombatLoc[$xc] = 133
$CombatLoc[$yc]=150

;setup our color swatch for 
Global $CombatColor

;a toggle to see if we are in combat
Global $InCombat as Binary
$InCombat = 0
;$run = 1

;While $run = 1

;WEnd

Func CombatLoop
	While 1
		Sleep(2000)
		;set up a scanner that loops every second could be faster 
		Do		
			ToolTip(PixelGetColor(CombatLoc[$xc], $CombatLoc[$yc]),0,0)
			sleep(1000)
			Send("`")
		Until PixelGetColor(CombatLoc[$xc], $CombatLoc[$yc]) <> "101010"
		
		; we are in combat so we need to do combat stuff now every second it spams skills
		; since the smallest cool downs are about a second this works grate.
		While PixelGetColor(CombatLoc[$xc], $CombatLoc[$yc]) = "101010"
			ToolTip(PixelGetColor(CombatLoc[$xc], $CombatLoc[$yc]),6),0,0)
			sleep(1000)
			Send("15")
		WEnd
		Send("67")
		Sleep(1000)
		send("k")
	WEnd
EndFunc

Func Quit()
    Exit
EndFunc


Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
	Speak("I hope you liked the fish!")
    Exit 0
EndFunc

Func SetCombat()
	$InCombat = Binary
EndFunc

PS: it's incomplete & untested was just seeing if some new parts would work... the speach.au3 is my own work just includes the Agent links through AutoIT.. & works fine with other code I have. Also dislexic so sorry for any coding typos or abnormalities.

TY for a grate piece of software.

#1328 Fixed StringFormat() does not produce right output in AutoIt v3.3.1.6 (beta) Jon realMo
Description

There appears to be a bug in the StringFormat() function in the Beta release. I first noticed it in v3.3.1.1 (beta), but it's still there in the latest Beta: v3.3.1.6 (beta). It works fine in the stable release v3.3.0.0 Here's an example:

C:\AutoIt_Tests>type _testStringFormat.au3

	#include <Debug.au3>

	$i=0
	While $i < 10
		$iString=StringFormat("%005s", $i)
		ConsoleWrite("$i: " & $i & " ===> " & $iString & @LF )
		$i=$i+1
	WEnd
	ClipPut(_DebugBugReportEnv())
	ConsoleWrite(_DebugBugReportEnv())

C:\AutoIt_Tests>C:\PROGRA~1\AUTOIT~2.0\Beta\Aut2Exe\Aut2exe.exe /in _testStringFormat.au3 /console

C:\AutoIt_Tests>_testStringFormat.exe

$i: 0 ===> %005s $i: 1 ===> %005s $i: 2 ===> %005s $i: 3 ===> %005s $i: 4 ===> %005s $i: 5 ===> %005s $i: 6 ===> %005s $i: 7 ===> %005s $i: 8 ===> %005s $i: 9 ===> %005s AutoIt:3.3.1.6 Compiled (Os:WIN_XP/X86/Service Pack 3 Language:0409 Keyboard:00000409 Cpu:X64)

It works fine in the stable release:

C:\AutoIt_Tests>C:\PROGRA~1\AUTOIT~2.0\Aut2Exe\Aut2exe.exe /in _testStringFormat.au3 /console

C:\AutoIt_Tests>_testStringFormat.exe

$i: 0 ===> 00000 $i: 1 ===> 00001 $i: 2 ===> 00002 $i: 3 ===> 00003 $i: 4 ===> 00004 $i: 5 ===> 00005 $i: 6 ===> 00006 $i: 7 ===> 00007 $i: 8 ===> 00008 $i: 9 ===> 00009 Environment = 3.3.0.0 Compiled under WIN_XP/Service Pack 3 X86

'C:\PROGRA~1\AUTOIT~2.0\Beta\Aut2Exe\Aut2exe.exe' is

AutoIt Version v3.3.1.6 (beta)

'C:\PROGRA~1\AUTOIT~2.0\Aut2Exe\Aut2exe.exe' is

AutoIt Version v3.3.0.0

Same result in Scite:

Press Alt-F5:

"C:\Program Files\AutoIt3_v3.3.0.0\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\AutoIt_Tests\_testStringFormat.au3" /autoit3dir "C:\Program Files\AutoIt3_v3.3.0.0\beta" /UserParams

+>14:35:08 Starting AutoIt3Wrapper v.2.0.0.1 Environment(Language:0409 Keyboard:00000409 OS:WIN_XP/Service Pack 3 CPU:X64 OS:X86)

Running AU3Check (1.54.19.0) from:C:\Program Files\AutoIt3_v3.3.0.0\beta

+>14:35:09 AU3Check ended.rc:0

Running:(3.3.1.6):C:\Program Files\AutoIt3_v3.3.0.0\beta\autoit3.exe "C:\AutoIt_Tests\_testStringFormat.au3"

$i: 0 ===> %005s $i: 1 ===> %005s $i: 2 ===> %005s $i: 3 ===> %005s $i: 4 ===> %005s $i: 5 ===> %005s $i: 6 ===> %005s $i: 7 ===> %005s $i: 8 ===> %005s $i: 9 ===> %005s AutoIt:3.3.1.6 (Os:WIN_XP/X86/Service Pack 3 Language:0409 Keyboard:00000409 Cpu:X64) +>14:35:11 AutoIT3.exe ended.rc:0 +>14:35:12 AutoIt3Wrapper Finished

Exit code: 0 Time: 5.892

Press F5:

"C:\Program Files\AutoIt3_v3.3.0.0\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\AutoIt_Tests\_testStringFormat.au3" /autoit3dir "C:\Program Files\AutoIt3_v3.3.0.0" /UserParams

+>14:38:06 Starting AutoIt3Wrapper v.2.0.0.1 Environment(Language:0409 Keyboard:00000409 OS:WIN_XP/Service Pack 3 CPU:X64 OS:X86)

Running AU3Check (1.54.14.0) from:C:\Program Files\AutoIt3_v3.3.0.0

+>14:38:06 AU3Check ended.rc:0

Running:(3.3.0.0):C:\Program Files\AutoIt3_v3.3.0.0\autoit3.exe "C:\AutoIt_Tests\_testStringFormat.au3"

$i: 0 ===> 00000 $i: 1 ===> 00001 $i: 2 ===> 00002 $i: 3 ===> 00003 $i: 4 ===> 00004 $i: 5 ===> 00005 $i: 6 ===> 00006 $i: 7 ===> 00007 $i: 8 ===> 00008 $i: 9 ===> 00009 Environment = 3.3.0.0 under WIN_XP/Service Pack 3 X86+>14:54:35 AutoIT3.exe ended.rc:0 +>14:38:07 AutoIT3.exe ended.rc:0 +>14:38:08 AutoIt3Wrapper Finished

Exit code: 0 Time: 4.550

#1591 No Bug about InetGetSize,InetRead...... 184661031@…
Description

For examples: $test= InetGetSize("http://hong:~/hong@test.com.cn/exchweb/img/outbox.gif",1) MsgBox(64,"$test",$test) $test1= InetGetSize("http://test:test@test.com.cn/exchweb/img/outbox.gif",1) MsgBox(64,"$test1",$test1) $test= InetRead("http://hong:~/hong@test.com.cn/exchweb/img/outbox.gif",1) MsgBox(64,"$testInetRead",$test) $test1= InetRead("http://test:test@test.com.cn/exchweb/img/outbox.gif",1) MsgBox(64,"$test1InetRead",$test1)

If the user's password contains "\ "@"", would be wrong!

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.