*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** tuna has quit IRC | 00:00 | |
*** guitsaru has quit IRC | 00:01 | |
tpb | levitation[A] has quit worldforge (Ping timeout: 369 seconds) | 00:01 |
---|---|---|
*** mithro has quit IRC | 00:03 | |
*** mithro has joined #tp | 00:04 | |
tpb | levitation[A] has joined on worldforge | 00:06 |
*** mithro has quit IRC | 00:11 | |
*** mithro has joined #tp | 00:20 | |
*** Epyon has quit IRC | 00:50 | |
*** Epyon has joined #tp | 00:50 | |
*** greywhind has joined #tp | 00:57 | |
*** greywhind_ has quit IRC | 00:57 | |
*** mithro has quit IRC | 01:06 | |
*** mithro has joined #tp | 01:15 | |
*** nash has quit IRC | 01:23 | |
*** mithro has quit IRC | 01:42 | |
*** mithro has joined #tp | 01:49 | |
tpb | levitation[A] has quit worldforge (Ping timeout: 369 seconds) | 02:04 |
*** tpb` has joined #tp | 02:10 | |
*** mithro has joined #tp | 02:12 | |
*** greywhind has joined #tp | 02:12 | |
*** Epyon has joined #tp | 02:12 | |
*** DTRemenak has joined #tp | 02:12 | |
*** jotham has joined #tp | 02:12 | |
*** CIA-10 has joined #tp | 02:12 | |
*** TBBle has joined #tp | 02:12 | |
*** tpb has quit IRC | 02:12 | |
*** tpb` is now known as tpb | 02:12 | |
*** ChanServ sets mode: +o tpb | 02:12 | |
*** Epyon has quit IRC | 02:18 | |
*** greywhind has quit IRC | 02:18 | |
*** DTRemenak has quit IRC | 02:18 | |
*** jotham has quit IRC | 02:18 | |
*** mithro has quit IRC | 02:18 | |
*** TBBle has quit IRC | 02:18 | |
*** CIA-10 has quit IRC | 02:18 | |
tpb | levitation[A] has joined on worldforge | 02:22 |
*** llnz has joined #tp | 02:27 | |
*** greywhind has joined #tp | 02:27 | |
*** Epyon has joined #tp | 02:27 | |
*** DTRemenak has joined #tp | 02:27 | |
*** jotham has joined #tp | 02:27 | |
*** CIA-10 has joined #tp | 02:27 | |
*** TBBle has joined #tp | 02:27 | |
*** tpb has joined #tp | 02:27 | |
*** ChanServ sets mode: +o tpb | 02:27 | |
*** llnz2 has joined #tp | 03:01 | |
*** llnz has quit IRC | 03:04 | |
*** llnz2 is now known as llnz | 03:04 | |
tpb | levitation[A] has quit worldforge (Ping timeout: 369 seconds) | 03:17 |
tpb | levitation[A] has joined on worldforge | 03:23 |
*** mithro has joined #tp | 03:50 | |
mithro | hey people | 03:51 |
mithro | hey llnz | 03:51 |
llnz | hi mithro | 03:51 |
mithro | how goes the combat? | 03:52 |
llnz | worked for about 40 turns | 03:52 |
llnz | will try again tonight | 03:52 |
mithro | any idea what is causing the crash now? | 04:00 |
mithro | for i in 1 2 3 4 5; do ./tpsai-py tp://ai$i:password@localhost > ai$i.log 2>&1 &; done | 04:09 |
*** mithro has quit IRC | 04:38 | |
*** mithro_ has joined #tp | 04:39 | |
mithro_ | brb | 04:39 |
*** mithro_ has quit IRC | 04:39 | |
*** mithro has joined #tp | 04:40 | |
mithro | llnz: could you do a tpserver-cpp status report sometime in the future? | 04:44 |
llnz | sure | 04:47 |
llnz | know what the bug is, just need to fix it | 04:53 |
llnz | two line fix | 04:56 |
*** greywhind_ has joined #tp | 04:57 | |
*** greywhind has quit IRC | 04:57 | |
*** kandinski has joined #tp | 05:03 | |
mithro | ~whois kandinski | 05:03 |
mithro | hi kandinski | 05:04 |
mithro | ~seen kandinski | 05:07 |
tpb | mithro: kandinski was last seen in #tp 6 weeks, 6 days, 23 hours, 48 minutes, and 51 seconds ago: <kandinski> my connection wen t away | 05:07 |
llnz | turn 20 and all seems ok | 05:08 |
mithro | three way combat was causing problems previously? | 05:10 |
mithro | llnz: the message deleting should help when you get to turn 100 or on wards | 05:14 |
*** llnz2 has joined #tp | 05:14 | |
*** llnz has quit IRC | 05:15 | |
*** llnz2 is now known as llnz | 05:15 | |
llnz | turn 33 | 05:15 |
llnz | turn 48 | 05:22 |
mithro | how many players? | 05:25 |
llnz | 5 AI, plus a drone with two 4 battleship fleets at home planet | 05:26 |
llnz | turn 62 | 05:29 |
* llnz logs in to have a look | 05:30 | |
mithro | llnz: well? | 05:45 |
*** llnz2 has joined #tp | 05:45 | |
*** llnz has quit IRC | 05:46 | |
*** llnz2 is now known as llnz | 05:46 | |
llnz | turn 100 :-) | 05:48 |
mithro | llnz: yay! | 05:52 |
mithro | so how are the AI's going? | 05:52 |
llnz | 109 | 05:52 |
llnz | fine, i think | 05:53 |
llnz | i think a could have been knocked out, will check | 05:53 |
llnz | knocked out == killed in game | 05:53 |
mithro | a? one? | 05:54 |
mithro | I should add a check into the ai that you have atleast 1 asset left | 05:54 |
llnz | one or more, but it doesn't appear so | 05:54 |
mithro | is this on your public server? | 05:55 |
llnz | yes | 05:56 |
llnz | ai2 has been killed | 06:02 |
llnz | The game has currently 7 players. The Universe currently has 108 objects. | 06:03 |
mithro | what is the mem usage of the AI's and tpserver-cpp like? | 06:04 |
llnz | ai: 60-63m Virt, 10-13m res | 06:06 |
llnz | tpserver-cpp: 69m virt, 10 res | 06:06 |
llnz | 10m res | 06:06 |
mithro | llnz: shouldn't tpserver-cpp be much smaller then the AI's? I'm have no optimisation at all in my cache/processing alogrithim? | 06:09 |
llnz | all fairly stable, tpserver-cpp's virt is climbing slowly | 06:09 |
llnz | tpserver-cpp holds visibility info for all players, and other "invisible" (to the client) data | 06:11 |
mithro | o btw, nash found a problem with the timestamp stuff | 06:12 |
llnz | did he? what was it? | 06:13 |
mithro | we can't represent more then a single change in one second | 06:14 |
llnz | that doesn't matter, as long as there is a change, then an update needs to happen | 06:14 |
mithro | llnz: okay what happens with the following | 06:15 |
mithro | two clients connect - both make a change in the same second - only one client will see the correct info | 06:16 |
llnz | that race occurs even with serials instead of timestamps | 06:17 |
mithro | no it doesn't | 06:17 |
llnz | because it is the server's time, no one elses | 06:17 |
mithro | llnz: the problem is that the modification time hasn't changed but the data on the server has | 06:18 |
llnz | this is way i previously stopped two clients connecting at the same time | 06:19 |
llnz | s/way/why/ | 06:19 |
llnz | connecting to the same player at the same time | 06:19 |
mithro | it can also occur if a client connects and another one connects within a second | 06:20 |
llnz | how, for that case? | 06:21 |
llnz | turn 172 | 06:24 |
llnz | highest object id is 916 | 06:25 |
llnz | ai1 is killed | 06:27 |
llnz | Ships: 12 Frigate, 59 Battleship | 06:32 |
mithro | he he | 06:35 |
mithro | the ai builds Battleships in preference to frigates most of the time | 06:35 |
llnz | yes, but 59 battleships! | 06:36 |
mithro | thats not a large amount :P | 06:40 |
mithro | or was that just one fleet? | 06:40 |
llnz | just one fleet | 06:40 |
mithro | ahh that is a big fleet | 06:41 |
llnz | turn 205 | 06:41 |
mithro | llnz: how is the memory usage now? | 06:41 |
llnz | ai: 63-65m virt, 13-15 res | 06:42 |
llnz | tpserver-cpp 71m virt, 11m res | 06:42 |
* mithro ponders calling the GC | 06:43 | |
llnz | oh, also note that i have no swap, so the res sizes are acturate | 06:44 |
llnz | accurate | 06:45 |
mithro | hrm... | 06:47 |
llnz | Swap: 6024332k total, 92k used, 6024240k free. | 06:47 |
* llnz has 2GB ram | 06:48 | |
mithro | he he | 06:52 |
mithro | I have 2GB of ram in my laptop | 06:52 |
CIA-10 | mithro tpsai-py * r8172fcf40ca8 /tpsai-py: Force garbage collection to keep memory consumption under control. | 06:53 |
llnz | highest object id 1200 | 06:54 |
mithro | llnz: you can give that a go next time | 06:55 |
llnz | sure | 06:55 |
*** greywhind has joined #tp | 06:57 | |
*** greywhind_ has quit IRC | 06:57 | |
llnz | ai4 killed | 06:58 |
llnz | Ships: 1 Frigate, 98 Battleship | 06:58 |
llnz | an even bigger collection of battleships | 06:59 |
mithro | who is left? | 07:05 |
llnz | ai3 and ai5 | 07:06 |
llnz | ai5 is much larger | 07:06 |
llnz | just tested that patch with a killed ai, seems to chew cpu (about 4% when idle) | 07:07 |
CIA-10 | mithro tpsai-py * rce07c434a15b /tpsai-py: | 07:07 |
CIA-10 | Added a sleep delay when downloading to stop all pounding the server on turn generation. | 07:07 |
CIA-10 | Can be disabled with --nosleep option. | 07:07 |
llnz | turn 261 | 07:08 |
llnz | Ships: 2 Frigate, 256 Battleship | 07:10 |
llnz | that's one big fleet | 07:10 |
CIA-10 | mithro tpsai-py * r11e2ac8b4e89 /tpsai-py: Only gc if I havn't since last turn. | 07:10 |
mithro | I need to add code to split fleets for overallocated stuff | 07:10 |
mithro | llnz: see if that fixes your 4% problem | 07:11 |
llnz | looks like it will merge more fleets into it | 07:11 |
llnz | ok | 07:11 |
mithro | llnz: any idea what that fleet is targetting? | 07:12 |
mithro | it must be a rather large other fleet | 07:12 |
llnz | yes, a planet | 07:13 |
llnz | not even a home planet | 07:13 |
mithro | just a single planet? | 07:13 |
mithro | can you send me the log? | 07:13 |
llnz | humm... keeps changing course | 07:13 |
llnz | will do | 07:13 |
llnz | object id 420 | 07:13 |
mithro | should gz if first :P | 07:13 |
llnz | errrr... 460 | 07:14 |
llnz | will do | 07:14 |
mithro | tpsai-py will merge anything at the same location | 07:15 |
mithro | (into a single threat) | 07:15 |
llnz | lastest tpsai-py about 7m res, not chewing cpu on idle | 07:15 |
mithro | yeah 7m is about the correct size for a python application (not that it isn't actually using 7m - a lot of that is shared between python processes) | 07:16 |
llnz | about 2m shared | 07:16 |
llnz | end in sight, one planet to go | 07:17 |
mithro | llnz: that doesn't include executable memory which is shared | 07:17 |
llnz | fyi: virt 58m | 07:17 |
mithro | did you see the delay stuff? | 07:18 |
llnz | saw the patch, didn't see how well it worked | 07:18 |
mithro | llnz: it will only work on turns which have a time of time/3 > 20 | 07:19 |
llnz | turns at least 60 seconds? | 07:19 |
mithro | 61 seconds I think | 07:20 |
llnz | one final fleet left | 07:20 |
llnz | 13 minutes to the end | 07:22 |
mithro | llnz: so now we need battlexml :P | 07:23 |
mithro | to watch insane size fleets battle each other | 07:23 |
llnz | i'll write the tpserver-cpp status report on the weekend | 07:23 |
llnz | and i'll explain why battlexml is a little down the list currently | 07:23 |
mithro | sure | 07:25 |
mithro | battlexml is on the "nice to have" not "must have now or you die!" list :P | 07:25 |
mithro | llnz: so you going to push all your changes now? | 07:26 |
llnz | tomorrow, they need a little cleanup | 07:29 |
llnz | well, might get a patch or two now | 07:31 |
mithro | no hurry - I won't have time to test myself tonight | 07:31 |
CIA-10 | llnz tpserver-cpp * rad59138d2fba /modules/games/minisec/ (Makefile.am combatant.cpp combatant.h): | 07:33 |
CIA-10 | Added Combatant class for Minisec. | 07:33 |
CIA-10 | This is used by the new combat code in minisec to handle combat, and replaces | 07:33 |
CIA-10 | what Fleet used to do, but is simpler. | 07:33 |
mithro | simpler == good :P | 07:33 |
llnz | is two classes simpler than one? | 07:34 |
llnz | answer: sometimes | 07:34 |
llnz | highest object id 1265 | 07:34 |
llnz | turn 310 | 07:35 |
CIA-10 | llnz tpserver-cpp * r1cd31a5e0f7b /modules/games/minisec/ (8 files): (log message trimmed) | 07:42 |
CIA-10 | Rewrite of combat in minisec, and associated changes. | 07:42 |
CIA-10 | Changes to the signedness of values in Fleet, and corresponding changes | 07:42 |
CIA-10 | in the Orders and other areas as well. | 07:42 |
CIA-10 | The new combat collects all the sides at a location together and then | 07:42 |
CIA-10 | resolves the combat using the Combatant objects. Changes in MinisecTurn | 07:42 |
CIA-10 | are to set up the combats correctly. | 07:42 |
*** llnz changes topic to "Thousand Parsec - http://www.thousandparsec.net/ || IRC Logs at http://www.thousandparsec.net/~irc/ || Why not help out? || tpserver-cpp vs tpsai-py, 1 from 1" | 07:43 | |
mithro | llnz: why not divide that into multiple patches? | 07:43 |
llnz | because the intermediates will not compile | 07:43 |
mithro | llnz: btw, you need to add an intercept order | 07:43 |
mithro | Out: 250 DSN | 07:45 |
mithro | In: MAIL FROM:<[email protected]> | 07:45 |
mithro | Out: 452 4.3.1 Insufficient system storage | 07:45 |
mithro | In: QUIT | 07:45 |
mithro | Out: 221 2.0.0 Bye | 07:45 |
mithro | ? | 07:45 |
llnz | oh, the log file | 07:45 |
llnz | 1.5MB gziped | 07:45 |
mithro | there should be plenty of space for that | 07:46 |
llnz | oh, 2.3MB when email encoded | 07:47 |
mithro | there is 300mb space free | 07:48 |
llnz | size limit on incoming email? | 07:48 |
mithro | yeah 100mb | 07:48 |
CIA-10 | llnz tpserver-cpp * rf7125021b3e7 /modules/games/minisec/ (fleet.cpp fleet.h): Removed redundant methods from Fleet in minisec. | 07:48 |
llnz | i will set up round 2 tomorrow night | 07:53 |
llnz | have my final masters presentation tomorrow (later today, even) | 07:54 |
mithro | llnz: okay cool :P | 07:55 |
* llnz wanders off | 07:59 | |
llnz | later all | 07:59 |
*** llnz has quit IRC | 07:59 | |
*** guitsaru has joined #tp | 08:20 | |
*** guitsaru has quit IRC | 08:28 | |
*** tuna-fish has joined #tp | 08:39 | |
*** tuna-fish is now known as tuna | 08:39 | |
*** greywhind_ has joined #tp | 08:57 | |
*** greywhind has quit IRC | 08:57 | |
*** mithro has quit IRC | 09:37 | |
*** guitsaru has joined #tp | 10:42 | |
*** greywhind has joined #tp | 10:57 | |
*** greywhind_ has quit IRC | 10:57 | |
tpb | levitation[A] has quit worldforge (Read error: Connection reset by peer) | 10:59 |
tpb | levitation[A] has joined on worldforge | 11:08 |
*** Erroneous has joined #tp | 12:38 | |
*** greywhind_ has joined #tp | 12:57 | |
*** greywhind has quit IRC | 12:57 | |
*** DTRemenak has quit IRC | 13:06 | |
*** DTRemenak has joined #tp | 13:10 | |
*** Epyon has quit IRC | 13:21 | |
*** Epyon has joined #tp | 13:22 | |
*** Epyon has quit IRC | 13:31 | |
*** tuna has quit IRC | 13:31 | |
*** greywhind_ has quit IRC | 13:31 | |
*** jotham has quit IRC | 13:31 | |
*** TBBle has quit IRC | 13:31 | |
*** CIA-10 has quit IRC | 13:31 | |
*** DTRemenak has quit IRC | 13:31 | |
*** kandinski has quit IRC | 13:31 | |
*** Epyon has joined #tp | 13:33 | |
*** DTRemenak has joined #tp | 13:33 | |
*** greywhind_ has joined #tp | 13:33 | |
*** tuna has joined #tp | 13:33 | |
*** kandinski has joined #tp | 13:33 | |
*** jotham has joined #tp | 13:33 | |
*** CIA-10 has joined #tp | 13:33 | |
*** TBBle has joined #tp | 13:33 | |
*** Epyon has quit IRC | 13:42 | |
*** tuna has quit IRC | 13:42 | |
*** greywhind_ has quit IRC | 13:42 | |
*** jotham has quit IRC | 13:42 | |
*** TBBle has quit IRC | 13:42 | |
*** CIA-10 has quit IRC | 13:42 | |
*** DTRemenak has quit IRC | 13:42 | |
*** kandinski has quit IRC | 13:42 | |
*** tpb_ has joined #tp | 13:44 | |
*** tpb_ is now known as tpb | 13:44 | |
*** Epyon has joined #tp | 13:44 | |
*** DTRemenak has joined #tp | 13:44 | |
*** greywhind_ has joined #tp | 13:44 | |
*** tuna has joined #tp | 13:44 | |
*** kandinski has joined #tp | 13:44 | |
*** jotham has joined #tp | 13:44 | |
*** CIA-10 has joined #tp | 13:44 | |
*** TBBle has joined #tp | 13:44 | |
*** Epyon has quit IRC | 13:48 | |
*** tuna has quit IRC | 13:48 | |
*** greywhind_ has quit IRC | 13:48 | |
*** jotham has quit IRC | 13:48 | |
*** TBBle has quit IRC | 13:48 | |
*** CIA-10 has quit IRC | 13:48 | |
*** DTRemenak has quit IRC | 13:48 | |
*** kandinski has quit IRC | 13:48 | |
*** tpb has joined #tp | 13:52 | |
*** Epyon has joined #tp | 13:52 | |
*** DTRemenak has joined #tp | 13:52 | |
*** greywhind_ has joined #tp | 13:52 | |
*** tuna has joined #tp | 13:52 | |
*** kandinski has joined #tp | 13:52 | |
*** jotham has joined #tp | 13:52 | |
*** CIA-10 has joined #tp | 13:52 | |
*** TBBle has joined #tp | 13:52 | |
*** Epyon has quit IRC | 14:03 | |
*** tuna has quit IRC | 14:03 | |
*** greywhind_ has quit IRC | 14:03 | |
*** jotham has quit IRC | 14:03 | |
*** TBBle has quit IRC | 14:03 | |
*** CIA-10 has quit IRC | 14:03 | |
*** DTRemenak has quit IRC | 14:03 | |
*** kandinski has quit IRC | 14:03 | |
*** Epyon has joined #tp | 14:03 | |
*** DTRemenak has joined #tp | 14:03 | |
*** greywhind_ has joined #tp | 14:03 | |
*** tuna has joined #tp | 14:03 | |
*** kandinski has joined #tp | 14:03 | |
*** jotham has joined #tp | 14:03 | |
*** CIA-10 has joined #tp | 14:03 | |
*** TBBle has joined #tp | 14:03 | |
tpb | levitation[A] has joined on worldforge | 14:04 |
*** tpb` has joined #tp | 14:18 | |
*** tpb has quit IRC | 14:18 | |
*** guitsaru_ has quit IRC | 14:19 | |
*** Epyon has quit IRC | 14:20 | |
*** tuna has quit IRC | 14:20 | |
*** greywhind_ has quit IRC | 14:20 | |
*** jotham has quit IRC | 14:20 | |
*** TBBle has quit IRC | 14:20 | |
*** CIA-10 has quit IRC | 14:20 | |
*** DTRemenak has quit IRC | 14:20 | |
*** kandinski has quit IRC | 14:20 | |
*** tpb` is now known as tpb | 14:22 | |
*** guitsaru has quit IRC | 14:22 | |
*** guitsaru has joined #tp | 14:22 | |
*** Epyon has joined #tp | 14:22 | |
*** DTRemenak has joined #tp | 14:22 | |
*** greywhind_ has joined #tp | 14:22 | |
*** tuna has joined #tp | 14:22 | |
*** kandinski has joined #tp | 14:22 | |
*** jotham has joined #tp | 14:22 | |
*** CIA-10 has joined #tp | 14:22 | |
*** TBBle has joined #tp | 14:22 | |
*** guitsaru has quit IRC | 14:29 | |
*** Epyon has quit IRC | 14:29 | |
*** tuna has quit IRC | 14:29 | |
*** greywhind_ has quit IRC | 14:29 | |
*** jotham has quit IRC | 14:29 | |
*** TBBle has quit IRC | 14:29 | |
*** CIA-10 has quit IRC | 14:29 | |
*** DTRemenak has quit IRC | 14:29 | |
*** kandinski has quit IRC | 14:29 | |
*** tpb has joined #tp | 14:31 | |
*** tuna has quit IRC | 14:40 | |
*** tuna has joined #tp | 14:40 | |
*** greywhind has joined #tp | 14:57 | |
*** greywhind_ has quit IRC | 14:57 | |
*** tuna has quit IRC | 14:59 | |
*** tuna has joined #tp | 15:00 | |
*** tuna has quit IRC | 15:11 | |
*** guitsaru has quit IRC | 15:11 | |
*** greywhind has quit IRC | 15:11 | |
*** Epyon has quit IRC | 15:11 | |
*** jotham has quit IRC | 15:11 | |
*** TBBle has quit IRC | 15:11 | |
*** CIA-10 has quit IRC | 15:11 | |
*** DTRemenak has quit IRC | 15:11 | |
*** kandinski has quit IRC | 15:11 | |
*** tuna has joined #tp | 15:11 | |
*** greywhind has joined #tp | 15:11 | |
*** guitsaru has joined #tp | 15:11 | |
*** Epyon has joined #tp | 15:11 | |
*** DTRemenak has joined #tp | 15:11 | |
*** kandinski has joined #tp | 15:11 | |
*** jotham has joined #tp | 15:11 | |
*** CIA-10 has joined #tp | 15:11 | |
*** TBBle has joined #tp | 15:11 | |
tpb | levitation[A] has joined on worldforge | 15:26 |
*** tuna has quit IRC | 15:36 | |
*** guitsaru has quit IRC | 15:36 | |
*** greywhind has quit IRC | 15:36 | |
*** Epyon has quit IRC | 15:36 | |
*** jotham has quit IRC | 15:36 | |
*** TBBle has quit IRC | 15:36 | |
*** CIA-10 has quit IRC | 15:36 | |
*** DTRemenak has quit IRC | 15:36 | |
*** kandinski has quit IRC | 15:36 | |
*** tuna has joined #tp | 15:37 | |
*** greywhind has joined #tp | 15:37 | |
*** guitsaru has joined #tp | 15:37 | |
*** Epyon has joined #tp | 15:37 | |
*** DTRemenak has joined #tp | 15:37 | |
*** kandinski has joined #tp | 15:37 | |
*** jotham has joined #tp | 15:37 | |
*** CIA-10 has joined #tp | 15:37 | |
*** TBBle has joined #tp | 15:37 | |
tpb | levitation[A] has quit worldforge (Ping timeout: 369 seconds) | 15:42 |
*** tuna has quit IRC | 15:46 | |
*** guitsaru has quit IRC | 15:46 | |
*** greywhind has quit IRC | 15:46 | |
*** Epyon has quit IRC | 15:46 | |
*** jotham has quit IRC | 15:46 | |
*** TBBle has quit IRC | 15:46 | |
*** CIA-10 has quit IRC | 15:46 | |
*** DTRemenak has quit IRC | 15:46 | |
*** kandinski has quit IRC | 15:46 | |
*** tuna has joined #tp | 15:48 | |
*** greywhind has joined #tp | 15:48 | |
*** guitsaru has joined #tp | 15:48 | |
*** Epyon has joined #tp | 15:48 | |
*** DTRemenak has joined #tp | 15:48 | |
*** kandinski has joined #tp | 15:48 | |
*** jotham has joined #tp | 15:48 | |
*** CIA-10 has joined #tp | 15:48 | |
*** TBBle has joined #tp | 15:48 | |
tpb | levitation[A] has joined on worldforge | 16:08 |
*** nash has joined #tp | 16:25 | |
*** greywhind_ has joined #tp | 16:57 | |
*** greywhind has quit IRC | 16:58 | |
*** mithro has joined #tp | 17:58 | |
*** tuna has quit IRC | 18:04 | |
*** tuna has joined #tp | 18:05 | |
*** guitsaru_ has joined #tp | 18:08 | |
*** guitsaru has quit IRC | 18:09 | |
*** guitsaru has joined #tp | 18:14 | |
*** guitsaru has quit IRC | 18:25 | |
*** guitsaru_ is now known as guitsaru | 18:28 | |
*** nash_ has joined #tp | 18:30 | |
tpb | levitation[A] has quit worldforge (Ping timeout: 369 seconds) | 18:30 |
*** guitsaru has quit IRC | 18:32 | |
*** guitsaru has joined #tp | 18:43 | |
*** nash has quit IRC | 18:45 | |
*** greywhind has joined #tp | 18:57 | |
*** greywhind_ has quit IRC | 18:58 | |
mithro | guitsaru: ping? | 18:58 |
guitsaru | pong | 18:58 |
tpb | levitation[A] has joined on worldforge | 19:04 |
tpb | levitation[A] has quit worldforge (purple.worldforge.org blue.worldforge.org) | 19:14 |
tpb | aloril has quit worldforge (purple.worldforge.org blue.worldforge.org) | 19:14 |
mithro | guitsaru: had any luck setting up? | 19:49 |
guitsaru | Well, I've got everything checked out. | 19:50 |
guitsaru | But for some reason it's not recognizing python in my path. | 19:50 |
guitsaru | So I can't run things in the command prompt | 19:50 |
mithro | Python isn't automatically added to your path | 19:52 |
mithro | you have to do that manually | 19:52 |
guitsaru | I know, I added it myself | 19:52 |
guitsaru | It still isn't recognizing it. | 19:52 |
mithro | hrm | 19:53 |
mithro | echo %PATH% ? | 19:53 |
guitsaru | It's not in there | 19:53 |
guitsaru | I wonder if I need to restart. | 19:54 |
*** guitsaru has quit IRC | 19:55 | |
*** guitsaru has joined #tp | 19:59 | |
mithro | guitsaru: any luck? | 20:03 |
guitsaru | Yeah, that worked | 20:03 |
guitsaru | python setup.py develop | 20:12 |
guitsaru | Traceback (most recent call last): | 20:12 |
guitsaru | File "setup.py", line 4, in <module> | 20:12 |
guitsaru | pkg_resources.require('libtpclient-py') | 20:12 |
guitsaru | File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\pkg_resources.p | 20:12 |
guitsaru | y", line 626, in require | 20:12 |
guitsaru | File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\pkg_resources.p | 20:12 |
guitsaru | y", line 524, in resolve | 20:12 |
guitsaru | pkg_resources.DistributionNotFound: libtpclient-py | 20:12 |
mithro | hrm..... | 20:37 |
mithro | what directory where you in when you typed that? | 20:37 |
guitsaru | libtpclient-py | 20:37 |
mithro | use | 20:39 |
mithro | python setup.py develop --ignore-deps | 20:40 |
guitsaru | same thing | 20:40 |
mithro | hrm... wait that doesn't make any sense | 20:40 |
mithro | did you checkout libtpclient-py stable or development? | 20:40 |
guitsaru | this is stable | 20:40 |
mithro | try removing lines 3 and 4 from setup.py | 20:41 |
guitsaru | Ok, it worked | 20:42 |
guitsaru | both pythonw requirements.py and pythonw tpclient-pywx open up another window briefly and then exit immediately | 20:45 |
mithro | hrm... | 20:49 |
mithro | what does python requirements.py do? | 20:49 |
CIA-10 | nash galaxie * rdf6d68ceac69 /server.c: Use TP04 for tp04 servers. | 20:50 |
CIA-10 | nash galaxie * r8f7341549895 /tpe_obj.c: Add framework for objectdescriptions. | 20:50 |
CIA-10 | nash galaxie * rac46e0997f13 / (server.c tpe_obj.c tpe_sequence.c tpe_ship.c): Revert to tp03 for now. Tpserver-cpp isn't as far along as I thought. | 20:50 |
CIA-10 | nash galaxie * r6a010dd74a59 /BUGS.txt: Mark completed bug. | 20:50 |
CIA-10 | nash galaxie * r341666bbd195 / (server.c tpe_obj.c): Update a little to force tp03. | 20:50 |
CIA-10 | nash galaxie * r2a605d44fccd / (Makefile ewl/gewl_object.c ewl/gewl_object.h tpe_gui.c): Add gewl object abstraction. | 20:50 |
CIA-10 | nash galaxie * rd8ebea91fbbb /ai_smith.c: Tweak ai-smith to not cause assertion... | 20:50 |
guitsaru | The system cannot find the path specified. | 20:50 |
guitsaru | Traceback (most recent call last): | 20:50 |
guitsaru | File "requirements.py", line 47, in <module> | 20:50 |
guitsaru | if system == "debian-based": | 20:50 |
guitsaru | NameError: name 'system' is not defined | 20:50 |
mithro | hrm.... | 20:55 |
mithro | stable client again? | 20:55 |
guitsaru | yes | 20:55 |
mithro | change line 14 of requirements.py to "else:" | 20:57 |
mithro | nash_: ping? | 20:57 |
*** greywhind_ has joined #tp | 20:58 | |
*** greywhind has quit IRC | 20:58 | |
nash_ | mithro: ? | 21:01 |
mithro | did you see that last night lee managed to get a minisec game all the way to the end? | 21:01 |
nash_ | Cool | 21:01 |
nash_ | How does it end? | 21:01 |
mithro | with 5 tpsai-py's too | 21:02 |
*** nash_ is now known as nash | 21:02 | |
nash | Cool | 21:02 |
mithro | found a bug in tpsai-py which leads to some insane fleet sizes | 21:02 |
nash | heh | 21:02 |
nash | Cool | 21:02 |
mithro | 256 battleships and 2 frigates in one of the fleets | 21:03 |
mithro | a 4568% over allocation according to the ai :P | 21:03 |
nash | heh | 21:03 |
mithro | guitsaru: any luck? | 21:07 |
guitsaru | Yes | 21:07 |
guitsaru | I just needed to install numarray | 21:07 |
mithro | ahh cool | 21:08 |
mithro | I'll push those patches in a minute | 21:08 |
guitsaru | I got the splash screen of tpclient-pywx, but then it crashed | 21:08 |
mithro | I haven't tested on windows for such a long time | 21:08 |
guitsaru | I don't blame you | 21:09 |
mithro | it probably not worth using the stable client | 21:10 |
guitsaru | development version works | 21:13 |
mithro | cool | 21:14 |
guitsaru | I had to change the else statement in requirements.py still | 21:16 |
mithro | guitsaru: yeah | 21:21 |
CIA-10 | mithro tpclient-pywx-development * rd529a8dfeae7 /requirements.py: Always set system on failure. | 21:21 |
greywhind_ | mithro: ping | 22:06 |
mithro | greywhind_: pong! | 22:07 |
*** greywhind_ is now known as geywhind | 22:07 | |
*** geywhind is now known as greywhind | 22:07 | |
greywhind | mithro: so i'm starting to look at the task of creating the resources overlay | 22:08 |
greywhind | do you think it should extend Overlay or SystemOverlay?> | 22:08 |
mithro | greywhind: i'm not really quite sure | 22:09 |
mithro | I've been pondering that | 22:09 |
greywhind | does it need to group things together into systems? i suppose it might, since resources should be shown system-wide? | 22:09 |
mithro | I think my conclusion was that SystemOverlay would probably work, but I haven't looked closley | 22:10 |
mithro | SystemOverlay came after the Resource stuff had already been started | 22:14 |
greywhind | what's started as far as the Resource overlay? just the PieChart.py file? | 22:14 |
mithro | the PieChart is started | 22:15 |
mithro | the proportional/value/resource python files are also a possible start | 22:15 |
greywhind | mithro: which are those? | 22:16 |
mithro | tim@vaio:~/oss/tp/tpclient-pywx-dev$ ls ./windows/main/overlays/[PRV]*.py | 22:17 |
mithro | ./windows/main/overlays/Path.py ./windows/main/overlays/Resource.py ./windows/main/overlays/Velocity.py | 22:17 |
mithro | ./windows/main/overlays/Proportional.py ./windows/main/overlays/Value.py | 22:17 |
greywhind | mithro: ah. so perhaps expand on the Resource.py class? | 22:18 |
mithro | greywhind: that is the idea | 22:18 |
mithro | I think it goes | 22:18 |
greywhind | what does it do so far? | 22:18 |
mithro | Overlay -> Value -> Proportional -> Resource | 22:18 |
greywhind | mithro: actually, it looks like Proportional and Value both are based on Overlay | 22:21 |
greywhind | not Proportional based on Value | 22:21 |
mithro | greywhind: I think it calculates the the size the piechart should be | 22:21 |
mithro | greywhind: ahh, long time since I looked at them | 22:21 |
mithro | been concentrating on Path and System overlays | 22:21 |
greywhind | mithro: no problem, just need to figure out where i'm at so i can start adding | 22:21 |
mithro | greywhind: sure | 22:23 |
greywhind | looks like the Proportional.py "amount" method isn't implemented? | 22:24 |
*** Erroneous has quit IRC | 22:25 | |
mithro | no, the "amount" method is implimented by the various subclasses | 22:29 |
greywhind | mithro: ah | 22:29 |
mithro | the idea was that Proportional would then handle the scaling of the values for you | 22:29 |
greywhind | mithro: right. | 22:29 |
*** Epyon has quit IRC | 22:41 | |
greywhind | mithro: so how will i test to see the overlay at work? | 22:50 |
mithro | you startup the client and select the overlay in the drop down? | 22:54 |
greywhind | mithro: makes sense :P | 22:54 |
mithro | and it should draw stuff on the starmap | 22:54 |
mithro | if you want to be really tricky you could set your overlay as the default one while testing | 22:55 |
mithro | my first suggestion is to get circles working first | 22:56 |
mithro | then move onto getting piecharts working | 22:56 |
*** greywhind_ has joined #tp | 22:58 | |
*** greywhind has quit IRC | 22:58 | |
mithro | greywhind_: that make sense? | 23:05 |
greywhind_ | mithro: makes sense, but i would still use the PieChart class for the circles, but with only one item in the chart? | 23:06 |
mithro | well, I would start with using the "Point" object - less likely to have problems that way | 23:06 |
greywhind_ | mithro: alright. | 23:07 |
mithro | you are likely to run into problem with piechart as nobody else has used it :P | 23:07 |
greywhind_ | heh | 23:07 |
greywhind_ | Point would be from RelativePoint.py? | 23:07 |
mithro | possibly :P | 23:24 |
mithro | from extra.wxFloatCanvas.FloatCanvas import Point, Group, Line | 23:24 |
mithro | that is what you want I think | 23:24 |
greywhind_ | mithro: alright | 23:24 |
mithro | wxFloatCanvas has a whole bunch of builtin bits | 23:25 |
greywhind_ | so i see | 23:25 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!