[nbos] AS2.0 Problem importing routes into sector

Alan Bartholet alan.bartholet at gmail.com
Wed Mar 9 15:24:31 EST 2011


Well I don't know for sure if that is the problem or not but it seems like a
likely suspect. I could probably find some time in the next few days to
write a quick post processing script for you if you like.

Best Regards,
Alan Bartholet

On Tue, Mar 8, 2011 at 10:36 PM, Dan Williamson <ENKI_29205 at yahoo.com>wrote:


> Son of a bug!

>

>

>

> I was hoping to do the whole thing with a single step on the import.

> Without writing a whole system and route importer myself, I will need to

> write a post processor in the API. I’m not very good with VB. Next stage:

> tweak the FastBang script to iterate over every route and set Modified to

> true.

>

>

>

> Is that what I would do?

>

>

>

> Thanks,

>

> Dan

>

> Mountain View

>

> _______________________________________

>

> "Don't let her chew your feet!" - Me to my son.

>

> "Don't hit your sister with the octopus!" - My Wife.

>

> "Hey!! Does meatloaf come from spiders?" - My son.

>

> "It's better than a good day, it's a rocket pack day!" - My son.

>

>

>

>

>

>

>

> *From:* nbossoftware-bounces at nbos.com [mailto:

> nbossoftware-bounces at nbos.com] *On Behalf Of *Alan Bartholet

> *Sent:* Friday, March 04, 2011 10:30 PM

> *To:* nbossoftware at nbos.com

> *Subject:* Re: [nbos] AS2.0 Problem importing routes into sector

>

>

>

> Hello Dan,

> I haven't played around with importing CSVs but I did discover that the

> route object has a property called Modified that is missing from the API.

> It must be set to true or the route will not get saved, it's possible that

> they are not getting properly flagged when you load the CSV.

>

> Best Regard,

> Alan Bartholet

>

> On Fri, Mar 4, 2011 at 10:52 PM, Dan Williamson <ENKI_29205 at yahoo.com>

> wrote:

>

> I am nearly done with a perl script that will determine the most important

> systems in a sector, generate all of the trade routes to link all of the

> systems to each other, using a jump route system inspired by 2300AD, and

> then determine the amount of relative traffic that might go between each

> system. It even creates an IPP table with each of the systems grouped by

> category Major, Minor, or Tertiary system. Minor Systems are those that are

> on the major trade routes between the Major systems. Tertiary systems are

> all other systems. The systems are weighted in the IPP table by the total

> economic value. The economic value is determined by the traffic on all

> connecting routes and the system’s inherent value due to population and

> mineral resources (minimum 1).

>

>

>

> The output of the script is a CSV file that can be imported into AS2.0 with

> all of the routes. This works fine. I can load the CSV and marvel at the

> network of trade routes I have created, see all of the important routes and

> even get a sense of the relative importance of those routes. I press the

> save button. Then I close AS, go to sleep or get dinner, and come back.

> When I open the sector again all of my trade routes are gone!

>

> Here is a sample CSV line:

>

> Route,S-18-01-08,Shteva,Trade,Route 9 (0),#0000FF,2,1

>

>

>

> Where are my routes and why can’t I see them anymore? Don’t they get

> saved? Is there some Filter setting I need to find?

>

>

>

> Thanks!

>

> Dan Williamson

>

> Mountain View, CA

>

>

>

> _______________________________________

>

> "Don't let her chew your feet!" - Me to my son.

>

> "Don't hit your sister with the octopus!" - My Wife.

>

> "Hey!! Does meatloaf come from spiders?" - My son.

>

> "It's better than a good day, it's a rocket pack day!" - My son.

>

>

>

>

> _______________________________________________

> Nbossoftware mailing list

> Nbossoftware at nbos.com

> http://www.pairlist.net/mailman/listinfo/nbossoftware

>

>

>

> _______________________________________________

> Nbossoftware mailing list

> Nbossoftware at nbos.com

> http://www.pairlist.net/mailman/listinfo/nbossoftware

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pairlist.net/pipermail/nbossoftware/attachments/20110309/5401ef81/attachment.htm>


More information about the Nbossoftware mailing list