[3.1+] NullBot: an adaptive skirmish AI

Did you create a mod, map, music, or a tool? Present them here and earn feedback!
Note: addon requests do not belong here.
Note, everything uploaded to this forum, MUST have a license!
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by NoQ »

iap wrote:A general question: When you mention the group size, or any other count, are these are coded values you figured out, or general approximation of NullBot's decisions?
There are three values:
  • MIN_WARRIORS is a minimum number of warriors necesarry to engage in combat. This number is checked not for a combat group, but rather for an actual unit cluster of a group.
  • NUM_WARRIORS is a number of combat droids to maintain in a single combat group. If the AI has reached this number in one of the groups, it starts to fill other groups. It is also a minimum number of units necessary to launch an attack. So if a single unit dies, the attack doesn't instantly fall back, but only when the unit count falls below MIN_WARRIORS.
  • MAX_WARRIORS is an absolute maximum of warriors in a single group. If this is reached, the AI creates a new empty group. Initially, there is only one group.
I might be wrong in some of these descriptions, cause i don't really remember what exactly is coded down there. In fact, filling the groups is a bit more complicated, because each group has an enemy that it must destroy, so putting tanks into groups depends on their weapon class (whether it will be effective against this particular enemy).
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by NoQ »

Hello, are there any windows users in this thread? Cause it sounds like nullbot is running very slowly on windows, even though it runs fine for me on linux.
User avatar
aubergine
Professional
Professional
Posts: 3462
Joined: 10 Oct 2010, 00:58

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by aubergine »

It runs good for me on Mac. I'll test recent versions to see if the stalling issues have been overcome sometime later tonight.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
aubergine
Professional
Professional
Posts: 3462
Joined: 10 Oct 2010, 00:58

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by aubergine »

No performance issues any more for me. Works great even with herds of nullbots and massive scavenger infestations :)
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by NoQ »

v1.20: even more code optimization.
User avatar
Tenoh
Trained
Trained
Posts: 359
Joined: 18 Nov 2008, 15:06

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by Tenoh »

win7 here, playing 10p map skirmish. major slow downs and freezes, not sure if its beta7 or the nullbot!
"No, you don't want to buy this Sh[beep]t from me. It shoots sideways, it was built by retard zombies in some f[beep]king outreach program." HL:G
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by NoQ »

Tenoh: Hardware? AI version? Exactly what map? Bases? Scavengers?
User avatar
Giani
Regular
Regular
Posts: 804
Joined: 23 Aug 2011, 22:42
Location: Argentina

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by Giani »

NoQ wrote:Hello, are there any windows users in this thread? Cause it sounds like nullbot is running very slowly on windows, even though it runs fine for me on linux.
I have windows and i'm testing now.
My maps: http://forums.wz2100.net/viewtopic.php?f=10&t=9501
User avatar
Giani
Regular
Regular
Posts: 804
Joined: 23 Aug 2011, 22:42
Location: Argentina

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by Giani »

I have played 5 minutes until now, and the fps is 35-60, but doesn't freeze.

I saw that nullbot doesn't make any repair facility, he uses the ones that they already have(in advanced bases) or one of an ally.
My maps: http://forums.wz2100.net/viewtopic.php?f=10&t=9501
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by NoQ »

I saw that nullbot doesn't make any repair facility
Works for me. Map? Save?
Probably 5 facilities are already present, so he can't make more?
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by Berg »

Played a multi player 6 player map with 3 nulbbot teamed they seemed to not be as dangerous as the scavs
The game ran very smoothly on win7 It seems to be ok on my PC. slight desync at start dont know what caused that maybe connections.

All in all it ran without too much lag but the scavs was beating up nullbot at start and i think nullbot stopped fighting.
User avatar
Giani
Regular
Regular
Posts: 804
Joined: 23 Aug 2011, 22:42
Location: Argentina

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by Giani »

NoQ wrote:
I saw that nullbot doesn't make any repair facility
Works for me. Map? Save?
Probably 5 facilities are already present, so he can't make more?
The map was Gear9 and he didn't have any facilitie.
My maps: http://forums.wz2100.net/viewtopic.php?f=10&t=9501
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by NoQ »

Will have a look at repair, but a savegame could still be useful.
Berg wrote:scavs
are unfair by definition, so it's normal that they are stronger in certain situation.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by Berg »

I just ran a 2v2 in win7 with nullbot and it ripped us to bits.
No scavs on
no lag no errors showing. ran well.
Last edited by Berg on 19 Apr 2012, 15:42, edited 1 time in total.
User avatar
Giani
Regular
Regular
Posts: 804
Joined: 23 Aug 2011, 22:42
Location: Argentina

Re: NullBot: an adaptive skirmish AI for Warzone 2100 v3.1+

Post by Giani »

NoQ wrote:...but a savegame could still be useful...
I forgot again :oops:
My maps: http://forums.wz2100.net/viewtopic.php?f=10&t=9501