Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Bar » Looking into AI turns (was: Re: Password protected downloads?)
Looking into AI turns (was: Re: Password protected downloads?) Wed, 02 March 2005 16:14 Go to next message
icebird is currently offline 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 Things

Report message to a moderator

Re: Password protected downloads? Wed, 02 March 2005 16:57 Go to previous messageGo to next message
PricklyPea is currently offline PricklyPea

 
Lieutenant

Messages: 534
Registered: February 2005
icebird wrote on Wed, 02 March 2005 16:14

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.


Yes it does. Quite interesting to see the turns and the race design! Also shows that messages are not sent to the AI players.

Report message to a moderator

Re: Password protected downloads? Wed, 02 March 2005 19:18 Go to previous messageGo to next message
donjon is currently offline donjon

 
Lt. Commander

Messages: 808
Registered: November 2002
Location: Benque Viejo del Carmen, ...

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 01:07 Go to previous messageGo to next message
iztok is currently offline iztok

 
Commander

Messages: 1207
Registered: April 2003
Location: Slovenia, Europe
Hi!
icebird wrote on Wed, 02 March 2005 22:14

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.

What I wanted to see is how RW points are distributed with different AI "experience" settings. I know they got more, but where exactly those points went to?
BR, Iztok

Report message to a moderator

Re: Password protected downloads? Thu, 03 March 2005 04:56 Go to previous messageGo to next message
PricklyPea is currently offline PricklyPea

 
Lieutenant

Messages: 534
Registered: February 2005
iztok wrote on Thu, 03 March 2005 01:07

What I wanted to see is how RW points are distributed with different AI "experience" settings. I know they got more, but where exactly those points went to?
BR, Iztok


I'll take a look. All I remember was that the races had several thousand negative 'leftover points' (I think this was on expert setting).

Report message to a moderator

Re: Password protected downloads? Thu, 03 March 2005 05:01 Go to previous messageGo to next message
Storm is currently offline Storm

 
Ensign

Messages: 359
Registered: February 2005
Location: Wanker's Corner

Makes sense, I suppose...

Why bother writing pages of intensely fiendish AI coding, when you could just adopt the easier approach of breaking the race creation rules (brute force tactics?).

Aside from "leftover" negative points, can anybody remember if they break any other rules, like the % growth ceiling? Shocked



** 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 06:20 Go to previous messageGo to next message
Micha

 

Messages: 2342
Registered: November 2002
Location: Belgium GMT +1
Storm wrote on Thu, 03 March 2005 11:01

Aside from "leftover" negative points, can anybody remember if they break any other rules, like the % growth ceiling? Shocked

I've heard of the (AR?) AI using the Genisis Device while they haven't obtained it from the MT ...

mch

Report message to a moderator

Re: Password protected downloads? Thu, 03 March 2005 06:35 Go to previous messageGo to next message
Storm is currently offline Storm

 
Ensign

Messages: 359
Registered: February 2005
Location: Wanker's Corner

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 Go to previous messageGo to next message
donjon is currently offline donjon

 
Lt. Commander

Messages: 808
Registered: November 2002
Location: Benque Viejo del Carmen, ...

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,
no
Quote:

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? Thu, 03 March 2005 20:53 Go to previous messageGo to next message
PricklyPea is currently offline PricklyPea

 
Lieutenant

Messages: 534
Registered: February 2005
PricklyPear wrote on Thu, 03 March 2005 04:56

iztok wrote on Thu, 03 March 2005 01:07

What I wanted to see is how RW points are distributed with different AI "experience" settings. I know they got more, but where exactly those points went to?
BR, Iztok


I'll take a look. All I remember was that the races had several thousand negative 'leftover points' (I think this was on expert setting).


I had a look at PP and HE AI races:

HE

IFE
UR
MA
OBRM

Tri-Immune 7%

800
13/9/16 X
10/4/8
NCNCNE O

-1161 RW

PP

IFE
TT
MA
OBRM
NAS
LSP

3 Wide habs 19%
1000
15/9/25 X
10/10/5

CCECNN X

-1246 RW

looks like they like to waste the extra points on MA and UR Wink

Report message to a moderator

Re: Password protected downloads? Fri, 04 March 2005 14:51 Go to previous messageGo to next message
iztok is currently offline iztok

 
Commander

Messages: 1207
Registered: April 2003
Location: Slovenia, Europe
Hi!
PricklyPear wrote on Fri, 04 March 2005 02:53

I had a look at PP and HE AI races:
...


Thank you. Looks like I was close to the design of HE (but mine settings). When I pop-dropped them there was usually more mines as I'd expect from those settings. And they ALWAYS had MC as they'd spent 50 RW points in min conc. Quite hard to achieve with -1161 points. Going insane
BR, Iztok

Report message to a moderator

Re: Password protected downloads? Fri, 04 March 2005 20:35 Go to previous messageGo to next message
LEit is currently offline LEit

 
Lt. Commander

Messages: 879
Registered: April 2003
Location: CT
All of the settings change with different difficulty levels. Also, the AIs build mines before factories.


- LEit

Report message to a moderator

Re: Password protected downloads? Fri, 04 March 2005 21:50 Go to previous messageGo to next message
PricklyPea is currently offline PricklyPea

 
Lieutenant

Messages: 534
Registered: February 2005
LEit wrote on Fri, 04 March 2005 20:35

All of the settings change with different difficulty levels. Also, the AIs build mines before factories.


i never knew that. i guess this is another reason that AI is weak.

Report message to a moderator

