*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** llnz2 has joined #tp | 01:11 | |
*** llnz has quit IRC | 01:24 | |
*** mithro has joined #tp | 02:30 | |
*** llnz2 has quit IRC | 02:34 | |
*** llnz2 has joined #tp | 02:37 | |
*** Greywhind has quit IRC | 03:34 | |
cherez | mithro: Ping? | 04:33 |
---|---|---|
*** greenlion has joined #tp | 04:33 | |
*** llnz2_64 has joined #tp | 04:44 | |
*** llnz2 has quit IRC | 05:00 | |
*** llnz has joined #tp | 05:06 | |
*** llnz2_64 has quit IRC | 05:18 | |
mithro | cherez: pong? | 06:35 |
mithro | cherez: I assume you are asleep | 06:35 |
cherez | No, I'm awake. | 06:36 |
cherez | I'm still not seeing how parametersets relate to packets. | 06:36 |
cherez | Which I am pretty sure is all that the DOM parser doesn't handle now. | 06:37 |
mithro | cherez: take a look at libtpproto-py | 06:53 |
mithro | specifically the tp04 branch | 06:54 |
mithro | see parameters.py | 06:55 |
cherez | Alright, that helps. | 07:04 |
cherez | Thanks. | 07:04 |
*** greenlion has quit IRC | 07:12 | |
CIA-21 | joelboh tpclient-pyweb * re2881a5c6ff1 /frontend/ (index.html scripts/map.js): Frontend: Reworked the info component a bit. | 07:16 |
mithro | tote: heyo | 07:37 |
tote | mithro: hello :) | 07:38 |
mithro | how goes things? | 07:38 |
mithro | tote: you said you didn't understand orders? | 07:38 |
tote | good actually, but ye orders gives me a headache, but ive disected the tpclient-pywx code and i seem to be able to extract the right information, but i still dont understand ChangeList, ChangeNode etc | 07:39 |
*** alanp__ has quit IRC | 07:46 | |
*** Vadtec has quit IRC | 07:46 | |
*** ezod has quit IRC | 07:46 | |
*** JLafont has quit IRC | 07:46 | |
*** edison has quit IRC | 07:46 | |
*** llnz has quit IRC | 07:46 | |
*** gau_veldt has quit IRC | 07:46 | |
*** krytzz has quit IRC | 07:46 | |
*** mhilmi has quit IRC | 07:46 | |
*** JLP has quit IRC | 07:46 | |
*** mithro has quit IRC | 07:46 | |
*** welterde has quit IRC | 07:46 | |
*** Demitar has quit IRC | 07:46 | |
*** tote has quit IRC | 07:46 | |
*** matthewd has quit IRC | 07:46 | |
*** zzorn has quit IRC | 07:46 | |
*** tansell has quit IRC | 07:46 | |
*** bddebian has quit IRC | 07:46 | |
*** CIA-21 has quit IRC | 07:46 | |
*** Landon has quit IRC | 07:46 | |
*** DTRemenak has quit IRC | 07:46 | |
*** shenki has quit IRC | 07:46 | |
*** llnz has joined #tp | 07:48 | |
*** mithro has joined #tp | 07:48 | |
*** alanp__ has joined #tp | 07:48 | |
*** mhilmi has joined #tp | 07:48 | |
*** JLP has joined #tp | 07:48 | |
*** gau_veldt has joined #tp | 07:48 | |
*** krytzz has joined #tp | 07:48 | |
*** Landon has joined #tp | 07:48 | |
*** bddebian has joined #tp | 07:48 | |
*** ezod has joined #tp | 07:48 | |
*** DTRemenak has joined #tp | 07:48 | |
*** CIA-21 has joined #tp | 07:48 | |
*** shenki has joined #tp | 07:48 | |
*** matthewd has joined #tp | 07:48 | |
*** zzorn has joined #tp | 07:48 | |
*** JLafont has joined #tp | 07:48 | |
*** welterde has joined #tp | 07:48 | |
*** Vadtec has joined #tp | 07:48 | |
*** Demitar has joined #tp | 07:48 | |
*** tote has joined #tp | 07:48 | |
*** tansell has joined #tp | 07:48 | |
*** edison has joined #tp | 07:48 | |
mithro | okay | 08:16 |
mithro | tote: I can explain it a little more if you want | 08:18 |
tote | mithro: sure :) | 08:21 |
mithro | so the big problem is that the order stuff in tp is pretty crappy | 08:25 |
mithro | because any order operation can fail | 08:26 |
mithro | and ever order operation depends on the previous ones | 08:26 |
mithro | so the ChangeList basically tried to apply a deterministic layer overtop of the order stuff in tp | 08:29 |
mithro | so that you can have multiple changes "in flight" at any one time | 08:31 |
mithro | the other option is to wait for each change to occur before allowing the person to queue another one | 08:31 |
tote | hmm ok | 08:34 |
tote | when retriving orders, i only need to enumerate on the ChangeList and for every node use the CurrentOrder attribute? how would i go about and insert an order? | 08:38 |
* llnz wanders off | 08:39 | |
llnz | later all | 08:39 |
*** llnz has quit IRC | 08:39 | |
mithro | tote: yes, you just enumerate over the list | 08:39 |
mithro | tote: it depends if you want to insert before or after | 08:40 |
mithro | you insert a new ChangeNode using insert_before or insert_after | 08:41 |
mithro | actually you can think of ChangeList as a doubly linked list | 08:42 |
tote | ok, does tpclient-pywx allow you do insert orders before? | 08:42 |
*** peres has joined #tp | 08:43 | |
mithro | yes | 08:44 |
mithro | you can right click and do a "insert order before" | 08:44 |
tote | hmm doesnt seem to work for me? | 08:45 |
tote | i set my fleet to move, and saved the order, but i cannot right click on the order, nothing happens? | 08:46 |
mithro | hrm | 08:46 |
mithro | it use to work :P | 08:46 |
tote | anyway, lets say i want to create a move order, how would i create the Order it self and the ChangeNode? | 08:58 |
mithro | you create a new tp.netlib.objects.Order object | 08:59 |
mithro | then you stuff it in a ChangeNode | 08:59 |
mithro | see the StateTracker.py in ./extra/ for the ChangeNode stuff | 09:00 |
tote | ok | 09:06 |
tote | btw, for tp04, is anything about this going to change, make it easier or something? maybe in libtpproto2-py? | 09:12 |
mithro | not really | 09:38 |
mithro | the order stuff didn't really change in tp04 | 09:45 |
mithro | (only thing which changed was that an object can now have multiple order queues) | 09:45 |
tote | ok :) | 10:05 |
*** jmtan has joined #tp | 10:11 | |
*** jmtan has quit IRC | 10:24 | |
*** jmtan has joined #tp | 10:24 | |
CIA-21 | joelboh tpclient-pyweb * r43db3b73adda /backend/middleman.py: Backend: Fixed object list, contained lots of unnecessary nulls. | 10:36 |
*** tuna-fish has joined #tp | 10:38 | |
CIA-21 | joelboh tpclient-pyweb * r8842ec363703 / (8 files in 4 dirs): | 11:08 |
CIA-21 | Frontend: Added a system component | 11:08 |
CIA-21 | The system component lists all objects in the universe and you can also | 11:08 |
CIA-21 | search for a specific object. It works like the system panel in | 11:08 |
CIA-21 | tpclient-pywx. | 11:08 |
*** jmtan has quit IRC | 11:47 | |
*** peres has quit IRC | 11:54 | |
*** alanp__ is now known as alanp | 12:58 | |
tote | hmm, why is the tpclient-pywx telling me that i own 2 fleets but i cannot order them to do anything? | 13:18 |
tote | on the demo1 server | 13:18 |
tote | aha, there is two players named tote? how is that possible? | 13:19 |
CIA-21 | joelboh tpclient-pyweb * rab9f6a62d495 /frontend/ (index.html scripts/map.js): Frontend: Display orders and a list of possible orders for objects. | 13:44 |
*** JLafont has quit IRC | 14:51 | |
*** Greywhind has joined #tp | 15:16 | |
*** JLafont has joined #tp | 15:27 | |
*** greenlion has joined #tp | 15:39 | |
*** llnz has joined #tp | 16:03 | |
llnz | morning all | 16:03 |
*** greenlion has quit IRC | 17:43 | |
CIA-21 | joelboh tpclient-pyweb * ra66ef7df68f9 / (3 files in 3 dirs): | 17:57 |
CIA-21 | Frontend: Added object specific info in the information component. | 17:57 |
CIA-21 | Cosmetic updates to the information component too. | 17:57 |
CIA-21 | joelboh tpclient-pyweb * r631121030b86 /frontend/scripts/map.js: Frontend: Fixed display of contained objects. | 18:04 |
*** peres has joined #tp | 18:27 | |
*** DTRemenak|RDP has joined #tp | 19:07 | |
*** peres has quit IRC | 19:10 | |
*** nash has joined #tp | 19:23 | |
cherez | Spooky action at a distance! | 19:24 |
*** DTRemenak has quit IRC | 19:25 | |
llnz | hehe | 19:25 |
cherez | replacing an append with an insert makes another, unrelated object sort incorrectly. | 19:29 |
cherez | Well, I don't know if it's weirder that that worked to begin with or that the bug was so consistent.... | 19:40 |
*** mithro has quit IRC | 20:00 | |
tansell | morning people | 20:06 |
llnz | hi tansell | 20:06 |
ezod | hello | 20:06 |
tansell | hey ezod | 20:07 |
cherez | Morning. | 20:08 |
Greywhind | hello tansell | 20:13 |
tote | hi all :) | 20:13 |
Greywhind | tansell: so, have you seen my latest screenshot of the info panel, on my blog? | 20:14 |
tansell | GSOC Day 28 – Panels for infoPanel Part 2 | 20:15 |
tansell | ? | 20:15 |
tansell | MinorV/MajorV should be ignored | 20:16 |
Greywhind | yeah | 20:16 |
Greywhind | ok | 20:16 |
Greywhind | will do | 20:16 |
tansell | Parent should have a "goto" button? | 20:17 |
Greywhind | hm. i didn't even notice parent. | 20:18 |
tansell | Greywhind, you should also probably display the media in the media panels? | 20:18 |
Greywhind | yeah, it should | 20:18 |
tansell | the alignment in the owner panel should probably be fixed? | 20:18 |
Greywhind | tansell: well, i'd have to copy the media displaying code again, but i could do it | 20:18 |
tansell | The position should have a "goto" button too probably | 20:19 |
tansell | Order Queue could use some love too | 20:19 |
tansell | Greywhind, good start though | 20:27 |
cherez | tansell: http://codereview.mithis.com/3002 | 20:28 |
tpb | Title: Issue 3002: Parser - Code Review (at codereview.mithis.com) | 20:28 |
Greywhind | tansell: thanks | 20:28 |
tansell | cherez, lots of comments on that one | 20:41 |
cherez | Oh boy.... | 20:41 |
cherez | tansell: Do you have any good ideas for how I could run parseFile multiple times? | 20:43 |
tansell | cherez, what do you mean? | 20:43 |
cherez | Since it heavily pollutes the objects module. | 20:43 |
tansell | oh that is a comment I missed | 20:43 |
cherez | If you run it twice it will just skip all the packets because they already exist in objects. | 20:43 |
tansell | the Header/Packet files where in a different directory for a reason | 20:44 |
cherez | Oh? | 20:44 |
cherez | How had you intended them to be used? | 20:45 |
*** mithro has joined #tp | 20:50 | |
tansell | well you want a split between the "generated" and non-generated stuff | 20:53 |
Greywhind | tansell: is there a way to hide a spacer? | 20:57 |
tansell | hide a spacer? | 20:57 |
Greywhind | that's what's throwing off the spacing on the parent | 20:58 |
Greywhind | it's got a spacer, so if there's a number before it, it will be spaced out right | 20:58 |
Greywhind | but since there's no number, it's just moved over unnecessarily | 20:58 |
tansell | I think you just want an empty panel rather then a spacer? | 21:33 |
Greywhind | probably a good idea | 21:36 |
*** jmtan has joined #tp | 23:44 | |
*** mithro has quit IRC | 23:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!