Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > AC-General/Help/Strategy-Archive > Rewrite the AI - any non-US interested?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
shawnmmcc is offline shawnmmcc
Prince

Jan 2003
time: 00:33
  Old Post 03-01-2004 13:05
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Rewrite the AI - any non-US interested? Remove this text

Since the digital millenium copyright act (DMCA) became law here in the United States, nobody here can help, at least on the initial stages. How about some of you non-US spearheading an effort and decompiling part of SMAC/X, plus using some of the freeware trace programs out there so we could figure out what is occuring in different modules?

I know the Diablo community did a nice job, to the point Blizzard now gives them partial support. It was legal in the USA when they started, however. I would dearly love to help code, depending on the language used, some of the AI routines though my language skills are sadly out of date. I've emailed Firaxis asking them to consider something, as have others. No response. I wish they could see the example with Call to Power, and realize it would only help them if they did the same for SMAC/X.

I would assume something modular, with terraforming, infrastructure, diplomatic assessment, various combat types, probe campaigns, etc. Plus we might consider writing an AI e-mail "player(s)", hosted somewhere outside the US. I hadn't thought about that, but when I posted something related to this a year ago, that idea was suggested.

The AI would take a seat in an email game. Once the critieria for reading the map was determined, I wonder if we could circumvent the issues reference the DCMA. The email seat techniques could let you have various custom programs tweaking the AI for specific conditions, i.e. a large map Hybrid Yang , or a Sikander/Morgan clone . Any thoughts?

Comrade Tassadar is offline Comrade Tassadar
Settler

Aug 2005
time: 05:33
  Old Post 03-01-2004 13:22 Visit Comrade Tassadar's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Tired of ads?

Oh yeah People here in the US *really* uphold the DMCA

Anun Ik Oba is offline Anun Ik Oba
Emperor
Grace of God
Sep 1999
time: 00:33
  Old Post 04-01-2004 02:34
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Out of curiosity, will the DMCA expire in a thousand years?

shawnmmcc is offline shawnmmcc
Prince

Jan 2003
time: 00:33
  Old Post 05-01-2004 12:26
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Tassadar, I work for the government, and my job requires periodic background checks. If I am caught being charged and convicted, I lose my job. So I actually take it fairly seriously. I think it's bad for technology. But I won't disassemble anything, what's the point? I don't have any game I want so badly that I'll do that much work to play it solo, and I cannot share my mod without taking a major chance of my butt in a wringer. Plus, if we start and Firaxis gives a cease and desist order, I would HAVE to stop. Plus they could choose to make me another example, like that poor Russian immigrant who broke the eBooks protections. That's why I want it hosted OUTSIDE the US. Canada and/or the EU should be safe. I have no idea what the situation is on Japanese software patents. Maybe some of our Chinese friends will host it, and start the basis for the new strategy game "Three Kingdoms" as the next big hit .

If anybody outside the US hosted it, they could at Firaxis, though that also depends on the way the EU goes on program copyrights over the next couple of years. I could code AFTER somebody else does the work that let's them incorporate my code, but I could not even help with the actual incorporation, only the actual routine - which for tactics should run several thousand lines, decision trees can get very complicated. If - and - or - butt is in a sling...

I'd love to see SMAC/X players code for improved AI, I know we coud do the terraforming and infrastructure much better, and while tactics are harder, as someone mentioned in a previous thread, I think that writing them up through fusion and choppers would still be fairly straightfoward. Definitely we can improve the use of airpower and unit design (as in maximize for your technology - no 1-4 infranty with fusion power).

johndmuller is offline johndmuller
King
Capitol Hill, Colony of DC
Feb 2001
time: 00:33
  Old Post 05-01-2004 13:13
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

I like the idea of an AI player outside the game code; having suitable 'hooks' for such a player incorporated into the game itself would be quite nice, although I doubt that Firaxix would find that worthwhile to do (it would probably also be a PIA for them dealing with whatever hardcoded stuff might be in there).

The map and the various infiltration data currently available to the AI player would be the main things that would have to be extracted from the game file for the external AI player to know what was going on. On the output side, the new situation would have to be substituted into the game file - this would be much more complicated as the entire turn would have to be taken and all the appropriate game mechanisms simulated.

By way of a different approach, one could possibly do all this by some sort of screen-scraper / keyboard-mouse emulator and use the actual game engine for everything - with the external AI directing this process - it might even be perfectly legal this way, just an extraordinary pain.

Blake is offline Blake
King
Brainfallocatione
Oct 2000
time: 17:33
  Old Post 05-01-2004 14:24
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Get a bigger avatar today!

I dont think it would be very easy to hook into the code, there is very little evidence that the systems uses a well defined API or anything. In one interview a firaxis employee said they were scared of touching the auto former code and described it as spaghetti code more-or-less. The best I would hope for is being able to catch formers/bases in the act of building something stupid (like a farm) and replacing it with something good (like a forest).

The main evidence I have for very bad code structure is all the bugs, things like the auto-former, right-click menus and direct orders all result in different behavior, it reeks of copy'n'paste and hacked solutions. And working on such a mess with just a debugger and similar tools will be an even more hellish task than working on the code itself.

An external AI player would probably be more feasible - by directly ripping the information out of the save file itself and having another file for the AI's plans, strategies and worldview. However designing and implementing an AI from scratch would also be one hell of a task, although possibly more rewarding than hacking into the spaghetti code.

shawnmmcc is offline shawnmmcc
Prince

Jan 2003
time: 00:33
  Old Post 05-01-2004 15:06
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Full PM-box? Change here!

I think Blake's idea is what the other person I mentioned was discussing. Writing the decision trees is simply tedious - a serious of logic statements applied to infiltration data, terrain, and the known map based on that AI's bias. I would dearly love to get some of the best players, like Sikander for Morgan, to actually track their logic and copy it down (yes, we are talking hundreds of hours, people don't realize how many decisions we make in a single day, or in a game like SMAC).

I am not a graphics person. The "screen-scraper / keyboard-mouse emulator" seems to be a good idea, if I am inferring the proper function. Are there commercial programs for this? Or freeware/shareware? Could you use some of Microsoft's own tools for this? I am unfamiliar with their graphics/direct X toolkits, but it strikes me something might be available from that.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:33.
Apolyton Time is 00:33.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0361 seconds (87.07% PHP - 12.93% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net