Search found 12698 matches

by Geoff the Medio
Mon Jan 25, 2021 7:20 pm
Forum: FreeOrion Project
Topic: Online voice chat meeting, Monday January 25th 2021
Replies: 3
Views: 29

Re: Online voice chat meeting, Monday January 25th 2021

Ugh, sorry, I forgot until just now.
by Geoff the Medio
Fri Jan 22, 2021 2:47 pm
Forum: Compile
Topic: Many instances of new warnings
Replies: 3
Views: 64

Re: Many instances of new warnings

...passing a string literal to a function accepting pointers to non-const characters. Not really... static constexpr char* bool_regex = "(?i:true|false)"; should be static constexpr const char* bool_regex = "(?i:true|false)"; because while constexpr implies the pointer itself is const, that doesn't...
by Geoff the Medio
Fri Jan 15, 2021 5:30 pm
Forum: Programming
Topic: Python3 migration
Replies: 70
Views: 17784

Re: Python3 migration

Cjkjvfnby wrote: Fri Jan 15, 2021 5:09 pmIt was not my choice.
I didn't mean / assume it was, rather just that you'd know why, such as it being due to the limits of some Linux distros.
by Geoff the Medio
Fri Jan 15, 2021 4:32 pm
Forum: Programming
Topic: Python3 migration
Replies: 70
Views: 17784

Re: Python3 migration

Cjkjvfnby wrote: Fri Jan 15, 2021 3:59 pmHow python3.5 version was chosen?
I would have thought you'd know better than most people likely to reply...
Is it a good time to check if we can switch to a more modern version now?
I think so.
by Geoff the Medio
Wed Jan 13, 2021 10:28 pm
Forum: Dev Blogs
Topic: Dead Code Must Be Removed
Replies: 3
Views: 84

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: 186
Views: 4255

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: 2
Views: 238

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: 226

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: 716

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: 716

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: 484

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: 716

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: 716

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: 716

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: 1890

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