Sunday, 2009-03-01

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** Greywhind has joined #tp00:25
*** Greywhind has quit IRC00:59
*** Greywhind has joined #tp01:01
*** peres has left #tp01:04
llnzmithro: i'm around01:25
mithrollnz: has all the money been sorted or is it still waiting to be paid?01:26
llnzi'm still waiting01:27
llnzcould take another 2 weeks or so01:27
mithrostupid payment systems02:35
CIA-23jmingtan tpclient-pyogre * r177e3031196c /src/ (6 files): Updated methods to match Python-Ogre 1.6.102:47
ezodmithro: pong02:54
mithrohey ezod02:54
ezodhello02:54
mithroso how goes things?02:54
ezodnot bad02:55
ezodfeeling a bit better now that i dropped one of my courses :)02:56
ezodway too much on my plate this semester02:56
mithroso where are we at with single player?02:56
ezodwell, it works on linux02:56
mithroezod: oh, we should nuke the single player branches02:57
ezodi was hoping you could take a look and consider starting the merging02:57
ezodexcellent02:57
mithroI'm happy enough to do that02:57
ezodok, have you seen the wizard in action?02:57
ezoda bit ugly still, and has some quirks, but usable02:59
mithroI'm just about too03:00
ezodit certainly needs work before being "finished"03:01
ezodi haven't had time to really learn wx/etc. to do that03:01
ezodthe libtpclient-py stuff works well on linux03:02
ezodas far as i recall it worked fine on win32 as well, but i haven't tested it recently still03:02
mithrohow does the developer setup work?03:02
ezodswitch tpclient-pywx to singleplayer branch03:03
ezodmake sure submodules are pulled03:03
ezodand manually switch libtpclient-py to singleplayer branch03:03
ezodi also have actual installed packages of tpserver-cpp-0.6.0 and daneel-ai03:04
ezodwith xml files in /usr/share/tp or whatever03:04
mithrowhere do you search again?03:06
ezod1 sec, ill paste the path03:06
mithrodo you check an environment variable?03:06
ezodline 50 of SinglePlayer.py03:06
ezodsharepath = ['/usr/share/tp', '/usr/share/games/tp', '/usr/local/share/tp', '/opt/tp', os.path.join(installpath, 'tp/client/singleplayer')]03:06
ezodhardcoded basically03:07
ezodbut the installpath lets you put them locally, for testing etc.03:07
ezodwin32 looks in the registry for keys put there by packages03:07
ezodso.. the packages will need to put the keys there :)03:08
ezods/keys/values03:08
* mithro tries to see if debs work03:08
ezodif you just want to see the wizard work quickly, you can just paste a few xml files from the wiki somewhere it looks03:10
ezodhttp://thousandparsec.net/wiki/Single_Player03:10
tpbTitle: Single Player - Thousand Parsec Wiki (at thousandparsec.net)03:10
ezodrecall that server ones go under servers/ and ai clients under aiclients/03:10
ezodim also about to update the testing procedure on that wiki page03:12
mithroezod: maybe it's a good idea to setup some default ones which are used in developing03:13
mithroit's okay to assume that the stuff is in a directory above the current client03:13
ezodwhat i did for gsoc was just add some sample xml files to the libtpclient-py repo03:15
ezodis that what you mean?03:15
ezod(they aren't there anymore)03:15
ezodlike, i could put some samples that don't actually run anything - would let you complete the wizard, but the client would of course fail to connect to anything afterward03:17
*** jmtan has joined #tp03:18
mithrowhat I mean is that most people do the following03:19
mithro1) checkout everything into the same directory03:19
mithro2) expect it to work03:19
mithrohaving a devel setup which works is a good thing03:19
ezodok, i'm just pointing out that it can only "work" up to that point03:20
ezodi can't point it at a server that doesn't come with the repo03:21
ezodso in that sense, it works just as well with no xml files at all03:21
ezodbut what i can do (as previously) is make it show you every possible thing it can do with bogus xml files03:22
mithroso03:22
mithroway somebody has tpserver-cpp checkout to a directory called tpsever-cpp03:22
mithrocan't you just find that?03:22
ezodfind it how?03:23
ezodhere's the problem03:24
ezodthe xml file contains a lot of specific info, including path to executable03:24
ezodi can't provide the xml files with libtpclient-py, because then you'd have to add to libtpclient-py every time you made a new server/aiclient/ruleset03:25
ezodin fact, every time you changed something about how it runs pertinent to it03:26
ezodso that's not an option, to my mind03:26
ezodso i could have libtpclient-py look for tpserver-cpp repo's xml file03:26
ezodbut where?03:26
ezodand then, once it finds it, there's the issue of the executable path being wrong, as the xml file is written expecting tpserver-cpp to be installed03:27
ezodi.e. the build system puts in the path03:27
mithrohrm03:28
ezodso we could maybe rethink how this whole thing works03:28
ezodbut i spent an awful lot of time doing that last summer :)03:28
mithroIt seems like you could just write a "relative" xml file03:28
mithrothen use that for the uninstalled stuff03:29
ezodi can see one way to do that as things stand03:30
ezodbasically, put the xml file in the same dir as the executable is or will be, in the repo path03:31
ezodin all packages03:31
ezodanother thing i was thinking was just to give devs some easy way to generate them03:31
mithrowhat I'm thinking is that each git repo has a "development.xml" which specifies relative to the checkout directory the excutables03:32
ezodincluding quick ones that reference their own local working dirs03:32
ezodok03:32
mithroit also as a "installed.xml" which is used when packaging03:32
ezodah03:32
mithro(or what ever the current name is)03:32
ezodso then one thing remains03:32
mithromake more sense now?03:32
mithrokeeping them in sync is a bit of a pain03:33
mithrobut we can solve that problem later03:33
ezodwell if i write a script to generate it or whatever..03:33
ezodplus it's really just the executable path to worry about there, possibly we can do this with a single file, i'll see what i can figure out03:33
ezodbut there's still this:03:33
ezodhow does libtpclient-py know about these other repos?03:33
ezodthe checked-out libtpclient-py i mean.. how does it find other tp repos?03:34
mithroif it finds a .git directory it looks up one directory and checks each directory for a development.xml03:34
ezodsearches the entire filesystem?03:34
mithrono03:34
mithrojust up one directory03:35
mithropretty much everyone has a checkout seutp like03:35
ezodoh i see03:35
ezodfair enough03:35
mithroall the tp stuff checked out in a single directory03:35
ezodyeah03:35
mithroif you want to be really facy have a "TPPATH" or something which defaults to ".." when development and normal search locations when not03:37
ezodalso, the xml files currently live in various places in the server/ruleset/aiclient repos...03:37
ezodand, e.g., tpserver-cpp has more than one03:37
ezodok, can do03:37
ezodwithout disturbing that setup, can i just poke through the entire tree of each looking for xml files that use the proper dtd?03:37
mithrothat will be slow I was just going to dump one file in the top level directory03:38
mithro(ie development.xml in tpserver-cpp03:38
ezodi know, but (a) it's only for devs, and (b) having to put everything in one xml file in the top level dir is not ideal at least for tpserver-cpp03:39
mithrookay03:39
ezodas they are supposed to be modular with the rulesets and all03:39
mithrowell what ever works03:41
ezodok, on it03:43
ezodthanks03:43
mithrodo you have much time tonight?03:45
mithroI assume it's pretty late where you are03:45
ezod3:45am :(03:46
mithrodang I was hoping that we could knock of some of this stuff03:47
mithrowhat are your plans next weekend?03:49
ezodfree, to my knowledge03:49
mithrocould we organise a hack session to knock all these remaining issues off?03:49
ezodaside from the usual deluge of school work, but given warning i can push it aside03:49
ezodsure03:50
ezodwhat range of hours works for you? (UTC)03:50
ezodmy sleep schedule is all over the place so anytime is basically fine for me03:51
mithrowhat timezone are you in?03:51
ezodEST03:51
mithrowhich is which city?03:52
ezodtoronto, new york, montreal03:53
mithrohttp://www.timeanddate.com/worldclock/meetingtime.html?month=3&day=1&year=2009&p1=0&p2=240&p3=250&p4=-103:55
tpb<http://ln-s.net/2wHg> (at www.timeanddate.com)03:55
mithrohow does this look03:55
mithroDie Remote Console (LARA) ermöglicht Ihnen die Fernwartung Ihres Servers. Die Anzahl der zur Verfügung stehenden LARAs im Rechenzentrum ist begrenzt. Bei Buchung wird Ihnen eine Nutzungsdauer von 2 Stunden eingeräumt. Sofern die Remote Console nach Ablauf dieser Zeit nicht weiter verplant ist, kann sie ggf. weiter verwendet werden. Benötigen Sie die LARA garantiert länger als 2 Stunden, so kann sie für je 2 Folgestunden für 10 Euro (inkl. MwSt.) gemi03:55
mithroetet werden (z.B. LARA für 6 Stunden = 20 Euro).03:55
mithroWeitere Informationen zur Remote Console finden Sie hier.03:55
mithroopps03:55
mithrohttp://www.timeanddate.com/worldclock/meetingdetails.html?year=2009&month=2&day=28&hour=23&min=0&sec=0&p1=240&p2=25003:55
tpb<http://ln-s.net/2wHj> (at www.timeanddate.com)03:55
mithrothat is 6:00pm your time03:57
ezodokay, so next sat 6pm -03:57
ezodright03:57
mithroyeah I'll setup a meeting invite03:57
ezodok, sounds good03:57
mithrosent the meeting request04:03
mithrodo that look right?04:03
ezodyep, cool04:04
mithroezod: so I'm assuming you have gone now?04:27
* llnz wanders off05:11
llnzlater all05:11
*** llnz has quit IRC05:11
mithrohey jmtan05:58
jmtanhi mithro, it's been a while06:03
mithroyeah06:03
mithroI saw your commits06:03
jmtani've not tested them in linux yet, my linux box just died this week06:04
jmtani'm setting it up on my laptop atm06:04
mithrocool06:04
mithrojmtan: so I'm assuming you have not played spore?06:09
jmtanno i haven't, i've looked at some screenshots after getting your email though06:10
mithroyou want to take a look at the space map and the ship builder06:10
jmtanoh yeah, the space map is pretty cool06:14
jmtani'm not too sure how the ship builder works, i've only found a single shot of it06:17
jmtanbut, is it a set of pre-built parts put together?06:18
mithroyes06:18
mithroit works quite well06:24
jmtanbtw, i'm not sure if it is osx-specific, but i get this error thrown when i'm in the login phase of the client06:35
jmtanhttp://pastebin.com/d7c9fe69006:35
tpbTitle: pastebin - collaborative debugging tool (at pastebin.com)06:35
jmtancommenting out the line seems to work fine though, perhaps my version of python has a missing module06:36
mithrohrm what version of Python do you have?06:36
jmtan2.5.106:37
mithrohrm...06:37
mithrowhat happens if you do06:37
mithropython06:37
mithroimport encodings06:38
mithrodir(encodings)06:38
mithrojmtan: what does that output?06:41
jmtan['CodecRegistryError', '__builtins__', '__doc__', '__file__', '__name__', '__path__', '_aliases', '_cache', '_import_tail', '_norm_encoding_map', '_unknown', 'aliases', 'codecs', 'normalize_encoding', 'search_function', 'types']06:41
mithrohrm06:42
mithrocan you do a06:42
mithroimport encodings.utf_806:42
mithro?06:42
jmtanit seems to work fine06:46
mithrohrm06:49
mithrookay06:50
CIA-23mithro libtpproto-py * raafce7adda3a /tp/netlib/xstruct.py: Import encodings.utf_8 as some systems don't auto-import.06:51
mithrojmtan: give that a try?06:51
jmtansure06:52
jmtanit works fine now :)06:56
mithrocool07:14
JLPgood morning everyone08:10
*** peres has joined #tp09:35
*** peres has left #tp10:59
*** jmtan has quit IRC11:54
*** DTRemenak|RDP has joined #tp12:39
*** DTRemenak has quit IRC12:55
*** llnz has joined #tp13:48
*** nash has joined #tp18:00
*** DTRemenak|RDP has quit IRC18:42
*** nash has quit IRC18:58
*** DTRemenak has joined #tp18:59
*** mithro has quit IRC19:03
tansellMorning people19:13
*** nash has joined #tp19:21
*** Demitar has quit IRC21:13
*** tansell has quit IRC21:13
*** Demitar has joined #tp21:13
*** tansell has joined #tp21:13
*** mithro has joined #tp21:31
*** llnz has quit IRC22:33
mithrohey people22:36
mithrohey ezod22:36
mithropoke me when/if you are around23:00

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!