Jump to content

PartyPooper

Active Members
  • Posts

    680
  • Joined

  • Last visited

Everything posted by PartyPooper

  1. Without sounding too obvious, have you tried reading the Help File? It contains all you need to know about declaring variables.
  2. 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
  3. Check that the SciTE config User Include Dir is pointing to the folder where you stored ChangeResolution.au3
  4. 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).
  5. No longer available. Newer versions of AutoIt3 made it stop working.
  6. I'll wager your borderline and titlebar figures will vary depending upon the screen resolution and system font chosen.
  7. Oh forgot, there is a third option - use multiple monitors.
  8. 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.
  9. Borderlands is an online multiplayer game and since using a cross-hair hack is considered cheating, I refer you to Game Bots topic.
  10. 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 :-)
  11. +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.
  12. 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.
  13. 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.
  14. 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
  15. 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
  16. Not probs. Just a thought, is it possible that a proxy is interfering with it? Might be worth checking to see if HttpSetProxy (1) command has any effect.
  17. Ahhh, no wonder I didn't find that link - gota lern to spel beta
  18. 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
  19. Thanks Melba23 but the BigNum UDF only deals with decimals, not hexidecimals.
  20. I need some ideas on how to quickly convert hex values up to FFFFFFFF (4294967295) to numbers. The built in Hex() function only allows for values up to 7FFFFFFF (2147483647).
  21. Might be worth putting in a bug report if you can't find the answer and it still fails to download the file correctly.
  22. As a general rules, whenever I need to interact with windows, I always set Opt("WinTitleMatchMode", ...) to whatever I need at the time.
  23. 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.
×
×
  • Create New...