In Nullkiller builds - since always.
On the first day once to reveal the map.
but this is cheating
AI in vanilla H3 is cheating in similar way but you can’t see it because you dob’t get any messages about it.
thanks i didn’t know
why AI then visits the cartographer’s hut in the original?
My AI also can visit such objects just in case. Also cheating is a bit unfair but first of all you always have save/load. Second from AI development side some cheating ease life and allow to acquire some result quicker. Later I might consider hiding the map but it requires some development effort to port VCAI exploring logic and add some features. Btw AI is not able to bypass dark cover from necropolis for now because it casts cheat only once on the first day and necropolis covers map around it each turn and AI has no exploration at all.
and when will it be in mainline ??
@Nullkiller There were some small commits added to main code lately. Are you going to update your branch with them?
I am absolutely in favor of getting this into mainline.
With the ai we currently ship, it isn’t really possible to have an enjoyable singleplayer game.
Hope I will be able to merge latest develop soon.
waiting with great impatience
Hello.
First I want to thank you the effort to create a competitive AI.
I’m sure that is not easy to do this.
Yesterday I installed your Nullkiller AI and I was trying to play a Medium map.
I notice a few changes like the AI attacked me to one hero that was weaker than him.
So this is an improvement respect the original AI of VCMI that never attack.
But the problem is that in the day 7 of the month 2 there is a fatal error
like you can read in the picture.
Orange player I think is trying to built a boat and there is an error that blocks the
game because is stopped in this day and is thinking all the time without
pass the next day.
Do you know this error?
Otherwise I saw some information where other people wanted to do a better AI and
they were changing the file “startres.json” in the config folder.
In this file you can manipulate the resources that the human or AI
start in the 4 levels of difficult.
Some people recommend to put more resources to the computer like 100.000
of gold.
Do you think that is a good idea to change these parameters to create a competitive AI with more resources?
Thank you so much.
@Trevorin better please provide logs or even a save file if it is reproducable. Is there alliance? I know one bug for allied shipyard when resource are taken from shipyard owner rather than visitor.
My AI will appreciate additional resources. Btw VCMI has cheats.
Great work Nullkiller!
Following with great interest.
Created an account just to post this.
Keep at it!
Hello.
Great work with the AI. Your AI with some extra resources is fun to play with.
However the last stable and working version that does not have crashes for me is the one from 07.02.2021. After that all the version have some problems. I have just tried the one from 17.05.2021 and it crashes with AI turn at some point.
I’m using some mods like Pavilion , Forge, Cove, Courtyard.
Ok. Lets try to solve this mystery. Is it reproducible crash or periodic?
It should be. I’m attaching saved game and it should always crash. I’ve tried four times and it crashed each time on AI turn.
The most important thing is that if I set in launcher AI to VCMIAI then this crashes no longer happen. That is why I connect this problem with your AI.
Mods I’m using is Cove from Hota, Courtyard, Forge, Pavilion town, ban things mod (edited to not ban orginal heroes and do not require wog).
Each mod is slightly edited by me to for example give some function to special buildings in town, but everything was and is working fine in older build.
Also this is random map which is my custom made template, but it should be very alike to Jebuss cross.
VCMI_client.exe_crashinfo.dmp.7z (423.6 KB) Saves.7z (315.9 KB)
Great, will check it. It will take some time to find all these mods so. Could you also check the latest build. I fixed one crash there.