Cheating Network
 
 

Go Back   Cheating Network > General Computing > Programming
Reload this Page (AHK) Need help making a bot



Programming

This is a discussion about (AHK) Need help making a 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-25-2008, 08:46 PM   #1 (permalink)
Chemistry Wizard
 
jromper2000's Avatar
 
Join Date: Dec 2007
Location: PA
Posts: 662
Reputation: 9
jromper2000 is an unknown quantity at this point
Default (AHK) Need help making a bot

Is there a way to capture images fro ma specific section of the screen using AHK?
__________________
------------------------------------------------------
If you like what I have to say. How about showin' the love ppl? Increase my rep.
Sign up under me on
Blingo: http://www.blingo.com/friends?ref=qlWNotsx...kTGP0ugbuCtQqyo
Moola: http://www.moola.com/moopubs/b2b/exc/join....a59794e7a493d-2
Freebies4me (which is awesome): http://www.freebies4me.net/?ref=1303

jromper2000 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-25-2008, 08:50 PM   #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

yes
__________________
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-25-2008, 08:55 PM   #3 (permalink)
Chemistry Wizard
 
jromper2000's Avatar
 
Join Date: Dec 2007
Location: PA
Posts: 662
Reputation: 9
jromper2000 is an unknown quantity at this point
Default

I have searched through all of the command list but to no avail. Could someone please point me in the right direction?
__________________
------------------------------------------------------
If you like what I have to say. How about showin' the love ppl? Increase my rep.
Sign up under me on
Blingo: http://www.blingo.com/friends?ref=qlWNotsx...kTGP0ugbuCtQqyo
Moola: http://www.moola.com/moopubs/b2b/exc/join....a59794e7a493d-2
Freebies4me (which is awesome): http://www.freebies4me.net/?ref=1303


Last edited by jromper2000; 03-25-2008 at 09:00 PM.
jromper2000 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-25-2008, 09:15 PM   #4 (permalink)
Senior Member
 
ahage16's Avatar
 
Join Date: Dec 2007
Posts: 780
Reputation: 52
ahage16 will become famous soon enough
Default

you need to use dllcall with this file
RapidShare: 1-Click Webhosting
that should be placed in same folder as script

Code:
DllCall("captdll.dll\CaptureScreen", "str", "dump_full.jpg", "int", 85)
DllCall("captdll.dll\CaptureRegion", "str", "dump_partial.bmp", "int", top pixel, "int", left pixel, "int", width, "int", height, "int", -1)
the specific area will be saved dump_partial.bmp in the same folder and the full screen as dump_full.jpg

I haven't used this for a while so I forgot what some of the other parameters stand for, but I'll check it out and edit in any more info

Alright, the number at the end of each line sets the jpeg quality of the image to be saved. if the number is a negative, it saves as a bitmap

Last edited by ahage16; 03-25-2008 at 09:21 PM.
ahage16 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-25-2008, 09:42 PM   #5 (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

yes you have to write your own bot or you could just look at hobs easy capture it has the ahk. file
cheaterdiddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
ahk, bot, making


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
Making A Bot... SKy Scripter Programming 4 06-18-2008 12:05 AM
Making into a Silent Bot Help Titan5 Programming 1 04-18-2008 03:29 PM
Sig Making Justin555 Chit Chat 11 04-17-2008 07:46 PM
making a simple bot. emi_mockingbird Programming 16 03-12-2008 10:25 AM
Sig Making Nadroj Graphics Section 46 02-26-2008 03:00 PM


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