*** tpb has joined #tp | 00: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#gettinghelp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** epyon-sa1ura has quit IRC | 00:13 | |
*** StupidIncarnate has joined #tp | 00:58 | |
*** epyon-sakura has joined #tp | 01:50 | |
*** knotwork has joined #tp | 03:16 | |
ezod | glew: ping | 03:49 |
---|---|---|
glew | ezod: pong | 03:50 |
ezod | hey | 03:50 |
glew | hey | 03:50 |
ezod | so what's the update since friday? :) | 03:51 |
glew | I really haven't done much, since friday | 03:51 |
glew | I think what I didn't get to was adding save() to the gui, and compatibility in the tpconfig.dtd | 03:54 |
ezod | the compatibility thing is fair enough, we can just add that later | 03:54 |
ezod | i'm not too worried about that gsoc wise | 03:54 |
ezod | having a gui save feature in the client seems pretty important to cap off your work - what's the issue with that? | 03:55 |
glew | um, i'm not sure where to add it | 03:55 |
glew | my fault for not asking | 03:56 |
ezod | i would have thought, add an entry to the file menu | 03:58 |
ezod | have it load a file dialog | 03:58 |
ezod | then call save() on the destination file | 03:58 |
glew | where is the file menu located | 03:58 |
ezod | enable it only if it's a singleplayer game | 03:58 |
glew | singleplayergame and tpsqlite | 03:58 |
ezod | right | 03:59 |
ezod | there is a file menu in the client.. | 03:59 |
ezod | see windows/winMain.py, line 258 | 04:00 |
*** jmtan has joined #tp | 04:01 | |
glew | ok, I'll have a look there | 04:02 |
glew | ezod: 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 item | 04:05 |
ezod | not 100% sure, but i don't think you need any xrc stuff for that | 04:08 |
glew | ok, thanks | 04:09 |
glew | looks like i can make the save function in the file menu, bind it to a function like onSave() that i'll have to write | 04:09 |
glew | and then make sure it only appears when the game is singleplayer and tpsqlite | 04:09 |
ezod | yeah | 04:09 |
*** StupidIncarnate has quit IRC | 04:57 | |
glew | ezod: if you're there, I'm not sure how/if i can access the singleplayer field found in winConnect from within winMain | 04:59 |
glew | I'm fairly sure i can get to game via application.game | 05:00 |
ezod | just check if the game is started then | 05:00 |
ezod | application.game.active or something | 05:01 |
glew | ezod: what field would that be under, or should i look at the server params | 05:01 |
glew | ok | 05:01 |
glew | i'll look for it | 05:01 |
glew | ezod: i think i remember that from SinglePlayerGame in SinglePlayer.py | 05:01 |
glew | is that what you mean | 05:02 |
glew | and I'm guessing that's unique to singleplayer then? | 05:02 |
ezod | oh | 05:02 |
ezod | yeah you need to access the SinglePlayerGame object | 05:02 |
ezod | you would need to anyway to call save() | 05:02 |
ezod | so just figure out how you can access it, i don't remember off the top of my head | 05:02 |
glew | right, and winConnect creates the SinglePlayer game via application.game | 05:03 |
glew | i think | 05:03 |
ezod | okay, then that's what you need | 05:03 |
ezod | just check .active (boolean flag, only true if a single player game is running) | 05:03 |
glew | ok so i can use that game object for active, tpsqlite, and save() | 05:03 |
ezod | yeah | 05:03 |
glew | what was the last thing you said ".active (boolean flag, only true if a single player game is running)" | 05:04 |
glew | are you saying thats only there if its SInglePlayerGame | 05:04 |
glew | ? | 05:04 |
ezod | ... | 05:04 |
ezod | if it's an instance of SinglePlayerGame | 05:04 |
ezod | it's obviously a single player game | 05:04 |
glew | ok, I understand what your saying, just making sure | 05:04 |
glew | thanks | 05:04 |
ezod | .active just tells you if it's actually running | 05:05 |
ezod | i don't remember if a SinglePlayerGame object exists otherwise, i would guess not | 05:05 |
glew | ezod: hmm, so Should i put the if (singleplayergame and tpsqlite) in a try block? | 05:15 |
glew | or do you think trying to access application.game.active and other fields not going to throw anything? | 05:15 |
ezod | the nice thing about python is you can try it really easily ;) | 05:16 |
ezod | but 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 case | 05:16 |
glew | ezod: well I added save to the menu, but after using the tp04 version of tpclient-pywx I've been having trouble connecting to games | 05:33 |
glew | maybe a pull of the latest commits would help? | 05:33 |
*** StupidIncarnate has joined #tp | 05:51 | |
*** glew has quit IRC | 06:19 | |
*** cahirwpz has joined #tp | 07:37 | |
*** bisc has joined #tp | 08:14 | |
*** cahirwpz has quit IRC | 08:30 | |
*** cahirwpz has joined #tp | 08:31 | |
*** null_000 has joined #tp | 09:57 | |
*** epyon-sakura has quit IRC | 09:58 | |
*** epyon-sakura has joined #tp | 09:58 | |
CIA-31 | Krystian Bacławski master * rf6b7578 / (6 files in 5 dirs): (log message trimmed) | 11:39 |
CIA-31 | Ruleset refactoring. | 11:39 |
CIA-31 | * Fixed bug in RulesetManager: Minisec was loaded under the name of | 11:39 |
CIA-31 | MinisecPlus 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-31 | RulesetUniverseGenerator, RulesetActionProcessor classes. | 11:39 |
*** epyon-sakura has quit IRC | 11:58 | |
CIA-31 | Krystian Bacławski master * re660b6c / (19 files in 3 dirs): | 12:17 |
CIA-31 | Minor 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/9S3Mti | 12:17 |
tpb | Title: Commit e660b6c9310d17312515a97e0c5168c04376b6e8 to cahirwpz's tpserver-py - GitHub (at bit.ly) | 12:17 |
*** StrangerDanger has quit IRC | 12:27 | |
*** StrangerDanger has joined #tp | 12:42 | |
*** JohnSGalt has joined #tp | 13:08 | |
*** StrangerDanger has quit IRC | 13:09 | |
CIA-31 | Krystian Bacławski master * rb3a0af3 / (4 files in 4 dirs): (log message trimmed) | 13:11 |
CIA-31 | GameManager 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 create | 13:11 |
CIA-31 | a table for it if needed. | 13:11 |
CIA-31 | * Added Model.{create.drop} static methods. They're needed if one | 13:11 |
CIA-31 | needs to manage Model's tables. | 13:11 |
*** DTRemenak has quit IRC | 13:22 | |
*** DTRemenak has joined #tp | 13:23 | |
CIA-31 | Krystian Bacławski master * rf7c055f / tests/testcases/design.py : A few new tests for Design related requests. - http://bit.ly/aJsn7w | 13:27 |
CIA-31 | Krystian Bacławski master * r43dfefc / tests/testcases/common.py : Added separator between packets in an error report - http://bit.ly/agYb3F | 13:27 |
CIA-31 | Krystian Bacławski master * r70f0040 / tpserver-py-tool : Print traceback if manipulating a game failed. - http://bit.ly/cW77ql | 13:27 |
tpb | Title: Commit f7c055fd5ca7b123e6d5457e71af25caaedb3392 to cahirwpz's tpserver-py - GitHub (at bit.ly) | 13:27 |
tpb | Title: Commit 43dfefc2de6d79318c4c98033273920b9182c936 to cahirwpz's tpserver-py - GitHub (at bit.ly) | 13:27 |
tpb | Title: Commit 70f0040d007a1c3d6e8e461828435aa429f61aac to cahirwpz's tpserver-py - GitHub (at bit.ly) | 13:27 |
*** Greywhind has joined #tp | 13:34 | |
*** verhoevenv has joined #tp | 13:34 | |
CIA-31 | Krystian Bacławski master * recb0734 / libtpproto2-py : Use the newest version of libtpproto2-py. - http://bit.ly/bvTmig | 13:37 |
tpb | Title: Commit ecb07340ace8c549a45a8c836dd8ebe38b140ed1 to cahirwpz's tpserver-py - GitHub (at bit.ly) | 13:37 |
*** cahirwpz has quit IRC | 14:17 | |
*** bisc has quit IRC | 14:29 | |
*** glew has joined #tp | 14:49 | |
alanp | who is Krystian? | 15:17 |
null_000 | github says cahirwpz | 15:34 |
*** StupidIncarnate has quit IRC | 16:03 | |
*** StupidIncarnate has joined #tp | 16:27 | |
*** welterde has quit IRC | 16:52 | |
*** tuna-fish has joined #tp | 17:01 | |
*** Agon-laptop has joined #tp | 17:14 | |
*** bisc has joined #tp | 17:20 | |
*** welterde has joined #tp | 17:33 | |
*** verhoevenv has quit IRC | 17:47 | |
*** verhoevenv has joined #tp | 18:00 | |
*** jmtan has quit IRC | 18:27 | |
*** UltraDMA has joined #tp | 18:44 | |
*** UltraDMA has quit IRC | 19:09 | |
*** UltraDMA has joined #tp | 19:24 | |
*** cahirwpz has joined #tp | 19:25 | |
*** StupidIncarnate has quit IRC | 19:31 | |
*** UltraDMA has quit IRC | 19:34 | |
*** Agon-laptop has quit IRC | 19:41 | |
*** llnz has joined #tp | 19:48 | |
llnz | morning all | 19:48 |
*** JohnSGalt has quit IRC | 19:52 | |
alanp | hey | 20:25 |
alanp | everybody made it home? | 20:26 |
ezod | gsoc pencils down today | 20:26 |
null_000 | everybody finished their gsoc projects? | 20:29 |
llnz | alanp: i have | 20:32 |
alanp | null_000: we added a new order to minisec, and soon to mtsec | 20:32 |
alanp | null_000: the ability to intercept ships | 20:32 |
alanp | null_000: where are you with documentation? | 20:33 |
null_000 | alanp: I was thinking I could add that to my AI decided not to since that would be cheating | 20:33 |
alanp | why would it be cheating? | 20:33 |
verhoevenv | null_000: it turned out to be a bit harder than that though | 20:34 |
null_000 | because no normal player would calculate intercept positions during normal play | 20:34 |
verhoevenv | not just something you could do client-side probably | 20:34 |
ezod | null_000: now it's automatic, so you can add it ;) | 20:35 |
null_000 | you can do it but you have to keep track of the enemy speed and position | 20:35 |
alanp | null_000: ?? | 20:35 |
null_000 | too many people talking ^_^ | 20:35 |
null_000 | alanp: how-to guide http://www.thousandparsec.net/wiki/Daneel-ai_pyton_tutorial | 20:36 |
tpb | <http://ln-s.net/7SL8> (at www.thousandparsec.net) | 20:36 |
alanp | null_000: we added pointers to the client to point out the trajectory of a enemy ship... | 20:36 |
alanp | so no calculations are needed now | 20:36 |
alanp | making human intercept orders pretty good | 20:37 |
null_000 | alanp: great ^_^ I had that on my future-ideas-list | 20:37 |
null_000 | ezod: 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 ships | 20:38 |
ezod | null_000: add difficulty levels that gimp it? | 20:38 |
alanp | yes | 20:39 |
verhoevenv | null_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 work | 20:40 |
null_000 | ezod: 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 micromanagement | 20:40 |
null_000 | verhoevenv: ok, I'll update the libs and remove all workarounds and cross my fingers that it works ^_^ | 20:41 |
verhoevenv | null_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 bit | 20:42 |
verhoevenv | and I don't have a lot of time the next few weeks :/ | 20:42 |
alanp | verhoevenv: http://www.scottberkun.com/blog/2010/the-cult-of-busy/ | 20:43 |
tpb | <http://ln-s.net/7TrO> (at www.scottberkun.com) | 20:43 |
alanp | null_000: http://www.scottberkun.com/blog/2010/the-cult-of-busy/ | 20:43 |
null_000 | verhoevenv: I don't have time either so don't worry | 20:43 |
alanp | =D | 20:43 |
verhoevenv | Well basically "I don't have time for it" means "my exams are more important and urgent than this" :p | 20:44 |
alanp | =D | 20:44 |
null_000 | ^_^ | 20:46 |
null_000 | so what big changes were done during the hack week? | 20:48 |
alanp | games are playable :P | 20:49 |
null_000 | that's a big change ^_^ | 20:50 |
*** tansell-laptop has joined #tp | 20:50 | |
alanp | risk and minisec work pretty well | 20:51 |
null_000 | btw is there any page on the wiki for ideas or brainstorming? | 20:51 |
alanp | create one if you don't see it | 20:51 |
null_000 | I will... but the hard part will be to make people read it ^_^ | 20:54 |
alanp | mailing list it | 20:54 |
null_000 | will do | 20:55 |
*** tansell-laptop has quit IRC | 21:00 | |
llnz | brb, restarting kde for software update | 21:03 |
*** llnz has quit IRC | 21:03 | |
*** cahirwpz has quit IRC | 21:04 | |
*** llnz has joined #tp | 21:04 | |
*** epyon-sa1ura has joined #tp | 21:05 | |
*** Greywhind has quit IRC | 21:09 | |
*** tansell-laptop has joined #tp | 21:12 | |
*** bisc has quit IRC | 21:41 | |
llnz | hi tansell-laptop | 21:48 |
llnz | ~seen agon | 21:48 |
tpb | llnz: 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 too | 21:48 |
llnz | humm... | 21:48 |
llnz | epyon-sa1ura: ping | 21:48 |
epyon-sa1ura | llnz: pong | 21:48 |
epyon-sa1ura | alanp: ping | 21:48 |
llnz | epyon-sa1ura: how are you going? | 21:48 |
epyon-sa1ura | not well, I was almost all the time on the road | 21:49 |
llnz | SF treat you well? | 21:49 |
epyon-sa1ura | reduced the number of errors but still can't get it to compile | 21:49 |
epyon-sa1ura | oh, that yes :) | 21:49 |
epyon-sa1ura | alanp: ping | 21:51 |
*** cahirwpz has joined #tp | 21:57 | |
*** null_000 has quit IRC | 22:15 | |
alanp | epyon-sa1ura: ? | 22:27 |
*** tansell-laptop has quit IRC | 22:34 | |
CIA-31 | Krystian Bacławski master * r3cdc2b8 / (10 files in 4 dirs): Direct Category specification. - http://bit.ly/bD7bFO | 22:49 |
tpb | Title: Commit 3cdc2b84f486366e2120fa4d420d9616466659a5 to cahirwpz's tpserver-py - GitHub (at bit.ly) | 22:49 |
*** epyon-sa1ura has quit IRC | 22:52 | |
*** cahirwpz has quit IRC | 22:57 | |
*** jnengland77 has joined #tp | 23:23 | |
*** jnengland77 has left #tp | 23:24 | |
*** jnengland77 has joined #tp | 23:25 | |
*** jnengland77 has left #tp | 23:25 | |
*** jnengland77 has joined #tp | 23:27 | |
*** jnengland77 has quit IRC | 23:53 | |
*** epyon-sa1ura has joined #tp | 23:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!