*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** Linkadmin has quit IRC | 00:20 | |
*** Agon has quit IRC | 01:09 | |
*** llnz2 has joined #tp | 01:11 | |
*** llnz has quit IRC | 01:14 | |
tansell | epyon-kitsune, pong? | 01:19 |
---|---|---|
*** Erroneous has quit IRC | 01:21 | |
*** Linkadmin has joined #tp | 01:21 | |
*** nash has joined #tp | 01:38 | |
*** mithro has joined #tp | 01:39 | |
*** epyon-sa1ura has joined #tp | 02:06 | |
*** Linkadmin has quit IRC | 03:07 | |
ezod | glew: ping | 03:12 |
glew | ezod: pong | 03:12 |
ezod | glew: hey, can you add me as a committer on your github repos? | 03:13 |
glew | sure, I"m not sure how though | 03:14 |
ezod | admin, collaborators | 03:14 |
glew | ok | 03:14 |
ezod | my username is ezod | 03:14 |
glew | ok | 03:14 |
glew | just added | 03:15 |
ezod | cool, thanks | 03:15 |
glew | sure | 03:15 |
glew | and I know i haven't written out the reschedule yet, I'll do that right now | 03:16 |
ezod | :) | 03:16 |
ezod | looks like you've got about 44 minutes :P | 03:16 |
glew | i think i just slipped it in | 04:00 |
*** welterde has quit IRC | 04:23 | |
*** welterde has joined #tp | 04:36 | |
*** Linkadmin has joined #tp | 04:48 | |
llnz2 | bbl | 04:57 |
*** llnz2 has quit IRC | 04:57 | |
*** glew has quit IRC | 04:59 | |
*** bisc has joined #tp | 05:00 | |
bisc | tansell: ping | 05:04 |
tansell | bisc, pong | 05:05 |
bisc | tansell: can we talk now? | 05:05 |
bisc | tansell: if yes, then we can start with this small patch http://codereview.mithis.com/93001 | 05:10 |
tpb | Title: Issue 93001: Removed startup label in Information panel. - Code Review (at codereview.mithis.com) | 05:10 |
tansell | I'm kinda busy - but it's best if you probably just keep talking and I'll get to it when I do | 05:13 |
bisc | okay, I'll just describe what I have now. | 05:15 |
bisc | 93001 is simple removal of label | 05:15 |
bisc | 90001 changes the starmap mode after the destination of Move command is set (it is done by clicking P button in Orders panel) | 05:17 |
bisc | 91001 is visual improvement of Messages panel, I moved buttons to bottom of panel and aligned them horizontally (we discussed it some time ago) | 05:18 |
bisc | 92001 - implementation of autoclose in update window. Please pay attention that force the config saving there (I'm not sure about the policy of working with config) | 05:19 |
bisc | 59001 - an old issue with information panel buttons is updated. Results are: a) wrapping b) better button appearance and alignment c) added borders for labels there (so that they don't get too close to other widgets) | 05:22 |
bisc | that's all about patches. | 05:22 |
bisc | also, I need to talk with you about cursor images (need some guidance here) and global plan of my work. | 05:24 |
matthewd | StupidIncarnate: ping | 05:48 |
matthewd | StupidIncarnate: I'm just about to email Carol | 05:48 |
StupidIncarnate | hey. okay cool, thanks alot | 05:49 |
tansell | matthewd, you forgot to submit your survey? | 05:59 |
StupidIncarnate | i did | 05:59 |
tansell | oh | 06:00 |
matthewd | tansell: You know me better than... oh, okay, fair point :) but no. :) | 06:00 |
matthewd | Okay, sent | 06:08 |
matthewd | Wasn't really sure how to word it, so I went with less words is better :P | 06:08 |
bisc | will be back in 1.5 hours | 06:25 |
*** bisc has quit IRC | 06:25 | |
*** llnz has joined #tp | 06:43 | |
*** cahirwpz has joined #tp | 06:57 | |
cahirwpz | hi all | 07:00 |
llnz | hi cahirwpz | 07:16 |
*** bisc has joined #tp | 07:47 | |
bisc | llnz: ping? | 08:28 |
llnz | bisc: pong :-) | 08:32 |
bisc | llnz: have you had time to look at message boards implementation in server? | 08:33 |
cahirwpz | llnz, that's actually something I'd be glad to hear too | 08:34 |
llnz | no, i haven't yet | 08:34 |
bisc | ok | 08:34 |
llnz | i might be able to put something together in the next few (4-5) days | 08:35 |
bisc | that would be great, thanks. | 08:38 |
*** nash has quit IRC | 09:17 | |
*** Greywhind has quit IRC | 09:42 | |
*** epyon-sa1ura has quit IRC | 10:24 | |
* llnz wanders off | 10:51 | |
llnz | later all | 10:51 |
*** llnz has quit IRC | 10:51 | |
*** cahirwpz has quit IRC | 11:19 | |
*** null_000 has joined #tp | 11:29 | |
*** Agon has joined #tp | 11:31 | |
bisc | null_000: ping | 12:08 |
null_000 | bisc: pong | 12:15 |
bisc | null_000: is your up-to-date version here http://github.com/Null000/daneel-ai ? | 12:16 |
tpb | Title: Null000's daneel-ai at master - GitHub (at github.com) | 12:16 |
null_000 | yes | 12:16 |
null_000 | but I'm not sure what settings are used in the last commit | 12:17 |
null_000 | you want to use it? | 12:17 |
bisc | null_000: don't you think that in daneel-ai-inplace.xml the <commandstring> tag should contain not "daneel-ai", but "daneel-ai.py"? | 12:17 |
bisc | yes, I use it for debugging singleplayer | 12:18 |
bisc | I'm not very interested in AI behavior now, mostly in starting | 12:18 |
bisc | and tpclient-pywx tries to start daneel-ai - and fails | 12:18 |
bisc | but if I change your file by placing ".py" -- it works well | 12:19 |
null_000 | you're right... | 12:19 |
null_000 | I'll change it | 12:19 |
bisc | null_000: cool, thank you | 12:20 |
null_000 | bisc: change now pushed... if you find any other problems or want any specific behaviour from the AI just tell me | 12:25 |
bisc | null_000: ok | 12:26 |
StupidIncarnate | hey, know if the current code supports moving order positions within a queue? | 12:35 |
*** cahirwpz has joined #tp | 12:39 | |
*** verhoevenv has joined #tp | 12:41 | |
bisc | no idea. I didn't see such methods on client side anywhere. | 12:46 |
*** mithro has quit IRC | 12:57 | |
*** Vadtec has quit IRC | 13:25 | |
*** Vadtec has joined #tp | 13:28 | |
*** glew has joined #tp | 13:39 | |
*** StupidIncarnate has quit IRC | 14:08 | |
epyon-kitsune | tansell, tansell-laptop - did you get my email? sent to mithro at mithis. | 14:31 |
*** epyon-sa2ura has joined #tp | 14:34 | |
ezod | glew: i read your new schedule, couple of comments for ya | 14:42 |
glew | ezod: hey | 14:43 |
ezod | you might find it useful to test your save and load functionality directly in SinglePlayer.py | 14:43 |
ezod | there is a section at the bottom starting with | 14:44 |
ezod | if __name__ == "__main__": | 14:44 |
glew | ok | 14:44 |
ezod | which, if you're unaware, is code that will run if you just run the python file standalone | 14:44 |
ezod | like | 14:44 |
ezod | python SinglePlayer.py | 14:44 |
ezod | and it goes through the same process as the wizard in tpclient-pywx | 14:44 |
ezod | you can modify that to do saving and loading once you have the functions done (think about where in the process it needs to go) | 14:45 |
ezod | then you can take care of the wizard in tpclient-pywx later, as that will be an annoying gui issue ;) | 14:45 |
glew | ok | 14:45 |
glew | so you're saying worry about getting functionality first | 14:45 |
glew | before putting it into the gui | 14:46 |
ezod | yes, absolutely | 14:46 |
glew | ok | 14:46 |
glew | that makes things easier for now | 14:46 |
glew | so I should probably fork tpclient-pywx | 14:47 |
ezod | also, i know you want to work on this campaign editor, but i think you'll find you have your hands full just with the save/load functionality | 14:47 |
ezod | glew: important thing is to fork libtpclient-py, for now | 14:47 |
glew | ok | 14:47 |
glew | right, because that contains SinglePlayer.py | 14:47 |
ezod | so re: campaign editor, just do that stuff by hand until save/load (and sqlite persistence) is rock solid | 14:47 |
glew | ok, so manually go and edit the database persistence file | 14:48 |
ezod | like, if you want to make a demo scenario, that's fine, but developing an entire gui and whatever to build it is way too ambitious (but i'd be happy to work on it with you post-gsoc) | 14:48 |
alanp | null_000: ping | 14:49 |
ezod | yeah i guess that's what you'd need to do | 14:49 |
glew | ok | 14:49 |
null_000 | alanp: pong | 14:49 |
ezod | see, the sum total of what constitutes a "scenario" is what you're already planning on saving and loading | 14:49 |
ezod | through parameters, maps, and initial conditions in the universe | 14:49 |
ezod | and AIs, and whatnot | 14:50 |
glew | yup | 14:50 |
alanp | null_000: can we do our meet aroudn this time either thursday or friday ( i'm not sure which day i'll be available ) | 14:50 |
ezod | so if you can save and load *any* game properly, we know campaigns are at least theoretically possible | 14:50 |
alanp | or, now | 14:50 |
ezod | and if you have time, by all means throw something together that's fun :) | 14:50 |
null_000 | alanp: I have time so it can be now | 14:51 |
glew | ok we'll see how far I get, but i'll focus on getting the save and load functionality worked into SinglePlayer.py | 14:51 |
ezod | ok | 14:51 |
ezod | glew: so do me one more favor | 14:51 |
ezod | as soon as you have a plan for the overall db structure (including the persistence table(s) from tpserver-cpp and your own config data from SinglePlayer), post a description on your blog | 14:52 |
glew | ok | 14:53 |
ezod | just to make sure i'm on the same page with you, the reason we're after saving everything to one sqlite file is so that we store each scenario or saved game in a single file? | 14:53 |
glew | right | 14:53 |
ezod | ok cool | 14:53 |
glew | the current persistence modules keep track of the game as it goes | 14:53 |
glew | so for saving, I'm trying to copy that database to a separate place and call it a save file | 14:54 |
glew | or at least preserve that database at a certain point | 14:54 |
ezod | well, you could add some functionality to persistence in general that makes it only save when you explicitly tell it to | 14:54 |
ezod | and for that you can use the admin stuff in tpserver-cpp | 14:55 |
ezod | (for explicitly telling it to, i mean) | 14:55 |
ezod | i think i added admin frames to libtpproto-py | 14:55 |
ezod | so you can create new commands for that | 14:56 |
*** bing has joined #tp | 14:56 | |
*** bing has left #tp | 14:56 | |
ezod | from a million miles away, it looks to me like having the ability to only save on command could be useful for all persistence modules | 14:57 |
glew | ok, a lot of that info was new to me just now, so I'll take a look and probably ask questions later | 14:57 |
ezod | but i'm not super familiar with the persistence architecture, you'd have to talk to llnz i think | 14:57 |
glew | right | 14:57 |
glew | I'll look it all over and get back to you, but saving on command definitely has advantages | 14:57 |
ezod | well the alternative (forcing save to a separate file) still requires some kind of server command, unless you can just copy the sqlite file over right when the user clicks "save" | 14:58 |
ezod | i guess that's a possibility too and might fit better with how persistence works | 14:59 |
ezod | your call, or talk to llnz if unsure ;) | 14:59 |
glew | will do, my previous thought was i could just access the persistence save file at the time save was called, and copy the entire database to another location | 15:00 |
glew | within sqlite commands | 15:00 |
glew | but that might be trickier than expected | 15:00 |
glew | I'll probably go for a second opinion from llnz | 15:00 |
ezod | what's the advantage of copying it with sql rather than just copying the whole file? | 15:05 |
ezod | whole file thing can be done from outside tpserver-cpp | 15:05 |
ezod | but i don't know if that will do the same thing as what you want | 15:06 |
glew | ezod: well i guess i could just direct copy the file too | 15:11 |
glew | would probably be easier too | 15:12 |
ezod | yeah, and you should have the file name from specifying it explicitly on tpserver-cpp command line, no? | 15:12 |
glew | yes, right now its a fixed location and file name | 15:13 |
ezod | if you wanted to implement a save command inside tpserver-cpp instead of file-copy or db-copy way, you would just need to change the file name (to whatever is sent in the save frame) and push all the data there | 15:14 |
ezod | and, as we said before, turn off the constant saving | 15:14 |
ezod | that sounds more elegant for some reason, but i can't think of any actual advantage over file copy, and file copy is dead easy | 15:16 |
*** epyon-sa2ura has quit IRC | 15:29 | |
*** accAgon has joined #tp | 15:49 | |
*** Agon has quit IRC | 15:51 | |
*** accAgon is now known as Agon | 15:57 | |
*** bisc has quit IRC | 16:19 | |
*** accAgon has joined #tp | 16:45 | |
*** Agon has quit IRC | 16:47 | |
glew | ezod: ping, do you know what branch of libtpclient-py I should work from? | 17:49 |
ezod | hrm | 17:56 |
ezod | should be ok to work with stable | 17:56 |
glew | ezod: thanks | 17:56 |
ezod | but all the recent stuff is in tp04... | 17:56 |
ezod | there may be bugfixes that are relevent to you in tp04 branch, not sure | 17:56 |
ezod | i don't think anyone's touched the SinglePlayer.py though | 17:57 |
glew | so should i just work from the tp04 | 17:57 |
glew | and i think the commits show you were the last person to work on SinglePlayer.py | 17:57 |
ezod | well, it looks like people are using tp04 branch to do mainline development now, so use tp04 i guess | 17:58 |
glew | ok | 17:58 |
ezod | either way it wouldn't be hard to merge your branch into either since your deltas will only touch SinglePlayer.py | 17:58 |
*** Greywhind has joined #tp | 18:06 | |
*** null_000 has quit IRC | 18:08 | |
*** accAgon has quit IRC | 18:09 | |
*** epyon-sakura has joined #tp | 19:15 | |
*** StrangerDanger is now known as AzureDiamond | 19:54 | |
*** AzureDiamond is now known as StrangerDanger | 19:55 | |
*** Linkadmin has quit IRC | 20:00 | |
*** StrangerDanger is now known as DangerStranger | 20:02 | |
*** Linkadmin has joined #tp | 20:03 | |
*** DangerStranger is now known as StrangerDanger | 20:05 | |
*** llnz has joined #tp | 20:22 | |
llnz | morning all | 20:22 |
*** glew has quit IRC | 20:33 | |
*** glew has joined #tp | 20:34 | |
ezod | hey llnz | 20:57 |
llnz | hi ezod | 20:57 |
*** Greywhind has quit IRC | 21:06 | |
*** StrangerDanger has quit IRC | 21:47 | |
*** StrangerDanger has joined #tp | 21:57 | |
*** cahirwpz has quit IRC | 22:49 | |
*** verhoevenv has quit IRC | 22:55 | |
*** verhoevenv has joined #tp | 22:57 | |
*** verhoevenv has quit IRC | 23:29 | |
*** StrangerDanger is now known as JohnSGalt | 23:35 | |
*** JohnSGalt is now known as DangerStranger | 23:35 | |
*** StupidIncarnate has joined #tp | 23:45 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!