Oh no! Not another noob asking another noob question!eleven1
Posted: Tue Apr 13, 2010 10:43 am
Yeah, just playin' the stereotype there. Might as well make a poor attempt at humour.
Anyway, I've had a copy of the bot-version of DEFCON sitting dormant on my hard-drive for a while now. It had more or less left my mind completley, however, as I was sitting at my laptop, Radiohead playing in the background, a thought occurred to me.
That thought was that I was hungry. And hence, I went and acquired an apple, which triggered me to think of good old Sir Isaac Newton.
As I stood there, my apple un-bitten, thinking of the great man's achievements, when it suddenly occurred to me: Scientific progress would have been much more rapid, if they only had computers.
That, of course, got me thinking of things that would be much more rapid if computers were involved. Such as teeth-brushing. Quality control of cheap pencil erasers. Japanese calligraphy. Development of Paris' fashion trends.
This last thought, of course, got me thinking of something else: How to best rid the world of Paris' fashion industry. Eventually, I decided that world-wide nuclear warfare would be the most efficient method of doing so. And so I sat there for a few hours, thinking on how it would be best to start a world-wide nuclear war, when it dawned on me: World-wide nuclear warfare starting would be a lot more rapid if computers were involved.
[/totally fabricated anecdote]
Anyway, so, I've decided that I aught to have a crack at this bot development. Having a slight understanding of Python, I figured I'd use that for the coding.
Now, stop me at any point if I'm mixing things up, but my current understanding of the method of using the bot API with Python is to use Python's "ctypes" (15.15 in the Standard Library for 3.1.2) function library to call the functions from the API dll file. Whatever that means.
Hey, I'm a hacky-see-if-works-if-not-consult-help type of programmer. Bumbling through complicated stuff > Knowing what's going on. Any day.
Anyway, so I look through the files related to the API that I downloaded all those months ago. Version 1.57, which seems to be the most recent version available. Also seem to have 1.51 and 1.56, which may or may not have been installed under 1.57. Probably were.
Anyway, I couldn't find this mysterious dll file. Seems the standard API download on Robin's (Robins'? Robins?) API Page doesn't come with the "iv ai" bot either, which, of course, I found and quickly installed. Sadly, I still see no dll file for the API - only the appropriate dll for the bot. Somewhere down, down deep inside my very soul, I died a little.
And so I searched. For what seemed like a thousand aeons, I sifted through Robin's API-related pages, read the stickied topic, and did a search of the DEFCON root folder. But, alas, it seemed that all my efforts were in vain, because...
tl;dr: I can't seem find the API dll file/shared library thing. Could someone point me to it? Extra points if you've got it working with Python?
Anyway, I've had a copy of the bot-version of DEFCON sitting dormant on my hard-drive for a while now. It had more or less left my mind completley, however, as I was sitting at my laptop, Radiohead playing in the background, a thought occurred to me.
That thought was that I was hungry. And hence, I went and acquired an apple, which triggered me to think of good old Sir Isaac Newton.
As I stood there, my apple un-bitten, thinking of the great man's achievements, when it suddenly occurred to me: Scientific progress would have been much more rapid, if they only had computers.
That, of course, got me thinking of things that would be much more rapid if computers were involved. Such as teeth-brushing. Quality control of cheap pencil erasers. Japanese calligraphy. Development of Paris' fashion trends.
This last thought, of course, got me thinking of something else: How to best rid the world of Paris' fashion industry. Eventually, I decided that world-wide nuclear warfare would be the most efficient method of doing so. And so I sat there for a few hours, thinking on how it would be best to start a world-wide nuclear war, when it dawned on me: World-wide nuclear warfare starting would be a lot more rapid if computers were involved.
[/totally fabricated anecdote]
Anyway, so, I've decided that I aught to have a crack at this bot development. Having a slight understanding of Python, I figured I'd use that for the coding.
Now, stop me at any point if I'm mixing things up, but my current understanding of the method of using the bot API with Python is to use Python's "ctypes" (15.15 in the Standard Library for 3.1.2) function library to call the functions from the API dll file. Whatever that means.
Hey, I'm a hacky-see-if-works-if-not-consult-help type of programmer. Bumbling through complicated stuff > Knowing what's going on. Any day.
Anyway, so I look through the files related to the API that I downloaded all those months ago. Version 1.57, which seems to be the most recent version available. Also seem to have 1.51 and 1.56, which may or may not have been installed under 1.57. Probably were.
Anyway, I couldn't find this mysterious dll file. Seems the standard API download on Robin's (Robins'? Robins?) API Page doesn't come with the "iv ai" bot either, which, of course, I found and quickly installed. Sadly, I still see no dll file for the API - only the appropriate dll for the bot. Somewhere down, down deep inside my very soul, I died a little.
And so I searched. For what seemed like a thousand aeons, I sifted through Robin's API-related pages, read the stickied topic, and did a search of the DEFCON root folder. But, alas, it seemed that all my efforts were in vain, because...
tl;dr: I can't seem find the API dll file/shared library thing. Could someone point me to it? Extra points if you've got it working with Python?