-
Posts
680 -
Joined
-
Last visited
Everything posted by PartyPooper
-
Variable used without being declared
PartyPooper replied to Wolfshare's topic in AutoIt General Help and Support
Without sounding too obvious, have you tried reading the Help File? It contains all you need to know about declaring variables. -
Variable used without being declared
PartyPooper replied to Wolfshare's topic in AutoIt General Help and Support
You need to declare the variable "$timer" first with either the Dim, Local or Global keywords. Try: While 1 Local $timer = TimerInit() Run("DuckLoad.exe") Do Sleep(1000) Until TimerDiff($timer) > 200*1000 ;60s If ProcessExists("DuckLoad.exe") then ProcessClose("DuckLoad.exe") Sleep(1000) WEnd -
Check that the SciTE config User Include Dir is pointing to the folder where you stored ChangeResolution.au3
-
Unfortunately no, I no longer needed it, however, it shouldn't be too hard to create one using the info contained in the Help File. You just need to decide if you want to use the INI file method (see INIRead/INIWrite) or file size method (see InetGetSize/InetGetInfo/_FTP_FileGetSize).
-
No longer available. Newer versions of AutoIt3 made it stop working.
-
Mouse Behabiors in game mode...
PartyPooper replied to Nothing2Lose's topic in AutoIt General Help and Support
Game Bot Policy -
I'll wager your borderline and titlebar figures will vary depending upon the screen resolution and system font chosen.
-
Game Bot, but not a Game Bot
PartyPooper replied to BountyHunterX's topic in AutoIt General Help and Support
Oh forgot, there is a third option - use multiple monitors. -
Game Bot, but not a Game Bot
PartyPooper replied to BountyHunterX's topic in AutoIt General Help and Support
Most full screen games won't allow you to steal focus. The way I see it, you have two options - either run the game in a window or use an audible alert instead. -
Borderlands is an online multiplayer game and since using a cross-hair hack is considered cheating, I refer you to Game Bots topic.
-
Organize Includes in SciTE4Autoit3
PartyPooper replied to Xenobiologist's topic in AutoIt Example Scripts
Just something to think about but you may like to include a readme.txt with the zip indicating how to install OI. I recently upgraded to Win 7 and had to log back into the forums to remember how to install it. Nothing major but a PITA when you are trying to reinstall all your programs quickly :-) -
Organize Includes in SciTE4Autoit3
PartyPooper replied to Xenobiologist's topic in AutoIt Example Scripts
+1 on the automated start via Wrapper as it would save me time tracking down which includes I've forgotten or which includes I no longer need when compiling my scripts after making minor changes. While AU3Check always lets me know I've left an include out, it doesn't tell me what the include is, nor will it tell me that I no longer need an include (which is very useful in reducing the size of my compiled scripts). I know I could run OI manually every time but I'm so damn lazy P.S. used it yesterday on several scripts I thought were OK (and finished) and it's already proven valuable in reducing the size of my compiled scripts. Mega. -
Organize Includes in SciTE4Autoit3
PartyPooper replied to Xenobiologist's topic in AutoIt Example Scripts
Mega, you should get this included as a tool for the standard SciTE4AutoIt3 distribution. It's certainly more useful (to me anyway) than AU3Record, MacroGenerator, CodeWizard, or Koda. -
I guess that would depend on whether he always wanted to chain to the next function inline or whether he wanted to chain to another function based on the answer given in that function ie. if input = yes goto function x or if input = no, goto function y.
-
[Solved] how to delete whole array?
PartyPooper replied to goldenix's topic in AutoIt General Help and Support
If you're going to delete the array and then recreate it (and it will have a million entries), I wouldn't be using _ArrayAdd($avArray, $n) unless you have 64 years to spare Better off declaring the array with a million entries then using a For/Next loop to fill it eg. Func _make_array() Dim $avArray[1000001] ; max dimension + 1 (for element 0) $avArray[0] = 1000000 ; set element 0 to ubound -1 For $n = 1 To 1000000 $avArray[$n] = $n ; fill your array Next EndFunc -
Correct
-
I was always taught <5 round down, =>5 round up. This pretty much sums up (no pun intended) what I've been taught: Rounding Numbers
-
How do I convert large Hex values to numbers?
PartyPooper replied to PartyPooper's topic in AutoIt General Help and Support
Ahhh, no wonder I didn't find that link - gota lern to spel beta -
How do I convert large Hex values to numbers?
PartyPooper replied to PartyPooper's topic in AutoIt General Help and Support
Thanks for the link, I'll check it out. Yeah, I did a search first for everything "hexidecimal" but I didn't see anything that showed promise. Maybe I should've tightened the search a little -
How do I convert large Hex values to numbers?
PartyPooper replied to PartyPooper's topic in AutoIt General Help and Support
Thanks Melba23 but the BigNum UDF only deals with decimals, not hexidecimals. -
Trying to install notepad++
PartyPooper replied to shankhs's topic in AutoIt General Help and Support
As a general rules, whenever I need to interact with windows, I always set Opt("WinTitleMatchMode", ...) to whatever I need at the time. -
This is what I'd use: #include <INet.au3> Global sPublicIP HttpSetProxy(0) ; ; get WAN IP of user Do $sPublicIP = GetWANIP() ; get WAN IP Until $sPublicIP <> -1 ; Func GetWANIP() $sPublicIP = _GetIP() ; check WAN IP If @error Then Local $iBtnID = MsgBox("262197","ERROR","CAN'T GET WAN IP" & @CRLF & "Possible cause: Blocked by Firewall, Sandbox or insufficient bandwidth.") If $iBtnID = 2 Then Exit ; Cancel pressed If $iBtnID = 4 Then Return ($sPublicIP) ; Retry pressed (goes back to calling loop and returns again) EndIf Return ($sPublicIP) EndFunc ;==>GetWANIP Edit: forgot to add the include.