Friday, 2011-10-21

*** tpb has joined #freeorion00:00
*** theTroy has quit IRC00:38
*** tpb has joined #freeorion01:00
*** lethu has joined #freeorion01:03
*** lethu has joined #freeorion01:03
CIA-29FreeOrion: eleazzaar * r4423 /trunk/FreeOrion/default/ (buildings.txt eng_stringtable.txt): added sitrep message when the gateway to the void destroys something.02:49
dansanHey, can I get a little help with this "Failed to find an Ogre GL render system"?  I swear I'ved tried everything03:02
dansanI've installed into my ${HOME}/local/freeorion, set my LD_LIBRARY_PATH and PATH to pick up things where they should, and tried every trick from http://www.freeorion.org/index.php/Compile_In_Linux03:03
tpb<http://ln-s.net/2hix> (at www.freeorion.org)03:03
dansanDoes this only work if you compile in-tree?  I don't do that because it is evil03:04
dansangrrr, a bot03:05
dansanGeofftheMedio: ping?03:05
*** STalKer-X has quit IRC03:08
*** STalKer-Y has joined #freeorion03:08
GeofftheMediodansan: have a look at ogre.log in ~/.freeorion/ if present03:19
GeofftheMediomight have something useful...03:19
dansanahh, good idea, thanks03:20
dansanAnd my KDevelop 4.2 is worthless as a debugger right now, it kills its self quite redily :(03:20
dansanOGRE EXCEPTION(6:FileNotFoundException): '/tmp/daniel/freeorion/ogre_plugins.cfg' file not found! in ConfigFile::load at /tmp/portage/dev-games/ogre-1.7.3/work/ogre_src_v1-7-3/OgreMain/src/OgreConfigFile.cpp (line 83)03:21
dansanand there we have it03:21
GeofftheMedioalso, do you have ogre_plugins.cfg...03:21
GeofftheMediowas what I was about to type03:21
dansanso maybe it needs to be installed on a "make isntall"03:21
dansanhehe :)03:21
dansanI prefer to build in my /tmp (tempfs) because it's so much faster03:22
GeofftheMedioit's in the root directory in SVN03:22
dansanbut with ogre, there's so much TMP that compilation is slow enough, I/O is probably not a bottleneck03:22
GeofftheMedioif you'd like to suggest a patch to the CMake files so that that happens, that might be helpful03:22
dansanI guess because of all of the TMP at least03:22
dansanokies, I'll try to write up a bug report03:23
GeofftheMedioall we need is a patch... there's not that much of a bug to report....03:23
dansansweet! I made it all of the way to the next error! :)03:24
dansanokies03:24
dansanI don't know CMake to save my life :(03:24
GeofftheMediothen I suppose you won't be able to make a patch03:24
GeofftheMedioposting something on the forums might help. though03:24
GeofftheMedioso someone else is more likely to see it03:25
dansanmain() caught exception(GG::Font::BadFile): Face object created from "/home/daniel/local/freeorion/default/DejaVuSans.ttf" was invalid03:25
dansanit appears to have created a double default directory03:25
GeofftheMediojust a sourceforge bug report won't get much attention03:25
dansanokies03:25
dansan /home/daniel/local/freeorion/default/default/03:25
GeofftheMedioI vaguely recall something similar to that being reported by someone...03:25
dansanI'll just move it03:25
dansansweet! I got it to run, thanks03:26
GeofftheMediohttp://www.freeorion.org/forum/viewtopic.php?p=42609#p4260903:26
tpb<http://ln-s.net/9EvS> (at www.freeorion.org)03:26
dansanmouse cursor acting wierd, but this is what I was trying to get to03:26
GeofftheMedioyeah, there's a lot of issues with the input library OIS03:26
GeofftheMedioon various OSs03:26
dansanahh, ic03:26
dansanfrom what I saw with the initial alpha release, GiGi is one slick widget lib03:27
GeofftheMediotzlaine might appreciate hearing that03:27
dansan=)03:28
dansanWell, I certainly appreciate it03:28
dansanI was considering using it in a fork of Glest03:28
GeofftheMedioI don't know what that is03:29
dansanOh, just a GPL RTS03:29
GeofftheMedioo03:29
dansansome guys in Spain made it as their final project for their Game dev degree.  I picked it up and forked it.  Now  I'm working on the begginings of an open source Unity3D competing product (minus all of the GUIs)03:30
dansanBasically, a game engine toolkit03:30
GeofftheMediothat sounds like a complete waste of time that's doomed to fail, but good luck...03:31
dansanHey, do you do any astrophysics in FreeOrion?03:31
dansanlol! ty =)03:31
GeofftheMedionot really...03:31
dansanYeah, it's fairly insane, but I don't mind03:31
GeofftheMediothere was a bit of discussion about having stars nova or supernova03:31
dansanOK, just curi9ous. Something I was eventually wanting to put into a Glest mod03:31
GeofftheMedioyou might want to google thousand parsec03:32
dansanI wrote the basics for modeling celestial bodies03:32
GeofftheMedioor ask tpb03:32
dansanoooh, cool.  II would much rather reuse :)03:32
dansanWell, my project concept would include FPS, RTS, RPG, MMORPG, 2D/3D/text (ncurses)03:33
dansannot that I would write all of that, but it would be designed for it all via connectors, but still as lightweight as the features you use03:34
GeofftheMediouh... yeah.03:34
dansanhehe :)03:34
GeofftheMediowhat you're suggesting is called C++ and OGRE03:34
dansannaw, Ogre is just the rendering engine03:34
dansanAnd I'm definately using Ogre as the 3D presentation03:34
dansanBut I'm even planning on (most probably) abstracting it so that another 3d rendering can be used in place03:35
GeofftheMediomy point being anything general enough for all those initials will be about as general as writing from scratch03:35
dansanNot really03:35
dansanLuckily, that's an area where I'm best at03:35
GeofftheMedioif you say so...03:35
dansanWell, in a few weeks I'm going to try to have an intial requires written up03:36
dansanOh yeah, there are so many different facilities and concepts that can be encapsulated in generic form and reused03:36
dansanThe cost is on the compiler =)03:36
dansanAnd some of it will probably require pre-processor abuse :( I'm not really at that stage yet, so I'm not worrying about it yet03:36
dansanAnyway, I'm going to play your game :)03:37
dansanerr, *requirements I meant03:37
CIA-29FreeOrion: geoffthemedio * r4424 /trunk/FreeOrion/universe/Universe.cpp:05:52
CIA-29FreeOrion: Added line to initialize player homeworlds with a large food allocation, so that05:52
CIA-29FreeOrion: first-turn meter setting doesn't produce a weird one-turn apparent large health05:52
CIA-29FreeOrion: bonus due to a quirk in the relevant effects when using the new / experimental05:52
CIA-29FreeOrion: lack of food reducing health scripts in humans.05:52
*** __alex has joined #freeorion08:11
CIA-29FreeOrion: geoffthemedio * r4425 /trunk/FreeOrion/server/ServerApp.cpp:08:17
CIA-29FreeOrion: Gave newly colonized planets a default large food allocation, similar to08:17
CIA-29FreeOrion: previous commit. This isn't actually used as their food allocation, but is08:17
CIA-29FreeOrion: necessary so conditions function correction when testing if enough food is08:17
CIA-29FreeOrion: allocated for their need.08:17
*** theTroy has joined #freeorion08:25
*** VargaD has joined #freeorion08:37
*** GeofftheMedio has quit IRC09:03
*** GeofftheMedio has joined #freeorion09:07
*** GeofftheMedio has quit IRC09:11
*** GeofftheMedio has joined #freeorion09:12
*** tpb has joined #freeorion09:32
CIA-29FreeOrion: geoffthemedio * r4426 /trunk/FreeOrion/universe/ (Effect.cpp Universe.cpp):09:53
CIA-29FreeOrion: -Added safety checks to Universe::JumpDistance in case invalid system IDs are passed, to avoid crashes.09:53
CIA-29FreeOrion: -Modified GenerateSitRepMessage::Dump to avoid a crash if no empire id ValueRef is specified.09:53
CIA-29FreeOrion: geoffthemedio * r4427 /trunk/FreeOrion/UI/EncyclopediaDetailPanel.cpp: Added total attack power of a ship design to the list of possible substituted statistics for encyclopadia entries.10:13
*** guini has quit IRC11:07
*** guini has joined #freeorion11:09
*** tpb` has joined #freeorion11:34
*** tpb has quit IRC11:34
*** tpb` is now known as tpb11:34
*** poelzi has quit IRC11:36
*** poelzi has joined #freeorion11:36
*** lethu has quit IRC13:12
*** lethu has joined #freeorion13:25
*** lethu has joined #freeorion13:25
*** Farmer_ has joined #freeorion13:35
*** StrangerDanger has joined #freeorion13:35
*** lethu has quit IRC13:44
*** tpb has joined #freeorion13:47
*** lethu has joined #freeorion13:56
*** lethu has joined #freeorion13:56
*** Xenux has joined #freeorion15:46
CIA-29FreeOrion: eleazzaar * r4428 /trunk/FreeOrion/default/eng_stringtable.txt: improved descriptions for some space monsters.15:58
*** Digit01 has joined #freeorion16:00
*** Digit01 has quit IRC16:56
*** Digit01 has joined #freeorion16:56
dansanFYI: Target boost::polymorphic_downcast(Source*) [with Target = HumanClientFSM*, Source = boost::statechart::state_machine<HumanClientFSM, IntroMenu>] assertion failed (last release, not head and only when closing app).  Sorry, it didn't include where it was called from :(17:01
GeofftheMedioknown issue, not a problem since it only happens on exit17:02
dansanoh, ok :)17:02
dansanMaybe you meant boost::statechart::state_machine<HumanClientFSM, SomeOtherMenu>?17:02
dansanI'm just learning boost these last few months, it's a marvelous thing17:02
dansanWell, been using small parts of it for a few years, but nothing serious until lately17:03
GeofftheMedioif you can fix with a patch, please submit it17:03
dansanhey, good idea :)17:03
*** guini has quit IRC17:11
*** guini has joined #freeorion17:12
*** neoneurone has joined #freeorion17:19
*** guini has quit IRC17:25
*** guini has joined #freeorion17:26
*** StrangerDanger has quit IRC17:29
*** StrangerDanger has joined #freeorion17:30
dansanYour GetOptionsDB are purdy!  GPL right? :)17:42
GeofftheMedioyes17:42
GeofftheMedioit's not that great though...17:42
dansanBetter than the last one I wrote17:43
GeofftheMediosee the bug re: empty strings being read in as "1"17:43
dansanWell, you may have sucked me in.  This would be a good project for me to learn boost & mpl on :)17:43
dansanoops :)17:43
GeofftheMediothere is extensive use of boost17:43
dansanThen again, the last one I wrote was made to have a super small footprint, not be prtty17:43
dansanyeah, I could tell when I compiled it (slow :)17:44
*** neoneurone has quit IRC17:52
*** lethu has quit IRC17:59
dansanWell, looks like if I'm going to do anything, I'm going to have to start on this mouse bug: http://sourceforge.net/tracker/?func=detail&aid=2797666&group_id=75752&atid=54494218:06
tpbTitle: SourceForge.net: FreeOrion: Detail: 2797666 - Mouse Cursor Disappears (at sourceforge.net)18:06
GeofftheMediowould be nice, though I suspect it's complicated and related to dependencies18:07
dansanWhen I break it in my debugger, I have neither mouse nor keyboard.  I can still shift-alt-F1 luckily, however18:07
dansanor ctrl-alt, whatever it is18:07
dansanyeah, I'm sure it is18:07
dansanand may end up being a bug fix in their lib18:08
dansanKinda stuck otherwise :(18:08
GeofftheMedioyou might have a look at OISInput.cfg18:08
GeofftheMediox11_mouse_hide=true probably has something to do with it18:08
GeofftheMediothough there's probably a reason it's true18:08
dansanok18:09
dansanperhaps OIS expects to execute some code for certain events, but can't when the program is suspended18:09
dansanI also get a double mouse pointer sometimes18:09
* dansan kicks CIA-2918:10
CIA-29ow18:10
*** lethu has joined #freeorion18:12
dansanyeah, I'm stuck :(  I even tried attaching gdb from the root console,  (doesn't let you run two debuggers on the same process)18:16
*** GeofftheMedio has quit IRC18:25
dansanga! another config file that isn't there when you make install :(18:26
dansanwill these eventually get pulled from ${HOME}/.freeorion?18:27
dansanhehe, that solved my problem :)18:28
*** GeofftheMedio has joined #freeorion18:36
dansanHey, how are you guys handling patches now?  On the forums or via sourceforge bug reports?18:40
GeofftheMedioforum post is preferred18:40
dansanok18:40
dansanGeofftheMedio: hey, what if mainSetupAndRunOgre() checks ${HOME}/.freeorion (or the windows equiv, I think SERDIR%/Application Settings/somethin) for ogre_plugins.cfg, prior to the location of the executable?18:49
dansanoops, I hit an IRC format thing :)18:50
dansan%USERDIR%/Application Settings/something18:50
GeofftheMediowhat if it does?18:50
dansanIn other same for OISInput.cfg18:50
dansanInstead of relying on them being in the same directory as the executable.  Is that OK?18:51
dansanerr, my typing sucks today.  I meant "the same for OISInput.cfg"18:51
dansanBut windows friendly too18:51
GeofftheMediowhat if that directory / file doesn't exist?18:51
dansanthen it looks in the directory where the executable is (as now)18:52
GeofftheMediomeaning there's two versions of the file to keep track of?  not fond of that idea...18:52
dansanI can fix the part where make install doesn't put the cfg files in, I found that, but on *nix, you're not supposed to put cfg files where binaries go18:52
dansanhmmm18:52
dansanPerhaps treat it differently on windows than on *nix?18:53
dansanAlso, we can have the originals somewhere in your data directories and if they don't exist in the user config directory to copy them there18:53
dansanunless you think it's something that the user shouldn't ever have to change18:53
dansanhmm, or even have them picked up from the application data directory on *nix.  I need to build the deb & rpm packages to see what you guys are already doing with that18:54
GeofftheMedio"you guys" don't have anything to do with deb or rpm packages18:56
GeofftheMedioHave a look at Directories.cpp18:56
GeofftheMedioparticularly GetRootDataDir()18:56
GeofftheMediowhich is already separately compiled for Linux vs. Windows. Vs. OSX18:56
GeofftheMedioand yes, OISInput.cfg and ogre_plugins.cfg aren't something users should need to change18:58
dansancool18:59
dansanCMake and "you guys" don't build .deb & rpms yet huh?19:00
GeofftheMediowe don't provide linux binaries or packages19:00
GeofftheMediowe used to provide statically linked linux binaries, but the compiler stopped providing them19:00
GeofftheMedio(compiler = a person)19:00
dansanhehe19:00
dansannice19:00
GeofftheMedionot really19:00
dansanwell this is good.  So how about a pre-initialization santiy checking function that looks for things that are messed up and tells the user via stderr on Linux and MessageBox on windows?19:02
dansanI'll play with that later and post a patch to see what you think19:02
GeofftheMediook19:02
GeofftheMedionote that it should also work on OSX19:02
dansanoh yeah, thanks :)19:03
dansanAnd giving something graphical on Linux is always a nice thing when possible19:03
dansaneven if it's just a cheesy X window19:03
dansanoops, I made myself late again, gotta run19:04
*** neoneurone has joined #freeorion19:16
dansanGeofftheMedio: Hey, you interested in any more music?20:02
dansanI guess there's probably a posting about that somewhere on the forum20:03
*** Digit01 has quit IRC20:10
*** Xenux has quit IRC20:25
*** VargaD has quit IRC21:15
*** neoneurone has quit IRC21:45
*** __alex has quit IRC21:49
*** tpb` has joined #freeorion22:08
*** tpb has quit IRC22:08
*** tpb` is now known as tpb22:08
*** poelzi has joined #freeorion22:09
*** StrangerDanger has quit IRC22:09
*** _Maru_ has quit IRC22:09
*** poelzi has quit IRC22:11
*** StrangerDanger has joined #freeorion22:11
*** _Maru_ has joined #freeorion22:11
*** poelzi has joined #freeorion22:11
*** Farmer_ has quit IRC23:21

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!