[AI] BoneCrusher! bot player for 3.1.x
Re: [AI] BoneCrusher! bot player for 3.1.x
Heh, if only you could attract contributors by merely translating comments (:
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
Re: [AI] BoneCrusher! bot player for 3.1.x
Do remember every change you make to the addons file for this mod will again need reviewing, so please keep the old one till you have no bugs in the new version if there will be one.Prot wrote: I repeat, work on the bot is not finished, it is still under WIP.
Re: [AI] BoneCrusher! bot player for 3.1.x
I wish this was a fact too.NoQ wrote:Heh, if only you could attract contributors by merely translating comments (:
Re: [AI] BoneCrusher! bot player for 3.1.x
As is detailed in that link, there should be NO console spam at all.Berg wrote: http://developer.wz2100.net/wiki/Addons please read
"Addons" is meant for a finished product, NOT alpha/beta builds / maps.
/facepalm ...Grinch stole Warzone contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
Re: [AI] BoneCrusher! bot player for 3.1.x
Yeah i got it, before publishing don't forget to disable debug.
I tested many times before publish it, that would be no reason for errors.
But my point here did not understand. Difference maps from the bot, the fact that the map can finish, and bot no. How much I won't try, completed bot call will still be impossible, because it is almost impossible to get him to play as human.
But each of my publication is repeatedly checked for mistakes. Each successive version just gives a bit of a different AI gameplay.
BTW For last holidays (23-26 feb), I wrote from scratch a new bot, all the time are tests it in the small circle of acquaintances.
New version of "BoneCrusher!" coming soon! (This time without debug )
2x2 BoneCrusher (Easy+Normal) VS NullBot(Hard+Insane)
https://youtu.be/izZbWTrYpOU
I tested many times before publish it, that would be no reason for errors.
But my point here did not understand. Difference maps from the bot, the fact that the map can finish, and bot no. How much I won't try, completed bot call will still be impossible, because it is almost impossible to get him to play as human.
But each of my publication is repeatedly checked for mistakes. Each successive version just gives a bit of a different AI gameplay.
BTW For last holidays (23-26 feb), I wrote from scratch a new bot, all the time are tests it in the small circle of acquaintances.
New version of "BoneCrusher!" coming soon! (This time without debug )
2x2 BoneCrusher (Easy+Normal) VS NullBot(Hard+Insane)
https://youtu.be/izZbWTrYpOU
Re: [AI] BoneCrusher! bot player for 3.1.x
Cool stuff!Prot wrote:2x2 BoneCrusher (Easy+Normal) VS NullBot(Hard+Insane)
https://youtu.be/izZbWTrYpOU
Did you try to run this on 3.2 against NullBot3? It's not necessarily playing better though. Also Insane isn't very insane on 3.1, the only advantage it has is pre-built defenses (unlike 3.2, where it's actually cheating power - regardless of the AI actually). How does your AI define "easy" and "medium"?
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
Re: [AI] BoneCrusher! bot player for 3.1.x
Yeah, i knew that the newer NullBots better old one, but no, i even not try to port/run my bot on 3.2
On the 3.2 has many new, like better JS API and other cool stuff, i think when i finish(emm.. tired) on 3.1 i start from scratch again, because some of the features that would have worked, written so that overload CPU on 3.1. So I think that's a bit pointless to port it, it's easier to write from scratch, and use the functions from 3.2.
For now EASY has some limits, first - is completely random research, it choose from available using Math.random, then limits: 2 factory and one army with 7 droids, 1 cyborg factory and 5 cyborgs, 1 VTOL and 5 jets, only 5 builders, 3 on base, and 2 resource-hunters. I think i also change some timers, to not overload CPU.
On MEDIUM it has no limits for buildings and units if enough money. Two army droids, the first army has from 5-20 units with repair droids, strikes on resources, and makes forays detours, following the algorithm "go to the nearest resource", located on the map resources are usually doing all the work in the direction of the army detours. The second gets at least 10 units, trying to come together again and strike back where just hotter, is based on eventAttacked().
Also i do not known how to set it HARD, if only use cheats, like see through Fog of War аnd in advance to respond to enemy movements, but.. no, it's non-cheat, i hate cheats =))
Better i little bit tweak timers to not overload CPU on MEDIUM, and use full-power on HARD to react.
On the 3.2 has many new, like better JS API and other cool stuff, i think when i finish(emm.. tired) on 3.1 i start from scratch again, because some of the features that would have worked, written so that overload CPU on 3.1. So I think that's a bit pointless to port it, it's easier to write from scratch, and use the functions from 3.2.
For now EASY has some limits, first - is completely random research, it choose from available using Math.random, then limits: 2 factory and one army with 7 droids, 1 cyborg factory and 5 cyborgs, 1 VTOL and 5 jets, only 5 builders, 3 on base, and 2 resource-hunters. I think i also change some timers, to not overload CPU.
On MEDIUM it has no limits for buildings and units if enough money. Two army droids, the first army has from 5-20 units with repair droids, strikes on resources, and makes forays detours, following the algorithm "go to the nearest resource", located on the map resources are usually doing all the work in the direction of the army detours. The second gets at least 10 units, trying to come together again and strike back where just hotter, is based on eventAttacked().
Also i do not known how to set it HARD, if only use cheats, like see through Fog of War аnd in advance to respond to enemy movements, but.. no, it's non-cheat, i hate cheats =))
Better i little bit tweak timers to not overload CPU on MEDIUM, and use full-power on HARD to react.
Re: [AI] BoneCrusher! bot player for 3.1.x
Well, I am very surprised, but in version 3.2, the AI plays well. Though there are problems with the cyborg, he would not be able to build it, error "No such component".
Played a few fights against Hard NullBot in standard 3.2 (i do not known witch versions of NB is), and against NullBot 3.04 on maps of Arid and Calamity. BoneСrusher won all time, he leads a very aggressive game for resources, despite the fact that he is not able to collect the barrels of oil and build cyborgs
Don't even know what to do now, whether to maintain both versions of the game in one code AI.
https://youtu.be/-uyYKZASf04
PS How i can edit first topic in this thread, change include files and rename topic if i need to?
Played a few fights against Hard NullBot in standard 3.2 (i do not known witch versions of NB is), and against NullBot 3.04 on maps of Arid and Calamity. BoneСrusher won all time, he leads a very aggressive game for resources, despite the fact that he is not able to collect the barrels of oil and build cyborgs
Don't even know what to do now, whether to maintain both versions of the game in one code AI.
https://youtu.be/-uyYKZASf04
PS How i can edit first topic in this thread, change include files and rename topic if i need to?
- Berserk Cyborg
- Code contributor
- Posts: 938
- Joined: 26 Sep 2016, 19:56
Re: [AI] BoneCrusher! bot player for 3.1.x
Very impressive AI!
Taking a look at v0.18 it would be the body component being the problem. Use the "CyborgLightBody" component and cyborg production should work.Prot wrote:Though there are problems with the cyborg, he would not be able to build it, error "No such component".
Does the edit button not appear on your post? You should be able to edit the topic title and contents, delete/add files and such...Prot wrote: PS How i can edit first topic in this thread, change include files and rename topic if i need to?
Re: [AI] BoneCrusher! bot player for 3.1.x
Use if()s! If performance matters, execute them once when game starts.Prot wrote: Don't even know what to do now, whether to maintain both versions of the game in one code AI.
You can't after some timeout, i think that's because people added ads retroactively or deleted all posts when rage-quitting, not sure. Moderators suggest to use wiki for all updateable content, and forum for discussions.Prot wrote: PS How i can edit first topic in this thread, change include files and rename topic if i need to?
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
Re: [AI] BoneCrusher! bot player for 3.1.x
viewtopic.php?f=3&t=13790&p=138851#p138850
Some people are having performance issues.
I see a lot of output in the terminal when playing.
Is the script for writing an AI all russian?// I see all the comments are in russian
Some people are having performance issues.
I see a lot of output in the terminal when playing.
Is the script for writing an AI all russian?// I see all the comments are in russian
Re: [AI] BoneCrusher! bot player for 3.1.x
This bot is no longer being developed. Its sequel bonecrusher2 there in the next topic: viewtopic.php?f=49&t=12758
also with support for version 3.1.5.
And about this topic I think it should be closed and archived.
And in latest version BoneCrusher 1 and 2 do not spam it terminal anymore.
Btw, soon will start another tournament with prizes, from the Russian-speaking group Championships. All are welcome, even if you don't know Russian.
https://vk.com/wz2016wt
viewtopic.php?f=43&t=13788
also with support for version 3.1.5.
And about this topic I think it should be closed and archived.
Well.. According to my statistics http://wz2100.euphobos.ru/top/, wz2100 is very popular in Russia, because the vast majority of game-hosts from Russia.I see a lot of output in the terminal when playing.
Is the script for writing an AI all russian?// I see all the comments are in russian
And in latest version BoneCrusher 1 and 2 do not spam it terminal anymore.
Btw, soon will start another tournament with prizes, from the Russian-speaking group Championships. All are welcome, even if you don't know Russian.
https://vk.com/wz2016wt
viewtopic.php?f=43&t=13788