• Welcome to the new COTI server. We've moved the Citizens to a new server. Please let us know in the COTI Website issue forum if you find any problems.
  • We, the systems administration staff, apologize for this unexpected outage of the boards. We have resolved the root cause of the problem and there should be no further disruptions.

Yet Another Traveller World Exlainer

How is this deployed? Do you need Python?
Sorry for the long delay - had not checked back on this thread in a bit!

it was mostly run locally - the source code is in GitHub so you can pull it and run it in theory. Reality not so much unless you are a developer and have the tools. I can add an installer if you want for Windows, but that is about it. I got stuck on figuring out how to get it to the Android app store in test mode - never could figure out the signature signing thing.

I'll note that I'll probably roll that into the "here is yet another try at this" that I am writing that would be a bit simpler to run. If anyone is curious, I'll post better directions but basically working on what pretty much every other COTI dev plays with - Traveller in software. For this version, you should be able to download the repository and go to the application directory and type "dotnet run" and it will run on Windows. For Mac and Linux you will need to download the .NET stuff which does run on those platforms (and may already be installed). It is a website. Just have nowhere really to deploy, plus it uses DB and I don't feel like adding user authentication and all that so that everyone has their own systems.

Last post on my blog has where I am at in that process. What sparked my interest to revisit this thread that, while writing the tech level DM stuff, my editor, which does have Copilot, actually write the code below for me - and I have no idea how it knew what the tech level DMs were for Traveller! I just typed in the 1st one for "A" and it suggested the rest. Technomagic! And when I've gotten stuck, I can just ask it a question and it usually has something useful. Though I noticed it was wrong on the class E port - but maybe I have an earlier print version!

And yes, perhaps a switch statement would be better.

Blog notes on the current state of the application here: https://traveller-ct.blogspot.com/2025/05/traveller-system-generator-part-8.html

if (planet.Starport.HexCode == "A") techlevel += 6;
else if (planet.Starport.HexCode == "B") techlevel += 4;
else if (planet.Starport.HexCode == "C") techlevel += 2;
else if (planet.Starport.HexCode == "D") techlevel += 0;
else if (planet.Starport.HexCode == "E") techlevel -= 2;
else if (planet.Starport.HexCode == "X") techlevel -= 4;

return techlevel;
 
Back
Top