Monday, 2013-12-30

*** tpb has joined #freeorion00:00
*** Afdal has quit IRC00:37
*** Afdal has joined #freeorion00:47
*** dansan has quit IRC01:08
*** dansan has joined #freeorion01:13
*** tomreyn_ has joined #freeorion02:08
*** tomreyn_ has joined #freeorion02:08
*** tomreyn_ has quit IRC02:09
*** tomreyn has quit IRC02:11
*** oshuma has joined #freeorion03:01
oshumaoi, quick question03:01
oshumai started a single player game with 3 AI players, but they don't seem to be doing anything03:01
oshumaie, they've still got one planet each (their home planet) and same starting ships03:01
oshumamonsters are moving around doing stuff, though03:02
GeofftheMediocan you locate the AI log files in the directory discussed here: http://freeorion.org/index.php/Config.xml03:24
GeofftheMedio?03:24
tpbTitle: Config.xml - FreeOrionWiki (at freeorion.org)03:24
oshumasure thing, one sec03:24
oshumaGeofftheMedio: https://gist.github.com/Oshuma/817744003:27
tpbTitle: AI_1.log (at gist.github.com)03:27
GeofftheMediosome sort of python problem03:27
oshumai see a few error lines in there, but don't know enough about the codebase to know what's up03:27
oshumaah yea, i see those03:27
GeofftheMediothe embedded python script is apparently unable to access the exposed API03:28
oshumai'm running python 2.7.303:28
GeofftheMedioor03:28
oshuma(on crunchbang)03:28
GeofftheMediothe other way around03:28
GeofftheMedioit can't find the embedded python scripts it expects03:28
oshumahmm, logs show python 2.7.5 but '-V' shows 2.7.303:28
GeofftheMedioit's possibly a python version issue?03:30
GeofftheMediowww.freeorion.org/forum/viewtopic.php?f=25&t=649403:30
oshumathat just seems to be related to a crash and/or graphics issue03:32
oshumagame seems to work fine, just not the AI. heh03:32
oshumaany way i can force it to use a certain python version?03:33
GeofftheMedioI think I cut off part of the url then03:33
GeofftheMediosec03:33
GeofftheMediogo to page 2 of the thread03:34
oshumathere is no page 2. heh03:34
GeofftheMediowait03:34
GeofftheMediohttp://www.freeorion.org/forum/viewtopic.php?f=25&t=616703:34
tpb<http://ln-s.net/ABYB> (at www.freeorion.org)03:34
GeofftheMedioforum url being weird03:34
oshumaah03:34
GeofftheMediono idea what was going on there03:34
GeofftheMedioapparently there's a forum url command to show some unrelated thread instead?03:35
GeofftheMedioand I cut that part off, as that part of a url after a search is usually unnecessary junk03:35
GeofftheMediowhat version are you testing, btw?03:36
oshumav0.4.3 [SVN 6281]03:38
oshumashould i try to grab github source and compile?03:38
oshumawas just using a release .deb03:38
GeofftheMedioyou can try, but there's probably an easier fix03:39
GeofftheMedioI dunno what it is though03:39
GeofftheMediotry reading that thread03:39
oshumaah, there's a 64bit version, but i doubt that'll fix anything03:39
oshumaor maybe i am running the 64bit. can't remember now. heh03:39
STalKer-X_ipython is incompatible between 32 and 64bit versions03:40
STalKer-X_iof itself.03:40
oshumayea i think i installed the 32bit version03:42
oshumalet me remove that and try the 64bit03:42
STalKer-X_ii don'03:45
STalKer-X_it know which version FO expects.03:45
GeofftheMedioI still suggest reading that thread03: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
oshumaheh03:46
oshuma64bit version doesn't even run03:46
oshumagot a bunch of cross arch libs installed (for other shit) on this crunchbang install03:46
oshumashit's all outta whack03:46
STalKer-X_ibetter use windows :303:53
STalKer-X_ii mean it could be so easy... have 2 dedicated paths for 32bit and 64bit libraries that don't interfere with each other.03:54
oshumaheh i guess03:55
oshumai do have a macbook sitting next to me i could play on03:55
oshumatrying everything in that thread didn't seem to work (even overwriting FreeOrionAI.py)04:13
oshumagonna grab latest source and try to compile and see if that fixes is04:14
GeofftheMediohow far did you read? Did you look for _struct.so and such?04:15
oshumayea04:15
GeofftheMediodunno then.04:15
oshumadidn't see a _struct.so04:15
GeofftheMediouh04:15
oshumathere's struct.so but with no underscore04:15
GeofftheMediowell, that would be a problem04:16
oshumain the python lib dir ^04:16
GeofftheMedioyour error says "ImportError: No module named _struct"04:16
GeofftheMedionot "struct"04:16
STalKer-X_icopy + rename04:17
oshumahmm, i see your point04:17
oshumaactually, there's no *struct.so anywhere04:17
oshumastruct.py and .pyc04:18
oshumabut that's not a shared lib04:18
oshumafind /usr -name '_struct.so'04:18
oshumafinds nothing04:18
GeofftheMedioany renamed versions similar to what's discussed in the thread?04:20
oshumanope04:21
oshumafind /usr -name "*struct.*"04:21
GeofftheMediodunno...04:21
GeofftheMedioreinstall python?04:21
GeofftheMediopost about it in the thread?04:21
oshumacomes back with unrelated stuff and the struct.py(c) as mentioned above04:21
oshuma>>> import _struct04:22
oshuma>>> print _struct04:22
oshuma<module '_struct' (built-in)>04:22
oshumaheh so wtf04:22
oshumaany way to force FO to use python 2.7.3 insteaad of .5 like it seems to be doing?04:25
GeofftheMediodunno04:26
GeofftheMediopost on the thread04:26
oshumai think i see the issue04:28
oshumain 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
oshumawhich returns true on my system and sets PYTHON_USE_SHIPPED=104:28
oshumathen after that, it checks if that var is "1" then tries to use a hardcoded path to the FO python04:29
oshumawhich doesn't exist (even in /usr/local)04:29
GeofftheMediochange it and give it another try?04:29
oshumaaye04:30
oshumacommented out those lines but same thing04:32
oshumanot sure why FO is using 2.7.5 though04:33
oshuma(python)04:33
oshumastatically compiled into the binaries?04:33
GeofftheMedioseems unlikely, but I don't build the linux version04:34
*** STalKer-X_i has quit IRC04:34
*** STalKer-X has joined #freeorion04:34
oshumathere's libpython2.7.so.1.0 in the FO lib dir04:34
oshumai wonder if that was compiled against 2.7.504:35
GeofftheMediothat wouldn't be "compiled against" that would be python...04:35
oshumaah04:37
*** oshuma has quit IRC05:43
*** JLP has quit IRC07:03
*** JLP has joined #freeorion07:05
*** trifolio6 has quit IRC07:23
Afdal:}09:02
AfdalHey Geoff, are there ever plans to let FreeOrion run singleplayer without needing to connect to that internet server?09:03
AfdalI 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 game09:03
*** Ablu_ is now known as Ablu09:15
*** vurma has joined #freeorion09:36
adrian_broherAfdal, there is no 'internet server'09:46
AfdalThen why do I have to connect to the internet whenever I want to play?09:47
AfdalSingleplayer games simply refuse to start up if the game is firewalled09:47
adrian_broherbecause of a bug that has been fixed after 0.4.3 release.09:47
Afdalo rly09:48
AfdalI still remember dealing with this pretty recently09:48
Afdalwas it fixed really recently?09:48
AfdalI keep up with the test builds09:48
adrian_broherand firewalling an application with client server architecture will lead you nowhere.09:48
Afdal???09:49
adrian_broherwhen you start a game a game server starts, that is only listening to request from this machine.09:50
AfdalThen why does it even need to ask to connect to the internet -_-09:51
adrian_broherthere is no 'internet' involved.09:51
AfdalMy firewall catches it09:51
Afdalattempting to09:51
Afdalevery time I install a new version09:51
AfdalI have to re-add it to exceptions09:52
Afdaljust for singleplayer09:52
adrian_broheryour firewall should allow anything that wants to talk to the 127.0.0.0 network09:52
adrian_broherbecause that won't leave your machine anyway.09:52
adrian_broherhttp://en.wikipedia.org/wiki/Localhost09:53
tpbTitle: localhost - Wikipedia, the free encyclopedia (at en.wikipedia.org)09:53
AfdalI don't think I've ever had to deal with this09:53
Afdalwith any other program09:54
AfdalI know what the localhost is09:54
AfdalSo when was this bug fixed anyway?09:55
adrian_broherthen you need to know that a singleplayer is nothing else than a client spawning and connecting to a server, that is only listing on localhost09:55
adrian_broherhttp://www.freeorion.org/forum/viewtopic.php?f=25&t=7793&p=63815&hilit=network#p6381509:56
tpb<http://ln-s.net/ABnU> (at www.freeorion.org)09:56
Afdalhmm09:56
AfdalBack in September?09:56
AfdalI've definitely experienced it since then09:56
Afdallemme just check on the version I've got installed right now...09:57
Afdalerm09:59
Afdalso many FreeOrion entries in my firewall to keep track of10:00
AfdalWhelp, guess I can't replicate it10:01
AfdalI'll try again with the next Monday SVN I guess10:01
AfdalUsing 6559 right now10:01
Afdalassuming Vezzra posts one today10:02
AfdalDoes FreeOrion really need this many processes @_@  http://gyazo.com/7d81c46df64c80badf1593fad3578c3510:05
tpb<http://ln-s.net/ABns> (at gyazo.com)10:05
adrian_broheryes10:05
adrian_broherThe human client, the server and every ai client.10:05
AfdalWhy so many separate ones?10:05
Afdalah10:05
adrian_broherand they talk to each other via the network stack10:06
AfdalSo what's FreeOrionD10:06
AfdalThe human client?10:06
adrian_broherthat's why the firewall complaints (it shouldn't but it isn't configured properly)10:06
AfdalWell I can't get it to make my firewall go off without resetting all my program entries for now10:07
adrian_broherFreeOrion > human client, FreeOrionD > daemon (server), FreeOrionCA > client AI10:07
AfdalBut I still do remember needing to allow a bunch of processes10:07
Afdalevery time I install a new build10:08
adrian_broherAfdal, you firewall should allow wildcard rules.10:08
Afdalwildcard rules?10:08
adrian_broherhttp://en.wikipedia.org/wiki/Wildcard_character10:09
tpbTitle: Wildcard character - Wikipedia, the free encyclopedia (at en.wikipedia.org)10:09
Afdaloh for arrays of process names?10:10
Afdalsimilar names10:10
adrian_broheryou should set up a firewall rule that allows talking everything from to 127.0.0.1 to everything listening on 127.0.0.110:10
adrian_broherlocalhost to localhost10:10
adrian_broherwhat's the name of the firewall you use?10:11
AfdalNot sure I can do that with ZoneAlarm10:11
Afdalah well10:13
AfdalI can just make a 1 AI game10:13
Afdalto start with now that I know this10:14
AfdalNot a big deal in the big picture10:15
adrian_broherthis should help http://download.zonealarm.com/bin/inclient/ZA_HelpCenter/adding_to_trusted_zone.html10:16
tpbTitle: Adding to the Trusted Zone (at download.zonealarm.com)10:16
Afdalblegh10:16
adrian_broheryou need to add 127.0.0.1 and localhost to the trusted zone10:17
Afdalfigured it was that trusted zone crap10:17
Afdalthanks10:17
adrian_brohernp10:17
adrian_broherYou can remove all the exceptions and it should still work.10:19
AfdalWho's that fella who was in here yesterday looking for some multiplayer action10:23
AfdalI can't remember their name10:23
adrian_broher<trifolio6>10:23
Afdalthanks10:24
AfdalHope they stop by again10:24
Afdalyou guys are so boring -_-10:24
*** JLP_ has joined #freeorion10:43
*** JLP has quit IRC10:43
*** VargaD_ has joined #freeorion11:41
*** VargaD has quit IRC11:44
*** VargaD_ is now known as VargaD11:44
*** GeofftheMedio_ has joined #freeorion12:00
*** aaanderse has joined #freeorion12:03
*** GeofftheMedio has quit IRC12:06
*** aanderse has quit IRC12:06
*** GeofftheMedio_ is now known as GeofftheMedio12:07
Abluadrian_broher: the ai connects via network too?13:26
adrian_broheryes13:29
adrian_broherwhy shouldn't it?13:29
Abluadrian_broher: na. i was just curious13:31
Ablui currently need to introduce some kind if interprocess communication too which would be similar to an ai of an server...13:31
Abluwell either interprocess or compile time dpendency injection...13:32
adrian_broherif you already use a network stack why not use it?13:33
adrian_broherwell, it depends on what the ai should be doing.13:34
Abluadrian_broher: well there is no network stack for it atm13:34
Abluadrian_broher: it would be able to run all kind of scripts on the server13:34
Abluwell sandboxed but still...13:35
adrian_broherAblu, #tutorials.de?13:35
Ablunormal users must not do it13:35
Ablusure...13:35
*** Parasit has joined #freeorion16:03
*** trifolio6 has joined #freeorion16:16
*** JLP_ has quit IRC16:31
*** JLP has joined #freeorion16:32
*** JLP has quit IRC16:32
*** JLP has joined #freeorion16:32
*** trifolio6 has quit IRC17:18
*** poklep has joined #freeorion18:15
*** poklep has quit IRC18:19
*** vurma has quit IRC18:27
*** trifolio6 has joined #freeorion18:30
*** vurma has joined #freeorion18:32
*** trifolio6 has quit IRC18:46
*** Afdal has quit IRC19:41
*** vurma has quit IRC21:43
*** trifolio6 has joined #freeorion23:49
trifolio6anyone is up for a game?23:50

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