• 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.

LBB2 cargo software

coliver988

SOC-14 1K
Baron
I've written a LBB2-style cargo generator for Windows. Not having actually played Traveller for almost 25 years (which makes me a CT fan obviously!) I re-opened my old books when I had to develop some XML-style software. I used the Traveller LBB2 to set up XML data files for searching on cargos and system data. If anyone would like a look-see, just let me know.
lbb2.jpg
 
Rock on!

Always love to see great programming work - but alas, I'm on a Mac (unix) machine... so please feel free to post a link and I'll take a peek inside my Windows shell.
 
Rock on!

Always love to see great programming work - but alas, I'm on a Mac (unix) machine... so please feel free to post a link and I'll take a peek inside my Windows shell.
 
link: http://www.box.net/public/8smg6r1bn1

this is a compressed folder, and contains:
cargos.exe - the executable (C#, requires .Net 1.1+)
cargos.xml - the LBB2 cargo file in XML
Aslan.xml - a very slightly modified LBB2 cargo listing w/a couple of special Aslan cargos (requires that you check the 'special cargos' check box
SpinwardMarches.xml - yes, another sector data file, this one in XML. it only has the Regina subsector in it, and of that, only Regina itself is expanded out as per Book 6. the other worlds just have their main world data as posted in 'The Imperial Fringe'
 
working on some updates, but I've added a button that, if you have internet access & the world defined has a permalink node defined, it will link to Joshua Bell's most excellent Traveller map w/that world centered. As before, only Regina has been expanded out, and this is also the only system that currently has a permalink defined.

Currently this is only for originating world, but I'll add that to the destination as well. Perhaps I am too bored at work...

new link: http://www.box.net/public/o6hkaf7k64
 
form1.cs (main form - does most of the processing): http://www.box.net/public/rfg004d72c

world.cs (picks the world from the available systems): http://www.box.net/public/c1vqsmdfex

both are C# programs and it would be trivial to convert to C/C++ with the exception of the XPath stuff. Unfortunately, the code is not entirely separated from the GUI (I get lazy). Essentially this is an experiment in using XML files, XPATH and some other technologies I wanted to play with.

the distance calculation routine came from AB's Traveller Astrography web page.

Update 10/20/06: I added a help file in case you want to see what it does at the moment: http://site.box.net/public/e5x8l6ksar

I'm also expanding out my XML system representation to be able to include URLS for the TML landgrab or other websites that detail specific worlds, and have given thought to being able to import Heaven & Earth data files into the schema. Just a thought...
 
Has anyone added sectors for this or expanded the spinward marches to include other subsectors?

I've done the Jewell and Lanth subsectors and will be doing more if anyone is interested.

This program is pretty sweet. If you do any future mods to this program, is there any chance we can see some shred-outs for the sub-categories of trade components from Merchant Prince?
 
Dead thread revival apparently...I did not know anyone actually used this.

You can use any .sec file ( say from the traveler map site) for the sector. All the tables are csv I think, with directions on how to modify them. I actually did do the extended Merchant Prince tables but may have never gotten around to doing anything with them.

The project is on git. Not the tables due to copyright and all that, but the code is freely available. Thinking about doing an update to use WinRT. Work gave me tablets (iPad and Surface) for test development think if this was portable that would be cool. Not so sure about iOS - objective C is...interesting.
 
Have you considered putting it in something like PHP? I started a project like that but paused for a while as no one used it. If it's in PHP you can put it on the web and folks can use it even if they don't have Windows.
 
I'm not much of a web dev - too many years doing LOB applications before there was a web...although I am doing all the web API dev work now, but there is no GUI for that. Just code.

All the back-end code could run on a IIS server for the most part. I would not want to, but in theory I could port it up to Azure or some other web provider that deals with IIS.

And I'm probably going for v3 sometime in the near future to run on WinRT(1) - that way it will run on Windows tablets & Win8 machines. Pretty much a total rewrite to get better OOP and play in the UI formerly known as Metro. Just bought me the Dell XPS 27 all in one - 27" 2480 touch screen - once you start using the screen to move around it makes a LOT of sense. But you have to actually use it and get used to the tablet style front end. But I've started trying to slide things on my mac at work from the screen. Somewhat embarrassing..

(1) although I am not convinced WinRT will do well for while. I do have a tablet for work because we explore possibilities. Compared to the iPad, I give it 60% in favor of the iPad, and 40% for Surface. But as I can write 1 program that will run on the tablet & the desktop, well, that makes life a lot easier. Plus there is a freaking USB plug on it as well as an SD slot - I can add whatever I want to it.
 
Back
Top