Thursday, 2009-08-06

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** mithro has quit IRC00:05
tansellGreywhind, ping?00:24
* tansell pokes Greywhind with something sharp and pointy00:25
alanpheh00:30
tansellalanp, so where is mtsec at?00:30
alanpwas in the US for a few days, unable to do anything due to lame tax form I signed00:31
alanpI'm going to be working on combat pretty hardcore for the next few days to get it completed00:31
llnzcool00:31
llnzbbl00:31
*** llnz has quit IRC00:31
alanpthen i'll send some test instructions for the features of mtsec and work on cleaning it up (needs a good cleaning)00:31
alanpexcuse my blog post for being late, I didn't want to get into any troubles with the IRS who are pretty notorious for creating troubles00:32
*** mithro has joined #tp00:46
Greywhindtansell: pong01:02
tansellGreywhind, our meeting was at 2:00pm right?01:04
Greywhindtansell: yeah, we're late for the usual time. my mistake.01:04
Greywhindtansell: are you ok doing it now?01:04
tansellyeah01:05
*** reac has quit IRC01:06
CIA-26landon tpclient-pyogre * r1beebf96859a /src/battlemanager.py: Fixed round progression, which was skipping the first round01:07
CIA-26landon tpclient-pyogre * re6dfaf8d7764 /src/battlemanager.py: Fixed logging so round # is only a prefix on event related logs01:11
tansellGreywhind, soo...01:17
tansellblog post?01:18
*** llnz has joined #tp01:18
Greywhindtansell: just finishing it now01:18
tansellokay01:18
Greywhindtansell: http://greywhind.wordpress.com/2009/08/05/gsoc-week-11-summary/01:25
tpb<http://ln-s.net/3os-> (at greywhind.wordpress.com)01:25
CIA-26landon tpclient-pyogre * r2cd1a1bb5a40 /src/battlemanager.py: Whoops, never noticed everything was going backwards, that's fixed now01:27
CIA-26landon tpclient-pyogre * rf4a8262e46ca /src/battlemanager.py: End round log fixed to show the correct last round01:27
Greywhindtansell: you there still?01:38
*** Erroneous has quit IRC01:38
tansellsorry01:38
tansellback now01:38
Greywhindtansell: no problem01:38
Greywhindtansell: i kept you waiting too :P01:38
llnzGreywhind: can't see anything wrong with rfts move orders01:39
Greywhindtansell: anyway, i've tested the client with a full game of Risk against two AIs, and I played until I lost01:39
Greywhindllnz: hm. wonder why all the others work01:39
tansellGreywhind, looks good01:40
tansellGreywhind, you lost!? :P01:40
Greywhindllnz: in every other ruleset, every other order type has worked. this is the only one that currently doesn't, that i've found01:40
Greywhindtansell: yes, i'm not very good at risk01:40
llnzGreywhind: the move order in rfts is very different from the other ones (at least minisec and mtsec)01:42
alanpis rfts the set where you can move only to adjoining planets?01:43
alanpor that only on certainturns?01:43
Greywhindllnz: what arguments does it expect?01:43
*** jnengland77 has quit IRC01:43
llnzit takes a object orderparameter01:43
llnzalanp: only to star systems01:44
alanpahhh01:44
llnzslow warp, disapear from universe until arrival01:44
Greywhindllnz: like this object order param:01:45
Greywhindkw['structures'] = [01:45
GreywhindIntegerStructure('objectid', "The object's Id number.", size=32, type='unsigned'),01:45
GreywhindListStructure('validtypes', 'List of the valid object types which can be chosen.', structures=[01:45
GreywhindIntegerStructure('validtype', 'A valid object type for the chosen Object ID.', size=32, type='unsigned'),01:45
Greywhind]),01:45
Greywhind]?01:45
Greywhindor just the ID number?01:45
mithrokeyboard failure at my work01:47
llnzsame as a normal object order param, I[I]01:49
llnzselected id, list of valid types01:49
Greywhindllnz: can i pass an empty list safely?01:49
Greywhindnwho01:50
Greywhindoops01:50
llnzyes01:50
llnzthe list is "read only"01:50
tansellback - but I need to head of in like 5 minutes01:50
Greywhindllnz: but like... does the list need to actually contain anything useful?01:51
tansellGreywhind, should practice more01:51
tansellGreywhind, jphr has some screencast tutorials on the net01:51
llnzthe client can send an empty list01:51
Greywhindllnz: ok.01:51
Greywhindthansk01:51
Greywhind*thanks01:51
llnzif the list isn't empty the server will ignore the list01:52
Greywhindtansell: well, i'm pretty sure minisec and risk are playable01:52
Greywhindtansell: i think mtsec is as well, but haven't been able to test it fully01:52
Greywhindllnz: ok, thanks01:52
tansellGreywhind, if you could work with alanp to get mtsec into a playable state01:52
tansellthat would be awesome01:52
Greywhindtansell: i can try01:53
Greywhindtansell: are there any AIs that work with mtsec?01:53
tansellGreywhind, no :(01:54
alanpno01:54
alanp:-(01:54
tansellGreywhind, have you tested on windows/mac?01:54
Greywhindalanp: want to play a game or two sometime, then? :P01:54
Greywhindtansell: not yet, i'll do that this week01:54
tansellokay01:54
tansellyour bound to find problems01:54
tansellbtw - does copy/paste of the order stuff work now?01:55
Greywhindyeah :-/01:55
alanpi can probably host a game and leave it running, i'01:55
Greywhindtansell: i don't think it does01:55
alanpi've been using 1 min turns though01:55
tansellGreywhind, I thought you where going to fix that?01:55
alanpand battle doesnt work yet, so im not sure what we would do :P01:55
alanpbattle should be good for next week, so we can test during pencil down if that works for you01:55
Greywhindalanp: heh. i've been using 1 minute turns too01:56
Greywhindalanp: yeah, we can test later01:56
Greywhindtansell: i looked at it, but i don't think i was able to fix it01:56
tansellGreywhind, make sure that the client can start up a mtsec game (even if it's only playing by yourself)01:56
Greywhindtansell: i can try to get it in01:56
tansellGreywhind, it should be pretty easy01:56
Greywhindtansell: i've already made sure mtsec works at least on the surface01:56
Greywhindtansell: i just don't know if it's possible to play a full game01:56
tansellGreywhind, you should be able to build ships, torpedoes, load torpedoes onto ships and unload them at a new location01:57
Greywhindtansell: i'll try to check01:57
tansellGreywhind, the daneel-ai fixes should be sent to Iwanowitch too01:57
llnzif you are using the right branch01:57
Greywhindllnz: i got move orders working01:58
Greywhindllnz: thanks for the info01:58
tansellbe back in 30 minutes02:02
*** tansell_laptop has quit IRC02:04
*** tansell_laptop has joined #tp02:04
CIA-26Greywhind tpclient-pywx-tp04 * ra95302ebb571 /windows/main/ (overlays/Path.py panelOrder.py): Fixed return value from object selection order parameter panels, fixed out of date code in Path.py.02:31
*** nash has quit IRC03:21
*** tansell_laptop has quit IRC04:40
*** tansell_laptop has joined #tp04:45
*** Demitar has joined #tp05:00
*** llnz2 has joined #tp05:07
*** llnz has quit IRC05:08
*** llnz2 is now known as llnz05:08
*** tansell_laptop has quit IRC05:16
*** tansell_laptop has joined #tp05:18
*** Greywhind has quit IRC05:34
*** mithro has quit IRC06:21
*** Vadtec has quit IRC06:48
*** Vadtec_ has quit IRC06:48
*** edison has quit IRC06:48
*** Vadtec_ has joined #tp06:49
*** Vadtec has joined #tp06:49
*** edison has joined #tp06:49
*** mithro has joined #tp06:50
* llnz ponders07:05
mithrowhat are you pondering?07:20
llnznothing07:25
* llnz wanders off07:35
llnzlater all07:35
*** llnz has quit IRC07:36
*** tuna-fish has joined #tp09:14
*** peres has joined #tp09:58
*** peres has quit IRC10:28
*** bddebian has joined #tp11:04
bddebianHeya11:06
*** mithro has quit IRC11:10
*** alanp_ has joined #tp11:14
*** alanp_ has quit IRC11:57
totehello :)13:16
*** tuna-fish has quit IRC14:00
*** jnengland77 has joined #tp14:45
*** cherez1 has joined #tp15:03
*** cherez has quit IRC15:05
*** Erroneous has joined #tp15:08
*** Greywhind has joined #tp15:10
*** llnz has joined #tp16:19
*** bddebian has quit IRC16:32
*** nebaway is now known as nebajoth17:01
llnzmorning all17:02
*** Greywhind has quit IRC17:55
*** Greywhind has joined #tp17:59
*** JLafont has joined #tp18:00
*** nash has joined #tp18:07
*** jnengland77 has quit IRC19:00
tansellmorning people20:18
Greywhindmorning tansell20:19
Greywhindtansell: so it's looking like the problem with order pasting is that deepcopy on a GroupStructure causes this error:20:26
Greywhind  File "/usr/lib/python2.6/copy.py", line 329, in _reconstruct20:26
Greywhind    y.append(item)20:26
Greywhind  File "libtpproto-py/tp/netlib/objects/Structures.py", line 376, in append20:26
Greywhind    raise AttributeError("Can not change the size of this structure")20:26
tansellGreywhind, looks like it needs __deepcopy__() attribute20:30
tansellhttp://docs.python.org/library/copy.html20:30
tpbTitle: 9.17. copy — Shallow and deep copy operations Python v2.6.2 documentation (at docs.python.org)20:30
Greywhindtansell: i see20:31
*** mithro has joined #tp20:35
Greywhindtansell: hm. so i made a method: __deepcopy__(self, memo)20:50
Greywhindtansell: in the same class where the error happens20:50
Greywhindtansell: but that method never appears to be called20:50
tansellhrm20:54
tansellare you calleding copy.deepcopy or copy.copy?20:54
Greywhindorder = copy.deepcopy(self.clipboard[0])20:55
tansellGreywhind, read the page and see what is says?20:58
tansellmaybe __deepcopy__ is a new feature?20:58
GreywhindChanged in version 2.5: Added copying functions.21:05
Greywhindso they should be in 2.6, which is what i'm using21:05
*** welterde has quit IRC21:09
*** alanp has quit IRC21:09
*** alanp has joined #tp21:11
*** welterde has joined #tp21:11
tansellGreywhind, sorry - it's just another fiddle and write some simple test cases to find out what's going on21:30
tansellit sounds like you put th e__deepcopy__ in the wrong location21:30
Greywhindtansell: well, it's trying to deepcopy a dynamic class (<dynamic-class 'Build Fleet' (2) at 0xb1d18cdcL>21:34
Greywhindtansell: which I don't think I can add a __deepcopy__ to, can i?21:34
tansellsure you can21:34
tanselldynamic-class has a base class it inherits from21:35
Greywhindtansell: how do i figure out what the base class is?21:35
tansellprint __bases__21:36
tansellor just look at the code21:36
Greywhindtansell: ok. thanks. i'm going to go eat dinner now :P21:37
*** Erroneous has quit IRC21:40
*** tansell_laptop has quit IRC22:12
*** jmtan has joined #tp23:12
*** jnengland77 has joined #tp23:20
*** tansell_laptop has joined #tp23:55

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