Roblox Game AFK Farming Automation
Budget: $30 – $250 USD
Fantastic Frontier AFK Fishing Program Procedure
Monitor Ratio: 1920 x 1080
Features: Downloadable or some kind of exe (if not then a python program to run through command prompt is fine), Text Reading, Controlled Mouse Movement, Audio Listening, Keyboard Listening for start/stop, Key Selection
Screenshots from full computer (used to determine exact pixel distance for tasks)
Image 1: Shows an open inventory with two primary sides, left side can be disregarded. Right side shows a tan colored-section with a 4x5 (LxW) grid that would contain inventory items, 20 slots, consider this the inventory section.Below the grid, there is a blue-greenish section which is empty for this image, but is important because it shows text describing an item when an item is selected, consider this the text section. This showcases pixel distances between inventory items and the pixel space of the text section.
Image 2: Shows that when an item within the inventory section is selected (when a tile of the grid is left clicked on), text now displays for that item in the text section, including the name and the description. This demonstrates the purpose of the text section and an example including the name of the item ‘Shockjaw’ and its description below it.
Image 3: Shows a dropdown that appears when an item within the inventory section (when a tile of the grid is right clicked on, after that same item/tile has been selected (left clicked)), a drop down appears showing the options to drop or eat/open the item. Note, the mouse cursor cannot be seen in this image, but the mouse's position in correlation with the dropdown menu is that the dropdown menu appears exactly where the mouse right-clicked the tile (the top-left corner of the dropdown menu is where the mouse position was). This image demonstrates the exact pixel position of where a dropdown menu will appear in correlation with the mouse after right clicking on a selected item.
Also included: Example video of what it would look like when I fish on my own
MP3: Plays an audio sound that will be used when detecting the right time to perform a task when fishing.
Tasks:
The program should operate as followed
When the program starts (pressing print screen)
The program should click the screen to begin fishing
When the program hears the MP3 sound, the program should immediately left click again, don’t worry about delay as a false detection is unlikely, but maybe a 0.1 second delay.
Repeat steps 1 & 2, a total of twenty times, including the first iteration (the left click button shouldn’t have been clicked more than 40 times)
Then press Q to open inventory.
Iterate through different tiles in the inventory section, from top to bottom, left to right, for each iteration perform the following checks/steps:
Select (left click) the center of the tile
Visually/Read check the entire text section to check for the name ‘Shockjaw’ (name will be changed later, this is purely for test purposes).
If the name is present, move onto the next iteration/tile
If the name is not present, right click the selected tile (mouse should still be at center of tile), and then move mouse to center of dropdown option that says ‘Drop’
Once mouse is at center of dropdown option ‘Drop’, left click to select the option and move onto the next iteration
** Keep track of number of items kept after inventory filtering, to reduce the number of iterations of the fishing loop (preventing overfishing with a full inventory). Example: if 3 items are kept, reduce the total of 20 fishing loops (correlates with inventory slots) by 3, so 17 loops of steps 1 & 2. **
AFTER all 20 items/tiles have been checked/filtered, press Q to close inventory.
The program will then loop back to the beginning of the program (excluding the pressing print screen to start)
END the program if the user presses print screen again.
Condensed, if I were to run the program I’d point my characters crosshair to where I want to fish (so program doesn't need to worry about adjusting such), press prtscreen to start fishing, the program fishes until my inventory is full, then filters my inventory by looking for key item names (in this case Shockjaw, but I want the name to be changeable / can add more names), and then resumes fishing until my inventory gets full again, rinse & repeat until I press prtscreen to end program
Monitor Ratio: 1920 x 1080
Features: Downloadable or some kind of exe (if not then a python program to run through command prompt is fine), Text Reading, Controlled Mouse Movement, Audio Listening, Keyboard Listening for start/stop, Key Selection
Screenshots from full computer (used to determine exact pixel distance for tasks)
Image 1: Shows an open inventory with two primary sides, left side can be disregarded. Right side shows a tan colored-section with a 4x5 (LxW) grid that would contain inventory items, 20 slots, consider this the inventory section.Below the grid, there is a blue-greenish section which is empty for this image, but is important because it shows text describing an item when an item is selected, consider this the text section. This showcases pixel distances between inventory items and the pixel space of the text section.
Image 2: Shows that when an item within the inventory section is selected (when a tile of the grid is left clicked on), text now displays for that item in the text section, including the name and the description. This demonstrates the purpose of the text section and an example including the name of the item ‘Shockjaw’ and its description below it.
Image 3: Shows a dropdown that appears when an item within the inventory section (when a tile of the grid is right clicked on, after that same item/tile has been selected (left clicked)), a drop down appears showing the options to drop or eat/open the item. Note, the mouse cursor cannot be seen in this image, but the mouse's position in correlation with the dropdown menu is that the dropdown menu appears exactly where the mouse right-clicked the tile (the top-left corner of the dropdown menu is where the mouse position was). This image demonstrates the exact pixel position of where a dropdown menu will appear in correlation with the mouse after right clicking on a selected item.
Also included: Example video of what it would look like when I fish on my own
MP3: Plays an audio sound that will be used when detecting the right time to perform a task when fishing.
Tasks:
The program should operate as followed
When the program starts (pressing print screen)
The program should click the screen to begin fishing
When the program hears the MP3 sound, the program should immediately left click again, don’t worry about delay as a false detection is unlikely, but maybe a 0.1 second delay.
Repeat steps 1 & 2, a total of twenty times, including the first iteration (the left click button shouldn’t have been clicked more than 40 times)
Then press Q to open inventory.
Iterate through different tiles in the inventory section, from top to bottom, left to right, for each iteration perform the following checks/steps:
Select (left click) the center of the tile
Visually/Read check the entire text section to check for the name ‘Shockjaw’ (name will be changed later, this is purely for test purposes).
If the name is present, move onto the next iteration/tile
If the name is not present, right click the selected tile (mouse should still be at center of tile), and then move mouse to center of dropdown option that says ‘Drop’
Once mouse is at center of dropdown option ‘Drop’, left click to select the option and move onto the next iteration
** Keep track of number of items kept after inventory filtering, to reduce the number of iterations of the fishing loop (preventing overfishing with a full inventory). Example: if 3 items are kept, reduce the total of 20 fishing loops (correlates with inventory slots) by 3, so 17 loops of steps 1 & 2. **
AFTER all 20 items/tiles have been checked/filtered, press Q to close inventory.
The program will then loop back to the beginning of the program (excluding the pressing print screen to start)
END the program if the user presses print screen again.
Condensed, if I were to run the program I’d point my characters crosshair to where I want to fish (so program doesn't need to worry about adjusting such), press prtscreen to start fishing, the program fishes until my inventory is full, then filters my inventory by looking for key item names (in this case Shockjaw, but I want the name to be changeable / can add more names), and then resumes fishing until my inventory gets full again, rinse & repeat until I press prtscreen to end program
Related categories:
Python
Education
Software Development
Audio Processing
Graphical User Interface (GUI)