Experimentors [build 2015-07-16.5195e60]

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Post Reply
Message
Author
AndrewW
Juggernaut
Posts: 791
Joined: Mon Feb 04, 2013 10:15 pm

Experimentors [build 2015-07-16.5195e60]

#1 Post by AndrewW »

All they have been doing is opening a lane between their system and another isolated system.
Experimentors.png
Experimentors.png (354.06 KiB) Viewed 1611 times

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Experimentors [build 2015-07-16.5195e60]

#2 Post by Dilvish »

Ah, interesting-- I had raised a concern about this possibility before, but we hadn't ever actually seen it happen. The experimentor script has some limits on the longest starlane it will open (100 uu), which is causing the trouble here. We don't want it just will-nilly opening up starlanes to far away systems, but I think we can get another good use out of that statistics parsing that Geoff and I worked so hard on a while back.

I''l take a look at scripting it up so that the Experimentor outpost will open up lanes to the 4 nearest systems, regardless of distance. Since we've been planning on allowing players to scale up their galaxy size this would probably become an even more important point.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Experimentors [build 2015-07-16.5195e60]

#3 Post by Geoff the Medio »

Also consider using CanAddStarlanesTo ...

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Experimentors [build 2015-07-16.5195e60]

#4 Post by Dilvish »

Geoff the Medio wrote:Also consider using CanAddStarlanesTo ...
I got the basic thing to work, and committed it, but CanAddStarlanesTo didn't seem to like any of the 5 candidate systems, and in my test case either 3 or 4 of them should have been ok (one involved a lane crossing, another might maybe have required passing too close to another system).

I left the CanAddStarlanesTo condition there, simply commented out, in case you want to experiment with it yourself.
commit https://github.com/freeorion/freeorion/ ... ef]8198884
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Experimentors [build 2015-07-16.5195e60]

#5 Post by Geoff the Medio »

Dilvish wrote:...CanAddStarlanesTo didn't seem to like any of the 5 candidate systems, and in my test case either 3 or 4 of them should have been ok
I think I've fixed the issues with CanAddStarlanesTo.

Post Reply