ogame-tbot / TBot

OGame bot
80 stars 35 forks source link

Fleet Building #70

Open Daeloran opened 2 years ago

Daeloran commented 2 years ago

Hello,

Do you think it would be possible to add a "Fleet construction" and "Defense construction" part allowing to define a list of ships/defenses as well as their number to automate their creation?

Why not even add an option in the AutoFarm to automatically build the missing ships necessary to farm a planet with defenses etc.?

(I apologize in advance if this is the wrong place for suggestions, I'm not familiar with this use of git)

Thanks in advance, Daeloran

EDIT: I just saw someone already suggest an AutoBuilder for defenses. Sorry :(

emilianosalatino commented 2 years ago

as a tip, you can set for example the AutoCargo setting to make warships, not just cargos....

Daeloran commented 2 years ago

Hello,

Thank you for the tips !

Can you indicate all the possible parameters according to the desired vessels please?

For example currently there is "cargoType": "LargeCargo", can we put several types of ships in a row? do you have to do it one by one? Is the vessel names to be entered simply their English names without spaces?

Regarding the "MaxCargosToBuild" parameter, should it be modified or added for each type of ship?

We can use this yes but a dedicated conf could be great I think :)

Thank you Daeloran

emilianosalatino commented 2 years ago

All I know is if you change cargo type from large cargo to say BattleShip (spelling is an issue.. must be typed correctly and not sure how to figure it out... There was something in ogame API ) , it'll build that ship with the rest of parameters in account. It's useful when really trying to build a lot of ships, although ship building once you have resources being concentrated in one planet is quite simple If you just put it all on the planets building queue. The autobuld only is useful when you're building ships under a second which is when you need to distribute building to all planets. I don't recall being able to build different ships at once with this function

Daeloran commented 2 years ago

Hello,

Thank you for your precisions :)

However, I don't think it's very practical to use.

Since list building functions already exist, I think it wouldn't be difficult to add a list building function.

It should also be possible quite simply, to allow the specification of multiple Origins to parallelize the constructs.

And finally, why not, to define a point of repatriation of the vessels.

In any case, it would be a nice feature to have I think :)

Have a good day ! Daeloran

alexdrl commented 1 year ago

A feature like this in which you could for example set up the ratio or the maximum fleet of that type that you want to build will be nice. Also, on that, a repatriate military fleet could be nice too