Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By alphadawg

Thread: Foraging Bot Base Algorithm

  1. #1
    Junior Member
    alphadawg is offline

    Posts
    29

    Foraging Bot Base Algorithm

    Hello everyone, I have been scripting for a brief time now on Runescape just basic Java scripts.

    Looking to make my first Puzzle Pirates bot..Which language is the best?

    I will be working on an algorithm for the first time..definitely would love any tips and pointers..such as what depth and structures.

    I believe if the algorithm was to be based off of Columns and Rows it would work in being able to detect the boxes and proper moves without screwing up the board.

    What do you think??

    Code:
    1.  Develop board detecting algorithm.
    jak8222 likes this.

  2. #2
    Senior Member
    TheRigger is offline

    Posts
    640
    D; come on
    if piece known
    put piece
    if topLeft of chest type
    put chest in the right places
    if equal to background
    put empty space
    if not
    try to read board again
    Edit: algorithm-wise
    you'd probably want to go brute force depth 4 for column
    then pathfind the bottom right/left 2 high
    etc etc etc

  3. #3
    Captain Medals
    Mehfailz x3 is offline

    Posts
    2,177
    Quote Originally Posted by TheRigger View Post
    D; come on
    if piece known
    put piece
    if topLeft of chest type
    put chest in the right places
    if equal to background
    put empty space
    if not
    try to read board again
    Edit: algorithm-wise
    you'd probably want to go brute force depth 4 for column
    then pathfind the bottom right/left 2 high
    etc etc etc
    TheRigger's Forage bot coming soon™ ?
    Who do you think you are?


  4. #4
    Senior Member
    jamesouch is offline

    Posts
    201
    I thought TheRigger couldnt nerf it enough and said he wouldnt be putting it for public sale o.O.. Or am i completely wrong lol?

  5. #5
    Senior Member
    TheRigger is offline

    Posts
    640
    uh that was patching lol
    Foraging I had the perfect algorithm for on a sheet of paper, but then I went and lost the sheet of paper and ragequitted.
    The only possible thing I'm considering now is a distilling-style forage

  6. #6
    Senior Member
    jamesouch is offline

    Posts
    201
    Distilling and foraging. How do those two go together o.O?

  7. #7
    Senior Member
    TheRigger is offline

    Posts
    640
    The idea was the recursive moving of pieces to achieve a destination placement, but I realized it probably wouldn't work after a day or so.

Posting Permissions

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