Search found 55 matches

by Rydra
Thu Oct 10, 2013 2:11 pm
Forum: Programming
Topic: About freeorion's performance
Replies: 82
Views: 12416

Re: About freeorion's performance

I think GG is designed to render the UI every frame. Things animate in FO, so frequent rendering is required. If you want to limit rendering resource usage, use the FPS limit setting. Other games (Urban Terror or Battle for Wesnoth come to my mind) require frequent rendering as well, without that m...
by Rydra
Thu Oct 10, 2013 8:18 am
Forum: Programming
Topic: About freeorion's performance
Replies: 82
Views: 12416

Re: About freeorion's performance

But... that's extremely inefficient IMHO. Is it the way GG is implemented or is it inherent to OGRE? Just asking.
by Rydra
Thu Oct 10, 2013 7:03 am
Forum: Programming
Topic: About not being able to play Single player when disconnected
Replies: 14
Views: 1047

Re: About not being able to play Single player when disconne

I'll have some time at Thurday evening or Sunday night. Unfortunately I won't have spare time on Thursday evening, so Sunday night is going to be it ;) Although I've to ask: What do you mean by "night"? 2am in the morning...? :mrgreen: Allright, see you on Skype. I'll add you, then we'll talk whene...
by Rydra
Wed Oct 09, 2013 8:55 pm
Forum: Programming
Topic: About freeorion's performance
Replies: 82
Views: 12416

About freeorion's performance

I'd wish to pose some questions about graphics just to feed my curiosity. This prolly has been discussed a hefty amount of times, yet I'm trying to clarify the reason. Freeorion, even on an "idle" state consumes an insane amount of CPU (almost always at 90-100% on a Intel I5, 55% when limiting FPS t...
by Rydra
Tue Oct 08, 2013 8:00 pm
Forum: Programming
Topic: About not being able to play Single player when disconnected
Replies: 14
Views: 1047

Re: About not being able to play Single player when disconne

We could arrange a sample game at some point on time, here I'm at GMT+1. Should be doable, as I'm also at GMT+1. I just don't know when I'll have time for that. Tomorrow evening might be possible - we'll need to coordinate... are you on Skype? My Skype name is (surprise!) "vezzra". I'll have some t...
by Rydra
Tue Oct 08, 2013 7:08 pm
Forum: Programming
Topic: About not being able to play Single player when disconnected
Replies: 14
Views: 1047

Re: About not being able to play Single player when disconne

Is someone willingful to test it or can test it easily? I intend to (also to check if everything is alright on OSX), but might not get to it before the weekend. I've tested the game with the patch on a local LAN home and multiplayer works fine. Next step should be testing on a real use case of outs...
by Rydra
Tue Oct 08, 2013 12:37 pm
Forum: Programming
Topic: About not being able to play Single player when disconnected
Replies: 14
Views: 1047

Re: About not being able to play Single player when disconne

Alright, I've tested Dilvish's patch and FreeOrion works well on single-player (played some turns no problemo) when off-line. It should be tested whether multiplayer online gaming has been broken with this change or works out of the box.

Is someone willingful to test it or can test it easily?
by Rydra
Mon Oct 07, 2013 10:21 pm
Forum: Programming
Topic: About not being able to play Single player when disconnected
Replies: 14
Views: 1047

Re: About not being able to play Single player when disconne

Hmm, I had never noticed that before, that simply pulling my ethernet cable prevents the game from working. You do seem to have correctly identified the issue, removing that flag from the query let FO run fine without the ethernet cable attached, on Linux. Attached is a patch file (a mere one line ...
by Rydra
Mon Oct 07, 2013 8:02 pm
Forum: Programming
Topic: Questions about architecture
Replies: 6
Views: 458

Re: Questions about architecture

Serializing pointers incurs significantly more overhead than serializing value types, since you ('you' meaning boost, in this case) need to keep track of every object that's pointed to by anyone, and make sure that you create that object only once, and have all the right objects on the other end po...
by Rydra
Mon Oct 07, 2013 7:57 pm
Forum: Programming
Topic: About not being able to play Single player when disconnected
Replies: 14
Views: 1047

About not being able to play Single player when disconnected

Hi there, I remember some time ago I've read (and experienced myself) that when I'm offline with my laptop (for instance, at train) I couldn't play freeorion as it didn't connect to localhost. After doing some debugging, I realised that the problem relies on boost libraries (I think the library is c...
by Rydra
Fri Oct 04, 2013 9:05 pm
Forum: Programming
Topic: Questions about architecture
Replies: 6
Views: 458

Re: Questions about architecture

Serialization, robustness, and inertia. Lots of things reference other things by ID instead of pointer in FreeOrion code. This is useful in cases where there might be multiple instances in memory of the relevant object (not applicable to empires), and it makes state dumping easier than would a poin...
by Rydra
Fri Oct 04, 2013 6:25 pm
Forum: Programming
Topic: Questions about architecture
Replies: 6
Views: 458

Questions about architecture

Hi there, Right now I'm performing an UML modeling of the whole freeorion architecture (which I think it will be useful in order to give a higher degree of visualization and documentation). However, while analyzing the code, I've seen that several classes that are interconnected (e.g. Empire, Diplom...
by Rydra
Mon Sep 30, 2013 6:55 pm
Forum: Compile
Topic: Debugging freeorion with gdb
Replies: 8
Views: 1299

Re: Debugging freeorion with gdb

Dilvish wrote:I'm using KDevelop4.5
I wonder when Ubuntu will update kdevelop 4.5 (not feeling like compiling it tbh). I miss archlinux... yet it has become a worse distribution every year it passes...
by Rydra
Sun Sep 29, 2013 8:15 am
Forum: Compile
Topic: Debugging freeorion with gdb
Replies: 8
Views: 1299

Re: Debugging freeorion with gdb

How do you use the root directory of FreeOrion as build target in Kdevelop? When I try to assign it at the Configure Project window, it says "the selected build directory is not empty". I do it at project creation. I can recall that message temporarily appearing during the project creation process....
by Rydra
Sat Sep 28, 2013 9:10 am
Forum: Compile
Topic: Debugging freeorion with gdb
Replies: 8
Views: 1299

Re: Debugging freeorion with gdb

I'll try setting up the xorg option later and post the results. I don't know if the OISInput works for the executable I've generated with Kdevelop (the executable is generated on another folder called "build" which does not contain the OISInput.cfg. May that be the issue?). Ah, try copying OISInput...