• Log in or sign up for an account here: https://www.sythe.org/login

A question for the old folks

rsans

Newcomer
Joined
Mar 25, 2016
Sythe Gold
0
Messages
1
I never thought I'd see myself coming back here after so long, but here I am. I'll try to keep this short.

I'm writing a little program (with good old vb6) that automatically takes a picture of an area of bitmaps when they appear on a selected window. It is very, very much like the old Runescape bots back from 2005-2006.

But here's the thing I'm having trouble with. I WAS going to just end up using CruelLibs or something similar to help with what I'm doing, but time has passed. Surprise! Cruels website is down, and unfortunately Web Archive didn't save the CruelLib documentation.

My questions:
How would I go around having my program detect bitmaps?
How would I do that in a specified window?

I couldn't think of a better place to ask these questions. Can I ask for a nudge in the right direction here? I know you guys can help.
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
"I never thought I'd see myself coming back here after so long, but here I am."

What's your other account so I can ban you?

Regarding your question:
If I understand you correctly, you want to take a picture of a window when a certain bitmap shows up?

Tips for your question though:
1. Use .NET, VB6 is an 18 year old language and is thus a total dead end to be wasting any time with. C++ will get you good performance.
2. Win32 libraries are probably what you'll have to look at. Things like Bitblt, getpixel, findwindow, findwindowex. You can either grab the window's hwnd (window handle) and perform operations based on that, or make a rectangle object that performs a getpixel on-screen to try and assemble the bitmap you're searching for.
 
duelarena.gg
Back
Top