Sign in to follow this  
Followers 0
PR3BI

My first script ever!

6 posts in this topic

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 :D

That's all :D

Ping_Pong_Bot.exe

Ping_Pong.au3

Share this post


Link to post
Share on other sites



I see this line:

$B_oIE3.navigate ("file:///C:/Users/P/Desktop/pingpong.swf")

Where does this file come from?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0