Cheating Network
 
 

Go Back   Cheating Network > General Computing > Programming
Reload this Page making a simple bot.



Programming

This is a discussion about making a simple bot. within the Programming section, where you will Anything related to programming or scripting should go here.



Reply
 
LinkBack Thread Tools Display Modes
Old 03-03-2008, 03:32 AM   #1 (permalink)
Senior Member
 
Join Date: Dec 2007
Posts: 383
Reputation: 1
emi_mockingbird is an unknown quantity at this point
Default making a simple bot.

Im trying to make a bot to help me answer the questions in a SWF game. The question will come up randomly but i can get the full list of questions. heres what i need to do:

1.question (image) comes up
2.click corresponding answer on the screen.

the problem is, the questions come up randomly, so i cant do a bot that clicks the correct answer in the correct sequence. help?
emi_mockingbird is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2008, 04:16 AM   #2 (permalink)
banned
 
hobdiddy's Avatar
 
Join Date: Dec 2007
Location: Los Angeles, CA
Posts: 766
Reputation: 132
hobdiddy will become famous soon enoughhobdiddy will become famous soon enough
Send a message via AIM to hobdiddy Send a message via MSN to hobdiddy
Default

you would either use image search to figure out the question or an ocr to read the question. then have it click the correct answer for the question it finds.
__________________
INSTANT PAYOUTS! JOIN TODAY!


thanks R3TLAW
hobdiddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2008, 07:48 AM   #3 (permalink)
Senior Member
 
Join Date: Dec 2007
Posts: 383
Reputation: 1
emi_mockingbird is an unknown quantity at this point
Default

i know how to do those hob. but unless the questions isnt ramdomized i cant put the question|answer pairs in a sequence. i need a way to jump to the correct answer when a certain question shows up.
emi_mockingbird is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2008, 08:55 AM   #4 (permalink)
banned
 
hobdiddy's Avatar
 
Join Date: Dec 2007
Location: Los Angeles, CA
Posts: 766
Reputation: 132
hobdiddy will become famous soon enoughhobdiddy will become famous soon enough
Send a message via AIM to hobdiddy Send a message via MSN to hobdiddy
Default

i guess you don't understand. how do u think cbb gets the letters?
__________________
INSTANT PAYOUTS! JOIN TODAY!


thanks R3TLAW
hobdiddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2008, 12:55 PM   #5 (permalink)
Senior Member
 
Olas's Avatar
 
Join Date: Feb 2008
Location: Michigan
Posts: 165
Reputation: 18
Olas is on a distinguished road
Send a message via AIM to Olas Send a message via MSN to Olas Send a message via Yahoo to Olas
Default

Let me try to break it down.

Use image search. If it finds a certain image, it gives it a certain answer. Just set up a different variable for each image. Then use the If function to match up images with answers.
__________________
(Thanks Nardaj)
Olas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-04-2008, 05:00 AM   #6 (permalink)
Senior Member
 
Join Date: Dec 2007
Posts: 383
Reputation: 1
emi_mockingbird is an unknown quantity at this point
Default

Quote:
Originally Posted by hobdiddy View Post
i guess you don't understand. how do u think cbb gets the letters?
to be frank, that's one of the 'interesting techniques' that im talking about.

@olas: an example code or template would be nice.
emi_mockingbird is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-04-2008, 05:19 AM   #7 (permalink)
Member
 
Join Date: Feb 2008
Posts: 40
Reputation: 0
skorned is an unknown quantity at this point
Default

post a link to the site with the game, and i'll write the imagesearch part of the ahk script for u over the weekend....
skorned is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-04-2008, 06:25 AM   #8 (permalink)
Senior Member
 
Join Date: Dec 2007
Posts: 383
Reputation: 1
emi_mockingbird is an unknown quantity at this point
Default

no, just the template will do.
emi_mockingbird is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-07-2008, 07:49 AM   #9 (permalink)
Senior Member
 
Join Date: Dec 2007
Posts: 383
Reputation: 1
emi_mockingbird is an unknown quantity at this point
Default

ok, ill try to do this myself. please someone tell me the commands that i should use. ill go check out the hlpe file myself.

also, should it be
1)look at question from game then find correspoding answer from my list of question-answer

