Monday, 2010-08-16

*** tpb has joined #tp00:00
-barjavel.freenode.net- [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp00:00
*** ChanServ sets mode: +o tpb00:00
*** epyon-sa1ura has quit IRC00:13
*** StupidIncarnate has joined #tp00:58
*** epyon-sakura has joined #tp01:50
*** knotwork has joined #tp03:16
ezodglew: ping03:49
glewezod: pong03:50
ezodhey03:50
glewhey03:50
ezodso what's the update since friday? :)03:51
glewI really haven't done much, since friday03:51
glewI think what I didn't get to was adding save() to the gui, and compatibility in the tpconfig.dtd03:54
ezodthe compatibility thing is fair enough, we can just add that later03:54
ezodi'm not too worried about that gsoc wise03:54
ezodhaving a gui save feature in the client seems pretty important to cap off your work - what's the issue with that?03:55
glewum, i'm not sure where to add it03:55
glewmy fault for not asking03:56
ezodi would have thought, add an entry to the file menu03:58
ezodhave it load a file dialog03:58
ezodthen call save() on the destination file03:58
glewwhere is the file menu located03:58
ezodenable it only if it's a singleplayer game03:58
glewsingleplayergame and tpsqlite03:58
ezodright03:59
ezodthere is a file menu in the client..03:59
ezodsee windows/winMain.py, line 25804:00
*** jmtan has joined #tp04:01
glewok, I'll have a look there04:02
glewezod: do you know if i will be able to add it just to winMain.py, or do i have to do the whole xrc and define the menu item04:05
ezodnot 100% sure, but i don't think you need any xrc stuff for that04:08
glewok, thanks04:09
glewlooks like i can make the save function in the file menu, bind it to a function like onSave() that i'll have to write04:09
glewand then make sure it only appears when the game is singleplayer and tpsqlite04:09
ezodyeah04:09
*** StupidIncarnate has quit IRC04:57
glewezod: if you're there, I'm not sure how/if i can access the singleplayer field found in winConnect from within winMain04:59
glewI'm fairly sure i can get to game via application.game05:00
ezodjust check if the game is started then05:00
ezodapplication.game.active or something05:01
glewezod: what field would that be under, or should i look at the server params05:01
glewok05:01
glewi'll look for it05:01
glewezod: i think i remember that from SinglePlayerGame in SinglePlayer.py05:01
glewis that what you mean05:02
glewand I'm guessing that's unique to singleplayer then?05:02
ezodoh05:02
ezodyeah you need to access the SinglePlayerGame object05:02
ezodyou would need to anyway to call save()05:02
ezodso just figure out how you can access it, i don't remember off the top of my head05:02
glewright, and winConnect creates the SinglePlayer game via application.game05:03
glewi think05:03
ezodokay, then that's what you need05:03
ezodjust check .active (boolean flag, only true if a single player game is running)05:03
glewok so i can use that game object for active, tpsqlite, and save()05:03
ezodyeah05:03
glewwhat was the last thing you said ".active (boolean flag, only true if a single player game is running)"05:04
gleware you saying thats only there if its SInglePlayerGame05:04
glew?05:04
ezod...05:04
ezodif it's an instance of SinglePlayerGame05:04
ezodit's obviously a single player game05:04
glewok, I understand what your saying, just making sure05:04
glewthanks05:04
ezod.active just tells you if it's actually running05:05
ezodi don't remember if a SinglePlayerGame object exists otherwise, i would guess not05:05
glewezod: hmm, so Should i put the if (singleplayergame and tpsqlite) in a try block?05:15
glewor do you think trying to access application.game.active and other fields not going to throw anything?05:15
ezodthe nice thing about python is you can try it really easily ;)05:16
ezodbut to my knowledge, you will get an attributeerror or somesuch due to the singleplayergame not existing, in non-singleplayer, so a try block would be sensible in that case05:16
glewezod: well I added save to the menu, but after using the tp04 version of tpclient-pywx I've been having trouble connecting to games05:33
glewmaybe a pull of the latest commits would help?05:33
*** StupidIncarnate has joined #tp05:51
*** glew has quit IRC06:19
*** cahirwpz has joined #tp07:37
*** bisc has joined #tp08:14
*** cahirwpz has quit IRC08:30
*** cahirwpz has joined #tp08:31
*** null_000 has joined #tp09:57
*** epyon-sakura has quit IRC09:58
*** epyon-sakura has joined #tp09:58
CIA-31Krystian Bacławski master * rf6b7578 / (6 files in 5 dirs): (log message trimmed)11:39
CIA-31Ruleset refactoring.11:39
CIA-31* Fixed bug in RulesetManager: Minisec was loaded under the name of11:39
CIA-31MinisecPlus ruleset, where MinisecPlus was not loaded at all.11:39
CIA-31* ActionProcessor depends on Ruleset object.11:39
CIA-31* Splitted Ruleset class into: RulesetOrders, RulesetObjects,11:39
CIA-31RulesetUniverseGenerator, RulesetActionProcessor classes.11:39
*** epyon-sakura has quit IRC11:58
CIA-31Krystian Bacławski master * re660b6c / (19 files in 3 dirs):12:17
CIA-31Minor Model related refactoring.12:17
CIA-31* Moved SelectableByName, SQLBase to tp.server.model.Model package.12:17
CIA-31* Renamed SQLBase class to ModelObject.12:17
CIA-31* Renamed SelectableByName class to ByNameMixin. - http://bit.ly/9S3Mti12:17
tpbTitle: Commit e660b6c9310d17312515a97e0c5168c04376b6e8 to cahirwpz's tpserver-py - GitHub (at bit.ly)12:17
*** StrangerDanger has quit IRC12:27
*** StrangerDanger has joined #tp12:42
*** JohnSGalt has joined #tp13:08
*** StrangerDanger has quit IRC13:09
CIA-31Krystian Bacławski master * rb3a0af3 / (4 files in 4 dirs): (log message trimmed)13:11
CIA-31GameManager refactoring.13:11
CIA-31* GameManager should not be aware of SQL backend for the Model.13:11
CIA-31* Added Model.init static method. It maps Game object and create13:11
CIA-31a table for it if needed.13:11
CIA-31* Added Model.{create.drop} static methods. They're needed if one13:11
CIA-31needs to manage Model's tables.13:11
*** DTRemenak has quit IRC13:22
*** DTRemenak has joined #tp13:23
CIA-31Krystian Bacławski master * rf7c055f / tests/testcases/design.py : A few new tests for Design related requests. - http://bit.ly/aJsn7w13:27
CIA-31Krystian Bacławski master * r43dfefc / tests/testcases/common.py : Added separator between packets in an error report - http://bit.ly/agYb3F13:27
CIA-31Krystian Bacławski master * r70f0040 / tpserver-py-tool : Print traceback if manipulating a game failed. - http://bit.ly/cW77ql13:27
tpbTitle: Commit f7c055fd5ca7b123e6d5457e71af25caaedb3392 to cahirwpz's tpserver-py - GitHub (at bit.ly)13:27
tpbTitle: Commit 43dfefc2de6d79318c4c98033273920b9182c936 to cahirwpz's tpserver-py - GitHub (at bit.ly)13:27
tpbTitle: Commit 70f0040d007a1c3d6e8e461828435aa429f61aac to cahirwpz's tpserver-py - GitHub (at bit.ly)13:27
*** Greywhind has joined #tp13:34
*** verhoevenv has joined #tp13:34
CIA-31Krystian Bacławski master * recb0734 / libtpproto2-py : Use the newest version of libtpproto2-py. - http://bit.ly/bvTmig13:37
tpbTitle: Commit ecb07340ace8c549a45a8c836dd8ebe38b140ed1 to cahirwpz's tpserver-py - GitHub (at bit.ly)13:37
*** cahirwpz has quit IRC14:17
*** bisc has quit IRC14:29
*** glew has joined #tp14:49
alanpwho is Krystian?15:17
null_000github says cahirwpz15:34
*** StupidIncarnate has quit IRC16:03
*** StupidIncarnate has joined #tp16:27
*** welterde has quit IRC16:52
*** tuna-fish has joined #tp17:01
*** Agon-laptop has joined #tp17:14
*** bisc has joined #tp17:20
*** welterde has joined #tp17:33
*** verhoevenv has quit IRC17:47
*** verhoevenv has joined #tp18:00
*** jmtan has quit IRC18:27
*** UltraDMA has joined #tp18:44
*** UltraDMA has quit IRC19:09
*** UltraDMA has joined #tp19:24
*** cahirwpz has joined #tp19:25
*** StupidIncarnate has quit IRC19:31
*** UltraDMA has quit IRC19:34
*** Agon-laptop has quit IRC19:41
*** llnz has joined #tp19:48
llnzmorning all19:48
*** JohnSGalt has quit IRC19:52
alanphey20:25
alanpeverybody made it home?20:26
ezodgsoc pencils down today20:26
null_000everybody finished their gsoc projects?20:29
llnzalanp: i have20:32
alanpnull_000: we added a new order to minisec, and soon to mtsec20:32
alanpnull_000: the ability to intercept ships20:32
alanpnull_000: where are you with documentation?20:33
null_000alanp: I was thinking I could add that to my AI decided not to since that would be cheating20:33
alanpwhy would it be cheating?20:33
verhoevenvnull_000: it turned out to be a bit harder than that though20:34
null_000because no normal player would calculate intercept positions during normal play20:34
verhoevenvnot just something you could do client-side probably20:34
ezodnull_000: now it's automatic, so you can add it ;)20:35
null_000you can do it but you have to keep track of the enemy speed and position20:35
alanpnull_000: ??20:35
null_000too many people talking ^_^20:35
null_000alanp: how-to guide http://www.thousandparsec.net/wiki/Daneel-ai_pyton_tutorial20:36
tpb<http://ln-s.net/7SL8> (at www.thousandparsec.net)20:36
alanpnull_000: we added pointers to the client to point out the trajectory of a enemy ship...20:36
alanpso no calculations are needed now20:36
alanpmaking human intercept orders pretty good20:37
null_000alanp: great ^_^ I had that on my future-ideas-list20:37
null_000ezod: will add it... but I am already a bit concerned that my AI could be too difficult to play against when there are a lot of ships20:38
ezodnull_000: add difficulty levels that gimp it?20:38
alanpyes20:39
verhoevenvnull_000: there might be some changes required to your code here and there, we fixed a lot of backend and clientlib stuff you were hacking around, but I believe the latest version on git.thousandparsec.net should work20:40
null_000ezod: I have yet to decide on the parameters for easy, medium and hard.... but I will probably have to add some code to limit the level of micromanagement20:40
null_000verhoevenv: ok, I'll update the libs and remove all workarounds and cross my fingers that it works ^_^20:41
verhoevenvnull_000: I'd also like us to work together rearrange and refactor some of the things you did to daneel so that it's easier to combine python and chr, but I still have to think and talk about that a bit20:42
verhoevenvand I don't have a lot of time the next few weeks :/20:42
alanpverhoevenv: http://www.scottberkun.com/blog/2010/the-cult-of-busy/20:43
tpb<http://ln-s.net/7TrO> (at www.scottberkun.com)20:43
alanpnull_000: http://www.scottberkun.com/blog/2010/the-cult-of-busy/20:43
null_000verhoevenv: I don't have time either so don't worry20:43
alanp=D20:43
verhoevenvWell basically "I don't have time for it" means "my exams are more important and urgent than this" :p20:44
alanp=D20:44
null_000^_^20:46
null_000so what big changes were done during the hack week?20:48
alanpgames are playable :P20:49
null_000that's a big change ^_^20:50
*** tansell-laptop has joined #tp20:50
alanprisk and minisec work pretty well20:51
null_000btw is there any page on the wiki for ideas or brainstorming?20:51
alanpcreate one if you don't see it20:51
null_000I will... but the hard part will be to make people read it ^_^20:54
alanpmailing list it20:54
null_000will do20:55
*** tansell-laptop has quit IRC21:00
llnzbrb, restarting kde for software update21:03
*** llnz has quit IRC21:03
*** cahirwpz has quit IRC21:04
*** llnz has joined #tp21:04
*** epyon-sa1ura has joined #tp21:05
*** Greywhind has quit IRC21:09
*** tansell-laptop has joined #tp21:12
*** bisc has quit IRC21:41
llnzhi tansell-laptop21:48
llnz~seen agon21:48
tpbllnz: agon was last seen in #tp 3 weeks, 3 days, 22 hours, 58 minutes, and 23 seconds ago: <Agon> hm ok will try to implement that too21:48
llnzhumm...21:48
llnzepyon-sa1ura: ping21:48
epyon-sa1urallnz: pong21:48
epyon-sa1uraalanp: ping21:48
llnzepyon-sa1ura: how are you going?21:48
epyon-sa1uranot well, I was almost all the time on the road21:49
llnzSF treat you well?21:49
epyon-sa1urareduced the number of errors but still can't get it to compile21:49
epyon-sa1uraoh, that yes :)21:49
epyon-sa1uraalanp: ping21:51
*** cahirwpz has joined #tp21:57
*** null_000 has quit IRC22:15
alanpepyon-sa1ura: ?22:27
*** tansell-laptop has quit IRC22:34
CIA-31Krystian Bacławski master * r3cdc2b8 / (10 files in 4 dirs): Direct Category specification. - http://bit.ly/bD7bFO22:49
tpbTitle: Commit 3cdc2b84f486366e2120fa4d420d9616466659a5 to cahirwpz's tpserver-py - GitHub (at bit.ly)22:49
*** epyon-sa1ura has quit IRC22:52
*** cahirwpz has quit IRC22:57
*** jnengland77 has joined #tp23:23
*** jnengland77 has left #tp23:24
*** jnengland77 has joined #tp23:25
*** jnengland77 has left #tp23:25
*** jnengland77 has joined #tp23:27
*** jnengland77 has quit IRC23:53
*** epyon-sa1ura has joined #tp23:58

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