*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** krytzz_ has joined #tp | 00:08 | |
*** krytzz has quit IRC | 00:08 | |
alanp | tansell: is there a set equation for the calculation of missile/torpedoe build times? | 00:30 |
---|---|---|
alanp | rather, product cost | 00:30 |
tansell | alanp, sure | 00:30 |
tansell | you use 1t of uranium, the missile costs 1t of uranium | 00:30 |
tansell | nice and simple :P | 00:30 |
alanp | so there is no actual production cost besides the resources? | 00:31 |
llnz | bbl | 00:32 |
*** llnz has quit IRC | 00:32 | |
*** tansell-laptop has joined #tp | 01:07 | |
tansell-laptop | alanp, back now | 01:10 |
tansell-laptop | alanp, no their is no cost for the torpedo hull | 01:11 |
alanp | ok | 01:16 |
*** llnz has joined #tp | 01:29 | |
* Landon -> nap | 02:08 | |
Landon | getting a basic framework down for going through rounds though, woo | 02:09 |
*** llnz2 has joined #tp | 02:13 | |
*** llnz has quit IRC | 02:13 | |
*** llnz2 is now known as llnz | 02:13 | |
*** Greywhind has quit IRC | 02:42 | |
*** nash has quit IRC | 02:59 | |
*** greenlion has joined #tp | 03:24 | |
CIA-21 | landon tpclient-pyogre * r8d3a4eb5e56f /src/battleviewer.py: Whoops, events are called with battlexml entities, not IDs | 03:34 |
Landon | how do I merge with git? | 03:38 |
Landon | I did git stash, then pushed the above changes and came back to what I was working on | 03:38 |
Landon | now I' | 03:38 |
Landon | m told fatal: You are in the middle of a conflicted merge. | 03:39 |
tansell | Landon, come back? | 03:39 |
llnz | you need to fix the conflict, commit the changes, then you should be ok | 03:39 |
Landon | ok, so I just need to commit? | 03:39 |
llnz | maybe not commit if it's a working copy change | 03:39 |
llnz | check git status | 03:40 |
Landon | ok, I think I have it now, thanks | 03:41 |
CIA-21 | landon tpclient-pyogre * r4279b0870a3d /src/battleviewer.py: Basic round progression added, not automatic yet | 04:00 |
*** tansell-laptop has quit IRC | 04:46 | |
*** tansell-laptop has joined #tp | 04:50 | |
*** llnz has quit IRC | 05:36 | |
*** llnz has joined #tp | 05:38 | |
*** krytzz_ is now known as krytzz | 05:55 | |
*** tansell_laptop has joined #tp | 06:26 | |
*** tansell-laptop has quit IRC | 06:28 | |
*** llnz2 has joined #tp | 06:31 | |
*** llnz has quit IRC | 06:32 | |
*** llnz2 is now known as llnz | 06:35 | |
*** mithro has quit IRC | 07:37 | |
epyon | Landon: got all needed media? | 07:56 |
Landon | ? | 07:57 |
jmtan | Landon: here's your chance to request new ship models :) | 07:57 |
Landon | oh, heh | 07:58 |
Landon | I'll have to see what I have now >.> | 07:59 |
Landon | speaking of ships though, I was wondering why one of the ships has no textures in various places | 08:09 |
Landon | the frigate | 08:10 |
epyon | none of the ships were textured initially\ | 08:11 |
Landon | yeah, looks like theres just a generic texture allover it, just wondering why some parts aren't covered :\ | 08:12 |
*** mithro has joined #tp | 08:14 | |
jmtan | that's the result of pasting a generic texture all over it; the "shuttle" models, which are from vega strike, contains custom texture coordinates | 08:18 |
jmtan | so their texturing is a lot nicer | 08:18 |
jmtan | although i'm not sure why there are some untextured portions either | 08:18 |
Landon | I'm really not sure what's supposed to be going on with the frigate either, it looks lopsided | 08:19 |
epyon | I can fix them one day, but you'll have to get mithro's or nash's permission for me to commit half day to media :P | 08:19 |
mithro | opps had I missed a conversation? | 08:19 |
epyon | ^_^ | 08:19 |
jmtan | the frigate looks alright to me, like a b-wing | 08:21 |
Landon | not sure we're looking at the same frigate then, uploading screenshot | 08:22 |
CIA-21 | epyon tpserver-cpp-refactor * r0372a4ce7de1 /tpserver/ (Makefile.am common.h designstore.cpp playerview.h): | 08:22 |
CIA-21 | Added a common.h header file | 08:22 |
CIA-21 | * added a IdSet typedef | 08:22 |
CIA-21 | epyon tpserver-cpp-refactor * r7bbb9a4bc557 /tpserver/playerview.cpp: PlayerView IdSet's | 08:23 |
Landon | jmtan: http://lfowles.org/images/battleviewer/badfrigate.png | 08:23 |
tpb | <http://ln-s.net/3QKc> (at lfowles.org) | 08:23 |
epyon | that's because it's not a single mesh | 08:24 |
epyon | I wanted to fix that but never gad time :/ | 08:24 |
* epyon wants to model -_- | 08:24 | |
* Landon read that wrong | 08:25 | |
epyon | that too | 08:25 |
Landon | an epyon flying through space, shootin his lasers eh? | 08:25 |
Landon | :P | 08:25 |
epyon | Landon: do a google image search on epyon to get the unintended pun you did :P | 08:27 |
Landon | hah | 08:27 |
epyon | however the connectiom is imcidemtal | 08:28 |
epyon | I took the name from buddhist mythology | 08:28 |
CIA-21 | epyon tpserver-cpp-refactor * r6d239cbafa46 /tpserver/designstore.h: IdSets in designstore header (forgot to save) | 08:29 |
* Landon -> bed | 08:31 | |
Landon | hopefully I can have a gui tomorrow, I finally got CELayoutEditor figured out | 08:31 |
* llnz wanders off | 08:37 | |
llnz | later all | 08:37 |
*** llnz has quit IRC | 08:37 | |
CIA-21 | epyon tpserver-cpp-refactor * r36b94cd5822e /tpserver/ (board.h common.h): IdList added to common, substituted in Board | 08:37 |
CIA-21 | epyon tpserver-cpp-refactor * rb4b2fafaba77 / (13 files in 2 dirs): Message class now to be referenced by a shared_ptr | 09:02 |
mithro | epyon: how does the shared_ptr work? Is it some type of reference counting thing? | 09:06 |
epyon | ref counted | 09:08 |
epyon | as long as you don't get a circular reference they're perfect | 09:09 |
mithro | okay | 09:16 |
*** peres has joined #tp | 09:44 | |
CIA-21 | epyon tpserver-cpp-refactor * r54b691c8630e /tpserver/ (common.h frame.cpp frame.h playeragent.cpp playeragent.h): | 09:50 |
CIA-21 | IdModList type added to common | 09:50 |
CIA-21 | * packing of IdModList type added to Frame | 09:50 |
CIA-21 | * substitutions where uses | 09:50 |
CIA-21 | epyon tpserver-cpp-refactor * ra99e54aee100 /tpserver/ (playerview.cpp playerview.h): IdModList in PlayerView | 10:13 |
CIA-21 | epyon tpserver-cpp-refactor * r71f1c85fd7f0 /tpserver/ (commandmanager.cpp objecttypemanager.cpp ordermanager.cpp): | 10:13 |
CIA-21 | CommandManager, ObjectTypeManager, OrderManager IdModList used | 10:13 |
CIA-21 | * TODO: Modifiable base object | 10:13 |
CIA-21 | epyon tpserver-cpp-refactor * r87f0ea377c77 /tpserver/ (Makefile.am common.h modifiable.h): Introducing Modifiable trait class | 10:13 |
*** peres has quit IRC | 10:30 | |
epyon | mithro, I'm gonna do multi-inheritance probably | 10:39 |
CIA-21 | epyon tpserver-cpp-refactor * rfa39d0d96875 /tpserver/ (board.cpp board.h modifiable.h): Board now derives from Modifiable | 10:53 |
CIA-21 | epyon tpserver-cpp-refactor * rc8df81ce91f5 /tpserver/ (4 files): ResourceDescription now uses Modifiable trait class | 10:53 |
CIA-21 | epyon tpserver-cpp-refactor * r549e76af9297 /tpserver/ (design.cpp design.h designview.h playerview.cpp): Design now uses Modifiable trait class | 10:53 |
CIA-21 | epyon tpserver-cpp-refactor * rde35dfce5580 /tpserver/ (designview.cpp designview.h): DesignView now uses Modifiable trait class | 10:53 |
CIA-21 | epyon tpserver-cpp-refactor * r7cfe75839634 /tpserver/ (5 files): ComponentView now uses Modifiable trait class | 10:53 |
CIA-21 | epyon tpserver-cpp-refactor * r3328efe9f17f /tpserver/ (modifiable.h object.cpp object.h): Object now uses Modifiable trait class | 10:53 |
CIA-21 | epyon tpserver-cpp-refactor * r962a17902be0 /tpserver/ (modifiable.h object.cpp object.h objectinfo.cpp objectinfo.h): | 11:05 |
CIA-21 | ObjectInfo made Modifiable -- some problems noted | 11:05 |
CIA-21 | * modification is tied to dirty -- made Modifiable virtual | 11:05 |
CIA-21 | so tocuh can be overloaded | 11:05 |
CIA-21 | * need for a Dirtyable class trait | 11:05 |
CIA-21 | epyon tpserver-cpp-refactor * rc1fba8b90ffe /tpserver/ (modifiable.h object.cpp object.h objectinfo.cpp objectinfo.h): | 11:16 |
CIA-21 | Dirtyable checking integrated into Modifiable | 11:16 |
CIA-21 | * object updated | 11:16 |
CIA-21 | * objectinfo updated | 11:16 |
CIA-21 | epyon tpserver-cpp-refactor * r0542996bda19 /tpserver/ (objectrelationships.cpp objectrelationships.h): ObjectRelationshipData now uses Modifiable trait class | 11:34 |
CIA-21 | epyon tpserver-cpp-refactor * r417135f8412a /tpserver/ (category.cpp category.h): Category now uses Modifiable trait class | 11:34 |
CIA-21 | epyon tpserver-cpp-refactor * r20d18338aae4 /tpserver/ (objectview.cpp objectview.h): ObjectView now uses Modifiable trait class | 11:34 |
CIA-21 | epyon tpserver-cpp-refactor * r1642d01f7289 /tpserver/ (modifiable.h orderqueue.cpp orderqueue.h): OrderQueue now uses Modifiable trait class | 11:35 |
CIA-21 | epyon tpserver-cpp-refactor * radf57cb3bdd9 /tpserver/ (player.cpp player.h): Player now uses Modifiable trait class | 11:42 |
CIA-21 | epyon tpserver-cpp-refactor * r7b2d96c91a15 /tpserver/ (property.cpp property.h): Property now uses Modifiable trait class | 11:42 |
CIA-21 | epyon tpserver-cpp-refactor * r402dcf9cf913 /tpserver/ (objecttype.cpp objecttype.h): ObjectType now uses Modifiable trait class | 11:42 |
epyon | Woah, I'm flooding the channel D: | 11:42 |
CIA-21 | epyon tpserver-cpp-refactor * re0ed2f6f590b /tpserver/ (orderqueue.cpp orderqueue.h): OrderQueue modtime removal | 11:45 |
*** jmtan has quit IRC | 13:33 | |
*** Erroneous has joined #tp | 13:37 | |
*** alanp has quit IRC | 14:13 | |
*** alanp has joined #tp | 14:13 | |
*** Greywhind has joined #tp | 16:05 | |
*** llnz has joined #tp | 16:09 | |
llnz | morning all | 16:11 |
mhilmi | morning llnz | 16:57 |
llnz | hi mhilmi | 16:58 |
mhilmi | just setup a virtual kvm across my linux laptop and windows desktop.. really cool :P | 17:00 |
CIA-21 | epyon tpserver-cpp-refactor * r6c95960b4380 / (9 files in 2 dirs): | 17:00 |
CIA-21 | Identifiable, Nameable, Describable trio | 17:00 |
CIA-21 | * prepared base classes | 17:00 |
CIA-21 | * example implementation on Board example | 17:00 |
alanp | hey everybody | 17:00 |
mhilmi | hey alanp | 17:01 |
llnz | hi alanp | 17:02 |
alanp | hey | 17:04 |
alanp | llnz: do you have time to explain using a property value to set a variable? | 17:05 |
llnz | alanp: i could try | 17:05 |
alanp | =D | 17:05 |
llnz | mhilmi: your blog posted sounded positive, i hope you are going well | 17:06 |
mhilmi | llnz: thanks. still a little frustrated but trying to piece things together | 17:06 |
mhilmi | ill be sure to poke you when i have questions :P | 17:07 |
*** alanp_ has joined #tp | 17:22 | |
*** alanp has quit IRC | 17:23 | |
*** alanp_ has quit IRC | 17:28 | |
*** alanp_ has joined #tp | 17:28 | |
llnz | alanp_: the mzscheme tpcl implementation is a lot easier to understand than guile, more straight fordward | 17:30 |
alanp_ | doesn't work for me, though | 17:30 |
alanp_ | unless something has been changed | 17:30 |
epyon | duh, a ton of work done today :D | 17:32 |
llnz | epyon: was looking good | 17:32 |
alanp_ | llnz, how do the implementations differ? | 17:32 |
llnz | i wrote the mzscheme one | 17:33 |
llnz | humm... | 17:35 |
llnz | all the property values should be initialised to zero, unless i'm mistaken | 17:36 |
alanp_ | gives an unbound variable error though :( | 17:37 |
*** ezod has quit IRC | 17:57 | |
llnz | hummm... maybe it should set them to zero then | 18:08 |
*** ezod has joined #tp | 18:35 | |
*** ezod has quit IRC | 18:39 | |
*** doze_ has joined #tp | 18:39 | |
*** doze_ is now known as ezod | 18:40 | |
mhilmi | hey llnz, you ever seen an error like this in the libtpproto "undefined reference to `boost::throw_exception(std::exception const&)'"? | 18:44 |
llnz | nope, that's odd | 18:45 |
alanp_ | can we make it set them to 0? | 18:45 |
*** alanp_ is now known as alanp | 18:50 | |
llnz | alanp: yes | 19:02 |
llnz | i will implement it tonight, then you will need to merge from the origin/master branch | 19:03 |
alanp | ok, perfect | 19:06 |
alanp | is there any problems setting them to 0? | 19:06 |
*** Greywhind is now known as GreYMCA | 19:16 | |
*** nash has joined #tp | 19:16 | |
epyon | nash :) | 19:19 |
nash | epyon: how is life? | 19:20 |
epyon | all fine now | 19:20 |
nash | So when do I start looking at your review? | 19:20 |
epyon | got rid of the university impediments :) | 19:20 |
nash | I saw your message | 19:20 |
epyon | reviwe? | 19:21 |
epyon | review? | 19:21 |
nash | BTW: Do you know off/have any cool rogue-like dungeon generators in either C or lua | 19:21 |
epyon | C++ | 19:21 |
epyon | :P | 19:21 |
*** greenlion has quit IRC | 19:21 | |
nash | epyon: The mid-session review ;-) | 19:21 |
nash | How big is it? | 19:21 |
* nash notes C++ -> C is not hard, or I can just wrap it ;-) | 19:21 | |
epyon | Ah, but that's still like a week from now | 19:21 |
epyon | Nah, a whole framework | 19:22 |
nash | ? | 19:22 |
nash | Hmm... | 19:22 |
epyon | but I'm sure you can fin d tons of C dungeon generators on the web | 19:22 |
nash | What is the output? | 19:22 |
nash | Probably... just looking for one which is vaguley not woeful | 19:22 |
epyon | Try here : http://roguebasin.roguelikedevelopment.org/index.php?title=Articles | 19:23 |
tpb | <http://ln-s.net/3Qbi> (at roguebasin.roguelikedevelopment.org) | 19:23 |
nash | cool | 19:25 |
nash | epyon: Cool | 19:25 |
nash | So you having fun yet? | 19:25 |
epyon | should I try to round up the changes made so far for the midterm, or can I go my own pace ( but I still can write a short report on what was done, and what is left, especially that it seems the plan needs revisiting ) | 19:25 |
epyon | fun with tpserver? | 19:25 |
nash | report is good | 19:26 |
nash | Own pace is better | 19:26 |
nash | breaking momentum just for a review is silly | 19:26 |
epyon | ok, good -- because I'd rather not get distracted and try to do things too rash for the review | 19:26 |
*** mithro has quit IRC | 19:34 | |
*** mithro has joined #tp | 19:54 | |
CIA-21 | epyon tpserver-cpp-refactor * r0e018aa60735 /tpserver/ (board.cpp board.h describable.h nameable.h): Name and desc are protected not private | 20:02 |
CIA-21 | epyon tpserver-cpp-refactor * r76a319dabd4e /tpserver/ (category.cpp category.h designstore.cpp): Category derives now from Describable | 20:02 |
*** peres has joined #tp | 20:10 | |
CIA-21 | epyon tpserver-cpp-refactor * r38264db13337 /tpserver/ (design.cpp design.h designstore.cpp): Design derives now from Describable | 20:20 |
CIA-21 | epyon tpserver-cpp-refactor * rf66c82a3b2a7 /tpserver/ (designstore.cpp property.cpp property.h): Property derives now from Describable | 20:20 |
*** mithro has quit IRC | 20:22 | |
*** krytzz has quit IRC | 20:31 | |
*** krytzz has joined #tp | 20:31 | |
CIA-21 | epyon tpserver-cpp-refactor * rdf2d78ef7536 /tpserver/ (component.cpp component.h designstore.cpp): Component derives now from Describable | 20:46 |
CIA-21 | epyon tpserver-cpp-refactor * r889a5323f8da /tpserver/ (Makefile.am object.cpp object.h objectinfo.cpp objectinfo.h): Removed obsolete ObjectInfoData | 20:46 |
CIA-21 | epyon tpserver-cpp-refactor * r88fe42981afc /tpserver/ (object.cpp object.h): Cleanup after ObjectInfoData | 20:46 |
CIA-21 | epyon tpserver-cpp-refactor * ra18d8f7dae1f /tpserver/ (object.cpp object.h): getModTime in Object can now be standard | 20:46 |
CIA-21 | epyon tpserver-cpp-refactor * rc58a66d61b73 /tpserver/ (object.cpp object.h): Object derives now from Describable | 20:46 |
epyon | :) | 20:47 |
epyon | http://cia.vc | 20:48 |
tpb | Title: CIA.vc (at cia.vc) | 20:48 |
tansell | cherez, got a blog post? | 20:50 |
llnz | epyon: hehe, the day has just begun though | 20:54 |
epyon | it's 3 in the night here xP | 20:54 |
tansell | woot, tpserver-cpp is tending towards tpserver-py structure :P | 20:58 |
epyon | it is? O.o | 20:58 |
llnz | tansell: what do you mean? | 20:59 |
tansell | tpserver-py has a base class called Describable :) | 21:00 |
epyon | BTW, tansell, are you going to send out TP-merchandise goodie packs this year too? I'm envious of Donata's TP-shirt, and my girlfriend want's one :P | 21:02 |
tansell | epyon, you'll have to wait and see - but I do need people's addresses :) | 21:04 |
epyon | I'll gladly supply one :) | 21:04 |
llnz | epyon: there is a good reason for the ObjectInfo class | 21:04 |
epyon | llnz: that being? | 21:04 |
llnz | to let it vary by player | 21:05 |
epyon | well, it was onl;y created in object | 21:05 |
llnz | it's not used directly in the universe model | 21:05 |
llnz | i know | 21:05 |
epyon | We'll refactor it later if need be | 21:05 |
llnz | but playerview could add a different one, or rather modify it | 21:05 |
epyon | currently I want to simplify the code as much as possible | 21:05 |
tansell | cherez, poke poke? we are suppose to have a meeting now right | 21:07 |
tansell | ? | 21:07 |
*** mithro has joined #tp | 21:08 | |
cherez | tansell: I'm here. | 21:09 |
CIA-21 | epyon tpserver-cpp-refactor * r42043ea549d8 /tpserver/ (objectparametergroupdesc.cpp objectparametergroupdesc.h): ObjectParameterGroupDesc derives now from Describable | 21:12 |
CIA-21 | epyon tpserver-cpp-refactor * rcca7e5e8c06a /tpserver/ (player.cpp player.h): Player now derived from Describable | 21:12 |
tansell | cherez, so - your weekly report? | 21:15 |
tansell | cherez, I'm also missing like 4 daily reports | 21:16 |
cherez | Typing up the weekly report. | 21:18 |
epyon | cherez: what's your project? | 21:18 |
*** ezod has quit IRC | 21:18 | |
cherez | epyon: libtpproto2-py | 21:19 |
epyon | py! O.o | 21:19 |
*** ezod has joined #tp | 21:19 | |
cherez | Er... yes? | 21:19 |
*** GreYMCA is now known as Greywhind | 21:21 | |
tansell | cherez, so.... | 21:29 |
*** Erroneous has quit IRC | 21:33 | |
cherez | All that I really need to do with Parser is figure out how parameters are put into packets. | 21:33 |
tansell | so I don't see any blog post? | 21:33 |
Greywhind | hey tansell | 21:35 |
tansell | hey Greywhind | 21:36 |
Greywhind | tansell: i have a few rather small code cleaning things, can i lump them together? | 21:37 |
tansell | Greywhind, put them in separate commits but upload a single code review? | 21:38 |
Greywhind | tansell: sure | 21:38 |
Greywhind | tansell: http://codereview.mithis.com/6003 | 21:43 |
tpb | Title: Issue 6003: Three small code cleaning fixes. - Code Review (at codereview.mithis.com) | 21:43 |
tansell | cherez, it's getting quite close to lunch time | 21:43 |
cherez | Well, I put up a post, but I don't believe there's anything you're not aware of in it. | 21:44 |
tansell | cherez, so we agreed on daily blog posts right? | 21:46 |
tansell | so by that theory you did nothing on 25-29th? | 21:46 |
Greywhind | to be fair, even i don't post _every_ day - sometimes there just isn't that much to say :P | 21:47 |
cherez | The last few days I've spent more time trying to grok the protocol than coding, and I find it pretty hard to write much about that. | 21:50 |
tansell | cherez, as well, your weekly blog post leaves something to be desired - you didn't include any actual link to figleaf/coverage output | 21:51 |
tansell | cherez, did you log a bug with the coverage people/ | 21:51 |
tansell | cherez, there where some discussions on IRC right? linking to them is good idea too | 21:51 |
tansell | cherez, also mentioning stuff like "I still don't really understand how XXX works, will discuss with mithro tomorrow" helps me understand where you are stuck | 21:52 |
tansell | (and when) | 21:52 |
* JLafont comes out of hiding | 21:53 | |
JLafont | Oh you just had to say XXX didn't you? | 21:53 |
* JLafont goes back into hiding | 21:53 | |
* Greywhind pushes JLafont back into his hiding place. | 21:53 | |
Landon | to be honest, I really didn't understand that movie either :P | 21:53 |
* epyon spotted JLafont | 21:55 | |
tansell | cherez, so mid-term evaluations start next week | 21:56 |
epyon | Landon: do you have a blog? | 21:56 |
Landon | epyon: yeah, it's being tracked on the TP planet | 21:56 |
tansell | epyon, did you see http://www.thousandparsec.net/planet | 21:56 |
tpb | Title: Planet Thousand Parsec (at www.thousandparsec.net) | 21:56 |
cherez | tansell: Those are good points, I'll work on articulating better in my posts. | 21:56 |
Landon | (unless you want to read the non SoC relevant stuff :P) | 21:56 |
tansell | cherez, I understand your going to get stuck on stuff | 21:56 |
epyon | OMG, there's a planet, I'm being tracked D: | 21:56 |
tansell | cherez, if you where sitting next to me, I would know your stuck because you keep swearing to your computer :) | 21:57 |
tansell | cherez, as well, writing out your thoughts on stuff helps us make it easier for the next person who might get stuck on the same problem | 21:57 |
tansell | cherez, if I don't hear anything all I can assume is that your off playing computer games or something | 21:58 |
epyon | sooo, the two most interesting projects for me are the WebClient (can't find that one on the planet) and the Ogre Client (that's you Landon?) | 21:59 |
tansell | Landon is working on a 3d battle viewer (to be part of the 3d client) | 22:00 |
epyon | The cool part :P | 22:00 |
cherez | tansell: How nice that would be. :P I understand what you're saying, though. | 22:00 |
Landon | epyon: battleviewer :P so close enough | 22:00 |
Landon | hrm, I wish I had a scanner | 22:01 |
epyon | Landon: feel free to knock me unconscious with requests about graphics stuff | 22:01 |
tansell | cherez, so your currently still stuck on parametersets? | 22:01 |
cherez | Now it's the structure of packets with parameters I'm unsure about. | 22:02 |
tansell | you mean the use/descstruct or? | 22:02 |
cherez | Yes, and how that translates into an actual xstruct representation. | 22:02 |
tansell | okay | 22:04 |
tansell | so the best way to think about this is how you would do it manually | 22:04 |
* epyon is really surprised that his makeshift models from two years ago are still around TP O.o | 22:04 | |
tansell | epyon, we never throw away stuff | 22:05 |
Landon | uploading a gui sketchup atm if anyone wants to give me comments/ideas | 22:05 |
Landon | http://lfowles.org/images/battleviewer/guisketchup.jpg | 22:05 |
tpb | <http://ln-s.net/3QdO> (at lfowles.org) | 22:05 |
epyon | Landon: Not hungry at the momemnt | 22:06 |
epyon | Landon: but looks somewhat.... tasty? O.o | 22:06 |
Landon | o.O | 22:06 |
Landon | um | 22:06 |
epyon | :D | 22:06 |
cherez | Landon: I think that's a gooey. | 22:06 |
Landon | I could send you some engineering paper if you really wanted? | 22:06 |
Landon | oh | 22:07 |
cherez | tansell: Right.... | 22:07 |
tansell | so | 22:07 |
epyon | Landon: have you clicked that link? ;] | 22:07 |
Landon | just did -_- | 22:07 |
tansell | for the descuse stuff you are going to have to have some type of loop, right? | 22:07 |
tansell | Landon, 403 forbidden | 22:08 |
tansell | where you do something like | 22:08 |
tansell | if parametertype == x: then unpack y | 22:08 |
Landon | tansell: just uploaded the correct image, let me change permissions | 22:08 |
Landon | ok, refresh all | 22:09 |
cherez | tansell: Right; I'm not certain how the y is stored. | 22:09 |
Landon | tansell: apparently you missed out on the original (incorrect) upload :P http://lfowles.org/images/battleviewer/gooeysketchup.jpg | 22:10 |
tpb | <http://ln-s.net/3QdR> (at lfowles.org) | 22:10 |
cherez | Still a pretty good gooey. | 22:10 |
tansell | cherez, so y is stored on the objectdesc packet | 22:11 |
epyon | Landon: I liked the former gui better | 22:11 |
epyon | Or should I say Gooey instead of GUI :P | 22:12 |
Landon | former gooey model is half gone :( | 22:12 |
epyon | e-mail me a part | 22:12 |
epyon | Oh wait that wont work | 22:12 |
tansell | cherez, so have a look at http://git.thousandparsec.net/gitweb/gitweb.cgi?p=libtpproto-py.git;a=blob;f=tp/netlib/objects/ObjectDesc.py;h=95155ec6a4df677924a99d9f39b0930176c7ba9a;hb=tp04#l181 | 22:13 |
tpb | <http://ln-s.net/3QdV> (at git.thousandparsec.net) | 22:13 |
tansell | for an implementation | 22:13 |
tansell | I have to go to lunch (have a guest today) - but when I get back we can discuss more | 22:13 |
* epyon wants to be forced to do graphics work | 22:13 | |
cherez | Alright; enjoy your lunch. | 22:14 |
Landon | epyon: some awesome planet textures would be fun :P | 22:17 |
Landon | thinking a bit about dramatically upping the scale of the planet | 22:17 |
Landon | so 1) lasers look better, 2) it's a planet! | 22:17 |
* epyon would rather suggest an atmospheric shader for the planet | 22:18 | |
alanp | my blog gets a ridiculous amount of viagara spam | 22:34 |
alanp | should probably turn comments off | 22:34 |
Landon | alanp: put in recaptcha? :P | 22:35 |
Landon | thats what I'm going to do with mine whne I finally get a blog going | 22:35 |
alanp | i guess | 22:36 |
Greywhind | tansell: ping, whenever you get back from lunch | 23:24 |
tansell | back now | 23:28 |
Greywhind | tansell: how are order queue quantity limits specified? | 23:28 |
tansell | quantity limits? you mean number of orders? | 23:29 |
Greywhind | right | 23:29 |
Greywhind | the maximum number of orders allowed in the queue | 23:29 |
Greywhind | you said some could be limited to 1 order, for instance | 23:30 |
tansell | sadly it's kinda hacky - but it's specified on the object | 23:30 |
tansell | (actually the object description) | 23:30 |
Greywhind | where? | 23:30 |
tansell | cherez, ping? | 23:30 |
cherez | tansell: Pong. | 23:31 |
tansell | IntegerStructure('queueid', 'The ID number of the queue.', size=32, type='unsigned'), | 23:31 |
tansell | IntegerStructure('numorders', 'The number of orders in the queue.', size=32, type='unsigned'), | 23:31 |
tansell | ListStructure('ordertypes', 'A list of order types that can be put in this queue.', structures=[ | 23:31 |
Greywhind | yeah, but isn't that the current number of orders in the queue? | 23:32 |
Greywhind | or is it the maximum? | 23:32 |
tansell | oh, you are right | 23:32 |
tansell | http://git.thousandparsec.net/gitweb/gitweb.cgi?p=documents.git;a=blob;f=protocol/protocol.xml;h=94b5296cbab06e11ccfa8ba71a1cb99ff02fd304;hb=master#l534 | 23:33 |
tpb | <http://ln-s.net/3QeF> (at git.thousandparsec.net) | 23:34 |
tansell | maxslots | 23:34 |
Greywhind | huh... that's not in the client's description of an order queue | 23:34 |
tansell | 537 <descstruct> | 23:35 |
tansell | 538 <structure> | 23:35 |
tansell | 539 <integer type="unsigned" size="32" readonly="yes"> | 23:35 |
tansell | 540 <name>maxslots</name> | 23:35 |
tansell | so it'll be found on the ObjectDesc | 23:35 |
Greywhind | oh, so it's not in the actual object. gotcha. | 23:35 |
Greywhind | now i just need to figure out where to get object descs | 23:35 |
tansell | cherez, so did you have a look over ObjectDesc.py? | 23:38 |
tansell | Landon, ping? | 23:38 |
Landon | pong | 23:39 |
tansell | so I would personally dock the controls in the bottom left/bottom right | 23:39 |
tansell | and have them fly in/fly out | 23:39 |
Landon | fly in/out? as in on mouseover/mouseout or while the events are going on? | 23:40 |
Landon | or just at the start/end of everything | 23:40 |
tansell | I'm talking about the forward/backward controls | 23:41 |
tansell | so when you put your mouse in the corner the controls slide out and you can click things | 23:41 |
Greywhind | tansell: what do i use to index the ObjectDesc()? | 23:42 |
Greywhind | object.type? | 23:42 |
Landon | ok | 23:42 |
Greywhind | object.subtype? | 23:42 |
Landon | I was thinking about having the ship list do that as well | 23:42 |
tansell | object.subtype | 23:42 |
Greywhind | ok | 23:43 |
Landon | and a sticky button up there with the hide/minimize | 23:43 |
cherez | tansell: Yeah; but if I'm not mistaken this means that parameters are too heterogeneous to be easily represented with the structures module. | 23:44 |
tansell | cherez, what do you mean? | 23:45 |
tansell | cherez, only the descuse stuff is special | 23:46 |
tansell | cherez, only the descstruct stuff is special | 23:46 |
tansell | the usestruct stuff works fine with the structures stuff | 23:46 |
cherez | Use parameters aren't packed in the same way as desc parameters? | 23:48 |
tansell | the usestruct stuff appears on the instances | 23:49 |
tansell | descstruct stuff appears on the classes | 23:49 |
tansell | is one way to think about it | 23:49 |
cherez | Right. | 23:49 |
tansell | ObjectDesc == classes, Object == instances | 23:49 |
cherez | But both feature a list of parameters, do they not? | 23:50 |
tansell | no | 23:50 |
tansell | so from an ObjectDesc you build an Object subclass | 23:51 |
tansell | IE You create a Ships class which is a subclass of Object | 23:51 |
cherez | Oh, so the Object will have a set structure that is derived from the associated ObjectDesc. | 23:52 |
tansell | cherez, yes! | 23:54 |
Greywhind | tansell: can i check the type of an ObjectDesc property using: if type(queue) != parameters.ObjectParamOrderQueue: | 23:54 |
Greywhind | or is that only for Object properties? | 23:54 |
cherez | Gah, so ObjectDesc is a class factory. | 23:54 |
tansell | cherez, yes | 23:54 |
cherez | Give me a few minutes to remap my understanding of the library. | 23:55 |
tansell | cherez, assuming you mean what I think you mean :P | 23:55 |
tansell | Greywhind, you can loop over the Object properties and when you find a parameters.ObjectParamOrderQueue - check the OrderDesc for maxslots | 23:56 |
Greywhind | you mean ObjectDesc, right? | 23:56 |
tansell | you know how you find properties currently? | 23:56 |
Greywhind | tansell: yeah | 23:57 |
tansell | Greywhind, that is what you continue to do | 23:57 |
Greywhind | tansell: so basically, this would work: http://pastebin.com/dfa93543 | 23:57 |
tpb | Title: pastebin - collaborative debugging tool (at pastebin.com) | 23:57 |
tansell | Greywhind, no | 23:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!