Page 4 of 4

Posted: Thu Apr 02, 2009 3:52 am
by The Reds
How do people get bots? What do they have to do? Cause if others can get one I was hoping if I could get one too.

Posted: Wed Apr 08, 2009 12:10 pm
by RobinB
LordSturm wrote:Heh, anything is possible.

Be sure to tell me if you work out how to pit two bots together, using two clients. ( Me and a friend. )


The easiest way would be to join a game through entering the IP of the host. Both players should have the API enabled version.

@The Reds: The first post should give you enough information on how to set up your own bot. Note that you cannot use a bot in "normal" defcon matches that don't specifically allow bots (Ie., use the API version to host the game).

Posted: Tue Dec 08, 2009 12:41 am
by CrazyAX
where do i find the API to download?

Posted: Tue Dec 08, 2009 12:59 am
by DinoSteve

Posted: Wed Jan 13, 2010 5:19 pm
by martin
Is there a java version of the API? I vaguely remember some talk of one but I cannot remember if anything came of it.

EDIT:: I found the java API here

However, there was a mention of a python API in the original article about the API, did such a thing ever get built?

Posted: Wed Jan 13, 2010 8:45 pm
by xander
Is there a Brainfuck version of the API?

xander

Posted: Wed Jan 13, 2010 8:47 pm
by martin
Unfortunately no, but I could easily write you a brainfuck interpreter in Lua, if you wish? ;)

Posted: Sun Jan 16, 2011 10:17 am
by poptart911
xander wrote:Is there a Brainfuck version of the API?

xander


How about prolog?!

Posted: Wed Jan 19, 2011 11:21 pm
by poptart911
Pox wrote:I am eagerly awaiting a Linux-compatible API while staring at the archaicness of the mailing list.
* bump *

Posted: Sat Dec 29, 2012 12:38 am
by Uropa
xander wrote:Is there a Brainfuck version of the API?

xander


this is by far the funiiest forum entry i have read in my entire life! :shock:

Re: DEFCON AI BOT API

Posted: Tue Dec 08, 2020 4:00 pm
by beeb
Hello, traveler! You might have had some trouble actually getting your hands on this API.

So, first off, here is a download link:
https://cdn.discordapp.com/attachments/685443597591511043/713180937399304202/Defcon.exe

This is the 1.57 version, the latest I could find.
Earlier versions contain a bug that make it impossible to handle fighters, bombers, and nukes.
This version spits out a massive log file, reducing performance somewhat. To disable this, make sure there is a read-only file called debug.txt in your defcon directory.
Note that this was compiled ages ago, using VS2008. You need to compile your bot against the same ABI for it to work.

Second, here is the Lua binding:
https://cdn.discordapp.com/attachments/685443597591511043/701819619517661304/luabot_0.31.zip

The 0.3 version, hosted on corsix.org by its author, has a bug where functions that should return two values (GetVelocity, for example), returned only the second value.
This version contains a fix for that bug. Otherwise, it is exactly the same, right down to its Lua version (5.1.4).

I can be reached via the Defcon Discord for further information.

Re: DEFCON AI BOT API

Posted: Wed Dec 09, 2020 11:54 am
by Uropa
beeb wrote:Hello, traveler! You might have had some trouble actually getting your hands on this API.

So, first off, here is a download link:
https://cdn.discordapp.com/attachments/685443597591511043/713180937399304202/Defcon.exe

This is the 1.57 version, the latest I could find.
Earlier versions contain a bug that make it impossible to handle fighters, bombers, and nukes.
This version spits out a massive log file, reducing performance somewhat. To disable this, make sure there is a read-only file called debug.txt in your defcon directory.
Note that this was compiled ages ago, using VS2008. You need to compile your bot against the same ABI for it to work.

Second, here is the Lua binding:
https://cdn.discordapp.com/attachments/685443597591511043/701819619517661304/luabot_0.31.zip

The 0.3 version, hosted on corsix.org by its author, has a bug where functions that should return two values (GetVelocity, for example), returned only the second value.
This version contains a fix for that bug. Otherwise, it is exactly the same, right down to its Lua version (5.1.4).

I can be reached via the Defcon Discord for further information.


After 8 yrs and 1 month, to the day, a reply !!!

Re: DEFCON AI BOT API

Posted: Thu Dec 10, 2020 10:17 pm
by beeb
Uropa wrote:After 8 yrs and 1 month, to the day, a reply !!!


??? Huh, wow. You have email notifications or something?

Re: DEFCON AI BOT API

Posted: Thu Dec 10, 2020 11:27 pm
by Uropa
Indeed, i do!