*** tpb has joined #freeorion | 00:00 | |
*** Afdal has quit IRC | 00:37 | |
*** Afdal has joined #freeorion | 00:47 | |
*** dansan has quit IRC | 01:08 | |
*** dansan has joined #freeorion | 01:13 | |
*** tomreyn_ has joined #freeorion | 02:08 | |
*** tomreyn_ has joined #freeorion | 02:08 | |
*** tomreyn_ has quit IRC | 02:09 | |
*** tomreyn has quit IRC | 02:11 | |
*** oshuma has joined #freeorion | 03:01 | |
oshuma | oi, quick question | 03:01 |
---|---|---|
oshuma | i started a single player game with 3 AI players, but they don't seem to be doing anything | 03:01 |
oshuma | ie, they've still got one planet each (their home planet) and same starting ships | 03:01 |
oshuma | monsters are moving around doing stuff, though | 03:02 |
GeofftheMedio | can you locate the AI log files in the directory discussed here: http://freeorion.org/index.php/Config.xml | 03:24 |
GeofftheMedio | ? | 03:24 |
tpb | Title: Config.xml - FreeOrionWiki (at freeorion.org) | 03:24 |
oshuma | sure thing, one sec | 03:24 |
oshuma | GeofftheMedio: https://gist.github.com/Oshuma/8177440 | 03:27 |
tpb | Title: AI_1.log (at gist.github.com) | 03:27 |
GeofftheMedio | some sort of python problem | 03:27 |
oshuma | i see a few error lines in there, but don't know enough about the codebase to know what's up | 03:27 |
oshuma | ah yea, i see those | 03:27 |
GeofftheMedio | the embedded python script is apparently unable to access the exposed API | 03:28 |
oshuma | i'm running python 2.7.3 | 03:28 |
GeofftheMedio | or | 03:28 |
oshuma | (on crunchbang) | 03:28 |
GeofftheMedio | the other way around | 03:28 |
GeofftheMedio | it can't find the embedded python scripts it expects | 03:28 |
oshuma | hmm, logs show python 2.7.5 but '-V' shows 2.7.3 | 03:28 |
GeofftheMedio | it's possibly a python version issue? | 03:30 |
GeofftheMedio | www.freeorion.org/forum/viewtopic.php?f=25&t=6494 | 03:30 |
oshuma | that just seems to be related to a crash and/or graphics issue | 03:32 |
oshuma | game seems to work fine, just not the AI. heh | 03:32 |
oshuma | any way i can force it to use a certain python version? | 03:33 |
GeofftheMedio | I think I cut off part of the url then | 03:33 |
GeofftheMedio | sec | 03:33 |
GeofftheMedio | go to page 2 of the thread | 03:34 |
oshuma | there is no page 2. heh | 03:34 |
GeofftheMedio | wait | 03:34 |
GeofftheMedio | http://www.freeorion.org/forum/viewtopic.php?f=25&t=6167 | 03:34 |
tpb | <http://ln-s.net/ABYB> (at www.freeorion.org) | 03:34 |
GeofftheMedio | forum url being weird | 03:34 |
oshuma | ah | 03:34 |
GeofftheMedio | no idea what was going on there | 03:34 |
GeofftheMedio | apparently there's a forum url command to show some unrelated thread instead? | 03:35 |
GeofftheMedio | and I cut that part off, as that part of a url after a search is usually unnecessary junk | 03:35 |
GeofftheMedio | what version are you testing, btw? | 03:36 |
oshuma | v0.4.3 [SVN 6281] | 03:38 |
oshuma | should i try to grab github source and compile? | 03:38 |
oshuma | was just using a release .deb | 03:38 |
GeofftheMedio | you can try, but there's probably an easier fix | 03:39 |
GeofftheMedio | I dunno what it is though | 03:39 |
GeofftheMedio | try reading that thread | 03:39 |
oshuma | ah, there's a 64bit version, but i doubt that'll fix anything | 03:39 |
oshuma | or maybe i am running the 64bit. can't remember now. heh | 03:39 |
STalKer-X_i | python is incompatible between 32 and 64bit versions | 03:40 |
STalKer-X_i | of itself. | 03:40 |
oshuma | yea i think i installed the 32bit version | 03:42 |
oshuma | let me remove that and try the 64bit | 03:42 |
STalKer-X_i | i don' | 03:45 |
STalKer-X_i | t know which version FO expects. | 03:45 |
GeofftheMedio | I still suggest reading that thread | 03:45 |
oshuma | /usr/local/freeorion/bin/freeorion.elf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/freeorion/bin/freeorion.elf) | 03:46 |
oshuma | heh | 03:46 |
oshuma | 64bit version doesn't even run | 03:46 |
oshuma | got a bunch of cross arch libs installed (for other shit) on this crunchbang install | 03:46 |
oshuma | shit's all outta whack | 03:46 |
STalKer-X_i | better use windows :3 | 03:53 |
STalKer-X_i | i mean it could be so easy... have 2 dedicated paths for 32bit and 64bit libraries that don't interfere with each other. | 03:54 |
oshuma | heh i guess | 03:55 |
oshuma | i do have a macbook sitting next to me i could play on | 03:55 |
oshuma | trying everything in that thread didn't seem to work (even overwriting FreeOrionAI.py) | 04:13 |
oshuma | gonna grab latest source and try to compile and see if that fixes is | 04:14 |
GeofftheMedio | how far did you read? Did you look for _struct.so and such? | 04:15 |
oshuma | yea | 04:15 |
GeofftheMedio | dunno then. | 04:15 |
oshuma | didn't see a _struct.so | 04:15 |
GeofftheMedio | uh | 04:15 |
oshuma | there's struct.so but with no underscore | 04:15 |
GeofftheMedio | well, that would be a problem | 04:16 |
oshuma | in the python lib dir ^ | 04:16 |
GeofftheMedio | your error says "ImportError: No module named _struct" | 04:16 |
GeofftheMedio | not "struct" | 04:16 |
STalKer-X_i | copy + rename | 04:17 |
oshuma | hmm, i see your point | 04:17 |
oshuma | actually, there's no *struct.so anywhere | 04:17 |
oshuma | struct.py and .pyc | 04:18 |
oshuma | but that's not a shared lib | 04:18 |
oshuma | find /usr -name '_struct.so' | 04:18 |
oshuma | finds nothing | 04:18 |
GeofftheMedio | any renamed versions similar to what's discussed in the thread? | 04:20 |
oshuma | nope | 04:21 |
oshuma | find /usr -name "*struct.*" | 04:21 |
GeofftheMedio | dunno... | 04:21 |
GeofftheMedio | reinstall python? | 04:21 |
GeofftheMedio | post about it in the thread? | 04:21 |
oshuma | comes back with unrelated stuff and the struct.py(c) as mentioned above | 04:21 |
oshuma | >>> import _struct | 04:22 |
oshuma | >>> print _struct | 04:22 |
oshuma | <module '_struct' (built-in)> | 04:22 |
oshuma | heh so wtf | 04:22 |
oshuma | any way to force FO to use python 2.7.3 insteaad of .5 like it seems to be doing? | 04:25 |
GeofftheMedio | dunno | 04:26 |
GeofftheMedio | post on the thread | 04:26 |
oshuma | i think i see the issue | 04:28 |
oshuma | in the 'freeorion' shell script installed to /usr/local/bin, there's this check: ldd /usr/local/freeorion/bin/freeorionca | grep "libpython.*not found" | 04:28 |
oshuma | which returns true on my system and sets PYTHON_USE_SHIPPED=1 | 04:28 |
oshuma | then after that, it checks if that var is "1" then tries to use a hardcoded path to the FO python | 04:29 |
oshuma | which doesn't exist (even in /usr/local) | 04:29 |
GeofftheMedio | change it and give it another try? | 04:29 |
oshuma | aye | 04:30 |
oshuma | commented out those lines but same thing | 04:32 |
oshuma | not sure why FO is using 2.7.5 though | 04:33 |
oshuma | (python) | 04:33 |
oshuma | statically compiled into the binaries? | 04:33 |
GeofftheMedio | seems unlikely, but I don't build the linux version | 04:34 |
*** STalKer-X_i has quit IRC | 04:34 | |
*** STalKer-X has joined #freeorion | 04:34 | |
oshuma | there's libpython2.7.so.1.0 in the FO lib dir | 04:34 |
oshuma | i wonder if that was compiled against 2.7.5 | 04:35 |
GeofftheMedio | that wouldn't be "compiled against" that would be python... | 04:35 |
oshuma | ah | 04:37 |
*** oshuma has quit IRC | 05:43 | |
*** JLP has quit IRC | 07:03 | |
*** JLP has joined #freeorion | 07:05 | |
*** trifolio6 has quit IRC | 07:23 | |
Afdal | :} | 09:02 |
Afdal | Hey Geoff, are there ever plans to let FreeOrion run singleplayer without needing to connect to that internet server? | 09:03 |
Afdal | I dunno if that's just trying to collect player information or what, but I feel like the internet stuff is probably part of why things get so slow at late game | 09:03 |
*** Ablu_ is now known as Ablu | 09:15 | |
*** vurma has joined #freeorion | 09:36 | |
adrian_broher | Afdal, there is no 'internet server' | 09:46 |
Afdal | Then why do I have to connect to the internet whenever I want to play? | 09:47 |
Afdal | Singleplayer games simply refuse to start up if the game is firewalled | 09:47 |
adrian_broher | because of a bug that has been fixed after 0.4.3 release. | 09:47 |
Afdal | o rly | 09:48 |
Afdal | I still remember dealing with this pretty recently | 09:48 |
Afdal | was it fixed really recently? | 09:48 |
Afdal | I keep up with the test builds | 09:48 |
adrian_broher | and firewalling an application with client server architecture will lead you nowhere. | 09:48 |
Afdal | ??? | 09:49 |
adrian_broher | when you start a game a game server starts, that is only listening to request from this machine. | 09:50 |
Afdal | Then why does it even need to ask to connect to the internet -_- | 09:51 |
adrian_broher | there is no 'internet' involved. | 09:51 |
Afdal | My firewall catches it | 09:51 |
Afdal | attempting to | 09:51 |
Afdal | every time I install a new version | 09:51 |
Afdal | I have to re-add it to exceptions | 09:52 |
Afdal | just for singleplayer | 09:52 |
adrian_broher | your firewall should allow anything that wants to talk to the 127.0.0.0 network | 09:52 |
adrian_broher | because that won't leave your machine anyway. | 09:52 |
adrian_broher | http://en.wikipedia.org/wiki/Localhost | 09:53 |
tpb | Title: localhost - Wikipedia, the free encyclopedia (at en.wikipedia.org) | 09:53 |
Afdal | I don't think I've ever had to deal with this | 09:53 |
Afdal | with any other program | 09:54 |
Afdal | I know what the localhost is | 09:54 |
Afdal | So when was this bug fixed anyway? | 09:55 |
adrian_broher | then you need to know that a singleplayer is nothing else than a client spawning and connecting to a server, that is only listing on localhost | 09:55 |
adrian_broher | http://www.freeorion.org/forum/viewtopic.php?f=25&t=7793&p=63815&hilit=network#p63815 | 09:56 |
tpb | <http://ln-s.net/ABnU> (at www.freeorion.org) | 09:56 |
Afdal | hmm | 09:56 |
Afdal | Back in September? | 09:56 |
Afdal | I've definitely experienced it since then | 09:56 |
Afdal | lemme just check on the version I've got installed right now... | 09:57 |
Afdal | erm | 09:59 |
Afdal | so many FreeOrion entries in my firewall to keep track of | 10:00 |
Afdal | Whelp, guess I can't replicate it | 10:01 |
Afdal | I'll try again with the next Monday SVN I guess | 10:01 |
Afdal | Using 6559 right now | 10:01 |
Afdal | assuming Vezzra posts one today | 10:02 |
Afdal | Does FreeOrion really need this many processes @_@ http://gyazo.com/7d81c46df64c80badf1593fad3578c35 | 10:05 |
tpb | <http://ln-s.net/ABns> (at gyazo.com) | 10:05 |
adrian_broher | yes | 10:05 |
adrian_broher | The human client, the server and every ai client. | 10:05 |
Afdal | Why so many separate ones? | 10:05 |
Afdal | ah | 10:05 |
adrian_broher | and they talk to each other via the network stack | 10:06 |
Afdal | So what's FreeOrionD | 10:06 |
Afdal | The human client? | 10:06 |
adrian_broher | that's why the firewall complaints (it shouldn't but it isn't configured properly) | 10:06 |
Afdal | Well I can't get it to make my firewall go off without resetting all my program entries for now | 10:07 |
adrian_broher | FreeOrion > human client, FreeOrionD > daemon (server), FreeOrionCA > client AI | 10:07 |
Afdal | But I still do remember needing to allow a bunch of processes | 10:07 |
Afdal | every time I install a new build | 10:08 |
adrian_broher | Afdal, you firewall should allow wildcard rules. | 10:08 |
Afdal | wildcard rules? | 10:08 |
adrian_broher | http://en.wikipedia.org/wiki/Wildcard_character | 10:09 |
tpb | Title: Wildcard character - Wikipedia, the free encyclopedia (at en.wikipedia.org) | 10:09 |
Afdal | oh for arrays of process names? | 10:10 |
Afdal | similar names | 10:10 |
adrian_broher | you should set up a firewall rule that allows talking everything from to 127.0.0.1 to everything listening on 127.0.0.1 | 10:10 |
adrian_broher | localhost to localhost | 10:10 |
adrian_broher | what's the name of the firewall you use? | 10:11 |
Afdal | Not sure I can do that with ZoneAlarm | 10:11 |
Afdal | ah well | 10:13 |
Afdal | I can just make a 1 AI game | 10:13 |
Afdal | to start with now that I know this | 10:14 |
Afdal | Not a big deal in the big picture | 10:15 |
adrian_broher | this should help http://download.zonealarm.com/bin/inclient/ZA_HelpCenter/adding_to_trusted_zone.html | 10:16 |
tpb | Title: Adding to the Trusted Zone (at download.zonealarm.com) | 10:16 |
Afdal | blegh | 10:16 |
adrian_broher | you need to add 127.0.0.1 and localhost to the trusted zone | 10:17 |
Afdal | figured it was that trusted zone crap | 10:17 |
Afdal | thanks | 10:17 |
adrian_broher | np | 10:17 |
adrian_broher | You can remove all the exceptions and it should still work. | 10:19 |
Afdal | Who's that fella who was in here yesterday looking for some multiplayer action | 10:23 |
Afdal | I can't remember their name | 10:23 |
adrian_broher | <trifolio6> | 10:23 |
Afdal | thanks | 10:24 |
Afdal | Hope they stop by again | 10:24 |
Afdal | you guys are so boring -_- | 10:24 |
*** JLP_ has joined #freeorion | 10:43 | |
*** JLP has quit IRC | 10:43 | |
*** VargaD_ has joined #freeorion | 11:41 | |
*** VargaD has quit IRC | 11:44 | |
*** VargaD_ is now known as VargaD | 11:44 | |
*** GeofftheMedio_ has joined #freeorion | 12:00 | |
*** aaanderse has joined #freeorion | 12:03 | |
*** GeofftheMedio has quit IRC | 12:06 | |
*** aanderse has quit IRC | 12:06 | |
*** GeofftheMedio_ is now known as GeofftheMedio | 12:07 | |
Ablu | adrian_broher: the ai connects via network too? | 13:26 |
adrian_broher | yes | 13:29 |
adrian_broher | why shouldn't it? | 13:29 |
Ablu | adrian_broher: na. i was just curious | 13:31 |
Ablu | i currently need to introduce some kind if interprocess communication too which would be similar to an ai of an server... | 13:31 |
Ablu | well either interprocess or compile time dpendency injection... | 13:32 |
adrian_broher | if you already use a network stack why not use it? | 13:33 |
adrian_broher | well, it depends on what the ai should be doing. | 13:34 |
Ablu | adrian_broher: well there is no network stack for it atm | 13:34 |
Ablu | adrian_broher: it would be able to run all kind of scripts on the server | 13:34 |
Ablu | well sandboxed but still... | 13:35 |
adrian_broher | Ablu, #tutorials.de? | 13:35 |
Ablu | normal users must not do it | 13:35 |
Ablu | sure... | 13:35 |
*** Parasit has joined #freeorion | 16:03 | |
*** trifolio6 has joined #freeorion | 16:16 | |
*** JLP_ has quit IRC | 16:31 | |
*** JLP has joined #freeorion | 16:32 | |
*** JLP has quit IRC | 16:32 | |
*** JLP has joined #freeorion | 16:32 | |
*** trifolio6 has quit IRC | 17:18 | |
*** poklep has joined #freeorion | 18:15 | |
*** poklep has quit IRC | 18:19 | |
*** vurma has quit IRC | 18:27 | |
*** trifolio6 has joined #freeorion | 18:30 | |
*** vurma has joined #freeorion | 18:32 | |
*** trifolio6 has quit IRC | 18:46 | |
*** Afdal has quit IRC | 19:41 | |
*** vurma has quit IRC | 21:43 | |
*** trifolio6 has joined #freeorion | 23:49 | |
trifolio6 | anyone is up for a game? | 23:50 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!