wetwlly
Active Members-
Posts
42 -
Joined
-
Last visited
wetwlly's Achievements
Seeker (1/7)
0
Reputation
-
Okay i figured all that out, but I am trying to figure out how to get the auto typer to convert a full state name ( example: California ) into the abbrevation ( CA ). I am trying to create an array, but am just a little stuck.
-
nevermind I placed the integar one lower than it needed to be. fixed it with $i = 1.
-
#include <GuiConstants.au3> $j = 1 ; GUI GuiCreate("Auto-Typer", 330, 160) ; INPUT GuiCtrlCreateLabel("Text", 10, 10) $input = GuiCtrlCreateInput("", 45, 10, 200, 20) ; INPUT2 GuiCtrlCreateLabel("Every", 10, 50) $input2 = GuiCtrlCreateInput("1000", 45, 50, 100) GuiCtrlCreateLabel("Miliseconds", 150, 50) ; INPUT3 GuiCtrlCreateLabel("Speed", 10, 80) $input3 = GUICtrlCreateInput("100", 45, 80) ; START BUTTON $Button_1 = GuiCtrlCreateButton("Start", 10, 110, 100) ; STOP BUTTON $Button_2 = GuiCtrlCreateButton("Stop", 110, 110, 100) ; EXIT BUTTON $Exit = GUICtrlCreateButton("Exit", 210, 110, 100) GUISetState() While $j = 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit Case $msg = $Exit Exit Case $msg = $Button_1 Do $text = GUICtrlRead($input,1) $time = GUICtrlRead($input2,1) $speed = GUICtrlRead($input3,1) WinSetOnTop ("Auto-Typer", "", 1) WinActivate("Untitled") Opt("SendKeyDelay", $speed) Sleep( $time ) Local $iMax Local $i ; The string in data will be split into an array everywhere | is encountered Local $arr = StringSplit($text, "|") If IsArray($arr) Then Local $iMax = UBound($arr) For $i = 0 to $iMax - 1 Send($arr[$i] & "{TAB}") Next EndIf Until $j=1 EndSelect WEnd when i enter in a string of characters, it starts with how many variables there are as my first array.. example: a|b|c|d, it would type 4/5 out first then hit tab then a ,tab,b,tab,c,tab,d.
-
newest swf decompile in one second. EDIT: Game Settings v6386 gamesettings v6386 Decompiled SWF here it is, decompiled swf. Preloader if its needed.. PreloaderDecomp and just for kicks.. preloader decompiled..
-
My link
-
tried the IE.au3 no way to do clicking for coords.. as i see it.
-
Anyone figure a way to ControlClick() coords on IE window..
-
INSERT button is the start. its in the help button, and ya hover over the BUY button i think.
-
Okay so I have been trying to change stuff in the swf, kind of like the modded one. i have the farmgame, i have decompiler, i have flash cs3 and cs4, and i figured out how to change some stuff but i dont know how to throw it all back together.. anyone wanna tutorial me please? edit: going to try a different decompiler http://rapidshare.com/files/259827139/EFDTv4.1.0.710.rar flash decompiler trillix or something, say i can edit swf without extract hopefully
-
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, 2) $current_x = $current_x + 25 $current_y = $current_y - 12 level() level2() If Not $script_running Then ExitLoop Next ; 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 EndFunc Alright I need some coding help. When i get a level or mastery level (aka Level()/Level2() ), it skips roughly over 5 spots, how would i make it start back 5 columns? i was thinking just oh add into level() : $current_x = $current_x - (25 * 5) $current_y = $current_y - (-12 * 5) so maybe that will work. ill find out soon within this mastery lvl EDIT: alright, didnt work, cant figure out how to set it back 5,
-
sorry just need to post farmgame.6014.swf 6054 also to note, things added: <lootTable name="mysterybox"> <lootItem itemName="bikered" weight="1" rare="common" /> <lootItem itemName="resttentstripped" weight="2" rare="common" /> <lootItem itemName="loungechair" weight="3" rare="common" /> <lootItem itemName="picnictablecloth" weight="15" rare="common" /> <lootItem itemName="firepit" weight="15" rare="uncommon" /> <lootItem itemName="treeswing" weight="15" rare="uncommon" /> <lootItem itemName="hottub" weight="15" rare="rare" /> <lootItem itemName="gnome_gold" weight="15" rare="rare" /> mysterybox.. haunted house now buyable. nothing else really.
-
thanks dude im just trying to test out since i have a decompiler, if i can change the image and import it inside so theres only one color to look for making it a million times easier since we can redirect the .swf, i was thinking of trying to remake the swf so ya edit: its not working i give up.
-
tried a bit of your script timehorse into mine to try and make mine skip over plowed land when plowing fallow land.. still no good atm. heres wat it looks like Func plow() $current_x = $script_x $current_y = $script_y ; Some (local) variables For $current_row = 1 To $script_size_rows Step 1 For $current_column = 1 To $script_size_columns Step 1 $px = PixelGetColor($current_x, $current_y) If $px == $fallow_match Then MouseClick("primary", $current_x, $current_y, 1, 2) $current_x = $current_x + 25 $current_y = $current_y - 12 level() level2() publish() EndIf $current_x = $current_x + 25 $current_y = $current_y - 12 Next ; 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 EndFunc
-
Func plow() $current_x = $script_x $current_y = $script_y ; Some (local) variables For $current_row = 1 To $script_size_rows Step 1 For $current_column = 1 To $script_size_columns Step 1 For $iWidth = $current_x To $current_x + 15 For $iHeigth = $current_y To $current_y + 15 If PixelGetColor($iWidth, $iHeigth) = 0x6A560F Then MouseClick("primary", $iWidth, $iHeigth, 1, 2) $current_x = $current_x + 25 $current_y = $current_y - 12 level() level2() publish() EndIf $current_x = $current_x + 25 $current_y = $current_y - 12 If Not $script_running Then ExitLoop Next If Not $script_running Then ExitLoop Next If Not $script_running Then ExitLoop Next ; 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 EndFunc Okay so. I'm trying to find out how to make it search for a pixel in a location (pixel search doesnt work well for direct plot finding stuff) so far all i can figure out that this does is skips over this whole function. anyone help me out? im trying to make it so when i plow land, if plants had withered and already plowed the land over, to SKIP over it.
-
dont worry about making the plow tool size smaller just get the thing above the modded swf and you can overlap them and its the same thing