ogame-tbot / TBot

OGame bot
81 stars 35 forks source link

Colonize no valid coordinate in target list #188

Closed NoobOnTour024 closed 2 months ago

NoobOnTour024 commented 2 months ago

Keep getting this error.

8/26/2024, 9:29:07 AM Colonize Information [@] Next Colonize execution in 00:01:00 8/26/2024, 9:29:07 AM Colonize Information [@] Next check at 26-8-2024 09:30:07 8/26/2024, 9:29:06 AM Colonize Information [@] No valid coordinate in target list. 8/26/2024, 9:29:06 AM Colonize Information [@] A new planet is needed. 8/26/2024, 9:29:06 AM Colonize Information [@] Checking if a new planet is needed... 8/26/2024, 9:29:06 AM Colonize Information [@] End of planet abandonment 8/26/2024, 9:29:06 AM Colonize Information [@] Detecting planet to abandon 8/26/2024, 9:28:35 AM Colonize Information [@] Starting Worker "Colonize"..

Don't see what's wrong with the json. Copy/pasted from most recent version. Only changed the source coordinates and even then it fails. Example coordinates do exist in my server.

"AutoColonize": { "Active": true, "Origin": { "Galaxy": 1, "System": 7, "Position": 8, "Type": "Planet" }, "SlotsToLeaveFree": 0, "Abandon": { "Active": true, "MinFields": 280, "MinTemperatureAcceptable": -130, "MaxTemperatureAcceptable": 260 }, "IntensiveResearch": { "Active": false, "MaxSlots": 10, "MinWaitNextFleet": 25, "MaxWaitNextFleet": 55 }, "Targets": [ { "Galaxy": 1, "StartSystem": 124, "EndSystem": 126, "StartPosition": 7, "EndPosition": 9, "MaxPlanets": 1 }, { "Galaxy": 1, "StartSystem": 249, "EndSystem": 251, "StartPosition": 7, "EndPosition": 9, "MaxPlanets": 1 } ], "RandomPosition": true, "CheckIntervalMin": 1, "CheckIntervalMax": 1 },

NoobOnTour024 commented 2 months ago

So, it seems this may have been due to the fact that all the matching coordinates were either colonized or destroyed planet, as it is now working.