Re: Password protected downloads? Tue, 08 March 2005 13:53 Go to previous messageGo to next message
wumpus

 
Master Chief Petty Officer
Stars! V.I.P
Created tools and utilities to help the Stars! community
Past Weekly Puzzle Master

Messages: 114
Registered: September 2004
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..



Michael "Wumpus" Zinn
» Apply magic glue here «

Report message to a moderator

Re: Password protected downloads? Tue, 08 March 2005 15:40 Go to previous messageGo to next message
Carn is currently offline Carn

 
Officer Cadet 4th Year

Messages: 284
Registered: May 2003
PricklyPear wrote on Fri, 04 March 2005 02:53



I had a look at PP and HE AI races:





Can you mod them?

Carn

Report message to a moderator

Re: Password protected downloads? Wed, 09 March 2005 05:10 Go to previous messageGo to next message
PricklyPea is currently offline PricklyPea

 
Lieutenant

Messages: 534
Registered: February 2005
Carn wrote on Tue, 08 March 2005 15:40

Can you mod them?


I'm not sure. I don't know to what degree they are hard-coded versus randomly generated. But to be honest, I'm not sure how much interest there would be considering how poor the AIs are anyway.

I'd be much more interested in getting to grips with the .X and .M formats so that it's possible to write an AI bot.

Then we can begin the chapter of the bot championships Wink

Report message to a moderator

Re: Password protected downloads? Wed, 09 March 2005 05:17 Go to previous messageGo to next message
Robert is currently offline Robert

 
Lt. Junior Grade

Messages: 393
Registered: November 2002
Location: Dortmund, Germany
Well THIS would be a great challange... Programming better AIs is something I would have a lot of fun with...

I am currently in a competent research group about computational intelligence (neural nets, fuzzy, evolutionary stuff...). Maybe I could kick off a research program for Stars Laughing

No seriously - we have smaller student project groups here (10 students for a year), apart from 10 new addicted stars players there could be a serious improvement of the AIs...
(It cant be hard to beat them, can it?)

If someone ever is able to give me an interface for .m and .x files I would LOVE to work on that...

Robert



2b v !2b -> ?

Report message to a moderator

Re: Password protected downloads? Wed, 09 March 2005 06:06 Go to previous messageGo to next message
Carn is currently offline Carn

 
Officer Cadet 4th Year

Messages: 284
Registered: May 2003
PricklyPear wrote on Wed, 09 March 2005 11:10

Carn wrote on Tue, 08 March 2005 15:40

Can you mod them?


I'm not sure. I don't know to what degree they are hard-coded versus randomly generated. But to be honest, I'm not sure how much interest there would be considering how poor the AIs are anyway.



I just had the funny thought to include a AI in a normal game and then watch, how soon the players start to unite, when they realize, they are up to a 20% 3i with full facs and mines and all tech cheap. Would b just -12000 points. Laughing Laughing Laughing

Carn


[Updated on: Wed, 09 March 2005 06:13]

Report message to a moderator

Re: Password protected downloads? Wed, 09 March 2005 07:13 Go to previous messageGo to next message
PricklyPea is currently offline 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? Wed, 09 March 2005 07:16 Go to previous messageGo to next message
Storm is currently offline Storm

 
Ensign

Messages: 359
Registered: February 2005
Location: Wanker's Corner

I believe that all the AI HE races are tri-immune, so that would account for any hard-coding tri-immunity...

Then again, I could be wrong.. but I've not seen anything to the contrary.. Confused



** Storm **

"Yeah... but... Jar Jar makes the Ewoks look like f***ing Shaft!"

Report message to a moderator

Re: Password protected downloads? Wed, 09 March 2005 07:39 Go to previous messageGo to next message
donjon is currently offline donjon

 
Lt. Commander

Messages: 808
Registered: November 2002
Location: Benque Viejo del Carmen, ...

In my limited uderstanding, the AI's are all hardcoded and can be found in the executable. And, yes... all HE AI's are tri-immune Smile

Report message to a moderator

Re: Password protected downloads? Wed, 09 March 2005 12:17 Go to previous messageGo to next message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2765
Registered: October 2004
Location: Third star to the left
Hi,

Robert wrote on Wed, 09 March 2005 11:17


If someone ever is able to give me an interface for .m and .x files I would LOVE to work on that...



I have to say: me too! Very Happy

I've actually made some progress digesting planet & fleet reports to generate reams of "advice" on what ships can be built where, basic mineral & pop balancing, & so on. It helps MM, sure. But it could be done sooo much better with direct access to .m data... And writing directly to the .x would be a joy. Cool

Now, international Stars! bot championships would be a longtime dream come true Smile Smile Smile And perhaps the .EXE does carry some useful routines.

C U @ the Board!


[Updated on: Wed, 09 March 2005 12:32]




So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

Re: Password protected downloads? Fri, 11 March 2005 04:44 Go to previous messageGo to next message
Captain Maim is currently offline Captain Maim

 
Lt. Junior Grade

Messages: 492
Registered: March 2003
Location: USA, Mesa, Arizona

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 Go to previous messageGo to next message
wumpus

 
Master Chief Petty Officer
Stars! V.I.P
Created tools and utilities to help the Stars! community
Past Weekly Puzzle Master

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 Razz

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 Go to previous messageGo to previous message
wumpus

 
Master Chief Petty Officer
Stars! V.I.P
Created tools and utilities to help the Stars! community
Past Weekly Puzzle Master

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

Previous Topic: Temporary Replacment needed
Next Topic: Do beginners still exist?
Goto Forum:
  


Current Time: Thu May 09 11:07:43 EDT 2024