Tuesday, 2009-08-04

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
Greywhindtansell: is there an AI that works with minisec?00:04
tansellno00:05
tanselltpsai-py should in theory00:05
Greywhindhow about mtsec?00:05
Greywhindi have to go eat dinner, i'll check for a response when i get back00:06
*** nebajoth has quit IRC00:07
*** Erroneous has quit IRC00:13
Landonllnz: thanks for the tip, but as I feared t says VertexElement has no attribute baseVertexPointerToElement00:20
CIA-26landon tpclient-pyogre * rd4c9f296c156 /src/raycast.py: Fixed up more typos, however baseVertexPointerToElement seems to be missing from python-ogre00:21
*** nebajoth has joined #tp00:24
llnzbbl00:33
*** llnz has quit IRC00:33
CIA-26landon tpclient-pyogre * rb208f199acfb /src/laser.py: Added laser particle effects that shoot out from the ship being attacked00:42
*** tansell-laptop has joined #tp00:44
Greywhindtansell: has rfts been updated to work with tp04 for orders?01:56
tansell-laptopit should02:04
*** nebajoth has quit IRC02:06
CIA-26landon tpclient-pyogre * rf29ddd4da43d /media/battleviewer/fire.material: Particle effects are kind of useless without a .material file02:08
*** tuna-fish has joined #tp02:16
*** nebaway has joined #tp02:29
CIA-26landon tpclient-pyogre * r22e73e81187d /media/battleviewer/warp.material: Warp ins happen faster02:46
CIA-26landon tpclient-pyogre * r31a11b5a79fa / (3 files in 2 dirs): Ships now explode using one of two explosion types when they die02:46
* Landon will have plenty of pictures for mithro_ after he goes biking in the morning ;) 02:46
Landonfor now, sleep02:46
tansellLandon, sounds like it's a time for more videos02:53
tansellLandon, btw do we have torpedos?02:53
Landonno, not yet02:53
Landonwould you prefer something with an actual torpedo model or a flying particle frenzy?02:54
tansellLandon, both of course! :)02:57
Landonheh02:57
tansellLandon, I would also like to see "cluster" missiles03:00
Landonwhich do?03:01
Landonhmm03:01
LandonI dont think it would be too hard to create something that explodes when it hits say the bounding sphere of a ship and emits particle emitters03:01
Landonif that's the sort of thing you're thinking of03:02
tansellyeah03:02
Landonok, I'll see what I can do with that tomorrow03:03
Landonnow, since there's no specification for what's actually being fired03:03
Landondo you just want me to pick one at random?03:04
Landonthats what I'm doing with explosions right now03:05
Landonit picks from a glow sort of explosion and an exploding fragments sort of explosion03:05
tansellthere are weapon stuff in the battlexml03:06
Landonhmm, it's commented out of the DTD03:08
tanselloh?03:09
*** llnz has joined #tp03:13
*** nash has quit IRC03:27
*** llnz has quit IRC03:45
*** llnz has joined #tp03:46
*** jnengland77 has quit IRC04:12
tansellLandon, http://img259.imageshack.us/img259/2614/200908041055311024x768s.png04:20
tpb<http://ln-s.net/3nCt> (at img259.imageshack.us)04:20
tansellopps04:20
tansellhttp://www.thousandparsec.net/~tim/torpedo-styles.png04:21
tpb<http://ln-s.net/3nCu> (at www.thousandparsec.net)04:21
llnztansell: that would look cool04:22
llnzwould be good if it could (generically) be set in the xml04:23
tansellllnz, you can just set "weapon types"04:23
tansellIE one of them might be "Generic Torpedo" the other could be "Cluster Torpedo"04:23
llnztrue04:30
llnzi thought weapon type was the overall type, ie, torpedo, missile, laser, etc, etc04:31
llnzbut either would work04:31
*** nebaway has quit IRC04:50
*** nebaway has joined #tp04:54
*** tansell-laptop has quit IRC04:56
*** tansell-laptop has joined #tp05:05
*** Greywhind has quit IRC05:12
*** cherez has quit IRC06:27
*** tansell_laptop has joined #tp06:37
*** tansell-laptop has quit IRC06:37
*** llnz has quit IRC06:44
*** llnz has joined #tp06:54
*** tuna-fish has quit IRC07:08
*** Landon has quit IRC07:08
*** Linkadmin has quit IRC07:08
*** jmtan has quit IRC07:08
*** tote has quit IRC07:08
*** zzorn has quit IRC07:08
*** matthewd has quit IRC07:08
*** ezod has quit IRC07:08
*** tuna-fish has joined #tp07:10
*** Linkadmin has joined #tp07:10
*** jmtan has joined #tp07:10
*** ezod has joined #tp07:10
*** Landon has joined #tp07:10
*** matthewd has joined #tp07:10
*** zzorn has joined #tp07:10
*** tote has joined #tp07:10
*** llnz has quit IRC07:15
*** mithro_ has quit IRC07:16
*** nebaway has quit IRC07:24
*** DTRemenak has quit IRC07:24
*** shenki has quit IRC07:24
*** shenki has joined #tp07:24
*** DTRemenak has joined #tp07:24
*** nebaway has joined #tp07:24
*** Landon has quit IRC07:25
*** tuna-fish has quit IRC07:25
*** Linkadmin has quit IRC07:25
*** jmtan has quit IRC07:25
*** matthewd has quit IRC07:25
*** tote has quit IRC07:25
*** zzorn has quit IRC07:25
*** ezod has quit IRC07:25
*** tuna-fish has joined #tp07:26
*** Linkadmin has joined #tp07:26
*** jmtan has joined #tp07:26
*** ezod has joined #tp07:26
*** Landon has joined #tp07:26
*** tote has joined #tp07:26
*** zzorn has joined #tp07:26
*** matthewd has joined #tp07:26
*** mithro_ has joined #tp07:39
*** mithro_ has quit IRC07:43
*** Vadtec_ has quit IRC08:01
*** Vadtec has quit IRC08:01
*** edison has quit IRC08:01
*** Vadtec has joined #tp08:03
*** Vadtec_ has joined #tp08:03
*** edison has joined #tp08:03
*** Vadtec_ has quit IRC08:09
*** Vadtec has quit IRC08:09
*** edison has quit IRC08:09
*** Vadtec has joined #tp08:10
*** Vadtec_ has joined #tp08:10
*** edison has joined #tp08:10
*** Vadtec_ has quit IRC08:14
*** Vadtec has quit IRC08:14
*** edison has quit IRC08:14
*** Vadtec has joined #tp08:15
*** Vadtec_ has joined #tp08:15
*** edison has joined #tp08:15
*** Vadtec_ has quit IRC08:16
*** Vadtec has quit IRC08:16
*** edison has quit IRC08:16
*** peres has joined #tp08:39
*** Linkadmin has left #tp08:54
*** Demitar has quit IRC08:55
*** tuna-fish has quit IRC09:09
*** Landon has quit IRC09:09
*** jmtan has quit IRC09:09
*** tote has quit IRC09:09
*** matthewd has quit IRC09:09
*** zzorn has quit IRC09:09
*** ezod has quit IRC09:09
*** peres has quit IRC09:11
*** jmtan has joined #tp09:22
*** tote has joined #tp09:22
*** zzorn has joined #tp09:22
*** matthewd has joined #tp09:22
*** ezod has joined #tp09:30
*** tuna-fish has joined #tp09:30
*** Landon has joined #tp09:30
*** mithro has joined #tp11:06
*** Demitar has joined #tp12:30
*** Erroneous has joined #tp13:56
*** Vadtec_ has joined #tp14:05
*** Vadtec has joined #tp14:05
*** edison has joined #tp14:05
*** nebaway is now known as nebajoth14:11
*** Greywhind has joined #tp14:27
*** jmtan has quit IRC14:42
*** tuna-fish has quit IRC15:32
*** reac has joined #tp16:00
*** reac has quit IRC16:13
*** reac has joined #tp16:16
*** llnz has joined #tp16:51
*** cherez has joined #tp16:55
llnzmorning all16:57
CIA-26landon tpclient-pyogre * rf5d4703844db /src/battlemanager.py: Respect the warp lock, no matter what.17:06
CIA-26landon tpclient-pyogre * r16ec5b01a9ce /src/battlemanager.py: Changed the laser's post event to match what I've done with the death post event17:08
cherezMean old power outages.17:09
cherezRuining my uptime.17:09
mhilmihey llnz17:11
llnzhi mhilmi17:11
llnzmhilmi: how is it going?17:16
mhilmigood - just trying to figure out to handle exceptions properly. seems Qt disables them by default so those DisconnectExceptions crash the app17:26
llnzare you sure?17:27
llnzby default if an exception is not caught at all, the program aborts (SigAbort, iirc)17:28
mhilmiyeah that's whats happening..17:28
llnztry adding a try/cache block in main()17:29
llnzs/cache/catch/17:29
mhilmiI tried something like try{ game->disconnect(); } catch(TPProto::DisonnectException) { } and it still just craps out when it gets thrown.17:30
mhilmiI think it is Qt related cause exceptions are disabled by default - I tried enabling them but I think the Cmake keyword is wrong..17:31
CIA-26joelboh tpclient-pyweb * r08a115a07865 / (3 files in 2 dirs): Orders containing position or time argument works now.17:31
llnzBtw: is DisconnectedException, i note the doxygen is wrong17:32
llnzhumm...17:32
llnzi wonder...17:32
mhilmiyeah sorry, DisconnectException17:32
mhilmier Disconnected17:33
llnzin your EventLoop subclass, you might need to catch those exceptions when calling isReadyToRead17:35
llnzand remove the tpsocket when that happens17:36
llnzbut i'm not sure, and i have an idea how I could test it tonight17:36
mhilmiyeah I think that might be the problem17:39
mhilmicause this only occurs in the event that the user prematurely disconnects during the connection routine - ie he doesnt choose a game and just quits17:39
mhilmiwhen that happens, the gameinfo callback still is being executed and throws the exceptions because sock!=null17:40
mhilmisomething like i tried should still catch it though right? not sure why it just terminates..17:41
*** verhoevenv has joined #tp17:42
llnzit could be that the qt event loop aborts if it receives an exception17:47
CIA-26joelboh tpclient-pyweb * rb5d21f01579b /frontend/scripts/map.js: Frontend: Small fix, not reseting argument panels correctly.17:55
mhilmillnz: I figured out how to enable exceptions and then catching in the eventloop worked. I do try { ..->readyToRead() } catch(DisconnectedException) { } and it works...18:30
llnzcool18:31
mhilmiWould you need to do the same for readyToSend?18:31
*** nebajoth is now known as nebaway18:45
llnzmhilmi: umm... maybe19:06
*** nash has joined #tp19:30
*** mithro has quit IRC19:31
*** mithro has joined #tp19:49
*** llnz has left #tp19:49
*** llnz has joined #tp19:49
llnzwrong button19:49
mithroLandon: did you see screenshot?19:50
Landon? for the cluster bomb?19:51
tansellLandon, yeah20:05
tansellscreenshots is the wrong word20:05
Landonyup, saw it20:06
tansellokay cool20:11
tansellLandon, do you think it's possible?20:11
tanselland you said you would have more screenshots for me?20:12
Landonmaybe not something so curvy, but yeah20:12
Landonhm, i'll see about making a video in a bit20:12
tansellLandon, it's just a spline20:12
tansellshould be pretty easy to do20:14
tansellLandon, and how hard is it to drop in replacement particle effects?20:14
Landonjust a different .material file20:14
tansell(for things like the exhust?)20:15
Landonno changes in code20:15
Landonoh goody20:15
Landonogre has a simplespline class20:15
tansellso the laser screenshots?20:17
LandonI'l get those in the video :P20:18
*** mithro has quit IRC20:20
*** mithro has joined #tp20:21
tansellcherez, ping?20:50
chereztansell: Pong?20:52
tansellcherez, meeting in 10 minutes?20:53
cherezJust about to write a weekly report.20:53
cherez...unless I can't connect to blogger.20:53
chereztansell: Can you connect to blogger.com? I cannot.21:00
tansellworking fine for me21:02
cherezWeird....21:02
cherezWell, know any good proxies?21:02
tansellnope!21:04
tansellyou can still write it up and just copy it to your public_html21:04
* Landon will be a bit longer with that video 21:04
Landonfighting with customer service to get my new phone activated :\21:04
cherezCan't connect to my e-mail either.21:05
cherezSounds like my ISP is failing me.21:05
cherez...Not being able to connect to gmail seems to mean I can't upload this CL either.21:06
cherezWell, I can upload the coverage report, at least.21:06
cherez...21:08
cherezWhat DOES work on my connection?21:08
cherezWell... IRC.21:08
tansellso where are we at?21:09
cherezCommon is pretty much done, and I've modified about half of Client to reflect the API changes that have happened during the project.21:12
cherezThat is mostly pretty straightforward edititing.21:12
tanselland how are you testing?21:12
cherezConnectionCommon just has some hard coded packets transmitted through it.21:13
cherezRight now they're plain strings, I might change it to actually build the packet and then  use its .str method.21:13
cherezThe test for Connection will probably just connect to something like google.com and do a simple GET.21:14
cherezI might also write a test to open a local socket, but server socket permissions really vary by machines.21:15
cherezFor SSL wrapper, probably do the same with an HTTPS.21:15
cherezClient's testing will probably be with a dummy server over ConnectionCommon.21:19
tansellcherez, have you tested the error cases?21:20
tansellie bad packets?21:20
tansellpackets with insane lengths21:20
tansellpackets which are too short21:20
tanselletc21:20
tansellcherez, you can always give the server 0 and then it will bind to a free socket21:21
chereztansell: Right now Common will choke if a wrong length is passed. I'm not really sure what can be done about that.21:22
tansellcherez, it needs to die in a sane predictable way21:23
cherezWith too short that's easy, but if they send us a packet absurdly long and never finish it we can't really say whether it's legit.21:23
tansellsure we can - the protocol has limits on the size of a packet21:24
cherezReally?21:24
tansellsee the protocol document21:24
cherezWell, length is a uint 32....21:26
tansellcherez, keep reading21:26
tansellcherez, we didn't write the protocol document just because we liked writing it :)21:27
cherezI thought it was mostly automatically generated? :P21:27
tansellfor tp0421:28
tansellbecause writing it for tp03 sucked so much :)21:28
cherezOuch.21:29
llnzthe limit doesn't appear in the tp04 doc or xml, iirc21:29
llnzhttp://www.thousandparsec.net/tp/dev/documents/protocol3.php#FrameFormat21:30
tpb<http://ln-s.net/3npp> (at www.thousandparsec.net)21:30
llnzin green21:30
cherezNo frame may be bigger then 1048576 bytes (1 megabytes) long.21:30
cherezRight.21:30
cherezSo if a frame is larger than that it can flip out.21:30
tansellcherez, yeah21:35
tansellcherez, it should also have consistent exception when things like the socket closes prematurely21:37
tansellcherez, the locking also needs to be checked so that multiple threads can be waiting on stuff from the connection and it all works fine (and the right packets ends up the correct locations)21:38
cherezUnit testing threading is hard. :(21:39
tansellit's not that hard if you use the correct model21:41
cherezOh?21:41
tansellyou just put blocks into the threads so they stop at known points21:41
tanselland then manipulate the blocks so they execute in the order you want to test21:42
cherezMmm, that makes sense.21:42
cherezI guess the blocks we would want are conveniently near yield statements?21:42
tansellpossibly21:44
*** bddebian has joined #tp21:44
tansellcherez, so are we on target to reach our goals?21:45
tansellcherez, do you remember where we are at?21:45
tansellhave you managed to make a connection to a real server?21:45
tansellhave you tried porting something simple like tpclient-pytext?21:45
tanselltime is quickly running out sadly :(21:45
cherezI didn't expect to need to fix bugs in structures and parser, so that slowed me down a little.21:46
tansellI would like to prove that we can talk to other systems21:46
cherezI should  have Client with unit-tests soon, then I'll port either either tpclient-pytext or libtpclient-py.21:46
tansellhaving libtpclient-py able to connect and download the universe is a great proof concenpt21:47
tanselltpclient-pytext is probably easier when still trying to get the connect frame to work :)21:49
tansellso what will be done by next week?21:50
cherezCommon just needs some tests, so that for sure, and Client unless I discover that I screwed up fundamentally somewhere and need to do massive rewriting.21:52
cherezGods willing I'll have something with libtpclient-py.21:52
tansellcherez, so you where doing really well with the daily blog posts there for a while21:52
tansellbut you have missed a couple of days last week21:53
tansellyou also don't seem to be uploading coverage reports very often21:53
tansellI would like to see both corrected for this week - do you think you can do that?21:54
cherezThe last week was mostly bug fixing, so I was working more on getting the unit tests to succeed.21:54
cherezIt wasn't until last night that I got everything to pass.21:55
tansellcherez, that is okay - just comment on the bugs you fixed21:55
cherezAlright.21:55
tansellor how many tests now pass21:55
tansell"Today I fixed X, Y, Z - which meant that tests A and B pass now but C is still broken and the fixes also broke D (which was previously passing)21:55
tansellNot quite sure what is up with D - will investigate more tomorrow, have to get to bed otherwise the bogey man will eat me."21:56
tansellmaybe "Managed to get another 3 points of coverage today, it seems to be getting harder now that I'm trying to test all the error cases. Will have to chat with Mithro tommorrow about possible ways that class XYZ can fail while looking at it funny."21:58
tansellcherez, see, it should be pretty simple21:59
chereztansell: Alright.21:59
tansellcherez, any questions for me before I head to lunch?21:59
cherezNope, enjoy your lunch.21:59
tansellokay - get that CL up as soon as you can22:00
cherezSeems my ISP is shooting down any secured connections, so I guess it's whenever they fix that.22:01
*** Erroneous has quit IRC22:11
*** nebaway is now known as nebajoth22:26
*** verhoevenv has quit IRC22:27
Greywhindtansell: ping?22:39
Greywhindoh, probably at lunch22:39
*** tuna-fish has joined #tp22:42
*** Greywhind has quit IRC22:49
*** Greywhind has joined #tp22:49
Landonvideo up23:20
Landonhttp://www.youube.com/watch?v=3UO4chQf1lE23:21
Landonhttp://www.youtube.com/watch?v=3UO4chQf1lE , even23:21
tpbTitle: YouTube - Thousand Parsec Battleviewer - Particle Effects (at www.youtube.com)23:21
llnzcool23:28
* Landon needs to tweak laser particle orientations23:28
Landonand possibly color23:29
tansellLandon, I expect you need to create a bunch of different particle effects on lasers23:46
Landonok23:46
tansellit's the reason I pointed you to all the different laser effect weapons a while back23:47
Greywhindtansell: so, i think there's something incompatible with tp04 about the way rfts returns orders23:47
Greywhindtansell: i'm not really sure what, exactly23:47
Greywhindbut orders work with every other ruleset23:47
llnzGreywhind: really?23:49
llnzodd23:49
Greywhindllnz: yeah, it's giving me errors23:50
Greywhindwhenever i do a new order23:50
llnzfor all order types?23:50
Greywhindllnz: seems like it23:51
Greywhindllnz: and also when i join a game after adding the order23:51
Greywhindllnz: http://pastebin.com/d2d91828a23:52
tpbTitle: pastebin - collaborative debugging tool (at pastebin.com)23:52
tansellLandon, so I don't see any particle effects on the laser - only on the hit locations?23:52
*** jmtan has joined #tp23:53
Landonright, only on hit locations23:53
tansellas well you didn't record any move animations23:53
Landondoh23:53
tansellLandon, so the laser itself should also be a particle effect23:53
Landoner, how so??23:54
llnzGreywhind: oh, so either the order description is wrong (try to unpack something that isn't there) or the frame was too short23:54
Greywhindllnz: yeah23:55
llnzI'll have a look tonight23:56
*** gau_veldt has joined #tp23:58
tansellLandon, you should look at the movies I pointed you to a while back23:59
Landontansell: yeah, I';m looking now23:59
*** gau_veldt has left #tp23:59
Landondo you want something more gun-fireish than a straight beam?23:59
tanselltorpedo's could also be moving particle effects23:59
tansellLandon, so I'm looking for a wide range of weapons23:59
tansells/weapons/weapon effects/23:59

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