We still love your M28 more than any other MODS out there
The last two updates are very good, CPU performance was the last big issue for larger maps
Just want to thank you for your hard work
We still love your M28 more than any other MODS out there
The last two updates are very good, CPU performance was the last big issue for larger maps
Just want to thank you for your hard work
v79 Update
Another Rainbow Cup focused update, with 25 fixes and other tweaks. More significant points include:
Acknowledgements
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130
@maudlin27 2ae3607c-6477-43fc-9201-9ebfc3086193-game_22033773.7z Hi, today I was playing relaxed with a friend using your easy version. Unfortunately, at the end of the game your AI flooded the logs with data. Maybe. the log file helps
@saver Thanks, yes I'll be able to have that fixed for the next release
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130
@maudlin27 A quick question. I tried playing 20x20km Voodoo castle with 5x M28's with all units enabled. For some reason the game was pausing every few seconds from like minute 2 onwards, F11 revealed i am behind in data. With air/nuke/t3 arty disabled the game will play normaly, though reduced sim speed from min 30 onwards (expected). Do you think the game should be able to handle this settings normaly or is the map to big ?
I kept playing 1 such game and after like 15 minutes, it crashes, with error message "warning: Error running lua script: out of memory". I attached the .log for you.
Thanks for your work, me and my friend play with M28 all the time and have great fun !
@goblinsly2 Normally I would expect M28 to handle a 20km map with 5 AIs (absent mods), but checking the map I suspect the reason is the large number of cliffs - whenever an air unit flies over them M28 tries to figure out the closest land area to it, which results in a significant strain where there aren't any nearby (both requiring more CPU resources, and more memory usage).
The crash was ultimately due to exceeding the memory, while the stuttering early on was primarily caused by its logic for calculating the zones near a particular air unit.
I'm doubtful I'll be able to make a significant improvement to how M28 handles that map but will have a think if there's anything. Other suggestions which I would expect to help would include:
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130
v80 Update
Some (but not all) of the planned changes from the Rainbow Cup finals. Since a number of these changes affect core parts of the land and air unit functionality there's a greater risk of unintended consequences or bugs.
Acknowledgements
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130
@maudlin27 I just played a game on Voodoo Castle with 3x M28's and 2x M27's, accidently not setting any restrictions. Im glad to report the game went through without a single problem, staying at 0 sim speed throughout. I didn't see a lot of air units on my team and was amazed that M28 donated some of them to me. Whether accidental or meant to reduce lag, i loved it, felt like a human player, but spoke english. So far works great.
@goblinsly2 Good to hear, thanks for letting me know.
I'd still suggest trying to only do M28 rather than a mix of M28 and M27 given the memory issues you were having before (i.e. while the v80 changes should have helped to some extent, I only confirmed the cpu performance impact on that map and I didn't measure how much of a beneficial impact they had on memory usage). However, following v80 it's hopefully no longer necessary to apply unit restrictions on that map.
Giving air units is an intented feature for M28 - if it sees you as the more dominant air player compared to itself then it's meant to gift over some of its asfs.
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130
@maudlin27 I have a problem that happened to me before on this map. I started a game with only M28 and Uveso selected, i used a saved preset for unit restrictions. When the game starts i get an alert that M27 can be disabled since its not detected. And the M28's dont start building (neither does the game stop when they usualy start collecting map data). Is this a problem on my part ? Attached 2 logs when this happened.
Second thing, you mentioned its normal that M28's donate units. But i dont have the same capability. I cant donate units to AI's, i cant convert them and i cant share resources with them. Which is a bummer if i build paragon for instance. Can i change those settings somehow ?game_22089600.log game_22089573.log
@goblinsly2 There's a bug with how the game lobby handles presets that makes it incompatible with AI so that's likely the cause of the first issue - where I've seen it before it appears to have the selected AI (e.g. M28) in the game, but it's using the default AI. My suggestion is to start a fresh lobby/game and not use pre-sets to see if it works.
The second issue would need a change to the game I expect for it to work via the normal interface, if it's even possible. However, one workaround is to use 4z0t's scoreboard UI mod (along with the associated UI tools mod), then if you select the units you want to gift, then do Ctrl+L Click on the faction icon on the scoreboard for your teammate it should gift the units to them.
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130
I tried and it worked. Today i had a problem when launching nukes, game locked, infinite loop or so the log tells. The other day i didnt have issues with similar settings. This map is wierd i guess. Had to zip the file cause its over 6mb
@goblinsly2 Thanks, it’s a known issue where M28 has 2 nukes that try to fire at the exact same time, I’m hoping to release a hotfix tomorrow that fixes it
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130
v81 Update
Small update as I wanted to rush the nuke crash fix.
Acknowledgements
Trophies
(no change to the Radde trophy which was won by Radde, Mhad and GhillieWolf against v59 M28).
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130
@maudlin27 Tnx, i will test the nuke fix today hopefuly and let you know.
Yesterday i had a long game again on that vodoo map and made some observations, but since this map is so specific, i don't know if it's even worth changing AI because of it, but i will write it down anyway.
First thing is, neither M27, M28 or Uveso made navy on this map. But it did make sonar. Water is far from bases, but it offers critical advantage. First, with navy superiority u can destroy like 8 mexes near the shore and completely clean the place of enemy units, then spam long range missile ships or subs and u can reach most of the bases. Second, you can spam experimentals under water and then rush in with them while enemy has most units elsewhere.
another thing i noticed on this map but not sure if it can be solved or if it's even a problem anywhere else. This map has long path on left and right side. At the start, units flow ok through them. But once we reach T3 and there are tons of percies/fatboys or similar units, the way gets blocked. Yesterday both sides were blocked for probably 1 hour.
Bases were pretty packed also, it seemed with way more T3 engineers than could be supported by economy. I noticed that while M27 on a big map had a tendency to eco beyond T3 mass extractor with tons of fabricators and then spamming RAS commanders, M28 is not to keen on doing that. On this map that is easily defendable, M28 will be left behind, unless there is an aeon in the team.
Thank you for your work, its great fun playing M27 or M28
game_22109326.log Just finished an awesome game and am happy to report that the nuke crash is gone. I still dont know how enemy cybran could have built so many megaliths that fast, doubt their team built paragon that fast. It was super fun nuke heavy game, no air/t3 arty/experimental arty and satelite. A couple of unexpected things happened. All AI's stopped using nukes after about half the game, even though there was plenty of traffic on sides where nukes were flying before. I thought maybe the nuke code has stopped working, but then right at the end of the game, my ally sent a nuke into a base of 20 anti nukes and killed 2 coms with it, amazing precision. What was wierd also that all seraphim and cybran AI's completely stopped making experimentals, so it was just me as cybran, my ally uef and enemy aeon still making them. Surprised me since just at the start enemy cybran made like 10-15 mega's. Anyway, great job on AI, super fun game.
ps: i see what you did there with mobile arty and cloaked com's
@goblinsly2 Thanks, it's possible that SMD coverage meant the AI didn't think firing a nuke would be worthwhile, but there are some unexpected errors in the log relating to nukes so I'll make a note to have a look at some point to see if they can be fixed.
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130
v82 Update
15 adjustments mostly based on replays from Radde (beating 1.4 and 1.5 AiX M28 on Xander Adaptive), including:
Acknowledgements
Trophies
(no change to the Radde trophy which was won by Radde, Mhad and GhillieWolf against v59 M28).
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130
Hi, came here first to say THANK YOU to @maudlin27 for his great work in developing another AI. I almost exclusively play against an AI with a friend, and M28 has made this much, much more interesting again!
Secondly, I noticed that, e.g., on map TeamdefensebyKC, M28 is, after some period of time, just sitting there, doing nothing at all. I just setup a game with just me and a few AI to test just that. If it should be of interest, I do have a game log and a replay saved here.
@hammi Thanks, glad to hear you’re enjoying it! Do you have the replay ID number of the game you’re referring to, roughly when it happened, and a bit more detail on what you mean by it doing nothing (eg acu stood still and it never built anything?)
M27AI and M28AI developer; Devlogs and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
https://forum.faforever.com/topic/5331/m28ai-devlog-v130