Page 1 of 2 12 LastLast
Results 1 to 10 of 18
Like Tree1Likes

Thread: [Release] Dexon's bilge bot.

  1. #1
    Member
    dexon is offline

    Posts
    34

    Red face [Release] Dexon's bilge bot.

    Hey, so it's been a while since I posted a bilge bot on this forum.
    I started playing this game 2 days ago and decided to remake a better version of my bot.

    Features:
    - Cursor Human Wind Movement (It could be better done)
    - Controlled from your mouse. (Left click to start the bot | Right click to stop it)
    - Stupid.

    How to use:
    1. Get on a Bilge station
    2. Open the bot program.
    3. Left click on the first "tile" -> See the red dot: https://gyazo.com/c2aabf65de6f41a70c268a9fcf95ef77
    4. ...
    5. Profit.

    To stop the bot:
    Hold the right click until you see the message "Click on the first tile to start." On the status label.

    More info:
    I haven't used it full time so I can't tell you if you will caught by the game's anti-bot.
    The bot can be slow and a lil bit stupid. Anybody that would be willing to improve it are welcome

    Download:


    Virus Checks:
    Anti Virus software might detect a "W32.Malware.Heur". I don't know why. Maybe someone more aware of those thing could tell me what's wrong with my code.

    - - - Updated - - -

    Zip file virus checks:
    Last edited by Mehfailz x3; 02-25-2017 at 04:18 PM.
    imsugar likes this.

  2. #2
    Senior Member
    Pedro is offline

    Posts
    145
    I dont play PP anymore, but its good to see u making some progress =)
    Good job!

  3. #3
    Captain Medals
    Mehfailz x3 is offline

    Posts
    2,025
    Waiting for Sticky to verify its not malicious, please don't re-add your link.
    Who do you think you are?


  4. #4
    Member
    dexon is offline

    Posts
    34
    Quote Originally Posted by zydrate View Post
    isn't that start method extremely suspicious?
    You're thinking of a "Clickjacking" ? Yep, that could be suspicious.
    The reason I'm doing it this way is to know where your board is on your screen so the bot get all the tiles's coordinates.

    See line 74 of Form1 class:
    Code:
            public void BotTick()
            {
                while (true)
                {
                    if ((Control.MouseButtons & MouseButtons.Left) != 0 && !(ApplicationIsActivated()))
                    {
                        if (!botRunning)
                        {
                            botRunning = true;
    
                            Point cursor = new Point();
                            GetCursorPos(ref cursor);
    
                            for(int i = 0; i < 12; i++)
                            {
                                for (int k = 0; k < 6; k++)
                                {
                                    tilesCoords.Add(new Point(cursor.X + (45 * k), cursor.Y + (45 * i)));
                                }
                            }
    
                            MethodInvoker changeLabelOne = delegate
                            {
                                this.label1.Text = "Hold Right click anywhere to stop the bot.";
                            };
                            this.Invoke(changeLabelOne);
                        }
                    }
                    
                    [...]
    - - - Updated - - -

    Code:
                 /**
                 * Bilge size
                 * 
                 * +--------------> ( 270px )
                 * | ###      ( 6 )
                 * | ###
                 * |    ( 45 x 45 )
                 * |
                 * |
                 * V ( 12 )  ( 72 )
                 * ( 540px )        ( 270 x 540 )
                 * 
                 */

  5. #5
    Junior Member
    miowkiller is offline

    Posts
    1
    hey man how do idl this?

  6. #6
    Member
    dexon is offline

    Posts
    34
    Mods removed the link, they want to inspect it.

  7. #7
    Server Admin
    Sticky is offline

    Posts
    964
    HI everyone, I'm just going to check this bot and I'll let you know if it's safe.

  8. #8
    Junior Member
    nickpicko is offline

    Posts
    2
    thank u so much, is it fast?

  9. #9
    Member
    dexon is offline

    Posts
    34
    The highest i've reached with it is Excellent.
    And no, it's not fast. The pixel color detection is really slow and i have no idea how to improve it.

  10. #10
    Senior Member
    TheRigger is offline

    Posts
    635
    Pixel detection in languages is usually very slow
    Instead, capture an image of the whole screen/ part of the screen.
    Search it for a reference image (for example the top of the bilge screen)
    Then, based on where that reference image is, you know where all the piece locations will be.
    You can then look at your image's pixels, which is much faster than polling the computer screen for its pixels.
    Obviously, this doesn't work quite as well with puzzles like gunning, where the pieces are in constant motion, but for something like bilging it's quite good/fast.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •