*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
mithro | StupidIncarnate: ping? | 00:26 |
---|---|---|
StupidIncarnate | yep? | 00:28 |
StupidIncarnate | mithro: pong | 00:29 |
mithro | StupidIncarnate: I'm just working on the cache.save stuff for tp04 | 00:29 |
mithro | should have something working soonish | 00:30 |
CIA-31 | llnz tpserver-cpp * rea99a57b2664 /modules/games/minisec/rspcombat.cpp: Fixed messages and draw shots by non-battleships in Minisec. | 00:30 |
StupidIncarnate | oh alrighty | 00:30 |
*** Linkadmin has quit IRC | 00:50 | |
CIA-31 | mithro libtpproto-py-tp04 * r50976340931b /tp/netlib/ (4 files in 2 dirs): Allow serialization the ObjectDesc object. | 00:59 |
mithro | StupidIncarnate: pushing now | 00:59 |
CIA-31 | mithro libtpclient-py-tp04 * r7ad075d35c72 /tp/client/cache.py: Added pickle support for cache tp04. | 00:59 |
CIA-31 | mithro tpclient-pywx-tp04 * re6ecb171caf4 / (libtpclient-py libtpproto-py): Fix the cache in tp04 support. | 00:59 |
StupidIncarnate | i'll have to look at it after I fix these stupid bugs with the gui | 01:01 |
CIA-31 | verhoevenv tpclient-pywx-tp04 * r7a3172f0ddca /windows/main/panelInfo.py: | 01:19 |
CIA-31 | Revert "Make info panel have the right size when selecting objects, so horizontal scrollbars don't show." | 01:19 |
CIA-31 | This reverts commit ef28fa85148a17869c642dd8c73930eaf4466bba. | 01:19 |
CIA-31 | verhoevenv tpclient-pywx-tp04 * rdfd493aecebe /windows/main/panelInfo.py: Really fix the scrollbars now. | 01:19 |
CIA-31 | verhoevenv tpclient-pywx-tp04 * rb2844aa5bcf0 / (libtpclient-py libtpproto-py): Merge branch 'tp04' of git+ssh://git.thousandparsec.net/git/tpclient-pywx into tp04 | 01:19 |
CIA-31 | mithro libtpproto-py-tp04 * rcedc0c75d180 /tp/netlib/xstruct.py: Fixing xstruct for Python 2.5 | 01:30 |
CIA-31 | mithro tpclient-pywx-tp04 * r397bf97a1976 /requirements.py: Make sure the sub-modules are checked out before adding them to the path. | 01:32 |
CIA-31 | mithro tpclient-pywx-tp04 * ra2f2c022b6d0 /libtpproto-py: Updating for xstruct fix. | 01:32 |
CIA-31 | mithro tpclient-pywx-tp04 * rdee2a63be38e /windows/main/panelInfo.py: Merge remote branch 'origin/tp04' into tp04 | 01:33 |
CIA-31 | llnz tpserver-cpp * r78e02d051067 /tpserver/game.cpp: Added ctime to Game Frame. | 01:48 |
CIA-31 | llnz tpserver-cpp * r4f1d0aea7118 /modules/games/minisec/minisec.cpp: Hopefully show all objects to everyone in minisec. | 01:48 |
*** Linkadmin has joined #tp | 01:57 | |
StupidIncarnate | I don't suppose anyones run into the issue of the map objects shrinking in position when a ship reaches its destination on minisec? | 02:05 |
StupidIncarnate | i haven't had time to look into it much, though it might just be me | 02:05 |
CIA-31 | mithro libtpproto-py-tp04 * r1be391f4767b /tp/netlib/objects/Game.py: Adding support for creation time in the game object. | 02:25 |
CIA-31 | mithro libtpproto-py-tp04 * rd91bfdb5f984 /.gitignore: Adding .swp to the ignore file. | 02:25 |
CIA-31 | mithro libtpclient-py-tp04 * r40a6be02a3f9 /tp/client/ (cache.py threads.py): Make the cache depend on game creation time. | 02:26 |
CIA-31 | mithro libtpclient-py-tp04 * r41dcc64cf80d /.gitignore: Adding swp to the ignore file. | 02:26 |
CIA-31 | mithro tpclient-pywx-tp04 * rcb68f3cddd39 / (libtpclient-py libtpproto-py): Update for the game creation code. | 02:26 |
CIA-31 | mithro tpclient-pywx-tp04 * rd1db5beefab3 / (.gitignore libtpclient-py libtpproto-py): Adding .swp to the ignore file. | 02:26 |
mithro | ~seen bisc | 02:34 |
tpb | mithro: bisc was last seen in #tp 1 week, 4 days, 19 hours, 45 minutes, and 49 seconds ago: <bisc> tansell:ping | 02:34 |
epyon-sakura | ~seen epyon-sakura | 02:44 |
tpb | epyon-sakura: epyon-sakura was last seen in #tp 4 hours, 3 minutes, and 43 seconds ago: <epyon-sakura> It's quite rowdy in here today :P | 02:44 |
CIA-31 | mithro daneel-ai * rde1ed4f3d352 / (daneel-ai.py libtpclient-py libtpproto-py): Updating to the latest client/proto library. | 02:50 |
CIA-31 | mithro daneel-ai * rb52c658916c4 /.gitignore: Adding *.swp to gitignore. | 02:50 |
*** Linkadmin has quit IRC | 02:54 | |
CIA-31 | llnz tpserver-cpp * rafcd02120b75 /modules/games/minisec/mergefleet.cpp: Fixed typo in minisec mergefleet fail message | 02:57 |
CIA-31 | verhoevenv libtpclient-py-tp04 * r49f894d770cf /tp/client/ChangeList.py: Fixed ChangeList.find | 03:29 |
CIA-31 | verhoevenv libtpclient-py-tp04 * re07e43ed7336 / (4 files in 2 dirs): Merge branch 'tp04' of git+ssh://git.thousandparsec.net/git/libtpclient-py into tp04 | 03:29 |
*** Linkadmin has joined #tp | 03:45 | |
CIA-31 | jmingtan tpclient-pyogre * rf463e8b1ff22 /src/ (libtpclient-py libtpproto-py): Update tp dependencies | 03:53 |
CIA-31 | jmingtan tpclient-pyogre * r1a3f83b099ee /src/ (libtpclient-py libtpproto-py): Update tp library dependencies | 03:53 |
CIA-31 | jmingtan tpclient-pyogre * rf4047bf8ec16 /src/gui.py: Handle information display for planets with no resources | 03:53 |
alanp | ~seen null_000 | 03:54 |
tpb | alanp: null_000 was last seen in #tp 1 day, 15 hours, 46 minutes, and 10 seconds ago: <null_000> hi all | 03:54 |
alanp | ~seen null_0001 | 03:54 |
tpb | alanp: null_0001 was last seen in #tp 8 weeks, 1 day, 10 hours, 52 minutes, and 35 seconds ago: <null_0001> test | 03:54 |
alanp | ~seen null_001 | 03:54 |
tpb | alanp: I have not seen null_001. | 03:54 |
CIA-31 | llnz tpserver-cpp * rac519d11bbe8 /modules/games/minisec/rspcombat.cpp: | 04:05 |
CIA-31 | Check if there is any fleet left after minisec combat. | 04:05 |
CIA-31 | There can be none, if the last turn is a draw and the battleships | 04:05 |
CIA-31 | destory each other. | 04:05 |
CIA-31 | verhoevenv tpclient-pywx-tp04 * r9c8e5ae8c369 /libtpclient-py: Updated libtpclient-py for Changelist.find | 04:05 |
*** Greywhind has quit IRC | 04:17 | |
*** glew has quit IRC | 04:31 | |
CIA-31 | jmingtan tpclient-pyogre * re21fc0c97fcf /src/overlay.py: Restore ownership colours in the icon overlays | 04:40 |
CIA-31 | llnz tpadmin-cpp * r0b119fe282fc /tpadmin/session.h: Fix compile, added stdint.h | 05:06 |
CIA-31 | llnz tpadmin-cpp * r89dfbc1ff4fb / (.gitignore configure.ac tpadmin/session.cpp): Merge branch 'master' of ssh+git://git.thousandparsec.net/git/tpadmin-cpp | 05:06 |
mithro | ./daneel-ai.py -u tp://mithro:[email protected] -f minisec | 05:06 |
CIA-31 | llnz libtpproto-cpp * r2bc1a0ed202b /tpproto/commanddesc.h: Fixed missing include | 05:09 |
CIA-31 | llnz libtpproto-cpp * ra4dd3769040c /tpproto/ (orderqueueobjectparam.cpp orderqueueobjectparam.h): Update for protocol changes. | 05:09 |
CIA-31 | llnz tpserver-cpp * rc0f71d5dd45c /tpserver/orderparameters.cpp: Limit string order param length to 1024 | 06:07 |
*** CIA-31 has quit IRC | 06:15 | |
verhoevenv | Battleship VS Frigate calculation: https://spreadsheets.google.com/ccc?key=0AhG3LqkzkSpOdFF1ZkFCQ3o2SnM2dDM5a1hFX3doM3c&hl=en&authkey=COqghmY | 06:17 |
tpb | <http://ln-s.net/7Rk6> (at spreadsheets.google.com) | 06:17 |
*** epyon-sakura has quit IRC | 06:43 | |
*** verhoevenv has quit IRC | 06:43 | |
*** CIA-31 has joined #tp | 06:44 | |
*** jmtan has quit IRC | 06:53 | |
*** mithro has quit IRC | 07:01 | |
*** cahirwpz has joined #tp | 07:30 | |
*** null_000 has joined #tp | 08:37 | |
null_000 | alanp: ping | 08:37 |
alanp | yo | 08:38 |
null_000 | you were looking for me? | 08:40 |
alanp | yeah i had some questions about daneel | 08:41 |
alanp | we merged your changed into git.thousandparsec | 08:41 |
alanp | i know you had some outstanding bugs, if you could prioritize them that would be great and i will finish as many as possible tomorrow | 08:42 |
alanp | i will be working on it almost full time all week | 08:42 |
null_000 | great | 08:42 |
alanp | i had some crashing issues with the AI today | 08:42 |
null_000 | oh that (saw in the logs) | 08:42 |
alanp | which logs? | 08:42 |
alanp | irc? | 08:43 |
null_000 | yes | 08:43 |
null_000 | the paste bin link | 08:43 |
null_000 | it's a known client issue... | 08:43 |
alanp | cool do you know what is going on there? | 08:43 |
alanp | a lot of the crashes i find are due to the enemy lists that you generated | 08:43 |
null_000 | I have a quick workaround (actually it just ignores it) | 08:43 |
alanp | are you talking about the message crashes? | 08:43 |
*** epyon-sakura has joined #tp | 08:44 | |
null_000 | I'm talking about can't compare date to int error | 08:44 |
alanp | oohh | 08:45 |
alanp | ok, what is your work around for that one[ | 08:45 |
null_000 | I can send you my version of the client library... it has some other workarounds as well (it mostly ignores errors) | 08:45 |
alanp | epyon-sakura: quassel | 08:46 |
alanp | null_000: what changes have you made? | 08:46 |
null_000 | I'll send you the diff | 08:46 |
alanp | ok | 08:46 |
alanp | so i guess you have been using your own libtpclient? | 08:47 |
null_000 | yes | 08:47 |
alanp | ok, explains why it wouldn't run :P | 08:47 |
null_000 | I always forget the library doesn't get committed to github | 08:48 |
alanp | no worries | 08:49 |
null_000 | patch send | 08:54 |
alanp | was this to fix the graphicsdir install? | 08:56 |
alanp | ah and the datetime issue? | 08:57 |
null_000 | and the "the object isn't new enough" error | 08:57 |
alanp | ok | 08:58 |
null_000 | as I said this only avoids the errors but doesn't fix them... but it doesn't seem to break anything | 08:59 |
alanp | yeah | 08:59 |
null_000 | I think there are one or two workarounds like that in daneel-ai | 09:00 |
null_000 | so if anybody has the time and will to fix this I can remove the workarounds | 09:00 |
null_000 | ping me if you need anything else | 09:01 |
*** tenach has joined #tp | 09:09 | |
alanp | null_000: let me know what you're working on now | 09:14 |
*** tenach has quit IRC | 09:17 | |
alanp | null_000: ^ | 09:20 |
null_000 | alanp: since the pencils down date is approaching I will be writing documentation (how to guides) and maybe some comments | 09:27 |
null_000 | so the code shouldn't change at all this week | 09:28 |
alanp | :( | 09:28 |
null_000 | but if anybody finds any bugs in daneel-ai I will be happy to fix them | 09:28 |
alanp | we may have some requests | 09:28 |
null_000 | shoot | 09:28 |
alanp | not yet | 09:28 |
alanp | =D | 09:29 |
null_000 | ^_^ | 09:29 |
alanp | we were testing with minisec today | 09:29 |
null_000 | about the save/load state? | 09:29 |
alanp | ai seemed a bit random | 09:29 |
alanp | save/load state? | 09:29 |
null_000 | saving the state of the game... | 09:29 |
null_000 | I was talking to glew about that | 09:30 |
alanp | it's working, we have been playing with it | 09:30 |
alanp | mysql persistence works | 09:30 |
alanp | i have found that if the ai client crashes and reconnects it immediately crashes again | 09:30 |
null_000 | wait you're using minisec? | 09:32 |
alanp | so far, minisec | 09:32 |
null_000 | when I was coding AI for minisec there were errors when I colonised a planet... but then the coding period started approaching so I had to start working on MTSec | 09:35 |
null_000 | since the minisec AI was left in the middle of coding I suggest you delete lines 259-265 in mod-minisec.py to get a less random behaviour | 09:37 |
null_000 | it should then build figates and try to colonise neutral planets with them | 09:38 |
null_000 | if you still get errors ping me or mail me or file a bug report on the tracker | 09:39 |
alanp | i see | 09:46 |
alanp | ok | 09:46 |
*** shenki has quit IRC | 10:46 | |
*** shenki has joined #tp | 10:47 | |
*** cahirwpz has quit IRC | 10:55 | |
*** cahirwpz has joined #tp | 11:04 | |
*** StupidIncarnate has quit IRC | 12:50 | |
*** epyon-sakura has quit IRC | 13:05 | |
*** Greywhind has joined #tp | 13:36 | |
null_000 | alanp: ping | 13:50 |
*** mithro has joined #tp | 16:01 | |
*** verhoevenv has joined #tp | 16:02 | |
*** jmtan has joined #tp | 16:03 | |
*** tansell-laptop has joined #tp | 16:11 | |
tansell-laptop | ~seen bisc | 16:11 |
tpb | tansell-laptop: bisc was last seen in #tp 1 week, 5 days, 9 hours, 22 minutes, and 40 seconds ago: <bisc> tansell:ping | 16:11 |
*** llnz has joined #tp | 16:12 | |
llnz | yay | 16:12 |
ezod | llnz: are you fixed? | 16:20 |
llnz | not fix, using mithro's other laptop | 16:21 |
*** bisc has joined #tp | 16:41 | |
llnz | ~seen agon | 16:41 |
tpb | llnz: agon was last seen in #tp 2 weeks, 4 days, 17 hours, 52 minutes, and 0 seconds ago: <Agon> hm ok will try to implement that too | 16:41 |
tansell-laptop | hey bisc | 16:42 |
tansell-laptop | bisc, lots of changes to discuss | 16:42 |
CIA-31 | mithro libtpproto-py-tp04 * r2fafb65fa61f /tp/netlib/objects/Base.py: Updating IDSequence to request only existing objects. | 16:42 |
bisc | tansell-laptop: hello. OK. Are they in current github version? | 16:42 |
CIA-31 | mithro libtpclient-py-tp04 * r34fa131f5d99 /tp/client/objectutils.py: Removing a print. | 16:43 |
CIA-31 | mithro libtpclient-py-tp04 * r7e5051c932de /tp/client/cache.py: Fix to-agressive removal of objects from cache. | 16:43 |
CIA-31 | mithro libtpclient-py-tp04 * r1ed21e9f61ae /tp/client/cache.py: Slight update for errors. | 16:43 |
CIA-31 | mithro libtpclient-py-tp04 * r33cc26a04eb5 /tp/client/ChangeList.py: Merge branch 'tp04' of git+ssh://git.thousandparsec.net/git/libtpclient-py into tp04 | 16:43 |
CIA-31 | verhoevenv tpclient-pywx-tp04 * r5da929dfcc5e /windows/main/panelOrder.py: Refactor copy/paste of orders in functions | 16:44 |
*** verhoevenv has quit IRC | 16:45 | |
*** verhoevenv has joined #tp | 16:46 | |
CIA-31 | mithro tpclient-pywx-tp04 * rfb626c9e0aa5 /libtpclient-py: Updating for the cache changes. | 16:47 |
CIA-31 | mithro tpclient-pywx-tp04 * r6a4295ae58c0 /windows/main/ (12 files in 2 dirs): Massive change to prevent the caching of the cache. | 16:47 |
CIA-31 | mithro tpclient-pywx-tp04 * r3db2bb121774 / (libtpclient-py libtpproto-py): Updating submodules. | 16:47 |
CIA-31 | mithro tpclient-pywx-tp04 * r3e7a767fb080 /windows/main/panelOrder.py: Merge branch 'origin/tp04' into tp04 | 16:47 |
tansell-laptop | bisc, they are on git.thousandparsec.net | 16:47 |
tansell-laptop | bisc, I also merged in all your changes which where up on github | 16:47 |
bisc | yeah, I see it now. Let me checkout your version. | 16:48 |
bisc | I have many things to discuss as well (both ready code and intentions), but they can wait | 16:49 |
tansell-laptop | okay | 16:53 |
bisc | tansell-laptop: I think that http://github.com/bisc/libtpclient-py is also interesting: it has a commit fixing empty error messages. | 16:53 |
tpb | Title: bisc's libtpclient-py at tp04 - GitHub (at github.com) | 16:54 |
tansell-laptop | okay - I was wondering about that | 16:55 |
*** glew has joined #tp | 17:05 | |
bisc | rebuilding tpserver-cpp -- it takes long | 17:05 |
CIA-31 | mithro libtpclient-py-tp04 * r72673b2de181 /tp/client/ (launcher.py threads.py): Marking the threads as daemon so they don't stop the client from exiting. | 17:06 |
llnz | hi glew | 17:06 |
glew | hi llnz | 17:08 |
CIA-31 | mithro tpclient-pywx-tp04 * rfdb34848608f /windows/winUpdate.py: Make the X on winUpdate work. | 17:08 |
CIA-31 | mithro tpclient-pywx-tp04 * rbf997ec0c084 /libtpclient-py: Sub-module bump. | 17:08 |
*** jmtan has quit IRC | 17:08 | |
bisc | "Marking the threads as daemon" is the thing which I lacked greatly | 17:09 |
bisc | tansell-laptop: so I've got the up-to-date version. What are the changes you'd like to discuss? | 17:10 |
*** null_000 has quit IRC | 17:11 | |
*** epyon-sakura has joined #tp | 17:18 | |
alanp | ping | 17:21 |
alanp | mithro: ping | 17:23 |
tansell-laptop | alanp, whats up? | 17:28 |
tansell-laptop | IE why are you not here.... | 17:28 |
alanp | bad planning D= | 17:28 |
alanp | just waiting for epyon | 17:28 |
alanp | shouldn't be long D= | 17:28 |
tansell-laptop | alanp, by the sounds of it you'll probably have to catch a taxi | 17:32 |
alanp | yeah | 17:32 |
alanp | no worries | 17:33 |
alanp | did you see my conversation with null last night? | 17:33 |
alanp | ^ | 17:35 |
tansell-laptop | no | 17:41 |
*** epyon-sakura has quit IRC | 17:41 | |
tansell-laptop | bisc, I'm going to merge the your libtpclient-py changes as soon as I fix my current bug | 17:43 |
verhoevenv | bisc: heya, we found a couple of UI bugs yesterday you might want to take a look at | 17:45 |
verhoevenv | bisc: I'll dump them here, lemme see.. | 17:46 |
verhoevenv | 1. The arrow keys should scroll the map according to mithro, but they don't | 17:46 |
verhoevenv | 2. the size of the orders panel is off, you can barely see the bottom row of buttons (though this might be a bit system-dependant, not sure there) | 17:47 |
verhoevenv | 3. the tip of the day displays every time you download the universe, ideally it should only display at startup or something | 17:47 |
verhoevenv | 4. fleet names (and probably other text strings) should be html-escaped, otherwise they might break the popups | 17:49 |
verhoevenv | 5. there should be shortcuts for copy/paste orders, though I'm already working on that | 17:49 |
verhoevenv | 6. the errors when player creation failed are really unclear, like when you don't enter a password it suggests your player name is wrong, probably some other unclear cases | 17:50 |
verhoevenv | 7. finally, probably a bunch of errors related to handling UTF characters, though we still have to figure out what exactly is wrong | 17:52 |
bisc | verhoevenv: okay, thank you, great input really. | 17:52 |
bisc | here's what I can say about them | 17:52 |
bisc | 1. Never heard about it, probably it's broken. Will try to fix it. | 17:52 |
bisc | 2. Yeah, orders panel is bad-designed now. I'm trying to come up with another UI decision, like displaying order params in a popup frame (prototype http://ruchkin.files.wordpress.com/2010/08/orders-panel-param-window.png) | 17:54 |
tpb | <http://ln-s.net/7RwT> (at ruchkin.files.wordpress.com) | 17:54 |
bisc | 3. I agree, will fix it. | 17:54 |
bisc | 4. Ok, will fix it (though I'm not sure about how to do it exactly). | 17:55 |
bisc | 5. Ok, then it's up to you. | 17:55 |
bisc | 6. ok, will take a look at it. In general, it isn't very understandable for player whether he's creating a new player on server or tries to login under already used nickname, but I don't see any quick countermeasures to it. | 17:57 |
bisc | verhoevenv: 7. Don't remember anything like it. Where have you seen such problems? | 17:58 |
verhoevenv | re: 2, looks good | 17:59 |
verhoevenv | 4 shouldn't be too hard, there'll be a function somewhere in python or wx | 17:59 |
verhoevenv | and 7, try pasting some insane characters in the fleet name for example, like http://www.fileformat.info/info/unicode/char/2708/index.htm but it might not be a client-side problem only, so maybe you shouldn't worry too much about it | 18:00 |
tpb | <http://ln-s.net/7Rwc> (at www.fileformat.info) | 18:00 |
verhoevenv | (the actual character is on the page a bit more down, in the java data table) | 18:02 |
verhoevenv | bisc: ^ | 18:02 |
verhoevenv | Though I'm also looking at 7 right now so you probably shouldn't focus too much on that | 18:03 |
bisc | ok. You mean validating input from server or from user? I can't see any place where user of tpclient can harm with unicode characters. E.g. search controls tolerate them. | 18:05 |
verhoevenv | bisc: more like support it, so it can get sent to the server, properly processed and properly pushed and displayed to other clients | 18:12 |
verhoevenv | But again, I'm thinking it's more of a library problem | 18:13 |
CIA-31 | mithro tpclient-pywx-tp04 * r8b60f6dc44b2 / (3 files in 2 dirs): Remove a massive amount of duplicate code. | 18:14 |
tansell-laptop | alanp, have you guys left yet? | 18:14 |
bisc | ok, I'll have it in mind in case when I encounter such issues in client. | 18:14 |
ezod | ~seen glew | 18:14 |
tpb | ezod: glew was last seen in #tp 1 hour, 6 minutes, and 42 seconds ago: <glew> hi llnz | 18:14 |
ezod | glew: ping | 18:14 |
glew | ezod: pong | 18:15 |
ezod | hey, have you forked tpclient-pywx yet? | 18:16 |
glew | just about to | 18:16 |
glew | so i can work on the wizard | 18:16 |
ezod | it's crunch week, you need to move | 18:17 |
glew | I'm on it | 18:17 |
ezod | k | 18:17 |
glew | so i managed to add an enemy ship yesterday | 18:17 |
ezod | how did that work? | 18:17 |
glew | the strange thing was, it added on the next turn, well more like appeared | 18:17 |
ezod | did it fight? | 18:17 |
ezod | hmm | 18:17 |
glew | the server crashed when i sent my ships to the location, and the log showed it was about to execute battle or something | 18:18 |
glew | I'm going to try again, soon | 18:18 |
glew | but another thing i was noticing | 18:18 |
ezod | make sure you set the log level to highest (debug) | 18:18 |
glew | yeah i'm pretty sure its on 0 | 18:18 |
glew | so debug | 18:18 |
ezod | ok | 18:18 |
glew | but a thing i've noticed with the persistence module, is that it will only load the game, if it was the last game started | 18:19 |
glew | for example | 18:19 |
verhoevenv | tansell-laptop: http://www.utf8-chartable.de/unicode-utf8-table.pl then navigate to the Dingbats block for example | 18:19 |
tpb | <http://ln-s.net/46tZ> (at www.utf8-chartable.de) | 18:19 |
glew | if i start a game, and then make a save file from the persitence database | 18:19 |
glew | then i make a new game, completely from scratch | 18:19 |
verhoevenv | tansell-laptop: U+2700 -ish | 18:20 |
glew | then if i try to load the first game, the one from the save file, it will just act from where the completely new game left off | 18:20 |
glew | i was watching the "download the universe" log, and it doesn't get the objects because they are not "newer" | 18:20 |
glew | this is how the persistence module was originally intended to work | 18:20 |
glew | if the server was stopped by accident, then you could restart it without losing anything | 18:21 |
ezod | where is it storing that information though, if not in the db? | 18:21 |
glew | i'm not sure | 18:21 |
glew | i couldn't find that out | 18:21 |
ezod | llnz: ping | 18:21 |
ezod | that's a pretty big problem :( | 18:21 |
glew | yeah it was a real let down to me | 18:21 |
glew | not was i was hoping for in the last week | 18:22 |
ezod | by the way, you need to fix save/load file locations to be specifiable | 18:22 |
glew | they are, they are passed as parameters to the save and load function | 18:22 |
glew | i thought | 18:22 |
glew | i just made them fixed when i was testing | 18:23 |
ezod | shutil.copyfile(src, "/var/tmp/tpserver.db") | 18:23 |
ezod | is what i see | 18:23 |
ezod | ohh | 18:23 |
ezod | nevermind | 18:23 |
ezod | that's in load | 18:23 |
glew | its ok, maybe not hte best programming habit to have | 18:23 |
ezod | no it's fine | 18:23 |
ezod | well | 18:23 |
ezod | it's almost fine | 18:23 |
ezod | /var/tmp/tpserver.db is not necessarily the location of the persistence db | 18:24 |
ezod | if that's hardcoded in tpserver you need to fix that too | 18:24 |
glew | its not anymore, its a passed parameter to the tpserver-cpp startup | 18:24 |
glew | but it defaults to that | 18:24 |
glew | if you don't specify otherwise | 18:25 |
ezod | okay, so handle it in SinglePlayer.py too then | 18:25 |
glew | handle the persistence database location for the tpserver-cpp in SinglePlayer.py, that was wordy | 18:25 |
glew | as in make sure its not fixed | 18:26 |
llnz | glew, ezod: you might need to delete the cache file before starting a new game or reloading an old one | 18:26 |
glew | llnz: where is that located? | 18:26 |
CIA-31 | verhoevenv daneel-ai * ra3fa80fedaca / (libtpclient-py libtpproto-py): Updated to newer client/protocol versions | 18:26 |
ezod | glew: yes, wherever the string "var/tmp/tpserver.db" appears in save() and load(), it should be replaced with whatever file path tpserver-cpp is using, which you should know from the configuration of the SinglePlayerGame object | 18:29 |
llnz | ~/.tp/cache.* | 18:29 |
glew | ezod: ok, got it | 18:29 |
glew | llnz: thanks | 18:29 |
*** jmtan has joined #tp | 18:36 | |
*** StupidIncarnate has joined #tp | 18:38 | |
CIA-31 | verhoevenv tpclient-pywx-tp04 * r67d22f8a259f /windows/winMain.py: Removed dead code | 18:41 |
bisc | tansell-laptop: do you have time to review my patches? Or better to do it after lunch? | 18:51 |
tansell-laptop | I can review them after lunch | 18:55 |
bisc | ok | 18:56 |
alanp | http://pastebin.com/rRwyfWEU | 19:08 |
tpb | Title: diff --git a/tp/client/Chang - Anonymous - rRwyfWEU - Pastebin.com (at pastebin.com) | 19:08 |
*** epyon-sakura has joined #tp | 19:10 | |
alanp | ./daneel-ai.py tp://daneaaael:fucker@localhost/tp -f mtsec | 19:22 |
alanp | mithro: http://code.google.com/p/thousandparsec/issues/detail?id=108 | 19:30 |
tpb | <http://ln-s.net/7RyV> (at code.google.com) | 19:30 |
glew | ezod: ping | 19:31 |
ezod | glew: pong | 19:32 |
CIA-31 | mithro libtpclient-py-tp04 * r8a89bf7e68da /tp/client/ (cache.py media.py): Fixes for utf-8. | 19:33 |
glew | ezod: i was looking at SinglePlayer.py and the sqlite databse location, and unless the parameter is specifically written into the server command, then the database is defaulted to the /var/tmp/tpserver.db | 19:33 |
glew | so the only wat it could be specified otherwise is if tpserver-cpp had a paramter for the persistence database | 19:34 |
glew | then it could be obtained from the server params | 19:34 |
glew | but otherwise, it won't be touched by using the wizard | 19:34 |
CIA-31 | mithro libtpproto-py-tp04 * ra095c1979590 /tp/netlib/ (36 files in 3 dirs): Fixing unicode for all strings. | 19:34 |
CIA-31 | mithro libtpproto-py-tp04 * r88c463a4b5f1 /.gitignore: Adding .swo files to ignore. | 19:34 |
CIA-31 | mithro libtpclient-py-tp04 * r3beec061a1f8 /.gitignore: Updating to include .swo | 19:34 |
CIA-31 | mithro tpclient-pywx-tp04 * ra46255daab8e / (libtpclient-py libtpproto-py): Fixing for utf-8. | 19:35 |
CIA-31 | mithro tpclient-pywx-tp04 * r2be78b5bd57b / (.gitignore libtpclient-py libtpproto-py): Fixing ignore for .swo files. | 19:35 |
CIA-31 | mithro tpclient-pywx-tp04 * rcb5d5232e4ac /windows/winMain.py: Merge branch 'tp04' of git+ssh://git.thousandparsec.net/git/tpclient-pywx into tp04 | 19:35 |
ezod | glew: what does it default to in win32? | 19:35 |
ezod | if tpserver-cpp knows that it is on win32 it should have a different default location | 19:36 |
glew | ezod: thats a good question, i have no idea, is there a separate block for code that executes on win32 | 19:36 |
*** verhoevenv has quit IRC | 19:37 | |
ezod | well you might even be able to make it a compile-time thing | 19:37 |
*** jmtan has quit IRC | 19:37 | |
ezod | and then in libtpclient-py, check sys.platform or whatever and choose the appropriate default location there as well | 19:38 |
*** tansell-laptop has quit IRC | 19:38 | |
glew | ok, well if i can use sys.platform and check there, then i could make a statement on where to find the database file | 19:38 |
ezod | right | 19:39 |
ezod | or the other thing you could do is *always* pass the parameter to tpserver-cpp from inside libtpclient-py | 19:39 |
ezod | and make the file location conditional on sys.platform | 19:39 |
glew | right based on sys.platform | 19:39 |
glew | exactly | 19:39 |
glew | ok | 19:39 |
glew | thanks | 19:39 |
glew | that helps a lot | 19:39 |
ezod | but keep in mind that people will want to use sqlite persistence on win32 | 19:40 |
ezod | so best solution would be to do both of the above | 19:40 |
*** epyon-sakura has quit IRC | 19:40 | |
ezod | i dunno if there are any other examples of win32 conditional compilation in tpserver-cpp, if not ask llnz about it | 19:41 |
*** llnz has quit IRC | 19:41 | |
*** mithro has quit IRC | 19:41 | |
*** llnz has joined #tp | 20:07 | |
*** tansell-laptop has joined #tp | 20:08 | |
glew | ezod: any suggestion on where to place the database in win32 environment? | 20:12 |
*** epyon-sakura has joined #tp | 20:14 | |
ezod | glew: mithro probably has some opinion about it ;) | 20:16 |
ezod | same for on the unix side | 20:16 |
*** verhoevenv has joined #tp | 20:16 | |
StupidIncarnate | do we go till the 16th or the 30th in terms of blogging? | 20:18 |
tansell-laptop | bisc, ping? | 20:18 |
bisc | tansell-laptop: pong | 20:20 |
bisc | tansell-laptop: lets start with http://codereview.mithis.com/77002. It makes adding orders more essential and easier. | 20:21 |
tansell-laptop | okay - did you see the major change I made to the StateTracker which fixes a lot of order bugs? | 20:22 |
bisc | hmm no, what is it? | 20:22 |
tansell-laptop | look at git.thousandparsec.net | 20:22 |
CIA-31 | ruchkin.ivan libtpclient-py-tp04 * r13889b2a385d /tp/client/threads.py: Empty error messages fixed. | 20:23 |
CIA-31 | mithro libtpclient-py-tp04 * r463232acfced /tp/client/threads.py: Merge branch 'github/tp04' into tp04 | 20:23 |
CIA-31 | mithro tpclient-pywx-tp04 * r4ce6a9436818 /libtpclient-py: Fix for empty error message on network errors. | 20:23 |
tansell-laptop | bisc, I don't get how this works? | 20:23 |
tansell-laptop | bisc, IE say I want to add a bunch of orders | 20:24 |
tansell-laptop | at the moment I select the type and then click new a bunch of times | 20:24 |
*** mithro has joined #tp | 20:24 | |
bisc | that's the question of UI goals. What do you do more often - adding a single order or a series of orders? | 20:25 |
bisc | I think that it's rare to set the series of one-type orders | 20:25 |
bisc | except maybe building units | 20:26 |
bisc | for example, when you need a unit to go and colonize several planets in a row - you will be adding different orders one by one - and doing twice as many clicks | 20:27 |
bisc | the best way, of course, is to preserve simple adding of single orders and to allow user add a bunch of orders easy enough | 20:28 |
bisc | your ideas? | 20:28 |
tansell-laptop | not sure, lets leave it for now - you seem to have a bunch of other stuff there which needs review | 20:28 |
CIA-31 | llnz tpserver-cpp * r7b9a5e18cac7 /tpserver/tcpconnection.cpp: | 20:29 |
CIA-31 | Allow shorter usernames and passwords. | 20:29 |
CIA-31 | Min one byte each. | 20:29 |
CIA-31 | llnz tpserver-cpp * r4fff314b1225 /modules/games/mtsec/mtsec.cpp: | 20:29 |
CIA-31 | Don't truncate player's name, might lead to invalid utf8 chars. | 20:29 |
CIA-31 | Fixed in MTSec. | 20:29 |
bisc | yeah, ok. then this one http://codereview.mithis.com/93001. Removing startup information in information and orders panels. | 20:30 |
bisc | tansell-laptop: ^ | 20:39 |
tansell-laptop | bisc, looks good | 20:42 |
bisc | tansell-laptop: http://codereview.mithis.com/93002 | 20:43 |
tpb | Title: Issue 93002: Filter manager removed from toolbar. - Code Review (at codereview.mithis.com) | 20:43 |
tansell-laptop | LGTM | 20:44 |
bisc | tansell-laptop: http://codereview.mithis.com/96002 | 20:45 |
tpb | Title: Issue 96002: Bold in tooltip for selected object. - Code Review (at codereview.mithis.com) | 20:45 |
tansell-laptop | you might as well remove the italics then | 20:46 |
bisc | yes, maybe. I had some concerns against it, but I don't remember now. | 20:46 |
bisc | tansell-laptop: http://codereview.mithis.com/97001 | 20:47 |
tpb | Title: Issue 97001: Objects without orders doesnt show empty-order-types objects. - Code Review (at codereview.mithis.com) | 20:47 |
bisc | tansell-laptop: updated 96002, looks like this http://ruchkin.files.wordpress.com/2010/08/bold-in-tooltip.png | 21:04 |
tpb | <http://ln-s.net/7S19> (at ruchkin.files.wordpress.com) | 21:04 |
tansell-laptop | bisc, LGTM | 21:04 |
tansell-laptop | LGTM? | 21:04 |
bisc | tansell-laptop: http://codereview.mithis.com/98001 ? | 21:06 |
tpb | Title: Issue 98001: Removed subject from message body in messages panel. - Code Review (at codereview.mithis.com) | 21:06 |
tansell-laptop | bisc, when did the subject end up in the title? | 21:07 |
bisc | tansell: it was always there. I mean in the static text in the top of messages panel. No? | 21:07 |
bisc | tansell-laptop: ^ | 21:09 |
tansell-laptop | yeah | 21:09 |
tansell-laptop | maybe we should remove it? | 21:09 |
bisc | you think it's better to have it inside white box, not on top of it? | 21:11 |
tansell-laptop | yeah - probably? | 21:11 |
tansell-laptop | the subject could be quite long | 21:12 |
tansell-laptop | and we could move the count part down with the buttons | 21:12 |
bisc | an interesting idea, yeah. I wanted to suggest button layout like in gmail: <Prev> 1 of 30 <Next> | 21:14 |
bisc | it means there's no sense of applying wrapping to message title. okay, I will do it. | 21:14 |
bisc | tansell-laptop: http://codereview.mithis.com/91002 | 21:15 |
tpb | Title: Issue 91002: Empty messages panel on startup. - Code Review (at codereview.mithis.com) | 21:15 |
tansell-laptop | bisc, yeah - added bonus | 21:15 |
tansell-laptop | bisc, hrm - I'm not sure this one is right | 21:16 |
bisc | why? | 21:16 |
tansell-laptop | the message window should really show the unloved if there is no messages | 21:16 |
bisc | it does. See html_nomessage variable in panelMessage.py | 21:17 |
bisc | I just removed it from the xrc | 21:17 |
tansell-laptop | bisc, I think we should probably keep it in the XRC and remove from panelMessage.py? | 21:18 |
bisc | then it will flash for a second on every client start. Moreover, such code will be inconsistent: the internals of message panel will be determined by both code and xrc. Having it filled in from one place is better imo. | 21:20 |
*** tenach has joined #tp | 21:22 | |
*** StrangerDanger has quit IRC | 21:24 | |
*** Greywhind has quit IRC | 21:25 | |
bisc | tansell-laptop: we can discuss this issue later. Another one: http://codereview.mithis.com/99001 | 21:27 |
tpb | Title: Issue 99001: Preferences window shortcut. - Code Review (at codereview.mithis.com) | 21:27 |
*** alanp has quit IRC | 21:29 | |
tansell-laptop | bisc, LGTM | 21:32 |
tansell-laptop | bisc, I think we should probably keep it in the XRC and remove from panelMessage.py? | 21:32 |
tansell-laptop | still only one place the XRC | 21:32 |
bisc | tansell-laptop: but other types of contents (for normal messages and situation when everything is filtered) are completely in code. | 21:34 |
tansell-laptop | hrm... true | 21:34 |
bisc | and sadly, if we leave it in xrc, I don't know how to make it invisible on startup moment. | 21:34 |
CIA-31 | llnz tpserver-cpp * r2f8c32b3b259 /tpserver/player.cpp: Added modtime to player object | 21:35 |
tansell-laptop | okay LGTM then | 21:35 |
CIA-31 | llnz tpserver-cpp * r8b131562797b /tpserver/ (objectview.cpp objectview.h playerview.cpp protocolview.h): Fixed sending too many objects that are gone. | 21:38 |
bisc | ok, great. Just a second, I'm taming git.. | 21:42 |
CIA-31 | alanp tpserver-cpp * red5798f145c1 /modules/games/mtsec/ (fleet.cpp fleet.h): Methods to get design IDs in a better fashion | 21:43 |
CIA-31 | alanp tpserver-cpp * r49b1859b5447 / (7 files in 2 dirs): Merge branch 'master' of git+ssh://git.thousandparsec.net/git/tpserver-cpp | 21:43 |
CIA-31 | mithro libtpproto-py-tp04 * r61007489831b /tp/netlib/ (5 files in 2 dirs): Adding the Player ID functions. | 21:45 |
CIA-31 | mithro libtpclient-py-tp04 * rdf61a04224c4 /tp/client/cache.py: Use the player get ids funcions. | 21:45 |
CIA-31 | mithro tpclient-pywx-tp04 * r461589ae1859 /extra/StateTracker.py: Fix on CacheUpdate. | 21:45 |
CIA-31 | mithro tpclient-pywx-tp04 * ra0a314251738 / (libtpclient-py libtpproto-py): Use the player get ids. | 21:45 |
CIA-31 | mithro tpserver-cpp * r95d1fc1f47f0 /modules/games/minisec/rspcombat.cpp: Cast for 64bit system. | 21:46 |
CIA-31 | mithro tpserver-cpp * r0a29d51c811d / (3 files in 2 dirs): Merge branch 'master' of git://git.thousandparsec.net/git/tpserver-cpp | 21:46 |
CIA-31 | mithro tpserver-cpp * r78370b937478 /tpserver/ (objectview.cpp objectview.h playerview.cpp protocolview.h): Merge branch 'master' of git://git.thousandparsec.net/git/tpserver-cpp | 21:46 |
CIA-31 | mithro tpserver-cpp * re41c384e4292 /modules/games/mtsec/ (fleet.cpp fleet.h): Merge branch 'master' of git://git.thousandparsec.net/git/tpserver-cpp | 21:46 |
CIA-31 | mithro tpserver-cpp * r201d4d139870 /tpserver/ (adminconnection.cpp playeragent.cpp): Always send a sequence frame. | 21:46 |
bisc | tansell-laptop: http://codereview.mithis.com/100001 | 21:47 |
tpb | Title: Issue 100001: Starmap movement with arrow keys fixed. - Code Review (at codereview.mithis.com) | 21:47 |
*** verhoevenv has quit IRC | 22:02 | |
*** verhoevenv has joined #tp | 22:07 | |
*** cahirwpz has quit IRC | 22:12 | |
bisc | tansell-laptop: ping | 22:15 |
*** verhoevenv_ has joined #tp | 22:16 | |
*** verhoevenv has quit IRC | 22:20 | |
bisc | nvm, later | 22:20 |
*** bisc has quit IRC | 22:20 | |
*** alanp has joined #tp | 22:33 | |
CIA-31 | verhoevenv daneel-ai * ra49b8b3e5151 / (libtpclient-py libtpproto-py): Added new version of the library to amongst others support utf-8. | 22:38 |
CIA-31 | verhoevenv daneel-ai * r12a19974afb9 / (daneel/helper.py libtpclient-py libtpproto-py): Fix design creation | 22:38 |
CIA-31 | verhoevenv libtpclient-py-tp04 * r4bb8deb1de14 /tp/client/cache.py: Fixing ChangeDict | 22:39 |
CIA-31 | alanp tpserver-cpp * ra92fbef77222 /modules/games/mtsec/ (move.cpp move.h): Add inputFrame | 22:51 |
CIA-31 | alanp tpserver-cpp * r5eaea7396798 / (3 files in 2 dirs): Merge branch 'master' of git+ssh://git.thousandparsec.net/git/tpserver-cpp | 22:51 |
*** StrangerDanger has joined #tp | 22:57 | |
CIA-31 | llnz tpserver-cpp * r464f3e627e4b /modules/games/mtsec/move.cpp: Fixed failure when trying to create message for failure in move in MTSec. | 23:00 |
*** tansell-laptop has quit IRC | 23:10 | |
*** StupidIncarnate has quit IRC | 23:18 | |
*** tansell-laptop has joined #tp | 23:24 | |
llnz | http://pastebin.com/ZWbAcXS0 | 23:50 |
tpb | Title: 2010-08-10 16:42:27,199 [INFO] - Daneel - ZWbAcXS0 - Pastebin.com (at pastebin.com) | 23:50 |
llnz | daneel-ai problem | 23:50 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!