Page 2 of 3
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 14:58
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?
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 15:01
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.
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 15:42
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..
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 15:47
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".
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 15:54
by aubergine
...not in skirmish games.
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 16:22
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
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 16:31
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
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 17:07
by themac
I am not too familar with compiling software on the Macintosh.

Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 17:15
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.
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 18:08
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!!*
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 18:47
by NoQ
But they do make 3.1 builds somehow? Manually?
http://buildbot.wz2100.net/files/3.1/mac/
Re: Standard chat protocol for AIs?
Posted: 20 Dec 2012, 19:30
by aubergine
Yes, I believe the 3.1 builds are manually created by dak180
Re: Standard chat protocol for AIs?
Posted: 21 Dec 2012, 07:21
by themac
The 3.1 .dmg made at 2012-12-20 can not be opened. The error message is: "unknown".
Re: Standard chat protocol for AIs?
Posted: 21 Dec 2012, 08:07
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 ?"
"look I got the repair factory"
"look my new cool design" (specialy in NRS and it near infinite possibilities

)
"Just dropping a beacon so we look busy"
Etc...
Re: Standard chat protocol for AIs?
Posted: 21 Dec 2012, 17:09
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.