DEFCON AI BOT API
Moderator: Defcon moderators
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).
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?
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?
GENERATION 22:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.
- poptart911
- level1
- Posts: 33
- Joined: Thu Jan 13, 2011 6:04 pm
- Location: Iowa, US
- Contact:
- poptart911
- level1
- Posts: 33
- Joined: Thu Jan 13, 2011 6:04 pm
- Location: Iowa, US
- Contact:
Re: DEFCON AI BOT API
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.
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
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
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
Indeed, i do!
Who is online
Users browsing this forum: No registered users and 12 guests