genesis92x / VcomAI-3.0

Vcom AI 3.0
75 stars 39 forks source link

Headless Client Fix #130

Open Lorenz94B opened 5 years ago

Lorenz94B commented 5 years ago

Hello genesis92x, as I stated on the release thread on BI's forum, I had a couple of issues managing headless clients with VCOM. After a couple of days of tests, I ended up using only the userconfig file, since it allowed me to set AI skills. I runned the server with and without other mods, with -filePatching and allowedFilePatching=1, but VCOM didn't wanted to grab AIs moved to HCs (tested this with ACEX and later with a script of mine).

Removing the "local" command check I was able to have all units "recognized" and thus being modified in behavior by your awesome mod. I think the nature of this problem is that the new owner is not always broadcasted (in my tests I also tried to connect local HCs at different running times), but I can't be sure about this, just supposing.

Let me know if I can help you further or something!

PS: I formatted the code in a different way just for reading purposes on my side.