View Full Version : Color Finding not working
caused
05-23-2012, 11:18 PM
Hey.
I'm trying to write some aids for Diablo III.
But when the Client window is in foreground All Color Finding Functions are not working(gets stuck at the function), while if simba is in foreground they do work.
Is there a workaround for this issue ?
~caused
caused
05-23-2012, 11:38 PM
Oh, and if i set the desktop as client, everything works great :x....
caused
05-24-2012, 09:22 AM
Okay, if anyone has a Solution, please post :)
When the Client window is in foreground All Color Finding Functions are not working(gets stuck at the function), while if simba is in foreground they do work.
I'm not sure I understand.
You're saying SMART won't find colours when it is in the foreground, but it will when Simba is in the foreground alongside it?
caused
05-24-2012, 05:29 PM
I'm not sure I understand.
You're saying SMART won't find colours when it is in the foreground, but it will when Simba is in the foreground alongside it?
I'm wrting stuff for Diablo III.
And if that is in the foreground and a Color finding function is executed, the script just holds until something else is in foreground.
Brandon
05-24-2012, 05:35 PM
The window probably hides its handle or nullifies its inner DC handle.. I know a ton of games do this. You can drag the crosshairs to the window itself and it will get a DC for simba to work with but if dragged on the Windows's canvas aka where the character is, it will not be able to get a handle..
See GetWindowFromPoint on MSDN.. I believe this is what Simba uses
masterBB
05-24-2012, 06:08 PM
Wizzup mentioned something about simba not being able to be used on any directX or openGL program.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.