Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Today's Messages (off)  | Unanswered Messages (on)

Forum: Stars! Extensions
 Topic: Algorithms for Laying out Stars?
Algorithms for Laying out Stars? Thu, 21 March 2024 22:30
JeffD is currently offline JeffD

 
Civilian

Messages: 1
Registered: March 2024
I am coming at this from two different angles, both with an eye towards stars clones implementing functionality.

It is easy to lay out a map using random x and y location for planets.

There are a number of tools that lay things out, UC.ZIP will lay it out according to a bitmap, and conceptually there are likely algorithms that lay out according to certain shapes like spirals.

But I am having trouble finding information on how to do this.

Does anyone have leads or source code?

Report message to a moderator

 Topic: Public Messages
Public Messages Sat, 30 December 2023 18:54
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 222
Registered: January 2012
Location: NC
Well, from a comment on the Discord channel, I spontaneously decided to add a new feature to TotalHost.

You can now enable Public Messages for a game. The page for the game will then display ALL of the player messages.

Why? Because to me (and certainly no one else!) a neat game would be Anonymous Players, and all public messages.


[Updated on: Sat, 30 December 2023 18:54]




https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

 Topic: 32k / SS Pop Steal
32k / SS Pop Steal Thu, 11 November 2021 00:19
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 222
Registered: January 2012
Location: NC

The 32k Merge bug (merging a fleet with a new total of > 32767 ships of the same type ) and the SS Pop Steal bug (setting a fleet waypoint of Load All Available for population) use very similar blocks. Getting one fixed meant it wasn't much work to get the other fixed as well.

Detection/fix isn't not quite integrated with TH yet (too many changes all at once, some more testing required), but the standalone script is working to identify (and fix) both. Woot!

Note: The FAQ says that the SS Pop Steal was fixed in JRC4, but I could replicate it with a Waypoint Task Transport Colonists Load All Available.



https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

 Topic: Mineral Upload Bug
Mineral Upload Bug Mon, 08 November 2021 22:16
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 222
Registered: January 2012
Location: NC
Mineral Upload
Stars! allows you to upload minerals to any fleet in orbit that does not belong to you. You can even do this if that fleet does not have a cargo hold. This causes the minerals to "disappear". People have abused this bug to deny the salvage of a battle from their enemy by uploading the minerals from the surface to the enemies warfleet/bombers.


I can now detect for and correct for this bug. Tricky, as upload orders only have fleet Ids. Fleet Ids only have design information, and design information includes the parts, but not the actual cargo capacity.

However, it's subtle, as you could be uploading minerals to an ally. My current process is:
Check to see if you're uploading minerals to a fleet that's not your own
Check the cargo capacity of the fleet.
If the cargo capacity is < the amount of minerals being uploaded, throw a public warning. I could either reset the upload to 0, or reset the upload to no more than the fleet capacity, but I'm trying to avoid rewriting block information where I don't have to (less risk of data corruption).

On the bright side, I think along the way I've gathered the pieces for detecting the Robber Baron and [freepop] Hack (since I can see the cargo capacity for a fleet).



https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

 Topic: Modifying the universe
Modifying the universe Sat, 26 December 2020 18:47
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 222
Registered: January 2012
Location: NC
What's the current (hah!) utility of choice for moving around planets (and homeworlds) before the game starts? I used to know - it's been a long time.

Rick



https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

 Topic: Graphing player resources
Graphing player resources Wed, 03 June 2020 01:40
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 222
Registered: January 2012
Location: NC
I tend to play with public player scores turned off, and victory conditions set that will never trigger (as we tend to use other criterion).

Was chatting with one of the players and trying to discuss where he's going wrong resource-wise, and wanted a comparison graph of resources for the game.

Well, I'd been wondering what I was going to do with my recently-mapped PlayerScoresBlock. Smile

So I've added a new standalone script to TH that you can use to create a graph of player resources. http://www.sinister.net/a9fc8576.png

Still need to clean it up a bit, but given likely no one will ever use it but me, that's probably not a problem!



https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

 Topic: NSA Helping to Decompile Stars!?
NSA Helping to Decompile Stars!? Wed, 06 March 2019 22:51
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 222
Registered: January 2012
Location: NC
The NSA has released Ghidra, which might be of use to those decompiling Stars!

https://www.zdnet.com/article/nsa-release-ghidra-a-free-soft ware-reverse-engineering-toolkit/



https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator




Current Time: Thu Apr 25 02:36:10 EDT 2024