Sunday, 2009-06-21

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** llnz2 has joined #tp01:11
*** llnz has quit IRC01:24
*** mithro has joined #tp02:30
*** llnz2 has quit IRC02:34
*** llnz2 has joined #tp02:37
*** Greywhind has quit IRC03:34
cherezmithro: Ping?04:33
*** greenlion has joined #tp04:33
*** llnz2_64 has joined #tp04:44
*** llnz2 has quit IRC05:00
*** llnz has joined #tp05:06
*** llnz2_64 has quit IRC05:18
mithrocherez: pong?06:35
mithrocherez: I assume you are asleep06:35
cherezNo, I'm awake.06:36
cherezI'm still not seeing how parametersets relate to packets.06:36
cherezWhich I am pretty sure is all that the DOM parser doesn't handle now.06:37
mithrocherez: take a look at libtpproto-py06:53
mithrospecifically the tp04 branch06:54
mithrosee parameters.py06:55
cherezAlright, that helps.07:04
cherezThanks.07:04
*** greenlion has quit IRC07:12
CIA-21joelboh tpclient-pyweb * re2881a5c6ff1 /frontend/ (index.html scripts/map.js): Frontend: Reworked the info component a bit.07:16
mithrotote: heyo07:37
totemithro: hello :)07:38
mithrohow goes things?07:38
mithrotote: you said you didn't understand orders?07:38
totegood 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 etc07:39
*** alanp__ has quit IRC07:46
*** Vadtec has quit IRC07:46
*** ezod has quit IRC07:46
*** JLafont has quit IRC07:46
*** edison has quit IRC07:46
*** llnz has quit IRC07:46
*** gau_veldt has quit IRC07:46
*** krytzz has quit IRC07:46
*** mhilmi has quit IRC07:46
*** JLP has quit IRC07:46
*** mithro has quit IRC07:46
*** welterde has quit IRC07:46
*** Demitar has quit IRC07:46
*** tote has quit IRC07:46
*** matthewd has quit IRC07:46
*** zzorn has quit IRC07:46
*** tansell has quit IRC07:46
*** bddebian has quit IRC07:46
*** CIA-21 has quit IRC07:46
*** Landon has quit IRC07:46
*** DTRemenak has quit IRC07:46
*** shenki has quit IRC07:46
*** llnz has joined #tp07:48
*** mithro has joined #tp07:48
*** alanp__ has joined #tp07:48
*** mhilmi has joined #tp07:48
*** JLP has joined #tp07:48
*** gau_veldt has joined #tp07:48
*** krytzz has joined #tp07:48
*** Landon has joined #tp07:48
*** bddebian has joined #tp07:48
*** ezod has joined #tp07:48
*** DTRemenak has joined #tp07:48
*** CIA-21 has joined #tp07:48
*** shenki has joined #tp07:48
*** matthewd has joined #tp07:48
*** zzorn has joined #tp07:48
*** JLafont has joined #tp07:48
*** welterde has joined #tp07:48
*** Vadtec has joined #tp07:48
*** Demitar has joined #tp07:48
*** tote has joined #tp07:48
*** tansell has joined #tp07:48
*** edison has joined #tp07:48
mithrookay08:16
mithrotote: I can explain it a little more if you want08:18
totemithro: sure :)08:21
mithroso the big problem is that the order stuff in tp is pretty crappy08:25
mithrobecause any order operation can fail08:26
mithroand ever order operation depends on the previous ones08:26
mithroso the ChangeList basically tried to apply a deterministic layer overtop of the order stuff in tp08:29
mithroso that you can have multiple changes "in flight" at any one time08:31
mithrothe other option is to wait for each change to occur before allowing the person to queue another one08:31
totehmm ok08:34
totewhen 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 off08:39
llnzlater all08:39
*** llnz has quit IRC08:39
mithrotote: yes, you just enumerate over the list08:39
mithrotote: it depends if you want to insert before or after08:40
mithroyou insert a new ChangeNode using insert_before or insert_after08:41
mithroactually you can think of ChangeList as a doubly linked list08:42
toteok, does tpclient-pywx allow you do insert orders before?08:42
*** peres has joined #tp08:43
mithroyes08:44
mithroyou can right click and do a "insert order before"08:44
totehmm doesnt seem to work for me?08:45
totei set my fleet to move, and saved the order, but i cannot right click on the order, nothing happens?08:46
mithrohrm08:46
mithroit use to work :P08:46
toteanyway, lets say i want to create a move order, how would i create the Order it self and the ChangeNode?08:58
mithroyou create a new tp.netlib.objects.Order object08:59
mithrothen you stuff it in a ChangeNode08:59
mithrosee the StateTracker.py in ./extra/ for the ChangeNode stuff09:00
toteok09:06
totebtw, for tp04, is anything about this going to change, make it easier or something? maybe in libtpproto2-py?09:12
mithronot really09:38
mithrothe order stuff didn't really change in tp0409:45
mithro(only thing which changed was that an object can now have multiple order queues)09:45
toteok :)10:05
*** jmtan has joined #tp10:11
*** jmtan has quit IRC10:24
*** jmtan has joined #tp10:24
CIA-21joelboh tpclient-pyweb * r43db3b73adda /backend/middleman.py: Backend: Fixed object list, contained lots of unnecessary nulls.10:36
*** tuna-fish has joined #tp10:38
CIA-21joelboh tpclient-pyweb * r8842ec363703 / (8 files in 4 dirs):11:08
CIA-21Frontend: Added a system component11:08
CIA-21The system component lists all objects in the universe and you can also11:08
CIA-21search for a specific object. It works like the system panel in11:08
CIA-21tpclient-pywx.11:08
*** jmtan has quit IRC11:47
*** peres has quit IRC11:54
*** alanp__ is now known as alanp12:58
totehmm, why is the tpclient-pywx telling me that i own 2 fleets but i cannot order them to do anything?13:18
toteon the demo1 server13:18
toteaha, there is two players named tote? how is that possible?13:19
CIA-21joelboh 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 IRC14:51
*** Greywhind has joined #tp15:16
*** JLafont has joined #tp15:27
*** greenlion has joined #tp15:39
*** llnz has joined #tp16:03
llnzmorning all16:03
*** greenlion has quit IRC17:43
CIA-21joelboh tpclient-pyweb * ra66ef7df68f9 / (3 files in 3 dirs):17:57
CIA-21Frontend: Added object specific info in the information component.17:57
CIA-21Cosmetic updates to the information component too.17:57
CIA-21joelboh tpclient-pyweb * r631121030b86 /frontend/scripts/map.js: Frontend: Fixed display of contained objects.18:04
*** peres has joined #tp18:27
*** DTRemenak|RDP has joined #tp19:07
*** peres has quit IRC19:10
*** nash has joined #tp19:23
cherezSpooky action at a distance!19:24
*** DTRemenak has quit IRC19:25
llnzhehe19:25
cherezreplacing an append with an insert makes another, unrelated object sort incorrectly.19:29
cherezWell, 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 IRC20:00
tansellmorning people20:06
llnzhi tansell20:06
ezodhello20:06
tansellhey ezod20:07
cherezMorning.20:08
Greywhindhello tansell20:13
totehi all :)20:13
Greywhindtansell: so, have you seen my latest screenshot of the info panel, on my blog?20:14
tansellGSOC Day 28 – Panels for infoPanel Part 220:15
tansell?20:15
tansellMinorV/MajorV should be ignored20:16
Greywhindyeah20:16
Greywhindok20:16
Greywhindwill do20:16
tansellParent should have a "goto" button?20:17
Greywhindhm. i didn't even notice parent.20:18
tansellGreywhind, you should also probably display the media in the media panels?20:18
Greywhindyeah, it should20:18
tansellthe alignment in the owner panel should probably be fixed?20:18
Greywhindtansell: well, i'd have to copy the media displaying code again, but i could do it20:18
tansellThe position should have a "goto" button too probably20:19
tansellOrder Queue could use some love too20:19
tansellGreywhind, good start though20:27
chereztansell: http://codereview.mithis.com/300220:28
tpbTitle: Issue 3002: Parser - Code Review (at codereview.mithis.com)20:28
Greywhindtansell: thanks20:28
tansellcherez, lots of comments on that one20:41
cherezOh boy....20:41
chereztansell: Do you have any good ideas for how I could run parseFile multiple times?20:43
tansellcherez, what do you mean?20:43
cherezSince it heavily pollutes the objects module.20:43
tanselloh that is a comment I missed20:43
cherezIf you run it twice it will just skip all the packets because they already exist in objects.20:43
tansellthe Header/Packet files where in a different directory for a reason20:44
cherezOh?20:44
cherezHow had you intended them to be used?20:45
*** mithro has joined #tp20:50
tansellwell you want a split between the "generated" and non-generated stuff20:53
Greywhindtansell: is there a way to hide a spacer?20:57
tansellhide a spacer?20:57
Greywhindthat's what's throwing off the spacing on the parent20:58
Greywhindit's got a spacer, so if there's a number before it, it will be spaced out right20:58
Greywhindbut since there's no number, it's just moved over unnecessarily20:58
tansellI think you just want an empty panel rather then a spacer?21:33
Greywhindprobably a good idea21:36
*** jmtan has joined #tp23:44
*** mithro has quit IRC23:58

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