This program reads pixel colors from your monitor, associates their position to a tile and their color to an owner team, and writes the resulting data in a Google Sheet.
Open-sourced because some players in the opposing team couldn't stop themselves from reporting me to Infold for TAMPERING WITH THE GAME FILES 🤯🙊😱
- Get a service account
credentials.jsonfrom Google Cloud. If you don't know what I'm talking about, go back to the game and spend 10k points in Golden Fields until you reach enlightenment. - Put the file in the same folder as
Program.cs. To do this, press the mouse's left button on the file icon that says "credentials.json" below it. Keeping the button pressed, drag the mouse on top of the folder namedNikkiReaderthat contains the tiny file icon with written "Program.cs" below it. Then, release the mouse's left button. - Also set the constants
SpreadsheetIdandSheetName. If you don't know how, back to Golden Fields you go. - Run the program without debugging. Running it with debugging causes a shitty Windows API to crash. I'm not a Windows developer.
- One line of output will tell you the current mouse position and the corresponding color. Open the game and start taking notes of all the positions of all tiles in the field map view and the colors for each team. The current values in the program are based off my monitor resolution and color, so you will have to recalibrate all values. GLHF.
- Once you're done, run the program and say bye bye to your machine for as long as you want to keep playing this competition.