Wednesday, 2007-03-14

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** mithro has joined #tp00:28
mithrohowdy people00:29
mithroTBBle: do you have a sf.net account?00:30
nashheyo mithro00:38
mithrohey nash00:38
nashhow is life?00:38
mithrotirering00:42
nashSleep more ;-)00:43
*** mithro has quit IRC01:38
*** mithro has joined #tp01:55
mithrohowdy people02:03
mithrobr02:11
mithrob02:11
* jotham drops a pin02:40
jotham*plink*02:40
* nash hands jotham his pin.02:52
nashYou dropped this02:52
jotham:\02:52
nashIt's on the floor - it could be dangerous.02:55
mithronash: you'll like this probably03:03
nashmithro: I hate it allready03:03
nashAnd I don't know what it is03:03
mithrohttp://www.thousandparsec.net/tp/dev/documents/protocol4.php03:03
tpb<http://ln-s.net/JqO> (at www.thousandparsec.net)03:04
nashmithro: Sweet03:05
mithronash: the patches seem to be taking a while to pus03:05
nashmithro: Things are a bit wacky at the moment - partially through moving to command line processing03:07
CIA-20[email protected] * web/dev/documents/protocol4.php : Added first dump of Object Properties.03:10
CIA-20[email protected] * web/dev/documents/protocol4.php : More small additions from the Object properties thread.03:10
CIA-20[email protected] * web/ (18 files in 2 dirs): Added more from the Object Properties thread.03:10
CIA-20[email protected] * web/dev/documents/ (17 files): Lots of updates to the Metaserver section.03:10
CIA-20[email protected] * web/dev/documents/protocol4.php : Added meeting email.03:10
CIA-20[email protected] * web/ (6 files in 5 dirs): Inital Page.03:10
CIA-20[email protected] * web/dev/documents/ (17 files): Added Lees stuff and reformatted a little03:10
nashSo it currently connects without a gui... but things don't work until turn 2...03:11
nashIs there protocol support for multiple games on the same server yet?03:27
*** Demitar has quit IRC03:27
nashmithro: Packet versioning is wrong - either the format or the example is wrong03:31
mithronash: protocol support?03:32
nashmithro: Ahh - is that what the @ is for?  You need to document that.03:32
mithronash: yes03:33
mithroit's kind of an undocumented tpserver-py extension03:33
* nash notes you guys need to spend less time on undocumented extensions, and more time on implementing documented things03:34
mithronash: it was added a long long time ago03:34
CIA-20[email protected] * web/dev/documents/protocol4.php : Start of actual specification of Object Description.03:34
mithronash: bah, atleast we have a protocol document :)03:35
nashNo you don't.03:35
nashYou have a draft one.03:35
nashHow do I send the filters request for starters?03:35
mithronash: tp03 is pretty well documented03:36
nashSo is MTSec03:36
mithronash: any idea how to fix combat in MTSec? I tried to adapt minisec type combat but it didn't work03:37
CIA-20[email protected] * web/dev/documents/protocol4.php : Make it more clear for Nash.03:37
nashmithro: I could put one together03:38
nashmtsec is easy - just make ships fire simultaneously...03:39
nashforeach ($ship in @ships) {03:39
mithroyes, but how do you determin damage assignment03:39
mithrothats the problem i ran into03:39
nashAhh... Well multiple order queues woudl be nice so you can assign.03:40
mithrothe Resolving Damage section needs to be rewritten03:40
nashHowever otherwise a missle targets the largest ship it can destroy OR the least healthy armed ship03:41
mithroarmor+dodge break the idea of "assign it to least damaged ship first)03:41
nash(in that order)03:41
mithroassigning what to attack is not something I want in MTSec03:42
nashmithro: I can understand the protocol - just what you wrote it wrong:03:42
mithrobrb03:42
nashTP<major byte><minor byte>  then you say TP03 -> Major 303:42
mithroahh your reading it wrong03:45
mithrotp03 == version string03:46
mithroso tp03 is tp\0x03\0x0003:46
mithrohow can I make that clearer?03:48
nashSo if the version is tp<03><00> what is the version?03:51
nashIs the major the first or the second byte?03:52
nashBecause you say TP<major><minor>  then use TP<0><4> as tp<minor><major>03:52
mithrothe major bytes is the first byte, the minor byte is the second byte - so in the protocol you would have \0x84\0x80\0x03\0x00 for the version 3 of the protocol03:55
mithroand \0x84\0x80\0x04\0x00 for the version 4 of the protocol03:55
mithroyou can do a s/tp03/Thousand Parsec Protocol Version 3/ in the document03:56
nashRight... Now look at the example "tp04 with major 4 and minor 0".  So that reads to me as TP<minor == 0><major == 4>03:57
nashUnless of course you subtract 4 from the major version, and add 4 to the minor version just for kicks...03:58
mithroyou should read that as "Thousand Parsec protocol version 0.4 has a major byte 4 and a minor 0"03:58
mithro0.<major>.<minor == frame version>03:59
nashNope.. still doesn't make sense.04:01
nashSeriously - look at what those paragraphs say - carefully - not what you think it says - what it actually says04:02
* mithro rewrites it04:03
mithroThe TP03 header will be changed to a "TP<protocol version byte>< frame version byte>". The bytes are in binary not ASCII.04:04
mithroAs new versions of frames are added the frame version byte will be incremented. (They all start at zero for the first release of a major protocol version.) A frame will not change in an non-backwards compatible way within a major protocol.04:04
mithroAlthough this frame type versioning was only introduced in tp04 protocol. The method can be used by tp03 clients with a protocol version byte set to 3 and frame version byte set to 0.04:04
mithrothat better?04:05
nashthats fine... now DON'T use an example which has the minor and major fields swapped04:05
CIA-20[email protected] * web/ (4 files in 2 dirs): Try to make this make more sense to other people.04:16
mithronash: btw that page is very much a mish mash of emails at the moment04:21
mithroanyway I have to run04:22
mithrosee ya04:22
*** mithro has quit IRC04:32
*** nash has quit IRC04:46
*** tpb has joined #tp06:01
*** ChanServ sets mode: +o tpb06:01
*** Demitar has joined #tp06:06
*** Demitar has quit IRC07:52
*** Demitar has joined #tp07:54
*** llnz has joined #tp08:07
*** mithro has joined #tp08:53
mithrohowdy people08:53
jothamhey man08:53
mithrojotham: how goes our wonderful battleviewer?08:54
jothamok08:55
mithroso where are we at atm?08:55
jothamfinal bit of the event stuff, then asking piman to optimise my laser code, then put in the forward/back/reward and summary screen08:56
jothamand after that add a starfield and something from the nasa site08:56
jothamfor a bit of atmosphere08:56
jothamand when thats all done and you are ok with it, add a battle start animation/graphical build sequence i have in mind, and maybe have a crack at doing osme new ship graphics08:57
jothamanywya it's bath time08:57
mithrohave fun08:58
CIA-20[email protected] * web/dev/documents/ (16 files):08:58
CIA-20Trying to get the Object Description stuff working.:08:58
CIA-20 Added some examples. Added a crappy graph example.08:58
*** tuna-fish has quit IRC10:16
*** mithro has quit IRC11:20
* llnz wanders off12:40
llnzlater all12:40
*** llnz has quit IRC12:40
*** tuna-fish has joined #tp19:07
*** tuna-fish has quit IRC21:07
*** tuna-fish has joined #tp21:11
*** nash has joined #tp22:27
*** mithro has joined #tp22:55
mithrohowdy22:55
nashheyo22:59
nashhow is life?22:59
mithrostill tirering23:02
mithrofeel free to add too [tp-devel] Protocol 4 discussion document issues23:02
nashI am as we speak23:03
mithrookay23:06
mithrothe object description stuff needs a lot of work23:13
nashI haven't looked at that yet.  There is no contecxt to how it works23:19
* nash also worries it is uimplementable in a sane way23:19
mithrosane way?23:20
nashI just worry to much meta information will need to be in the clients to understand it.23:20
mithrowell, what does a client really need to understand?23:21
mithroan AI needs lots to understand, a human interface isn't that bad23:23
nashNot if you want a decent interface I think... but at this point I'm talking out of my arse...23:24
mithrowell, i'm intrested to know what a "decent" interface is23:24
nashWell decent probably means really good in this case ;-)23:25
mithronash: and "not bad" too!23:25
nashBasically it would be nice if the client would take care of some of the micromanagement, to do that it needs to `know' what a lot of the orders mean23:25
nashSo for instance if I set a fleet to colonise a planet, if the client knows that you need to orbit a world to colonise it, it can quickly slip in the move order for you... Bombing would be similar... However using the 'JumpTo' order it shouldn't add a moveto order.23:27
mithrothat could be done server side?23:27
mithroany others?23:29
nashI agree it could be done server side, but the advantage of doing it client side is I can tweak it after the code has done it.  So I see the new move order and maybe jiggle it to avoid mine fields or interception or fuel usage or something23:30
nashAs for others.. I could come up with a list, but I don't think it would change anything23:31
mithronash: could you come up with the list anyway?23:31
nashColonisation, bombing, mine laying, remote mining, cargo transport, cargo transfer,23:32
nashumm... I'm sure I can think of a case for basically every order which has an argument.23:32
nashThe other thing if we have the code in the server it needs to be defined for every game...23:33
nashOne thing I like about my client setup at the moment is I can get the AI to do some micromanagement for me... which i htink is cool.23:35
mithroit would be good if you could come up with some "users stories"23:36
nashWell you have 223:36
nashAnyway, I'll wait to I see it.  One of the dangers of a general protocol is taht the specifics need to be somewhere.23:37
nashbbs23:37
mithrookay23:38
nashand back23:40
mithronash: well, those are good, but I'm going to forget them if you don't send them somewhere :)23:40
CIA-20[email protected] * web/ (21 files in 2 dirs):23:41
CIA-20Small updates.:23:41
CIA-20 Fail frame - extra error codes, note about leaking information, GRS addition23:41
CIA-20 meta protocol - ln/sn update23:41

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!