Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI Worker spam and inaction (Mod) #12371

Open
1 task done
prod0ad opened this issue Oct 28, 2024 · 3 comments
Open
1 task done

AI Worker spam and inaction (Mod) #12371

prod0ad opened this issue Oct 28, 2024 · 3 comments
Labels

Comments

@prod0ad
Copy link

prod0ad commented Oct 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Game Version

4.13.19

Describe the bug

It's at least a mod problem. Not sure this if is a real issue with the main game, but fixing it might enhance the AI anyway.

The AI occasionally constructs or captures way more Workers than it needs. It might end up with almost (or even) all of its units as Workers. Say two or three dozen of them with 4 or 7 cities.

Goes negative in gold. Won't disband them. Won't repair improvements either. Just moves some of them around each turn, some even outside it's borders. Then some Barbarian comes in for fun side effects; hordes of Barb Workers moving around. In such an occasion, I just observed: AI losing 2/3rds of it's 30+ Workers to Barbs, orders all cities to train MORE WORKERS (and has no military)!

Maybe there should be a cap to desired AI Workers, like 2 per city? It shouldn't prioritize them so much over military units anyway. Then no clue on why it won't even use them.

I'm also thinking it might be the lack of some options confusing the AI. For example there's no water units at all added yet.

Btw I think the high ram usage issue I mentioned earlier happens often (and only?) during long spectator games. Related to the many turns happening fast in a short game session?

Steps to Reproduce

Should need the mod, too lazy/unready to upload for now, want to reach a better state then replace the old Ancient Total War mod.

Screenshots

No response

Link to save file

No response

Operating System

Linux

Additional Information

No response

@prod0ad prod0ad added the bug label Oct 28, 2024
@prod0ad
Copy link
Author

prod0ad commented Oct 29, 2024

I think the issue has to do with the AI going bankrupt. For some reason it seems to think it needs more workers at that point.

@EmperorPinguin
Copy link
Contributor

Modifying the number of workers needed based on game turn might be a solution to this.

@EmperorPinguin
Copy link
Contributor

The AI not building enough military water units is a separate problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants