Monday, 2012-01-16

*** tpb has joined #freeorion00:00
fixItso would I basically be storing in config.xml the key+modifier for each possible function that can get something hooked up to? Like one for ReturnToMap, EndTurn, OpenChatWindow etc? Also what is the difference between the GG::GGK_Return and Enter, for anything that uses either would I have2 entries? I see return/enter being both connected on each method that either is connected to01:43
GeofftheMedioEnter and Return are different keys on some keyboards01:44
GeofftheMedioyou'd probably only need to store a list of set hotkey commands, not all possible ones.01:45
GeofftheMediomight take some work to make the appropriate container storable as and settable from the xml01:46
fixItAh okay. So in terms of how their actually stored in config.xml what do you mean by appropriate container? Would just storing them as a string like <hotkey.openChatWindow>GG::GGK_KP_PLUS GG::MOD_KEY_CTRL</hotkey.openChatWindow> not be adequeate?02:11
GeofftheMedioif you can parse that it w/o complication, that would probably work...03:12
GeofftheMediomaybe they'd be stored under an enclosing <hotkeys> tag, instead of having hotkey. before each tag03:12
GeofftheMediomy point was, just store and retreive the set hotkeys, don't store a container with all of them such that any unset hotkeys are wasting space...03:13
GeofftheMedioactually, there's probably not that many hotkey options04:05
GeofftheMedioso storing all of them using the standard OptionsDB mechanism is probably fine04:05
*** STalKer-X has quit IRC04:32
*** STalKer-Y has joined #freeorion04:32
*** __alex has quit IRC05:22
*** VargaD has joined #freeorion08:41
*** StrangerDanger has quit IRC08:45
*** __alex has joined #freeorion10:23
*** __alex has quit IRC14:57
*** em3 has joined #freeorion16:16
*** STalKer-Y has quit IRC16:32
*** STalKer-X has joined #freeorion16:35
*** em3 has quit IRC18:43
*** __alex has joined #freeorion18:48
*** trace29m has joined #freeorion19:20
trace29mwhat is not there that there is no version 0.4 ?19:20
GeofftheMedionot much19:21
GeofftheMediohttp://www.freeorion.org/forum/viewtopic.php?p=50704#p5070419:21
tpb<http://ln-s.net/9XEj> (at www.freeorion.org)19:21
trace29mwhy r there so many 0.3 versions19:22
trace29mok19:22
GeofftheMedioit took a long time to make all the v0.4 features, and no releases since 2005 would probably have been a bad idea19:23
trace29mok19:23
trace29mis there someone that does the AI?19:23
GeofftheMedioGrey Area on the forums has been posting updates to the AI scripts19:23
*** neoneurone has joined #freeorion19:24
trace29mOllyG did it?19:24
trace29mno19:24
trace29mI dont understand19:24
GeofftheMedio?19:25
trace29mthere are many gray areas in the forums19:25
GeofftheMedioa user is named "Grey Area"19:25
GeofftheMediothere is only one19:25
trace29mahh19:25
trace29mdid he study AI in university?19:25
GeofftheMediono that I know of19:25
trace29mI did19:25
trace29mI do right now19:25
trace29mI had 2 semesters AI19:26
GeofftheMediocongratulations?19:26
trace29mmaybe I can help him19:26
trace29mgive information and so on19:26
GeofftheMedioupdated scripts would be more useful19:26
trace29mmhh19:26
trace29mwhat kind of programming language is it?19:26
GeofftheMedioPython19:27
trace29mahh also functional programming possible19:27
trace29mprolog is also good for AI programming19:28
GeofftheMediolua seems popular these days19:28
trace29mprolog is a logic based programming language19:28
trace29mI have a question19:30
GeofftheMediomake it fast..19:30
trace29mcan I do something for freeorion for my master thesis?19:31
*** neoneurone has quit IRC19:31
GeofftheMedioyou can do whatever you want, as long as any binaries you distribute publically have source code and content released under the appropriate licences19:32
trace29mthats not a problem for me19:32
trace29mbut I dont know of AI programming is a good topic for my master thesis19:32
trace29mAI of freeorion19:32
GeofftheMedioI don't know what the standards are for thesis topics in your field and institution, so I can't comment19:34
trace29mAI in general is good for a master thesis19:34
trace29mbut I dont know how freeorion is programmed19:34
trace29msomeone made a master thesis about AI of Draughts19:39
trace29mI guess freeorion is more complicated than Draughts19:39
trace29mhe wrote the AI19:40
*** tpb has joined #freeorion19:59
GeofftheMediohow freeorion is programmed is somewhat irrelevant to the AI20:05
GeofftheMedioyou've got an interface to access info and issue orders available in Python20:05
GeofftheMediowhat you do with that is up to you20:05
*** Adrian987 has joined #freeorion20:16
Adrian987hi, i don't know if any of the maintainers are here. I just wanted to say that the latest Test crashes when clicking on an obscured star system that has been visited before.20:17
Adrian987459220:17
GeofftheMediowhat are the last few lines of freeorion.log?20:18
GeofftheMediolocation disucssed here: http://freeorion.org/index.php/Config.xml20:18
Adrian987one sec, i'll check20:18
tpbTitle: Config.xml - FreeOrionWiki (at freeorion.org)20:18
Adrian9872012-01-16 21:18:51,402 DEBUG Client : Universe::GetEffectsAndTargets for TECHS 2012-01-16 21:18:51,402 DEBUG Client : Universe::GetEffectsAndTargets for BUILDINGS 2012-01-16 21:18:51,402 DEBUG Client : Universe::GetEffectsAndTargets for SHIPS20:19
Adrian987should i use a site where i can paste the lines more orderly?20:19
GeofftheMediohere is fine20:19
Adrian987ok20:19
GeofftheMediobut n/m, I can reproduce the crash20:19
Adrian987ok :)20:20
Adrian987glad to have the tech-tree graphics back btw, a lot easier to get an overview.20:20
GeofftheMediocrash "should" be a quick fix...20:22
Adrian987One more question in case anyone knows it: It seems solar-manipulation hasn't worked for a while now. Is this temporary, or is there a plan to remove it?20:22
Adrian987thanks Geoff, appreciate it.20:22
GeofftheMediocould you be more specific re: solar manipulation?20:22
Adrian987the rejuvination and its opposite, making starts age. It can be researched, but i haven't been able to build the corresponding building anymore.20:23
Adrian987*stars age20:23
GeofftheMediothey were removed after a change in the parser format20:23
GeofftheMediothat removed the feature they used to work20:23
GeofftheMediobut a replacement feature was added recently20:24
GeofftheMedioso they could be replaced20:24
GeofftheMediothough it hasn't happened yet20:24
*** neoneurone has joined #freeorion20:24
Adrian987i see, thanks.20:24
CIA-32FreeOrion: geoffthemedio * r4593 /trunk/FreeOrion/ (UI/SidePanel.cpp default/ship_hulls.txt):20:25
CIA-32FreeOrion: -Fixed client crash when viewing system with planets that had previously been visible but aren't on the current turn.20:25
CIA-32FreeOrion: -Tweaked compressed energy hull detection, which was oddly high.20:25
*** __alex has quit IRC20:27
*** neoneurone has quit IRC20:59
*** StrangerDanger has joined #freeorion21:20
*** Adrian987 has quit IRC21:54
*** Nagilum_ has quit IRC22:05
fixIthey Geoff what is the exact process to ensure that a value gets added to config.xml? In terms of what projects do you need to clean/rebuild exactly? I've gotten it to work in the past but I always seem to have to fiddle around cleaning the free orion/common project but for some reason I cant get my values to get added. In my file i have the correct set up, or at least whats worked in the past namespace {22:43
fixIt    void AddOptions(OptionsDB& db)22:43
fixIt    {22:43
fixIt        db.Add<std::string>("keytest",    "OPTIONS_DB_GREGSTEST", "GG::GGK_KP_PLUS GG::MOD_KEY_CTRL");22:43
fixIt    }22:43
fixIt    bool temp_bool = RegisterOptions(&AddOptions);22:43
fixIt}22:43
fixItoh wow code formats really nicely copied and pasted into here22:43
*** trace29m has quit IRC22:59

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