Search found 12694 matches

by Geoff the Medio
Wed Jan 13, 2021 10:28 pm
Forum: Dev Blogs
Topic: Dead Code Must Be Removed
Replies: 2
Views: 41

Re: Dead Code Must Be Removed

I don't know a situation in C++ part but want to encourage someone to make a look at it and get low hanging fruit. Visual Studio has some built-in code analysis that I've used to find potential issues in FreeOrion code, but the results have been mostly unimportnant or arising from external, mostly ...
by Geoff the Medio
Tue Jan 05, 2021 11:00 am
Forum: General Discussion
Topic: Fourteenth game on the multiplayer slow game server
Replies: 167
Views: 3663

Re: Fourteenth game on the multiplayer slow game server

Turns out you can't but the interface tells you you can, then a bunch of your ships get blown up if you believe it. It specifically listed both systems as possible retreat squares, but the ships didn't move. I'm not majorly fussed which way it works, but the interface saying one thing and the game ...
by Geoff the Medio
Mon Jan 04, 2021 10:34 pm
Forum: Play-Testing Feedback
Topic: FreeOrion 0.4.10.1 - Long turn data transfer times during internet games
Replies: 1
Views: 113

Re: FreeOrion 0.4.10.1 - Long turn data transfer times during internet games

If you notice something like this happening, it would be helpful to include client and server log files from when it happens and a save that reproduces the issue when reporting it...
by Geoff the Medio
Mon Jan 04, 2021 6:58 pm
Forum: Support
Topic: Compiling V0.4.10.1
Replies: 2
Views: 121

Re: Compiling V0.4.10.1

[ 62%] Linking CXX executable freeorion /usr/bin/ld: CMakeFiles/freeorion.dir/UI/SidePanel.cpp.o: undefined reference to symbol 'glMaterialfv' /usr/bin/ld: //lib/x86_64-linux-gnu/libGL.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Looks similar...
by Geoff the Medio
Sun Dec 20, 2020 11:03 am
Forum: Support
Topic: "The connection to the server has been lost."
Replies: 10
Views: 600

Re: "The connection to the server has been lost."

CFV, are you able to compile FreeOrion from source? Possibly adding #if defined(MS_WINDOWS) // forces stream encoding to UTF8, which will hopefully fix issues on windows with non-english locale settings const std::string ENCODING{"UTF-8"}; auto encoding_result = Py_SetStandardStreamEncoding(ENCODING...
by Geoff the Medio
Sun Dec 20, 2020 10:40 am
Forum: Support
Topic: "The connection to the server has been lost."
Replies: 10
Views: 600

Re: "The connection to the server has been lost."

Geoff the Medio wrote: Thu Dec 17, 2020 1:42 pm
I could avoid this problem by adding
Code

-Dfile.encoding=UTF-8

to "bin\pycharm.exe.vmoptions".
Is that something we can pass or set somehow when launching the Python interpreter?
Probably can be done with Py_SetStandardStreamEncoding but I'm not sure what valid parameter values would be.
by Geoff the Medio
Fri Dec 18, 2020 1:29 pm
Forum: Other Game Design
Topic: Idea: starlane disruption
Replies: 6
Views: 384

Re: Idea: starlane disruption

So the converse of the Spatial Distortion Generator, that pulls ships in instead of pushing them away?
by Geoff the Medio
Thu Dec 17, 2020 1:42 pm
Forum: Support
Topic: "The connection to the server has been lost."
Replies: 10
Views: 600

Re: "The connection to the server has been lost."

Fatal Python error: Py_Initialize: can't initialize sys standard streams LookupError: unknown encoding: cp932 Current thread 0x00003f60 (most recent call first): Googling the error gave this: https://stackoverflow.com/questions/51053464/fatal-python-error-py-initialize-cant-initialize-sys-standard-...
by Geoff the Medio
Tue Dec 15, 2020 10:33 pm
Forum: Support
Topic: "The connection to the server has been lost."
Replies: 10
Views: 600

Re: "The connection to the server has been lost."

The system is in Japanese, with Japanese windows Are you able to run programs from the command line? All I can think to suggest is to have you run freeoriond.exe from the windows command prompt and see if it starts up, then in a separate command prompt window, run "freeorion --network.server.extern...
by Geoff the Medio
Mon Dec 14, 2020 10:00 pm
Forum: Support
Topic: "The connection to the server has been lost."
Replies: 10
Views: 600

Re: "The connection to the server has been lost."

What language is the system set to that you're running FreeOrion on? The client log has something slightly suggestive:

Code: Select all

22:45:45.799136 {0x00001ef4} [error] client : process.cpp:169 : Process::Impl::Kill : Error terminating process: アクセスが拒否されました。
by Geoff the Medio
Sat Dec 12, 2020 4:28 pm
Forum: Scripting & Balancing
Topic: Excruciating FOCS doubts
Replies: 48
Views: 1832

Re: Excruciating FOCS doubts

Can I use "Statistic" or something else to query the planetary focus within an effect? Something like value = Value + (Statistic Condition LocalCandidate.focus = "FOCUS_PROTECTION") + 1 Yes, with an arbitrary condition, like https://github.com/freeorion/freeorion/blob/master/default/scripting/ship_...
by Geoff the Medio
Fri Dec 11, 2020 11:02 pm
Forum: Programming
Topic: Continous Integration Questions, Answers and Howto Thread
Replies: 27
Views: 9097

Re: Continous Integration Questions, Answers and Howto Thread

TravisCI support got back to me, saying they granted the @geoffthemedio account 60k credits. I'm not sure if those will be applied automatically to FreeOrion builds or if we'd need to do something extra to make that happen. FreeOrion test builds seem to be running anyway, without apparently consumin...
by Geoff the Medio
Wed Dec 09, 2020 9:31 am
Forum: General Discussion
Topic: Charts, and other things that could help
Replies: 7
Views: 461

Re: Charts, and other things that could help

The way the objects list works would make actually showing icons, instead of text, somewhat more difficult to implement. Would need to check the type of the column when generating the Control that represents it and handle accordingly...
by Geoff the Medio
Tue Dec 08, 2020 11:00 pm
Forum: General Discussion
Topic: Charts, and other things that could help
Replies: 7
Views: 461

Re: Charts, and other things that could help

Currently, unless I have map view enlarged ridiculously I have a hard time telling the difference between a white and a blue star, a red star and a neutron star (neutron stars are important for me), a yellow star and an orange star, likewise, black holes are depicted rather darkly and can be hard t...
by Geoff the Medio
Tue Dec 01, 2020 5:00 pm
Forum: Other Game Design
Topic: RFC: A single source for default values (FOCS, python, stringtables, backend)
Replies: 79
Views: 5345

Re: RFC: A single source for default values (FOCS, python, stringtables, backend)

you can just skip them. but you can use them where you consider adding extra information to the tooltip to be useful Really? That's great. I thought I could only skip the ones with empty strings. Does that mean that of the strings that currently just contain "per population" can be removed from the...