SRL Archive - General Botting Help

Color Picker using Wine?


Karasuba

2013-04-02 07:07:19

Hi there, I'm running Linux Mint 14 KDE and using Simba etc under Wine, everything works fine it' just that I can't use a colour picker to detect the colours from the 07 client… any fixes?

YoHoJo

2013-04-02 07:09:57

Can you post a screenshot or video or a better description of exactly what is going wrong/why you "can't use the color picker".

Karasuba

2013-04-02 07:19:14

From: YoHoJo
Can you post a screenshot or video or a better description of exactly what is going wrong/why you "can't use the color picker".


Thanks for the quick reply!

Basically, I press the colour clicker and the interface moves along with my mouse, until I leave the actual Simba interface, where my actual mouse then disappears and the colour remains static to what it was right at the edge of the open Simba program. If I move my mouse back onto Simba, it detects the colour again and my mouse is visible. If I click outside of Simba then it gives me the colour of the screen edge back as stated before, so I'm clueless with what I should do

Justin

2013-04-02 07:22:36

I believe it's an issue using WINE, I have the same problem when using it on my mac.

SeanStar

2013-04-02 07:25:29

From: Karasuba
Thanks for the quick reply!

Basically, I press the colour clicker and the interface moves along with my mouse, until I leave the actual Simba interface, where my actual mouse then disappears and the colour remains static to what it was right at the edge of the open Simba program. If I move my mouse back onto Simba, it detects the colour again and my mouse is visible. If I click outside of Simba then it gives me the colour of the screen edge back as stated before, so I'm clueless with what I should do


From: Justin
I believe it's an issue using WINE, I have the same problem when using it on my mac.


Take a look at Hobbit's thread regarding his wrapper for Simba on OSX: http://villavu.com/forum/showthread.php?t=95076
It has an included script that functions as a color picker. (His solution)

Karasuba

2013-04-02 08:24:35

From: SeanStar
Take a look at Hobbit's thread regarding his wrapper for Simba on OSX: http://villavu.com/forum/showthread.php?t=95076
It has an included script that functions as a color picker. (His solution)


I use linux though D:

senrath

2013-04-02 08:33:30

From: Karasuba
I use linux though D:


The script included should still work for you, though.

Karasuba

2013-04-02 08:58:24

From: senrath
The script included should still work for you, though.


'Move the file into your applications folder' - I don't have an applications folder.

senrath

2013-04-02 09:37:49

No, but you could still get the script out of the .app by treating it like a zip file. Anyway, here's the color picker script from it:
program new;
var
x,y : integer;
begin
repeat
if(IsKeyDown(116))then
begin
GetMousePos(x,y);
writeln('Picked Colour: '+inttostr(getcolor(x,y))+' at ('+inttostr(x)+', '+inttostr(y)+')');
end;
wait(150);
until(IsKeyDown(117))
end.

Karasuba

2013-04-02 10:28:51

From: senrath
No, but you could still get the script out of the .app by treating it like a zip file. Anyway, here's the color picker script from it:
program new;
var
x,y : integer;
begin
repeat
if(IsKeyDown(116))then
begin
GetMousePos(x,y);
writeln('Picked Colour: '+inttostr(getcolor(x,y))+' at ('+inttostr(x)+', '+inttostr(y)+')');
end;
wait(150);
until(IsKeyDown(117))
end.


I did find and try that but nothing appears after it has 'successfully compiled'; I'm assuming the colour of where I click is supposed to appear, it doesn't, what should I do?

senrath

2013-04-02 10:38:30

You hit F5 and it'll print out the color of where your mouse is currently at. Press F6 to end the script.

Karasuba

2013-04-02 10:53:31

From: senrath
You hit F5 and it'll print out the color of where your mouse is currently at. Press F6 to end the script.


Thanks man! :)