Search found 231 matches

by Chriss
Sat Mar 28, 2015 5:57 pm
Forum: Programming
Topic: New starname clustering method, some questions
Replies: 33
Views: 2072

Re: New starname clustering method, some questions

Dilvish wrote:1) randomly choose some initial cluster centers
Based on coordinates, as in: randomly pick some coordinates as center? No, you're picking some systems... Okay... So my code should work if I skip the recalc step... Lemmy try that... ;)
by Chriss
Sat Mar 28, 2015 3:24 pm
Forum: Programming
Topic: New starname clustering method, some questions
Replies: 33
Views: 2072

Re: New starname clustering method, some questions

Okay, so this is more difficult than I thought it would be... ;) The first try of using systems with more than 4 starlanes as cluster centers and adding all systems which do not have other neighbours to that cluster is not enough - you do not add enough systems. Then I thought to use something like ...
by Chriss
Fri Mar 27, 2015 9:25 pm
Forum: Compile
Topic: Build failure: PythonUniverseGenerator.h missing
Replies: 6
Views: 5765

Re: Build failure: PythonUniverseGenerator.h missing

Who besides adrian_brother has a deeper understanding of cmake? Who's the primary maintainer of the cmake build system, so to speak?
by Chriss
Fri Mar 27, 2015 9:18 pm
Forum: Compile
Topic: FreeOrion does not compile on gentoo
Replies: 5
Views: 6198

Re: FreeOrion does not compile on gentoo

Yep, basically that was a lot if miss communication, or rather no communication... It's good that's cleaned up now. I would count this as another reason to push out 0.4.5 as next step after the github migration. It would help Gentoo and Arch as rolling release distros, since we are already at newer ...
by Chriss
Tue Mar 17, 2015 9:45 pm
Forum: Scripting & Balancing
Topic: What does different mean?
Replies: 9
Views: 1048

Re: What does different mean?

That's not the point. There was some talk about other production and research centers than colonies. Basically the point of the Goo is that they do not have a base. They do not have buildings. They just have their Mothers, which can move. Here, it would be something like a Mothership, or a Generatio...
by Chriss
Tue Mar 17, 2015 8:07 pm
Forum: Scripting & Balancing
Topic: What does different mean?
Replies: 9
Views: 1048

Re: What does different mean?

I'd like to throw the Goo species from Grey Goo into the mix. Have a look at https://www.youtube.com/watch?v=fOGlrDkYI-s please. I like the no base but mothership like idea, which is really different and seems to work nicely for that game. Maybe we can do something like this for a really different s...
by Chriss
Mon Mar 16, 2015 5:42 pm
Forum: Programming
Topic: New starname clustering method, some questions
Replies: 33
Views: 2072

Re: New starname clustering method, some questions

The code is more or less readable as far as I've dug in. No issue as far as "what does this code do". The issue is typically with "what else is there" in terms of functionality. I found the function to get the neighbours by using "print dir(fo)" and looking at the log. It is just not as easy as an a...
by Chriss
Mon Mar 16, 2015 2:40 pm
Forum: Programming
Topic: New starname clustering method, some questions
Replies: 33
Views: 2072

Re: New starname clustering method, some questions

Sorry, I meant: is there documentation specific to the server side python interface? Apart from the code?
by Chriss
Sun Mar 15, 2015 10:29 pm
Forum: Programming
Topic: New starname clustering method, some questions
Replies: 33
Views: 2072

Re: New starname clustering method, some questions

sys_get_starlanes(system) returns a list of ids of the systems system has starlanes to. So, you don't need to process the list you get from sys_get_starlanes any further, it is already the list of the directly adjacent neighbor systems. That's a nice solution... I'd even say nifty, because it is so...
by Chriss
Sat Mar 14, 2015 9:40 pm
Forum: Programming
Topic: New starname clustering method, some questions
Replies: 33
Views: 2072

New starname clustering method, some questions

I'd like to change the way starnames are clustered so that they are not clustered based on euclidean distance, but based on jumps. Basically, my idea is to have a center system (high number of starlanes) and then name the neighboring systems likewise, more or less regardless of distance. Not sure ye...
by Chriss
Sat Mar 14, 2015 8:45 am
Forum: Programming
Topic: autocompleate in IDE for Python API
Replies: 51
Views: 5257

Re: autocompleate in IDE for Python API

I just tried this with PyDev in Eclipse and it seems to work fine for AI - but I wanted to try something in the Universe Generation parts - which use import freeorion as fo. No biggie though, I just added a copy of the file as freeorion.py, which worked so far and resolved most of the missing includ...
by Chriss
Fri Mar 13, 2015 9:23 pm
Forum: Other Game Design
Topic: Production Queue - sort options
Replies: 3
Views: 733

Re: Production Queue - sort options

One thing I have often missed in the production screen is the STRG + double click feature that the research screen has and which puts items at the top of the list. Great for new stuff that you need ASAP. Shipyards, drydocks, troop or outpost ships...
by Chriss
Fri Mar 13, 2015 7:35 pm
Forum: Compile
Topic: Link Error in freeoriond due to 8033
Replies: 1
Views: 1371

Link Error in freeoriond due to 8033

Linking CXX executable ../freeoriond CMakeFiles/freeoriond.dir/__/python/server/PythonServerWrapper.cpp.o: In function `(anonymous namespace)::GenerateSitRep(int, std::string const&, boost::python::dict const&, std::string const&)': PythonServerWrapper.cpp:(.text+0x3a1): undefined reference to `Cre...
by Chriss
Fri Mar 13, 2015 11:06 am
Forum: Play-Testing Feedback
Topic: Natives Ate My Homeworld!
Replies: 5
Views: 531

Re: Natives Ate My Homeworld!

It's an issue in universe_generator.py in create_universe. The code which assigns the home system to each empire uses home_systems.pop() so afterwards, home_systems is empty when it is passed to generate_natives. This then causes the condition jump_distance > 1 between native systems and empire home...
by Chriss
Fri Mar 13, 2015 10:17 am
Forum: Play-Testing Feedback
Topic: Natives Ate My Homeworld!
Replies: 5
Views: 531

Re: Natives Ate My Homeworld!

Yeah, got the same issue. Natives are definitely placed there as confirmed by the logs. I'll debug this a bit, it should not happen from my first glance at the code.