Looking into AI turns (was: Re: Password protected downloads?) |
Wed, 02 March 2005 16:14 |
|
icebird | | Chief Warrant Officer 3 | Messages: 178
Registered: September 2003 Location: In LaLa land... | |
|
Just thought of one question- does the hacked .exe work on AI players? Just as a curiosity, I've always wanted to look at one of their turns.
-Peter, Lord of the Big Furry ThingsReport message to a moderator
|
|
|
|
Re: Password protected downloads? |
Wed, 02 March 2005 19:18 |
|
|
PricklyPear wrote on Wed, 02 March 2005 15:57 | Also shows that messages are not sent to the AI players.
|
That may be... but I do recall one game I played against the AIs in a remapped universe, where for some reason I did receive messages on a random basis from an AI...
They were blank btw...
and I think the sequence started by actually sending a message to the AI.
never seen it since though, and maybe the game all happened in my demented imagination.
Report message to a moderator
|
|
|
|
|
|
|
Re: Password protected downloads? |
Thu, 03 March 2005 06:35 |
|
|
That's interesting indeed!
Now I'm wondering... since I've never actually seen any AI races actually rendez-vous with the mystery trader, do you think they have access to all MT parts, or do they get them as standard as soon as the MT carrying that particular item appears on the board?
** Storm **
"Yeah... but... Jar Jar makes the Ewoks look like f***ing Shaft!"
Report message to a moderator
|
|
|
Re: Password protected downloads? |
Thu, 03 March 2005 07:10 |
|
|
Storm wrote on Thu, 03 March 2005 05:35 | That's interesting indeed!
Now I'm wondering... since I've never actually seen any AI races actually rendez-vous with the mystery trader, do you think they have access to all MT parts,
| noQuote: | or do they get them as standard as soon as the MT carrying that particular item appears on the board?
| yes (although I'm not sure if its a 100% chance)
Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: Password protected downloads? |
Wed, 09 March 2005 07:13 |
|
PricklyPea | | Lieutenant | Messages: 534
Registered: February 2005 | |
|
PricklyPear wrote on Wed, 09 March 2005 05:10 |
I'm not sure. I don't know to what degree they are hard-coded versus randomly generated.
|
Actually, I do remember seeing a tri-immune race in the EXE, so perhaps some elements are hard-coded. However, I also saw routines for random race generation although this could be the 'random' choice on the race design wizard.
I didn't look too closely as I was reversing some of the internal player/race structures rather than examining AIs.
[Updated on: Wed, 09 March 2005 07:24] Report message to a moderator
|
|
|
|
|
|
Re: Password protected downloads? |
Fri, 11 March 2005 04:44 |
|
|
1) Could it be possible to just make a version of the exec that only ignores AI passwords? So humans can poke in and take a look?
2) I'm going to assume that to write this, you'd have to completely decrypt the data and decode it. So, what I'm wondering is.. Are you going to write it as an API or something else that can be plugged into another program so you don't have to release the source code, just the opperating instructions?
3) If used on Human races, will you write it to require a password?
4) Couldn't this also be used to create a custom client or server for the game??? I don't know what point there is to either but I'm just asking.
5) A possible use for this, could be to create a program that could "Link up" Multiple maps via tagged worm holes. You just tell it what worm holes to monitor and designate where those enterances go (what maps), and then the program, when it detects a ship entering one of the special wormholes, it'll delete that fleet from one map and insert it into the other map next to another designated worm hole. I'd imagine you'd either A) have to create player stubs for all races in every game on every map. (Dead if they haven't come into a map yet, or have completely left to another map.) Running this either before and or after running a traditional Stars! Server would probably allow this all to work out without too much trouble.. I think.
Tagging a worm hole graphically and linking it through an interface could be done by reading the XY and or just the HST and locating the various worm hole networks. Click on a particular enterance and telling the program that you want it to check that worm hole and link it to this other on another map. If you leave the other side of the worm hole as is, then people from there can use it like normal, and then turn around and fly out of the galaxy with it.
Alternately you could just program the linker to only scan for ships entering a wormhole with a particular way point task attached to that destination, like colonize (which is appropreate I think.) Then you could use it as either a galactic gate or a worm hole!
Comments?
Rule 1: "Pillage, THEN burn!"Report message to a moderator
|
|
|
Reading Stars! Files and possible uses of this info |
Fri, 11 March 2005 12:21 |
|
wumpus | | | Messages: 114
Registered: September 2004 | |
|
In reponse to captain maim:
1) If you mean the currently cracked Stars! EXE - this would be very substantially more difficult than the present crack. And the cracker probably has no motivation to do it
2) I assume that once the data structures have been loaded into the exe, the encryption has already been removed, so if you really wanted to do (1), you wouldn't necessarily have to understand the encryption....
2), 3), 4), 5): Assuming "you" is "me" who started the thread this was broken off of: 2- "Jein". Ideally there would be a libstars or something like a structured representation of the data in a given M/X/R/... file. Or loads an opaque structure which can be accessed via various API functions. But that's a loooooong way off; 3- Ideally, yes. 4- Certainly. There's a fair few server things which aren't *exactly* known yet, although much is known, and for the rest there are at least tolerable approximations (EG precise planet value for a given race, fine details of how battles run, random events, etc etc). 5- Oof. This would be Pretty Hard, certainly to make it even remotely compatible with existing stars. Why not just make a Really Big galaxy with lots of empty spaces between clusters of stars, with wormholes connecting the clusters. People have done things like that using a neutral host running a stargate network (=> eg 12 Gates game on AH some time in the not-too-distant past).
Michael "Wumpus" Zinn
» Apply magic glue here «Report message to a moderator
|
|
|
AI Race Designs |
Fri, 11 March 2005 12:24 |
|
wumpus | | | Messages: 114
Registered: September 2004 | |
|
wumpus wrote on Tue, 08 March 2005 19:53 | I looked into this some time ago, so I may as well link it:
http://stars-util.sourceforge.net/random_stuff/ais.txt
I haven't done any significant verification on that stuff, but it should be right.
Just the hard and expert AIs for now, if someone really wants to know I suppose getting the other difficulties would be easy enough..
|
Updated today (same link) to include the easy and regular AIs.
The Easy AIs have bucketsloads of leftover Race Wizard points compared to a normal race...
[Updated on: Fri, 11 March 2005 12:26]
Michael "Wumpus" Zinn
» Apply magic glue here «Report message to a moderator
|
|
|