Tuesday, 2009-06-23

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
llnzbtw, you could easily set the turns to build in terms of the resources required00:00
alanpwell, it doesn't really move00:00
*** bddebian has quit IRC00:00
alanphmmmm00:01
alanpcrap i just did something uber stupid00:04
alanplooking at python for a couple days has made me forget to recompile00:06
alanpheh00:06
alanpd'oh00:06
*** mithro has joined #tp00:06
alanpllnz: if i break things into different Component IDs, nothing should break, right?00:10
alanpShips, Explosives, Tubes, etcv00:10
alanpin past rulesets pretty much everything was in "Ships"00:10
llnzyou mean category id?00:14
alanpyes00:15
alanpsorry00:15
llnzand yes, thing will break00:15
alanpok, crap00:15
alanpit looks kind of weird with everything under one heading in the design window in pywx00:15
llnzall the components that go into make a design of a particular type (ie, category) have to have the same category id00:15
llnzthe category is for the design00:15
alanpyeah that will nreak everything00:15
llnzi could be conviced to have that not be the case, but it will mean more work for ruleset developers00:16
alanpwell, if we're using the design window it looks kind of crappy to have every component that makes a ship under one heading00:17
llnzbecause they will need to write very large requirement functions that exclude missile components in the ship designs for example00:17
alanpmaybe we coul dhave subheadings for the design window only?00:17
alanpespecially if further rulesets will make large use of ti00:17
ezodsubcategory id?00:17
alanpyeah, subcategoryid00:18
alanpwhat's the easiest way to return the number of components?00:19
ezodso how do you then go about displaying the rather important information that the (main) category id conveys?00:19
ezodheadings and subheadings?00:19
alanpezod: Well everythign will be under "Ships" category ID, subcategoryID would be "Hulls", "Tubes", "Racks", etc and will be purely asthetic00:19
alanpis asthetic the right word?00:19
llnzcomponent types00:19
llnzand yes, 'asthetic' will do00:20
ezodaesthetic, but yeah :)00:20
mithroheyo people00:22
alanpllnz: I can use num-ammo to see if the number of missiles in a rack is < #, right?00:22
alanphey mithro00:22
alanp        <displayName>Number of missile and torpedo warhead types</displayName>00:24
mithrollnz: I don't see why you don't just have a number for each category00:24
llnzmithro: ?00:24
*** peres has joined #tp00:26
mithrollnz: then you just go "requirements, must have X of category"00:27
mithro(or must not have x of category A, B and C)00:27
llnzmaybe, that isn't automatically added at this point00:32
llnzbbl00:32
*** llnz has quit IRC00:32
alanpmithro: how should i go about fixing problems i find with pywx client?  open a bug report and post a patch?00:42
mithroalanp: that would work00:48
alanpk00:48
mithroyou could just upload to codereview.mithis.com00:51
mithrocherez: ping?00:52
cherezmithro: Pong.00:53
mithrocherez: how does it go?00:53
cherezAdding verification to the parser.00:53
cherezThen adding a lot more tests.00:54
cherezDo you want it to die with unexpected input or just spit out warnings?00:55
mithrodie00:55
mithroif there is an error in protocol.xml then we want to die straight away00:55
cherezWill do.00:56
cherezGood, that's much easier to unit test.00:56
CIA-23alanp tpserver-cpp-mtsec * rcf3f18c534d4 /modules/games/mtsec/ (mtsec.cpp tpserver-cpp-mtsec-gamedata.xml): Added various components. Need to check requirements function of the various additional components as some are giving me errors in the design window. My deadline for this is 6/23 (tomorrow).00:57
alanpif i click on the splash logo in pywx before it actually loads i get a huge error00:58
* alanp too quick, i guess00:58
mithrooh?01:00
mithroalanp: please report it01:10
alanpI'm going to sleep, big day (milestone) tomorrrow.01:11
alanpI'll open it up on google code now01:12
alanpsometimes I get a double-free too, weird01:12
alanpactually, ig et the double free almost every time01:14
alanpmay it just be something related to my system?01:15
*** jnengland77 has quit IRC01:49
*** greenlion has joined #tp02:12
*** jmtan has quit IRC02:45
*** llnz has joined #tp03:13
*** Greywhind has quit IRC03:16
*** jmtan has joined #tp03:16
*** nash has quit IRC03:18
*** tuna-fish has joined #tp04:00
*** llnz2 has joined #tp04:14
*** llnz has quit IRC04:18
*** llnz2 is now known as llnz04:18
mithrollnz: www.thousandparsec.net/planet04:35
llnzcool04:44
mithroif someone wants to theme if like Thousand Parsec's main website, that would be good04:47
*** llnz2 has joined #tp04:58
*** llnz has quit IRC04:58
*** llnz2 is now known as llnz04:58
llnzthe atom feed url is incorrect on the planet page05:00
mithrollnz: fixed05:13
*** mithro changes topic to "Thousand Parsec - www.thousandparsec.net || Why not help out? - www.thousandparsec.net/wiki/Getting_started_with_development || Logs at www.thousandparsec.net/~irc/ || http://www.thousandparsec.net/planet"05:13
Landonjmtan: ping05:22
Landonlooks like I can't just subclass ogre.Entity directly, it has to be created from a scenenode05:23
*** llnz2 has joined #tp05:24
*** llnz has quit IRC05:24
*** llnz2 is now known as llnz05:24
Landonany ideas? I guess I could just keep the events in the battlemanager and give them the entities they need to act on05:24
jmtanLandon: what do you have in mind for ogre.entity? for general movement, using scenenodes should be fine05:36
Landonthe only one that I'm wondering about is the fire event05:37
Landonbut a scenenode gives the position, so ... nevermind, that'd work out well05:38
*** jmtan has quit IRC05:44
*** llnz2 has joined #tp06:00
*** llnz has quit IRC06:02
*** llnz2 is now known as llnz06:02
*** llnz2 has joined #tp06:19
*** llnz has quit IRC06:19
*** llnz2 is now known as llnz06:19
*** peres has quit IRC06:34
*** llnz2 has joined #tp06:46
*** llnz has quit IRC06:48
*** llnz2 is now known as llnz06:48
*** gau_veldt has quit IRC06:58
*** gau_veldt has joined #tp07:02
*** llnz2 has joined #tp07:05
*** llnz has quit IRC07:05
*** llnz2 is now known as llnz07:05
* llnz wanders off07:23
llnzlater all07:23
*** llnz has quit IRC07:23
*** peres has joined #tp08:28
*** alanp_ has joined #tp08:41
*** welterde has joined #tp10:03
*** gau_veldt has quit IRC10:05
*** peres has quit IRC10:05
*** bddebian has joined #tp10:09
bddebianHeya10:11
*** gau_veldt has joined #tp10:16
*** alanp__ has joined #tp11:06
*** alanp_ has quit IRC11:06
*** jmtan has joined #tp11:10
*** alanp__ has quit IRC11:37
*** alanp_ has joined #tp11:40
*** jernejovc has joined #tp12:08
*** jernejovc has quit IRC12:14
*** jernejovc has joined #tp12:21
*** jernejovc has quit IRC12:29
*** LeftRight has joined #TP12:59
*** LeftRight has left #TP12:59
*** jmtan has quit IRC13:03
*** Greywhind has joined #tp13:45
*** Erroneous has joined #tp14:35
*** verhoevenv has joined #tp14:46
*** greenlion has quit IRC14:55
*** alanp_ has quit IRC15:05
*** verhoevenv has quit IRC15:18
*** verhoevenv has joined #tp15:19
*** Greywhin1 has joined #tp15:31
*** alanp_ has joined #tp15:32
*** alanp__ has joined #tp15:42
*** Greywhind has quit IRC15:44
*** alanp__ has quit IRC15:49
*** alanp_ has quit IRC15:58
*** llnz has joined #tp16:12
llnzmorning all16:19
*** Greywhin1 has quit IRC16:34
*** Greywhind has joined #tp16:34
totehey :)16:43
llnzhi tote16:46
*** reac has joined #tp17:05
*** bddebian has quit IRC17:33
cherezllnz: What does the subtype tag in protocol.xml mean?17:56
llnzit's used to say that this field specifies the type of the type of frame, and therefore what description and extra parameters there are18:02
llnzfor example, the order type, and the associated order description and extra fields for the order18:03
llnzthe extra fields are specified in the description frame18:03
cherezAhh, alright.18:05
*** nash has joined #tp18:57
*** verhoevenv has quit IRC18:57
cherezmithro: Ping?19:01
CIA-23joelboh tpclient-pyweb * r0f38314bd482 /backend/ (application.py middleman.py): Backend: Added a message handler19:15
*** alanp has quit IRC19:20
*** alanp has joined #tp19:23
alanpllnz: ping19:27
llnzalanp: pong19:27
alanpllnz: hey, In original MTSec the Battle Scout Hull had a property "Firepower" with this: (lambda (design) (* (floor (/ 88 (designType.MissileSize design))) (designType.MissileFirepower design)))19:27
alanpbut it didn't have a MissileSize or MissileFirepower19:27
alanpisn't that broken?19:28
llnzalanp: all the existing tpcl functions in MTSec never worked, it was never tested, and was far from complete19:28
llnzyes it is broken19:28
alanpok, cool19:28
alanpshould a hull have a firepower property since it doesn't even have a tube or rack?19:29
* alanp guesses no19:29
llnzno, it shouldn't19:29
alanpok, good19:30
alanpso, my scheme for a hull looks like this:20:13
alanp    <tpclRequirementsFunction><![CDATA[(lambda (design) (if (> (designType.MaxSize design) (designType.Size design)) (if (= (designType.num-hulls design) 1) (cons #t "") (cons #f "Ship can only have one hull")) (cons #f "This many components can't fit into this Hull")))]]></tpclRequirementsFunction>20:13
alanpwith MaxSize the maximum size and Size being the addition of all the component sizes added20:13
alanplooks ok?20:13
* alanp finalizing things20:13
llnzlooks fine20:27
alanpdo you think i'm missing any obvious requirements?20:27
llnzi don't know until i can see everything20:31
alanpok20:49
alanpi have to clean up this last-minute mess i've made of everything :-(20:50
*** bddebian has joined #tp20:58
cherezllnz: How is the descstruct tag distinct from the usestruct tag?21:03
*** jmtan has joined #tp21:04
llnzcherez: in the parameters, the descstruct is the structure for the description frame, and the usestruct is the structure for the use extra data21:04
llnzfor example, for the OrderDescription and for the Order21:04
llnzor for ObjectDescription and Object, respectively21:04
cherezAlright.21:05
alanpin scheme can i reference another property as a variable?21:08
alanpsay, MissileCost21:08
llnzalanp: where abouts?21:15
alanpin another property21:15
alanpin the same component21:15
llnzyes it is possible, the referencing property must have a higher rank than the referenced property (and it the value is the total for the design)21:18
alanphmm21:25
alanpnot working properly for me21:26
alanpunbounded variable error21:26
*** Erroneous has quit IRC21:30
CIA-23alanp tpserver-cpp-mtsec * r31c55ac2c79b /modules/games/mtsec/ (mtsec.cpp mtsec.h): Fixed the need for compMax, which was incredibly annoying requiring recompilation on addition/subtraction of components from the XML file.21:39
*** alanp has quit IRC22:10
*** alanp has joined #tp22:10
*** reac has quit IRC22:24
*** mhilmi has quit IRC23:36
*** JLP has quit IRC23:36
*** mithro has quit IRC23:36
*** tote has quit IRC23:36
*** Demitar has quit IRC23:36
*** mhilmi has joined #tp23:36
*** JLP has joined #tp23:36
*** mithro has joined #tp23:36
*** Demitar has joined #tp23:36
*** tote has joined #tp23:36
* alanp running into design problems23:52

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