C2C
Active Members-
Posts
105 -
Joined
-
Last visited
About C2C
- Birthday 03/21/1976
Profile Information
-
Location
0x5649851
C2C's Achievements
Adventurer (3/7)
0
Reputation
-
TOP 10 # Peas # Asparagus # Grapes # Sugar Cane # Tomatoes # Sunflowers # Onions # Coffee/BlackBerries # Carrots # Raspberries
-
you could make it so that another hotkey defines the market button and just so you dont have to do it over and over again write all of the info to the ini file, make an input field where you input the hours and thats the sleep period, ofcourse add an extra 10 minutes for all the crops to grow in order to be harvested. was thinking about the same thing actually but i dont like my computer running while im away
-
Its Jackalos script but modified to go in other direction when it finishes all the columns in the row, that way you dont waste time while the farmer walks it off ;*** Farmville Bot ; v2009-07-30 - Now has a GUI, a target button, and optional avoidance of spawning square. ; v2009-07-31 - Added a Mouse Speed variable, made the GUI look better ; v2009-08-23 - Reworked the entire script to use hotkeys and a variable harvest area ; v2009-08-24 - Finished the rewrite, cleaned and compacted the code, added Help button ; Just some things to remember... ; When zoomed all the way out, the below are true... ; Moving across columns, x+25, y-12 ; Moving down rows, x+25, y+12 ;*** Design Goals ; 1. Create a better looking interface ; Includes #include <GUIConstantsEx.au3> #include <EditConstants.au3> ; Define a few (global) variables $script_x = 0 $script_y = 0 $script_speed = 0 $script_size_columns = 20 $script_size_rows = 4 $script_running = 0 $order = 0 ; Hotkeys HotKeySet("{1}", "set_position") HotKeySet("{2}", "start_script") HotKeySet("{3}", "stop_script") ; Hotkey Functions Func set_position() $script_x = MouseGetPos(0) $script_y = MouseGetPos(1) GUICtrlSetData($label_coordinate_x, $script_x) GUICtrlSetData($label_coordinate_y, $script_y) EndFunc Func start_script() GUICtrlSetColor($graphic_background, "0x33FF33") ;~ GUICtrlSetBkColor($button_help, "0x33FF33") $script_running = 1 EndFunc Func stop_script() GUICtrlSetColor($graphic_background, "0xF0F0F0") ;~ GUICtrlSetBkColor($button_help, "0xF0F0F0") $script_running = 0 EndFunc $window_main = GUICreate("Farmville Bot", 200, 165) $graphic_background = GUICtrlCreateGraphic(0, 0, 200, 165) GUICtrlSetState($graphic_background, $GUI_DISABLE) GUICtrlCreateGroup("Coordinates", 5, 5, 75, 60) GUICtrlCreateLabel("X:", 20, 25, 50) GUICtrlCreateLabel("Y:", 20, 40, 50) $label_coordinate_x = GUICtrlCreateLabel($script_x, 40, 25, 30) $label_coordinate_y = GUICtrlCreateLabel($script_y, 40, 40, 30) $button_help = GUICtrlCreateButton("Help", 15, 95, 75, 45) GUICtrlCreateGroup("Size", 90, 5, 105, 61) GUICtrlCreateLabel("Columns:", 98, 20) $input_size_columns = GUICtrlCreateInput($script_size_columns, 145, 18, 40, 20) $updown_size_columns = GUICtrlCreateUpdown($input_size_columns) GUICtrlSetLimit($updown_size_columns, 20, 1) GUICtrlCreateLabel("Rows:", 98, 42) $input_size_rows = GUICtrlCreateInput($script_size_rows, 145, 40, 40, 20) $updown_size_rows = GUICtrlCreateUpdown($input_size_rows) GUICtrlSetLimit($updown_size_rows, 20, 1) ;GUICtrlCreateGroup("Mouse Speed", 110, 75, 85, 85) ;$input_speed = GUICtrlCreateInput($script_speed, 125, 95, 50, 20, $ES_CENTER) ;$updown_speed = GUICtrlCreateUpdown($input_speed) ;GUICtrlSetLimit($updown_speed, 3000, 1) ;$button_speed_1 = GUICtrlCreateButton("1", 115, 120, 25, 15) ;$button_speed_5 = GUICtrlCreateButton("5", 140, 120, 25, 15) ;$button_speed_10 = GUICtrlCreateButton("10", 165, 120, 25, 15) ;$button_speed_15 = GUICtrlCreateButton("15", 115, 140, 25, 15) ;$button_speed_25 = GUICtrlCreateButton("25", 140, 140, 25, 15) ;$button_speed_50 = GUICtrlCreateButton("50", 165, 140, 25, 15) $window_help = GUICreate("Help", 170, 65, -1, -1, -1, 0, $window_main) GUICtrlCreateLabel("1 - Set starting coordinates", 10, 5) GUICtrlCreateLabel("2 - Start the script", 10, 25) GUICtrlCreateLabel("3 - Stop the script", 10, 45) GUISetState(@SW_SHOW, $window_main) While 1 If $script_running Then ; Seriously, why is this even necessary...? $script_size_columns = GUICtrlRead($input_size_columns) $script_size_rows = GUICtrlRead($input_size_rows) farm() EndIf ;$script_speed = GUICtrlRead($input_speed) $gui_msg = GUIGetMsg(1) Select Case $gui_msg[0] = $GUI_EVENT_CLOSE If $gui_msg[1] = $window_main Then ExitLoop ElseIf $gui_msg[1] = $window_help Then GUISetState(@SW_HIDE, $window_help) EndIf ; Case $gui_msg[0] = $button_help ; GUISetState(@SW_SHOW, $window_help) ; Case $gui_msg[0] = $button_speed_1 ; GUICtrlSetData($input_speed, "1") ; Case $gui_msg[0] = $button_speed_5 ; GUICtrlSetData($input_speed, "5") ; Case $gui_msg[0] = $button_speed_10 ; GUICtrlSetData($input_speed, "10") ; Case $gui_msg[0] = $button_speed_15 ; GUICtrlSetData($input_speed, "15") ; Case $gui_msg[0] = $button_speed_25 ; GUICtrlSetData($input_speed, "25") ; Case $gui_msg[0] = $button_speed_50 ; GUICtrlSetData($input_speed, "50") EndSelect Sleep(25) WEnd Func farm() ; Some (local) variables $current_x = $script_x $current_y = $script_y For $current_row = 1 To $script_size_rows Step 1 For $current_column = 1 To $script_size_columns Step 1 MouseClick("primary", $current_x, $current_y, 1, $script_speed) If $order = 0 Then $current_x = $current_x + 25 $current_y = $current_y - 12 Else $current_x = $current_x - 25 $current_y = $current_y + 12 EndIf If Not $script_running Then ExitLoop Next If $order = 0 Then $order = 1 $current_x = $current_x - 25 $current_y = $current_y + 12 else $order = 0 $current_x = $current_x + 25 $current_y = $current_y - 12 EndIf ; Reset to beginning of row ;$current_x = $current_x - (25 * $script_size_columns) ;$current_y = $current_y - (-12 * $script_size_columns) ; Advance to the next row $current_x = $current_x + 25 $current_y = $current_y + 12 If Not $script_running Then ExitLoop Next ; Stop running now stop_script() $order = 0 EndFunc
-
Imho ESET SS or AV is full of WIN. Lightweight but delivers a strong punch. Try it out
-
Everything on my computer is renamed to Autoit
C2C replied to SaraTheGreat's topic in AutoIt General Help and Support
proper job mate -
Can anybody confirm this working on Vista Ultimate x86 with Office 2007 ?
-
I think the main variable in the computers consumption of electrical current is the monitor (and the muscle graphic cards) depending on size and simple background color depends how much your monitor (which I think is the main energy leech) will use electricity. About the background color: Apparently on a CRT monitor ALL white screen means large energy consumption. Because of the way they function black is just not "drawing anything" but on LCD TFT monitors black color just means that every transitor is powered/lit but so are the "dimmers/blockers" => more energy. As for the power supply i dont think that IT on its own has a lot to do with consumption for instance i have 450W UPS and it was working just fine while i had my old graphics card and monitor but i still had a 750W power supply, but now when the power goes out it works for like 1s and then wham => graphics card + larger monitor make it go So to sum it all up Ludocus program does the average but if you would like to pinpoint it down (a bit) i think the graphics card and monitor should be taken in to consideration. Ill try to find some comparative chart or something on how much energy those cost so maybe we can make something of it. Good job keep it up bro
-
World of Warcraft reading Memory Help
C2C replied to marko001's topic in AutoIt General Help and Support
Isnt like warden going to like uhm I dont know banned? -
World of Warcraft reading Memory Help
C2C replied to marko001's topic in AutoIt General Help and Support
Isnt like warden going to like uhm I dont know banned? -
You should be shot repeatedly for even mentioning this bar sry sry i couldnt help myself
-
gotta love borat
-
http://nattyware.com/bin/pixie.zip try this gives you X Y and color under the mouse cursor with the hotkeys to copy paste it EDIT: If you need a 3rd party app then this is what you are looking for
-
oh so you need a x,y mousepos color tool with freeze function or something like that
-
Maybe a timer pointing to a WinPos-ish sort of function. Just a suggestion
-
Problem with _SoundLenght - Bug?
C2C replied to LordBlackout's topic in AutoIt General Help and Support
Im cassually using it with _SoundLenght($sound,2) with the above mentioned 3.2.10 and the latest beta. Its easier for me to use it if you get returned value in msecs rather than chopping strings