Our members are dedicated to PASSION and PURPOSE without drama!

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Ophis

#76
Straight-up / Re: Play just one number
December 07, 2012, 09:40:54 PM
ok so after all i will join the test.

BV SZ RealMode
> nr 11 > +113

[attachimg=1]
#77
General Discussion / Re: At least one (1) post a month
December 07, 2012, 08:11:44 PM
Quote from: JohnLegend on December 07, 2012, 07:33:55 PM
I would make that 5 a month
Lets not create Troll factory.
#78
Questions & Answers / Re: re-targetting framework
December 07, 2012, 06:51:44 PM
seems like not all the styles are backward compatible.

maybe try to use some custom components.
#79
Questions & Answers / Re: re-targetting framework
December 07, 2012, 04:58:52 PM
margin is very important... same as the title bar... because they change if you switch window styles.

ClientToScreen return always Work area of a form or component. so you coordinates does not change if user change windows styles....

btw why do you all use internal webbrowser.... for what?
#80
Questions & Answers / Re: re-targetting framework
December 07, 2012, 03:02:24 PM
ok so i have different solution for you.

what you need to do is use function:
Windows.ClientToScreen

you should be able to use it with form or with any component

Code (delphi) Select

...
//TPoint type variable consist of 2 values: X and Y
var v_pt: TPoint;
    x:=0;
    y:=0;
    //x and y are coordinates you want to move your mouse to
    //assing them to TPoint variable
    v_pt.x:=x;
    v_pt.y:=y;

    //call CTS function to modify those variables feeding it with handle of the component
    Windows.ClientToScreen(Panel1.Handle, v_pt);

    //move cursor to position
    SetCursorPos(v_pt.x,v_pt.y);
...


After using something like that if you want to move your cursor to x0 y0 then it will be here:
and x0y0 will be ALWAYS there regardless where have you move your form OR component with casino table.


[attachimg=1]


Not sure what function do you use to read screen but if its BitBlt then you can also use:
Windows.GetDC(Panel1.Handle)
...
feed it into BitBlt function and you will get the same relation....
x0,y0 will also be there like on screen shot.

Code (delphi) Select

...
var DC: HDC;
...
      DC := GetDC(CasinoHANDLE);
      ...
      BitBlt(Bmp.Canvas.Handle, 0, 0, Width, Height, DC, x1, y1, SRCCOPY);
#81
Questions & Answers / Re: re-targetting framework
December 07, 2012, 02:16:40 PM
so if I move the window bot will not work?
#82
Questions & Answers / Re: re-targetting framework
December 07, 2012, 01:30:41 PM
and is this relevant to further funcionality?
#83
Questions & Answers / Re: re-targetting framework
December 07, 2012, 01:00:27 PM
what hapens if u put:

Form1.onCreate

Form1.Top:=0;
Form1.Left:=0;

?
#84
Straight-up / Re: Play just one number
December 07, 2012, 10:00:36 AM
wow man, are you wining every session with it?

if not the fact that I'm trerribly busy (new mini comming out - 300 hundred robots to program) I would join your tests....

just tell me, did you play already with 0.1?
it may sounds funny but every system that I have tested and was performing good... start to lose after rising units... but maybe that's just an illusion.
#85
Street / Re: Play just one street
December 06, 2012, 11:16:29 AM
are your test made on BV Fun mode?
#86
Ralph's Bot / Re: The bot is out for testing, 10 testers.
December 01, 2012, 07:11:29 PM
remember to get testers that have different language versions of windows.

...i did encountered few issues that have appeared only on specific language versions.
#87
Quote from: Bayes on November 30, 2012, 08:38:12 AM
Do you have any numbers or ranges within which you classify something as dominant and when it is no longer dominant?

Exacly.

DEFINE what are you seeing and we will be able to code it and automate it. :applause:

...i don't really get the GUT approach... gut feeling is only how your brain analyses what it sees basing on past observations of similar events.

not saying that this is gut .... but seeing what is dominant can also be defined.
#88
Ophis' MST / Re: Clicker Request...
November 29, 2012, 07:27:45 PM
Quote from: TwoCatSam on November 29, 2012, 06:40:32 PM
A clicker to shame all clickers is in the pipeline.
im working on modifying current clicker... want to add options like:
- correct current coordinates
- add new platform

all from inside of MST and stored on server.
#89
Ralph's Bot / Re: A picture of the bot
November 29, 2012, 10:48:21 AM
i run 1920x1080 but my oder laptop... which i would probably use for bot have 1280x720.
and i know quite a lot of people still using 1024x768.

i also use 1024x768 on my VMs for convenience.
#90
Ralph's Bot / Re: A picture of the bot
November 29, 2012, 10:11:36 AM
what's the required minimum screen resolution for this bot?