*** tpb has joined #freeorion | 00:00 | |
fixIt | so 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 to | 01:43 |
---|---|---|
GeofftheMedio | Enter and Return are different keys on some keyboards | 01:44 |
GeofftheMedio | you'd probably only need to store a list of set hotkey commands, not all possible ones. | 01:45 |
GeofftheMedio | might take some work to make the appropriate container storable as and settable from the xml | 01:46 |
fixIt | Ah 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 |
GeofftheMedio | if you can parse that it w/o complication, that would probably work... | 03:12 |
GeofftheMedio | maybe they'd be stored under an enclosing <hotkeys> tag, instead of having hotkey. before each tag | 03:12 |
GeofftheMedio | my 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 |
GeofftheMedio | actually, there's probably not that many hotkey options | 04:05 |
GeofftheMedio | so storing all of them using the standard OptionsDB mechanism is probably fine | 04:05 |
*** STalKer-X has quit IRC | 04:32 | |
*** STalKer-Y has joined #freeorion | 04:32 | |
*** __alex has quit IRC | 05:22 | |
*** VargaD has joined #freeorion | 08:41 | |
*** StrangerDanger has quit IRC | 08:45 | |
*** __alex has joined #freeorion | 10:23 | |
*** __alex has quit IRC | 14:57 | |
*** em3 has joined #freeorion | 16:16 | |
*** STalKer-Y has quit IRC | 16:32 | |
*** STalKer-X has joined #freeorion | 16:35 | |
*** em3 has quit IRC | 18:43 | |
*** __alex has joined #freeorion | 18:48 | |
*** trace29m has joined #freeorion | 19:20 | |
trace29m | what is not there that there is no version 0.4 ? | 19:20 |
GeofftheMedio | not much | 19:21 |
GeofftheMedio | http://www.freeorion.org/forum/viewtopic.php?p=50704#p50704 | 19:21 |
tpb | <http://ln-s.net/9XEj> (at www.freeorion.org) | 19:21 |
trace29m | why r there so many 0.3 versions | 19:22 |
trace29m | ok | 19:22 |
GeofftheMedio | it took a long time to make all the v0.4 features, and no releases since 2005 would probably have been a bad idea | 19:23 |
trace29m | ok | 19:23 |
trace29m | is there someone that does the AI? | 19:23 |
GeofftheMedio | Grey Area on the forums has been posting updates to the AI scripts | 19:23 |
*** neoneurone has joined #freeorion | 19:24 | |
trace29m | OllyG did it? | 19:24 |
trace29m | no | 19:24 |
trace29m | I dont understand | 19:24 |
GeofftheMedio | ? | 19:25 |
trace29m | there are many gray areas in the forums | 19:25 |
GeofftheMedio | a user is named "Grey Area" | 19:25 |
GeofftheMedio | there is only one | 19:25 |
trace29m | ahh | 19:25 |
trace29m | did he study AI in university? | 19:25 |
GeofftheMedio | no that I know of | 19:25 |
trace29m | I did | 19:25 |
trace29m | I do right now | 19:25 |
trace29m | I had 2 semesters AI | 19:26 |
GeofftheMedio | congratulations? | 19:26 |
trace29m | maybe I can help him | 19:26 |
trace29m | give information and so on | 19:26 |
GeofftheMedio | updated scripts would be more useful | 19:26 |
trace29m | mhh | 19:26 |
trace29m | what kind of programming language is it? | 19:26 |
GeofftheMedio | Python | 19:27 |
trace29m | ahh also functional programming possible | 19:27 |
trace29m | prolog is also good for AI programming | 19:28 |
GeofftheMedio | lua seems popular these days | 19:28 |
trace29m | prolog is a logic based programming language | 19:28 |
trace29m | I have a question | 19:30 |
GeofftheMedio | make it fast.. | 19:30 |
trace29m | can I do something for freeorion for my master thesis? | 19:31 |
*** neoneurone has quit IRC | 19:31 | |
GeofftheMedio | you can do whatever you want, as long as any binaries you distribute publically have source code and content released under the appropriate licences | 19:32 |
trace29m | thats not a problem for me | 19:32 |
trace29m | but I dont know of AI programming is a good topic for my master thesis | 19:32 |
trace29m | AI of freeorion | 19:32 |
GeofftheMedio | I don't know what the standards are for thesis topics in your field and institution, so I can't comment | 19:34 |
trace29m | AI in general is good for a master thesis | 19:34 |
trace29m | but I dont know how freeorion is programmed | 19:34 |
trace29m | someone made a master thesis about AI of Draughts | 19:39 |
trace29m | I guess freeorion is more complicated than Draughts | 19:39 |
trace29m | he wrote the AI | 19:40 |
*** tpb has joined #freeorion | 19:59 | |
GeofftheMedio | how freeorion is programmed is somewhat irrelevant to the AI | 20:05 |
GeofftheMedio | you've got an interface to access info and issue orders available in Python | 20:05 |
GeofftheMedio | what you do with that is up to you | 20:05 |
*** Adrian987 has joined #freeorion | 20:16 | |
Adrian987 | hi, 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 |
Adrian987 | 4592 | 20:17 |
GeofftheMedio | what are the last few lines of freeorion.log? | 20:18 |
GeofftheMedio | location disucssed here: http://freeorion.org/index.php/Config.xml | 20:18 |
Adrian987 | one sec, i'll check | 20:18 |
tpb | Title: Config.xml - FreeOrionWiki (at freeorion.org) | 20:18 |
Adrian987 | 2012-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 SHIPS | 20:19 |
Adrian987 | should i use a site where i can paste the lines more orderly? | 20:19 |
GeofftheMedio | here is fine | 20:19 |
Adrian987 | ok | 20:19 |
GeofftheMedio | but n/m, I can reproduce the crash | 20:19 |
Adrian987 | ok :) | 20:20 |
Adrian987 | glad to have the tech-tree graphics back btw, a lot easier to get an overview. | 20:20 |
GeofftheMedio | crash "should" be a quick fix... | 20:22 |
Adrian987 | One 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 |
Adrian987 | thanks Geoff, appreciate it. | 20:22 |
GeofftheMedio | could you be more specific re: solar manipulation? | 20:22 |
Adrian987 | the 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 age | 20:23 |
GeofftheMedio | they were removed after a change in the parser format | 20:23 |
GeofftheMedio | that removed the feature they used to work | 20:23 |
GeofftheMedio | but a replacement feature was added recently | 20:24 |
GeofftheMedio | so they could be replaced | 20:24 |
GeofftheMedio | though it hasn't happened yet | 20:24 |
*** neoneurone has joined #freeorion | 20:24 | |
Adrian987 | i see, thanks. | 20:24 |
CIA-32 | FreeOrion: geoffthemedio * r4593 /trunk/FreeOrion/ (UI/SidePanel.cpp default/ship_hulls.txt): | 20:25 |
CIA-32 | FreeOrion: -Fixed client crash when viewing system with planets that had previously been visible but aren't on the current turn. | 20:25 |
CIA-32 | FreeOrion: -Tweaked compressed energy hull detection, which was oddly high. | 20:25 |
*** __alex has quit IRC | 20:27 | |
*** neoneurone has quit IRC | 20:59 | |
*** StrangerDanger has joined #freeorion | 21:20 | |
*** Adrian987 has quit IRC | 21:54 | |
*** Nagilum_ has quit IRC | 22:05 | |
fixIt | hey 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 |
fixIt | oh wow code formats really nicely copied and pasted into here | 22:43 |
*** trace29m has quit IRC | 22:59 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!