PR3BI Posted April 15, 2008 Share Posted April 15, 2008 Here's my first script ever! It's actually a bot. ______ Files ______ - Ping Pong Bot.exe - Ping Pong (Bot).au3 U can ether DL them both, or just the exe/code. Feel free 2 use my code, but please. Don't tell that It's ur script when u copy it, sling in my word or something That's all Ping_Pong_Bot.exePing_Pong.au3 Link to comment Share on other sites More sharing options...
weaponx Posted April 15, 2008 Share Posted April 15, 2008 I see this line: $B_oIE3.navigate ("file:///C:/Users/P/Desktop/pingpong.swf") Where does this file come from? Link to comment Share on other sites More sharing options...
PR3BI Posted April 15, 2008 Author Share Posted April 15, 2008 I see this line:$B_oIE3.navigate ("file:///C:/Users/P/Desktop/pingpong.swf")Where does this file come from?The .swf file? It's the direct Shockwaveflash object. So It's the game but u don't need internet 2 play it. If u wonna play games without internet u can google: "The game u want".SWF then save the url. But the game worked, right? ^^Tip: U have 2 press F9 2 start it. Link to comment Share on other sites More sharing options...
james3mg Posted April 15, 2008 Share Posted April 15, 2008 The .swf file? It's the direct Shockwaveflash object. So It's the game but u don't need internet 2 play it. If u wonna play games without internet u can google: "The game u want".SWF then save the url. But the game worked, right? ^^Tip: U have 2 press F9 2 start it.The problem is that nobody else is likely to have a user profile directory named 'p' on their c: drive. You should tell it to navigate to @ScriptDir&"/pingpong.swf" instead. "There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110 Link to comment Share on other sites More sharing options...
PR3BI Posted April 15, 2008 Author Share Posted April 15, 2008 AH! LAWL! sorry u guys. I dont think people wud like my bot, but if they wud, goto: http://elegans.imbb.forth.gr/games/and DL Ping Pong. Oooor, i cud make a new bot with the "REAL" game. so gimme a reply if u wud like me 2 do it over again. Link to comment Share on other sites More sharing options...
Triblade Posted April 16, 2008 Share Posted April 16, 2008 Well, this is the example forum, so you'd do well to supply all files and/or links needed for your script. Besides instead of using "file:///C:/Users/P/Desktop/pingpong.swf" you could use "file:///" & @DesktopDir & "\pingpong.swf" or something similar. This way you work around all issues with profiles, Operating Systems, etc. But for the rest the code looks fine. Especially for a first time AutoIt-er! My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
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