Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Bar » Possible new utility for creating testbeds
Re: Possible new utility for creating testbeds Mon, 12 January 2009 19:23 Go to previous messageGo to previous message
PaulCr

 
Chief Warrant Officer 3
Stars! V.I.P

Messages: 187
Registered: February 2007
Location: An Island that kinda look...
m.a@stars wrote on Sun, 11 January 2009 18:30

Fair enough. Do you need Beta-testers? Very Happy


The testbed creator should hopefully be usable within the next 2 weeks at which point having a few people to try it out would be useful. Once the testbed app is pretty much complete I intend working on the turn generation aspect required for a server, it shouldn't take that long to get something actually playable since I can work with the object model exclusively since it creates the .hst from scratch each time it saves it. Within 2 weeks of getting the testbed function working satisfactorily I expect to have something that you can can build fleets with, move, load/unload, colonise, research, planetary production etc although they might not be completely accurate, ie initially they may use no fuel to move, resources needed to research may differ etc until I can code proper formulas, the things I expect to take time are scanning, minefields and battles.

At present I have it reading your .xy and .m file and producing a valid .hst with your planets, ship design and fleets, enemy planets you saw last turn and ship designs for enemies you fought last turn since I'm not reading the .h yet which has the previous encounters in it, other designs you can see but didn't fight are set to an empty hull with a QJ5. I also have all the enemy fleets in the .hst file but if you run the .hst to generate turn files, to your player everything looks like it should be but if you load one of the other player files and click on one of there ships the display panels usually look corrupt and if you try to give them orders to move stars crashes.

I'm 99% sure it's because the don't have waypoint 0 orders so the next step will be to give them a default one that just places them doing nothing at their current location. After that I should just need to read in the .h file to include previous encounters and then the thing should actually be useful for testing battles or for see how your empire is likely to develop quite a few turns into the future, you won't be able to colonise planets you haven't already seen since you get a default planet if you colonise it which would give completely different growth and minerals from what the real game would give.

I'm testing it with the final turn I have for primitive one although I haven't kept .h files for previous games so I'll have to create a new game to test with. Using a previous game does help test it properly, it showed up things that I wasn't doing in the test game I originally started with, ie ships that only have waypoint 0 orders that do something, ie mining since that uses a different type than those standing still or those that are moving (ie, the WP0 order has them doing nothing)

If anybody is interested in seeing exactly what it is doing I could post the Primitive one .hst I've generated to look at since the game finished ages ago and it is only showing information I had anyway so it's not giving any secrets away, ie you can't see another players race design.


Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Revival of an interesting idea?
Next Topic: 0.2% Minimum Damage
Goto Forum:
  


Current Time: Tue May 14 03:49:42 EDT 2024