Standard chat protocol for AIs?

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Standard chat protocol for AIs?

Post by Per »

I've been thinking what would be a good way to send a message with a beacon location. The closest to anything useful I've come up with is that if you are typing something, then press alt+g to place beacon, then the beacon grabs whatever is in your text buffer and sends that, as it were an implicit enter key. But this could send something you did not intend to, I suppose. Opinions?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Standard chat protocol for AIs?

Post by NoQ »

I think such feature is not necessary; separately saying and placing a beacon is quite enough.

Another way of implementing it is make alt+g put a delayed beacon that will appear only after you pressed enter when typing message.
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: Standard chat protocol for AIs?

Post by aubergine »

An AI could also choose to scout the beacon even if no message is sent, so not sure there would be any benefit to having something that links a chat command to a beacon..
"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: Standard chat protocol for AIs?

Post by NoQ »

AIs certainly shouldn't do that. Cause the most common use of beacons is "hey look, you forgot to build a research module here".
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: Standard chat protocol for AIs?

Post by aubergine »

...not in skirmish games.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
themac
Trained
Trained
Posts: 413
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: Standard chat protocol for AIs?

Post by themac »

Since v2.0, on git master, it should (?)
What is a git master? I did try it again some minutes ago, but once again my NullBot ally did not respond in any way to Nexus help calls. No help at all. O.o
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: Standard chat protocol for AIs?

Post by aubergine »

If you're using "autogame on" then you're using an older version of the game. Autogame was removed from development version of the game a few weeks ago IIRC.

The chat commands for JS API based AIs, like NullBot, only work in Warzone 3.2 and above, which is not yet released. You can compile Warzone 3.2 from the master source code branch on github: https://github.com/Warzone2100/warzone2100

There are some guides on compiling in the wiki: http://developer.wz2100.net/wiki/CompileGuide
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
themac
Trained
Trained
Posts: 413
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: Standard chat protocol for AIs?

Post by themac »

I am not too familar with compiling software on the Macintosh. :(
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Standard chat protocol for AIs?

Post by NoQ »

I wonder why we don't have mac builds for master snapshots at http://buildbot.wz2100.net/files/ while they are here for 3.1.
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: Standard chat protocol for AIs?

Post by aubergine »

There isn't a spare mac to do the nightlies. I was hoping to buy one and donate it to the project but then life threw some curveballs my way and well, well, not going to be able to afford that for a while :(

<-- Also a Mac user, currently learning how to use Terminal *it has no mouse!!*
"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: Standard chat protocol for AIs?

Post by NoQ »

But they do make 3.1 builds somehow? Manually?
http://buildbot.wz2100.net/files/3.1/mac/
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: Standard chat protocol for AIs?

Post by aubergine »

Yes, I believe the 3.1 builds are manually created by dak180
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
themac
Trained
Trained
Posts: 413
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: Standard chat protocol for AIs?

Post by themac »

The 3.1 .dmg made at 2012-12-20 can not be opened. The error message is: "unknown".
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Standard chat protocol for AIs?

Post by Iluvalar »

NoQ wrote:AIs certainly shouldn't do that. Cause the most common use of beacons is "hey look, you forgot to build a research module here".
Also :

"hey build that derrick !"
"why the ** do you build a wall there ?" :augh:
"look I got the repair factory"
"look my new cool design" (specialy in NRS and it near infinite possibilities :3 )
"Just dropping a beacon so we look busy" :P

Etc...
Heretic 2.3 improver and proud of it.
User avatar
dak180
Trained
Trained
Posts: 288
Joined: 01 Nov 2009, 23:58
Location: Keeper of the Mac Builds

Re: Standard chat protocol for AIs?

Post by dak180 »

themac wrote:I am not too familar with compiling software on the Macintosh. :(
The CompileGuideMac should give you all the info you need, but if you have any questions please let me know; especially since we do not have a machine to do nightly mac builds I have tried to make building Warzone on the mac easy enough that anyone can do without too much effort.
User:dak180
Keeper of the Mac Builds
Post Reply