Jump to content

Buckw1

Active Members
  • Posts

    43
  • Joined

  • Last visited

Everything posted by Buckw1

  1. Todays Avast signature files causes a false positive when running .au3 files from the SciTe editor. Once detected autoit is locked out. Adding the Autoit folder to the exclusions list will solve the issue till Avast fixes their mistake. 4/1/2007 7:23:24 PM SYSTEM 1732 Sign of "Win32:Sohanad-I [Wrm]" has been found in "C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" file. 4/1/2007 7:28:29 PM SYSTEM 1732 Sign of "Win32:Sohanad-I [Wrm]" has been found in "C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" file. 4/1/2007 10:02:51 PM Don 1732 Sign of "Win32:Sohanad-I [Wrm]" has been found in "C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" file.
  2. Still the same requirement of starting up one instance at a time then grabbing the handle, correct?
  3. Nice idea, get the handles at startup rather than after....will try it when I get home. Thanks!
  4. $color1 = pixelgetcolor(x,y) If $color1 > 15000000 then do something ( basically looking for something close to white here ) endif Also If $color > 10000 AND $color < 10000000 Then... ( to check for some range of a colors )
  5. How do you get the handles of 2 game screens? Case in point being 2 instances of Eve Online running on same PC (dual screens). Both windows have same title,"EVE". A quick test of the wingethandle function returns the numeric number for 1 client only. My objective is to control both clients with a AutoIt script. Ideas?
  6. lammaer25, I have since experimented a touch more with full screen and you can indeed grab the coordinates with the AutoIT window info tool, so I was mistaken. Windows Event = mouseclik any where other than the game screen or some program other than EVE gets focus will result in Eve being minimized. I see it often due to dual screens. Eve on one screen and script on the other. I clik the script to make a change and Eve goes to the task bar. DragonPatch. Most all pixels moved vertically by 10. I think some things changed left to right by 2 pixels but that was much less noticeable. Opening PnP lag substantially increased. Upper overview changed. Targeting icon now always present. Dim when out of range, bright once in range. Tutorials fixed. If you turn it off in options it does not show. EULA text window got a touch bigger. LogOn server status broke ( yea, some us actually used that ) Proably more but that is most of what affected my development.
  7. Whats the game? If screen colors are nop exactly the same each time then pixelchecksum will fail and thus a endless loop. What is addstatus?
  8. whatever this line is looking for is not found, either wrong screen size, pictures changed or Blizzard put in blocking code which I don't think they did.. $Pix = PixelSearch(374, 206, 658, 440, 0x6490E0)
  9. And we know your going to share the source, given all the friendly help and stuff
  10. Extremely easy....this code has both cargo and can window on left side of screen, use Autoit Window Info tool to get locations... MouseClick("right", 125, 337, 1, 2) ; Right clik BETWEEN ore ensures we have a select all option. Sleep(1500) MouseClick("left", 150, 347, 1, 2) Sleep($Short_Pause) MouseClickDrag("left", 66, 337, 66, 144) Sleep(1000)
  11. The cargo bar is also like 6 or 7 bars. It changes colors based on lighting and ship angle of view. I find it best to do as posted previous about a range but also use the average of all 6 or 7 bars for comparison. Still not a 100% solution but better than the 75% I was using..
  12. I got his far then went on to other things....based off the existing excellent Aimbot code found elsewhere in these forums. No, it does not work. #include <GUIConstants.au3> Global $Aimbot = 0, $found = "no" Opt("MouseCoordMode", 0) Opt("PixelCoordMode", 0) Opt("MouseClickDelay", 0) Opt("MouseClickDownDelay", 0) HotKeySet("{End}", "TurnoffAimbot") Dim $ballcolor = 0xFFFFFF;White Dim $background = 0xCCCCCC ; Gray Dim $bars = 0x000000 ; black Dim $coord Dim $coord1 Dim $hole Func TurnoffAimbot() Exit EndFunc ;==>TurnoffAimbot WinActivate("Falldown - Presented by Addicting Games") MouseClick("left",680,530,1,2); Clik enter Sleep(1000) MouseClick("left",500,600,1,2); Clik easy Sleep(1000) While 1 ; Find ball Do If $found = "no" Then $coord = PixelSearch(434, 302, 950, 690, $ballcolor,2,2) If IsArray($coord) = 1 Then $found = "yes" EndIf Else $pos = MouseGetPos() $coord = PixelSearch(($pos[0] - 10) , ($pos[1] - 10) , ($pos[0] + 10) , ($pos[1] + 10), $ballcolor) If IsArray($coord) = 1 Then Sleep(100) Else $found = "no" EndIf EndIf Until $found ="yes" ; Find bar and search for gray hole $coord1 = PixelSearch(434, 500, 930, 550, $bars, 2, 25) If IsArray($coord1) = 1 Then $hole = PixelSearch(434, $coord1[1],930, ($coord1[1] + 25), $background, 2, 10) EndIf ; move ball to hole with right or left arrow keys If $coord[0] < 562 and $hole[0] < 562 Then; move ball left toward hole Do Send("{LEFT Down}") Until PixelSearch($hole[0], $hole[1], ($hole[0] + 25),($hole[1] + 25), $ballcolor, 2, 2) Else ; move ball right toward hole Do Send("{RIGHT Down}") Until PixelSearch($hole[0], $hole[1], ($hole[0] + 25),($hole[1] + 25), $ballcolor, 2, 2) EndIf Wend Exit
  13. I don't know delphi either but I would sure be researching the behavior of: strToInt(Edit2.Text) since it is obviously interpreting the value wrong.
  14. There may have to some compensation for the missing window frame .so.... use the AutoIt window info tool. It will show coordinates if you have dual monitor setup. No dual screen setup? I have no idea how to get screen coordinates.
  15. There is a full mining script here already, search for EVE.
  16. To my knowledge it is not possible to make a script for Eve in true full screen since we cannot determine pixel location. The closest I have been able to get is window mode at same size as desktop, then using the script to drag window to top left so borders do not show. Any "windows event" that happens to Eve when in full screen causes it to minimize If there is a AutoIt solution to this someone please inform us.
  17. Your windowed Eve problem is Eve by itself or with the macro running? If Eve by itself see the technical help forums at Eve-Online. I think it is something to do with the AMD dual processor.....
  18. I see your counting pixels but are we cheking for black pixels? If so do I change this: If $char[$xwidth][$xlength] = "000000" Then to this for characters on a black background If $char[$xwidth][$xlength] <> "000000" Then Buck
  19. I think another use of this function will be pop up help files. Similar to tooltips but allows much more detail. We intend to try it with this code later today. I'll post full example if iot works.... Currently a right clik in the area of the control is required to bring up the "Whats this?" message. Your function should enable the pop up when hovered over the control... called from another function: $Start_Mining_Menu = GUICtrlCreateContextMenu($Start_Mining) $Start_Mining_Item = GUICtrlCreateMenuitem("What's This?", $Start_Mining_Menu)
  20. Ok, after actually doing the right thing and trying your code it becomes obvious that your trying to write a simular game. If I'm reading it right your trying to create the black bars via GUI statements? be interesting if that works, but you want some way to speed them up........ how about making the black bars solid across the who screen and then just use a small gray icon/image to punch holes in the bar? nope, that still don't speed up bar movement... I'll think on it.....
  21. Whole lot of pixelsearch posts here and none with a clear answer. So here is a simple question. How many shades is between 15,000,000 and 16,000,000 decimal color. That will at least give me some idea of how many numbers a single shade is. Or is this easier in hex? Buck >moved from wrong forum<
  22. Ok, $tab is like index name an $item is tab number to be selected? Works great now, thanks!
  23. Right, same concept. The aimbot can look for the the ball and once found move as needed to non black spot. That is the idea, right? unless your designing a simular game? in which case I'm out in left field Just pointing you to some code that should help you. Given the speed of the game the aimbot code is best example code in my opinion.
  24. I want to be able to switch to another tab if some event occurs. Modded the help file but can't get the tabs to change, whats wrong? #include <GUIConstants.au3> #include <GuiTab.au3> opt('MustDeclareVars', 1) Dim $tab, $tab0, $tab1 Dim $msg, $button, $item = 0, $i GUICreate("Tab Set Current Focus", 300, 200) ; will create a dialog box that when displayed is centered GUISetBkColor(0x00E0FFFF) GUISetFont(9, 300) $tab = GUICtrlCreateTab(10, 10, 200, 100) $tab0 = GUICtrlCreateTabItem("tab0") GUICtrlCreateTabItem(""); end tabitem definition $tab1 = GUICtrlCreateTabItem("tab1") GUICtrlSetState(-1, $GUI_SHOW); will be display first GUICtrlCreateTabItem(""); end tabitem definition $button = GUICtrlCreateButton("Set", 200, 130, 90, 30) GUISetState() ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $button _GUICtrlTabSetCurSel ($tab0, $item) _GUICtrlTabSetCurFocus ($tab0, $item) $item = Not $item EndSelect WEnd
  25. Whole lot of pixelsearch posts here and none with a clear answer. So here is a simple question. How many shades is between 15,000,000 and 16,000,000 decimal color. That will at least give me some idea of how many numbers a single shade is. Or is this easier in hex? Buck hmm, wrong forum! Please move to V3 forum
×
×
  • Create New...