OR

2) try to match the question from game to my list one by one?
emi_mockingbird is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-07-2008, 07:53 AM   #10 (permalink)
Senior Member
 
cheaterdiddy's Avatar
 
Join Date: Dec 2007
Location: microcrap
Posts: 2,431
Reputation: 47
cheaterdiddy is on a distinguished road
Send a message via AIM to cheaterdiddy
Default

alright heres the image search wiki http://www.autohotkey.com/docs/commands/ImageSearch.htm
If you need any help ask me,or hob,or SB
__________________
I need money. 69/450
cheaterdiddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-09-2008, 04:00 AM   #11 (permalink)
Senior Member
 
Join Date: Dec 2007
Posts: 383
Reputation: 1
emi_mockingbird is an unknown quantity at this point
Default

thanks, but i was expecting something less obvious. would i have to use any of the libraries? parsing? something else? i'm new to these commands and i dont really know what they do. I've only mastered imagesearch, sleep, mouse click, loop, and some other noob commands.
emi_mockingbird is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-09-2008, 04:04 AM   #12 (permalink)
Global Moderator
 
itami's Avatar
 
Join Date: Dec 2007
Posts: 2,396
Reputation: 77
itami will become famous soon enough
Default

Do you have an image of all the questions? Just how many questions are there?
__________________




"As democracy is perfected, the office of President represents, more and more closely, the inner soul of the
people. On some great and glorious day the plain folks of the land will reach their heart's desire at last and
the White House will be adorned by a downright moron."

H.L. Mencken, The Baltimore Evening Sun, July 26, 1920
itami is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-10-2008, 03:01 AM   #13 (permalink)
Senior Member
 
Join Date: Dec 2007
Posts: 383
Reputation: 1
emi_mockingbird is an unknown quantity at this point
Default

so far i've collected 144 images. thats why i believed that this method would not work or would take a long time if it does

"if q1 not found,try to find q2.if q2 not found,try to find q3....untill the right question is found, match with answer then click"

If the secenario was simpler i would have just done the above and not asking for help here.
emi_mockingbird is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-11-2008, 02:29 AM   #14 (permalink)
Senior Member
 
Join Date: Dec 2007
Posts: 383
Reputation: 1
emi_mockingbird is an unknown quantity at this point
Default

ideas, anyone? the deadline to the game is 8 days away.
emi_mockingbird is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2008, 10:09 AM   #15 (permalink)
banned
 
hobdiddy's Avatar
 
Join Date: Dec 2007
Location: Los Angeles, CA
Posts: 766
Reputation: 132
hobdiddy will become famous soon enoughhobdiddy will become famous soon enough
Send a message via AIM to hobdiddy Send a message via MSN to hobdiddy
Default

just do an imagesearch loop

you could even loop a dir.

if you dont want to post or pm the site then sorry it will be hard to help you.
__________________
INSTANT PAYOUTS! JOIN TODAY!


thanks R3TLAW
hobdiddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2008, 10:17 AM   #16 (permalink)
Senior Member
 
cheaterdiddy's Avatar
 
Join Date: Dec 2007
Location: microcrap
Posts: 2,431
Reputation: 47
cheaterdiddy is on a distinguished road
Send a message via AIM to cheaterdiddy
Default

wwhats the SWF game and cmon tell
__________________
I need money. 69/450
cheaterdiddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2008, 10:25 AM   #17 (permalink)
Senior Member
 
Join Date: Dec 2007
Posts: 383
Reputation: 1
emi_mockingbird is an unknown quantity at this point
Default

alright i'll pm the both of you the site. im not posting the site because the last time i asked for help here on CN, some idiots when and screwed it up even if they cant get the prize (its for local only, not US), it ended up with no winners.
emi_mockingbird is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
bot, making, simple


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with simple bot robad2 Software Discussion 35 06-19-2008 05:41 PM
Simple Macro Help dcdude313 Programming 2 04-01-2008 08:47 PM
AHK Help- Simple script i need ronaldo Programming 9 03-09-2008 10:36 AM
simple question with a simple answer that i don't have axman63 Chit Chat 6 12-17-2007 08:31 PM


Powered by vBulletin
Copyright © 2000-2008 Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.