Guest darkxmaggot Posted April 29, 2004 Posted April 29, 2004 I know it's a real old topic and I know it pisses some of you off (lol) but I'm trying to use a fishing script for FFXI. The problem is that it doesn't press enter after typing anything. So instead of typing /fish (enter) it just goes /fish /fish /fish /fish. Any ideas on what's going on?
scriptkitty Posted April 29, 2004 Posted April 29, 2004 aparently FFXI blocks enter, or captures it if you prefer. You could search for it and see this has been addressed many times. The game was built or patched this way. AutoIt is sending the enter key, but FFXI just ignores it. AutoIt3, the MACGYVER Pocket Knife for computers.
Guest darkxmaggot Posted April 29, 2004 Posted April 29, 2004 If the game is patched this way, then how come it doesn't happen to everyone? I'll post the code in a minute, I don't have it saved on this computer.
Guest darkxmaggot Posted April 29, 2004 Posted April 29, 2004 expandcollapse popupSleep(10000);give time to open FFXI $event = 0; $nobait = 0; $norod = 0; $norodfail = 0; $nobaitfail = 0; $norodcounter = 0; $nobaitcounter = 0; $rodtimer = 0; $baittimer = 0; $aimtimer = 0; $difrod = 0; $difbait = 0; $difaimtime = 0; $failsafe = 0; $sortit = 0; $pause = 0; $unpause = 0; $count = 0; $aim = 0; $aia = 0; $aib = 0; $aic = 0; $i = 30; $tells = 0; $a = 0; $c = 0; $d = 0; $e = 0; $f = 0; $g = 0; $aimtimeini = IniRead ( "ffxifish.ini", "AISCRIPT", "time", "900000" ); $aimini = IniRead ( "ffxifish.ini", "AISCRIPT", "aim", "1" ); $aiini = IniRead ( "ffxifish.ini", "AISCRIPT", "ai1", "20" ); $baitini = IniRead ( "ffxifish.ini", "LOGGING", "bait", "1" ); $rodsini = IniRead ( "ffxifish.ini", "LOGGING", "rods", "1" ); $fsini = IniRead ( "ffxifish.ini", "FAILSAFE", "fail", "175" ); $enini1 = IniRead ( "ffxifish.ini", "ENTERKEY", "first", "3200" ); $enini2 = IniRead ( "ffxifish.ini", "ENTERKEY", "second", "3400" ); $log = FileOpen ( "fish.txt", 1 ); $log1 = FileOpen ( "events.txt", 1 ); WinWaitActive("FFXiApp"); FileWriteLine($log, " FISH LOGGING has been initated at - " & @MON & " " & @MDAY & ", " & @YEAR & " || " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); FileWriteLine($log1, " EVENT LOGGING has been initated at - " & @MON & " " & @MDAY & ", " & @YEAR & " || " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); FileWriteLine($log1, " (1,2,3,..) = Standard Fishing " ); FileWriteLine($log1, " (E) = Fishing Events " ); FileWriteLine($log1, " (F) = Fish Type Caught (1) - Single, (2) - Multiple " ); FileWriteLine($log1, " (A) = Artificial Intelligence Events " ); checkpause() $unpause = 1; While $unpause > 0 AutoItSetOption("SendKeyDelay", 40); If $sortit = 1 Then autosort() Else Sleep(3200); EndIf Send ("!1"); fishing macro Sleep(8000); FileWriteLine($log1, " (1) - Beginning to Fish at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 0; $fail = 1;Do not change - this is the pause button. $failsafe = 0; $nobait = 0; $norod = 0; $sortit = 0; $pause = 0; $aib = 0; $aic = 0; Do Sleep(250); $a = PixelGetRGB(71,995);Pause $c = PixelGetRGB(86,995);Pause $d = PixelGetRGB(135,998);Pause $e = PixelGetRGB(113,996);Rusty,128,255,24 $f = PixelGetRGB(108,993);Rusty,128,255,24 $g = PixelGetRGB(131,996);Rusty,128,255,24 If $a[1] = 255 AND $a[2] > 130 < 205 AND $a[3] > 159 < 220 AND $c[1] = 255 AND $c[2] > 130 < 205 AND $c[3] > 159 < 220 AND $d[1] = 255 AND $d[2] > 130 < 205 AND $d[3] > 159 < 220 Then Sleep(2000);Sleep a bit Send("!3"); notification FileWriteLine($log1, " (***PAUSE***) was initiated at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $unpause = 0; $event = 0; $fail = 0; $failsafe = 0; $sortit = 0; checkpause() EndIf If $e[1] > 120 < 135 AND $e[2] = 255 AND $e[3] > 1 < 25 AND $f[1] > 120 < 135 AND $f[2] = 255 AND $f[3] > 1 < 25 AND $g[1] > 120 < 135 AND $g[2] =255 AND $g[3] > 1 < 25 Then Sleep(1000); autodrop() EndIf If PixelGetColor(22,994) = 16777215 AND PixelGetColor(108,996) = 16777215 AND PixelGetColor(228,997) = 16777215 Then AutoItSetOption("SendKeyDelay", 40); Sleep(Random($enini1,$enini2)); Send("{ENTER}");You have a bite so let's hit enter FileWriteLine($log1, " (2) - ENTER KEY was initiated at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Sleep(2500); EndIf ;If PixelGetColor(101,997) = 1834837 AND PixelGetColor(101,998) = 1834837 AND PixelGetColor(101,994) = 1834837 Then ;FileWriteLine($log1, " (5) -normal- Found a Rusty Item at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); ;Sleep(1000); ;autodrop() ;EndIf If PixelGetColor(43,997) = 16777215 AND PixelGetColor(83,998) = 16777215 AND PixelGetColor(175,999) = 16777215 Then Sleep(5400);You lost your catch. Finish and speed things up a little. FileWriteLine($log1, " (E1) -normal- You lost your catch - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf If PixelGetColor(24,1000) = 16777215 AND PixelGetColor(127,997) = 16777215 AND PixelGetColor(507,995) = 16777215 Then Sleep(5400);Your catch was too small. Finish and speed things up a little. FileWriteLine($log1, " (E2) -normal- Your catch was too small to fish with this rod - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf If PixelGetColor(37,1000) = 16777215 AND PixelGetColor(77,1000) = 16777215 AND PixelGetColor(180,998) = 16777215 Then Sleep(5400);You didn't catch anything. Finish and speed things up a little. $aia = $aia + $aia+1; FileWriteLine($log1, " (E3) -normal- You didn't catch anything - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf If PixelGetColor(33,998) = 16777215 AND PixelGetColor(64,996) = 16777215 AND PixelGetColor(122,997) = 16777215 Then Sleep(5400); $norod = 1;Your rod broke so we need to change it. $aib = 1; FileWriteLine($log1, " (E4) -normal- Your rod broke - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); aib() $event = 1; EndIf If PixelGetColor(33,997) = 16777215 AND PixelGetColor(142,999) = 16777215 AND PixelGetColor(347,1000) = 16777215 Then Sleep(5400); $norod = 1; $rodtimer = $rodtimer+1; $norodfail = $norodfail+1; norod() FileWriteLine($log1, " (E5) -normal- You can't fish without a rod. - " & $norodfail & "attempt(s) logged - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf If PixelGetColor(51,996) = 16777215 AND PixelGetColor(86,997) = 16777215 AND PixelGetColor(99,991) = 16777215 Then Sleep(5400); $nobait = 1;Your line broke so you lost your bait and we need to change it. $aic = 1; FileWriteLine($log1, " (E6) -normal- Your line broke so we need to change your bait - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); aic() $event = 1; EndIf If PixelGetColor(47,1000) = 16777215 AND PixelGetColor(142,999) = 16777215 AND PixelGetColor(330,997) = 16777215 Then Sleep(5400); $nobait = 1;You ran out of bait so let's get ready to change it. $baittimer = $baittimer+1; $nobaitfail = $nobaitfail+1; nobait() FileWriteLine($log1, " (E7) -normal- You ran out of bait so we need to change it - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf If PixelGetColor(43,995) = 16777215 AND PixelGetColor(71,997) = 16777215 AND PixelGetColor(84,995) = 16777215 Then Sleep(5400); $sortit = 1;You caught something so let's get ready to autosort it $count = $count + 1; FileWriteLine($log, $count & " Item or Fish Caught at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Sleep(0500); FileWriteLine($log1, " (F1) -normal- You hit the obtained event for 1 fish so we are going to sort inventory - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf If PixelGetColor(58,998) = 16777215 AND PixelGetColor(77,996) = 16777215 AND PixelGetColor(105,994) = 16777215 Then Sleep(5400); $sortit = 1;You caught MULTIPLE FISH so let's get ready to autosort it $count = $count + 1; FileWriteLine($log, $count & " Item or Fish Caught at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Sleep(0500); FileWriteLine($log1, " (F2) -normal- You hit the caught event for multiple fish so we are going to sort inventory - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf failsafe() aia() aimtime() aimcalculate() Until $event = 1 sleep(2000); If $nobait = 1 Then Send("!2");change bait Sleep(2000); $nobaitcounter = $nobaitcounter+1 FileWriteLine($log1, " ***BAIT CHANGE*** - Changed your bait if you had it at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); EndIf If $norod = 1 Then Send("!4");change rod Sleep(2000); $norodcounter = $norodcounter+1 FileWriteLine($log1, " ***ROD CHANGE*** - Changed your fishing rod if you had it at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); EndIf If $rodtimer = 1 Then rodtimer() EndIf If $baittimer = 1 Then baittimer() EndIf WEnd Func autosort() Sleep(9000); FileWriteLine($log1, " (3) - Autosorting Inventory at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Sleep(0500); AutoItSetOption("SendKeyDelay", 0235); Send ("!i"); Sleep(0250); Send ("{NUMPADADD}"); Sleep (0250); Send ("{ENTER}"); sleep(0250); MouseMove(1209,122,10); sleep(0250); Send ("{ENTER}"); sleep(0250); Send ("{ESCAPE}"); sleep(0250); Send ("{ESCAPE}"); Sleep (0250); EndFunc Func autodrop() Sleep(9000); FileWriteLine($log1, " (5) - Autodroping a Rusty Item at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Sleep(0500); AutoItSetOption("SendKeyDelay", 0235); Send ("!i"); Sleep(0250); Send ("{RIGHT down}"); Sleep(Random(3000,3300)); Send ("{RIGHT up}"); Sleep(0300); Send ("{ENTER}"); MouseMove(1210,77); Sleep(1000); Send ("{ENTER}"); sleep(1000); MouseMove(1214,121); sleep(1000); Send ("{ENTER}"); sleep(1000); Send ("{ESCAPE}"); sleep(0300); Send ("{ESCAPE}"); Sleep(0300); EndFunc ; ; ;Functions are listed here for checkpause, autosort, failsafe, norod, logout, AIa, AIb, rodtimer, baittimer ; ; ;******************************************CHECKPAUSE FUNCTION IS LISTED BELOW********************************************* Func checkpause() Do $fail = 0; $aim = 0; Sleep(1000); If PixelGetColor(22,994) = 16777215 AND PixelGetColor(108,996) = 16777215 AND PixelGetColor(228,997) = 16777215 Then AutoItSetOption("SendKeyDelay", 40); Sleep(Random($enini1,$enini2)); Send("{ENTER}");You have a bite so lets hit enter FileWriteLine($log1, " (2) - ENTER KEY was initiated at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Sleep(2500); EndIf If PixelGetColor(101,997) = 1834837 AND PixelGetColor(101,998) = 1834837 AND PixelGetColor(101,994) = 1834837 Then FileWriteLine($log1, " (5) -normal- Found a Rusty Item at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Sleep(1000); autodrop() EndIf If PixelGetColor(43,997) = 16777215 AND PixelGetColor(83,998) = 16777215 AND PixelGetColor(175,999) = 16777215 Then Sleep(5400);You lost your catch. Finish and speed things up a little. FileWriteLine($log1, " (E1) -checkpause- You lost your catch - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $unpause = 1; EndIf If PixelGetColor(24,1000) = 16777215 AND PixelGetColor(127,997) = 16777215 AND PixelGetColor(507,995) = 16777215 Then Sleep(5400);Your catch was too small. Finish and speed things up a little. FileWriteLine($log1, " (E2) -checkpause- Your catch was too small to fish with this rod - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $unpause = 1; EndIf If PixelGetColor(37,1000) = 16777215 AND PixelGetColor(77,1000) = 16777215 AND PixelGetColor(180,998) = 16777215 Then Sleep(5400);You didn't catch anything. Finish and speed things up a little. FileWriteLine($log1, " (E3) -checkpause- You didn't catch anything - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $aia = $aia + $aia+1; $unpause = 1; EndIf If PixelGetColor(51,996) = 16777215 AND PixelGetColor(86,997) = 16777215 AND PixelGetColor(99,991) = 16777215 Then Sleep(5400); $nobait = 1;Your line broke so you lost your bait and we need to change it. $aic = 1; FileWriteLine($log1, " (E4) -checkpause- Your line broke so we need to change your bait - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); aic() $unpause = 1; EndIf If PixelGetColor(33,998) = 16777215 AND PixelGetColor(64,996) = 16777215 AND PixelGetColor(122,997) = 16777215 Then Sleep(5400); $norod = 1;Your rod broke so we need to change it. $aib = 1; FileWriteLine($log1, " (E5) -checkpause- Your rod broke - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); aib() $unpause = 1; EndIf If PixelGetColor(33,997) = 16777215 AND PixelGetColor(142,999) = 16777215 AND PixelGetColor(347,1000) = 16777215 Then Sleep(5400); $norod = 1; $rodtimer = $rodtimer+1; $norodfail = $norodfail+1; norod() FileWriteLine($log1, " (E6) -checkpause- You can't fish without a rod. - " & $norodfail & "attempt(s) logged - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $unpause = 1; EndIf If PixelGetColor(47,1000) = 16777215 AND PixelGetColor(142,999) = 16777215 AND PixelGetColor(330,997) = 16777215 Then Sleep(5400); $nobait = 1;You ran out of bait so let's get ready to change it. $baittimer = $baittimer+1; $nobaitfail = $nobaitfail+1; nobait() FileWriteLine($log1, " (E7) -checkpause- You ran out of bait so we need to change it - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $unpause = 1; EndIf If PixelGetColor(43,995) = 16777215 AND PixelGetColor(71,997) = 16777215 AND PixelGetColor(84,995) = 16777215 Then Sleep(5400); $sortit = 1;You caught something so let's get ready to autosort it $count = $count + 1; FileWriteLine($log, $count & " Item or Fish Caught at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Sleep(0500); FileWriteLine($log1, " (F1) -checkpause- You hit the obtained event for 1 fish so we are going to sort inventory - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $unpause = 1; EndIf If PixelGetColor(58,998) = 16777215 AND PixelGetColor(77,996) = 16777215 AND PixelGetColor(105,994) = 16777215 Then Sleep(5400); $sortit = 1;You caught MULTIPLE FISH so let's get ready to autosort it $count = $count + 1; FileWriteLine($log, $count & " Item or Fish Caught at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Sleep(0500); FileWriteLine($log1, " (F2) -checkpause- You hit the caught event for multiple fish so we are going to sort inventory - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $unpause = 1; EndIf Until $unpause = 1; Sleep(1000); FileWriteLine($log1, " ..........Leaving Checkpause state at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); EndFunc ;*****************************************FAILSAFE FUNCTION IS LISTED BELOW**************************************************** Func failsafe() If $fail = 0 Then checkpause() Else $failsafe = $failsafe+1; EndIf If $failsafe = $fsini AND $unpause = 1 Then FileWriteLine($log1, " (4) Failsafe was reached at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf EndFunc ;*******************************************TIMER FUNCTIONS ARE LISTED BELOW*************************************************** Func rodtimer() $rodtimer = TimerStart() EndFunc Func baittimer() $baittimer = TimerStart() EndFunc Func aimtime() If $aim = $aimini Then $aimtimer = TimerStart() Sleep(3000); $aim = 0; FileWriteLine($log1, " (A4) The AI Movement Timer was started at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); aimstop() $event = 1; EndIf EndFunc Func aimstop() If $aim = 0 Then $difaimtime = TimerStop($aimtimer); $aim = 2; EndIf EndFunc Func aimcalculate() If $aim = 2 Then $difaimtime = $difaimtime+1000; EndIf If $difaimtime > $aimtimeini Then aimmove() $aim = 1; $event = 1; EndIf EndFunc Func norod() If $norodfail > $rodsini AND $norodcounter > 2 Then $difrod = TimerStop($rodtimer); difrodcheck() EndIf EndFunc Func difrodcheck() If $difrod < 600000 Then Sleep(2000); FileWriteLine($log1, " **********LOGGING OUT********** : Logout needs to occur because of no rod. Check the event above for reasons why. Logging out at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); logout() Else $norodfail = 0; $norodcounter = 0; $rodtimer = 0; EndIf EndFunc Func nobait() If $nobaitfail > $baitini AND $nobaitcounter > 2 Then $difbait = TimerStop($baittimer); difcheck() EndIf EndFunc Func difcheck() If $difbait < 600000 Then Sleep(2000); FileWriteLine($log1, " **********LOGGING OUT********** : Logout needs to occur because of bait. Check the event above for reasons why. Logging out at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); logout() Else $nobaitfail = 0; $nobaitcounter = 0; $baittimer = 0; EndIf EndFunc ;*********************************************LOGOUT FUNCTION IS LISTED BELOW************************************************** Func logout() $failsafe = 0; Sleep(1000); Send("!{TAB 3}");Send Alt + Tab 3 times. Sleep(1000); Send("{CTRLDOWN}{ESC 3}"); Send CTRL + ESC 3 times. FileWriteLine($log1, "Alt+TAB and CTRL+ESC was initiated 3 times each at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Exit EndFunc ;***********************************************AI FUNCTIONS ARE LISTED BELOW************************************************** Func aia() If $aia > $aiini Then Send("!0");Alt+0 macro for AI scripting. Sleep(10000); $aia = 0; FileWriteLine($log1, " (A1) - Sent the AIa (First AI Script) macro at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf EndFunc Func aib() If $aib = 1 Then Send("!9");Alt+9 macro for AI scripting. Sleep(10000); $aib = 0; FileWriteLine($log1, " (A2) - Sent the AIb (Broken Rod Script) macro at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf EndFunc Func aic() If $aic = 1 Then Send("!8");Alt+8 macro for AI scripting. Sleep(10000); $aic = 0; FileWriteLine($log1, " (A3) - Sent the AIc (Broken Line Script) macro at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); $event = 1; EndIf EndFunc Func aimmove() Sleep(5000); FileWriteLine($log1, " (A4) AI Movement is now commencing at - " & @HOUR & ":" & @MIN & ":" & @SEC & @LF); Sleep(0500); AutoItSetOption("SendKeyDelay", 0235); Send ("{NUMPAD6 down}"); Sleep(0800); Send ("{NUMPAD6 up}"); Sleep (3000); Send ("{NUMPAD4 down}"); Sleep(0800); Send ("{NUMPAD4 up}"); Sleep (3000); Send ("{NUMPAD4 down}"); Sleep(0800); Send ("{NUMPAD4 up}"); Sleep (3000); Send ("{NUMPAD6 down}"); Sleep(0800); Send ("{NUMPAD6 up}"); Sleep (1100); EndFunc ;****************************************RGB FUNCTIONS LISTED BELOW******************************************************* ; Returns an array with element1=RED, element2=GREEN, element3=BLUE Func PixelGetRGB($x, $y) $hex = Hex(PixelGetColor($x, $y), 6) $r = hexToDec(StringRight($hex, 2)) & "|" $g = hexToDec(StringMid($hex, 3,2)) & "|" $b = hexToDec(StringLeft($hex, 2)) Return StringSplit($r & $g & $b, "|") EndFunc ; Returns the decimal equivalent of a $hex string like "05ff" Func hexToDec($hex) $dec = 0;running total $n = StringLen($hex);number of digits For $i = 1 to $n $d = StringMid($hex, $i, 1);digit Select Case $d >= "0" And $d <= "9" $dec = $dec + (Asc($d)-48) * 16 ^ ($n-$i) Case $d >= "A" And $d <= "G" $dec = $dec + (Asc($d)-55) * 16 ^ ($n-$i) Case $d >= "a" And $d <= "g" $dec = $dec + (Asc($d)-87) * 16 ^ ($n-$i) EndSelect Next Return $dec EndFunc I believe that is the script that I've been trying to run.
scriptkitty Posted April 29, 2004 Posted April 29, 2004 could be the OS, My macros to send keys to one game don't work in Win95/98/ME but work fine in WinXP/NT/2000. AutoIt3, the MACGYVER Pocket Knife for computers.
SweatyOgre Posted May 27, 2004 Posted May 27, 2004 I have that Lindsay Lohan nipple slip picture, its not bad, nor is the paris hilton upskirt with no panties thats circulating.
Guest lilrichee Posted June 24, 2004 Posted June 24, 2004 Nice Script, I cant get it to work though... Do i have to change my config or macros?
pekster Posted June 24, 2004 Posted June 24, 2004 (edited) Nice Script, I cant get it to work though... Do i have to change my config or macros?That is not a nice script. It's crudely done, has no indenting, spacing to make it take up 90% of the thread post, uses about 3 times as much code as it would need, and repeats itself where a couple of commands could replace up to 1/5th or 1/4th of the script at a time.Oh, and you can find about 15 coppies of that script that are almost identical in the gameing and bot's archive, with people saying the exact same "oh, great script, only it has the same bloody problem that all the other lame scripts that we coppied from people who didn't know what they were doing had wrong."</rant>If you want to truely make a gaming bot, please start reading the helpfile (the whole helpfile) with an emphasis on the following:Proper block indentingLooping & IterationFunctionsArray manipulationProper key sending methods (folks, there more than Send() and Sleep() )Pixel detection and testingConditional code, and Conditional Structures (If Then as well as Select Case) That is not complete, but it lists some of the more important ideas and methods to understand before you try and write a gaming bot.Minor edit Edited June 24, 2004 by pekster [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.
Guest lilrichee Posted June 25, 2004 Posted June 25, 2004 ok ok.... so its a bad script.. Anyone know of a "Good" that ACTUALLY works? and can you please post it
emmanuel Posted June 25, 2004 Posted June 25, 2004 you know how hard it is to resist the urge to post back some iteration of that same script with a command to exit the game and then delete the directory? "I'm not even supposed to be here today!" -Dante (Hicks)
Valik Posted June 25, 2004 Posted June 25, 2004 you know how hard it is to resist the urge to post back some iteration of that same script with a command to exit the game and then delete the directory?Unless Jon or the original poster deleted, one version of that script would go nuts trying to get the user banned after awhile. I think Jon said that was the post that finally prompted him to shut the gaming forum down.
Lyra Posted July 2, 2004 Posted July 2, 2004 Dark, I 've been working on the bot too. I think you problem maybe because of FFXI imposes key detection delay. i.e. Say when you hit "h" to heal on the game, you need to hit like at least 100ms or so (you can try to hit the "h" key real fast and you will notice that FFXI wouldn't take it and your character still standing instead of healing). The send key generated by autoit is to short in time that FFXI is simply ignored it. Try to add with before you send "/fish", AutoItSetOption("SendKeyDownDelay", 300); Hope this will help.
Lyra Posted July 2, 2004 Posted July 2, 2004 Sorry, misunderstand your question, try this: send("/fish{ENTER}");
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now