*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** mithro has quit IRC | 00:41 | |
*** mithro has joined #tp | 00:47 | |
*** mithro has quit IRC | 01:41 | |
*** JLP has joined #tp | 01:58 | |
*** xdotx has joined #tp | 02:29 | |
xdotx | nash: "A likely story." - for some reason that cracked me up | 02:29 |
---|---|---|
nash | xdotx: Unfortunately it's a cliche for me ;-) I need more witicisms ;-) But thank you. | 02:30 |
*** zzorn_laptop has joined #tp | 02:52 | |
*** nash has quit IRC | 03:09 | |
*** JLafont has quit IRC | 04:10 | |
*** xdotx has quit IRC | 04:59 | |
*** llnz has joined #tp | 06:19 | |
* llnz wanders off | 09:06 | |
llnz | later all | 09:06 |
*** llnz has quit IRC | 09:06 | |
*** zzorn_laptop has quit IRC | 09:07 | |
CIA-30 | victor.ivri gencon-rfts-ai * r5a84026b833c / (3 files in 2 dirs): cleaned repo from garbage. | 10:06 |
*** mithro has joined #tp | 10:34 | |
*** jphr has joined #tp | 10:42 | |
*** mithro_ has joined #tp | 11:14 | |
mithro_ | morning people | 11:14 |
*** mithro has quit IRC | 11:16 | |
*** mithro_ is now known as mithro | 11:16 | |
jphr | morning | 11:22 |
*** mithro has quit IRC | 11:38 | |
*** jphr_ has joined #tp | 11:44 | |
*** jphr has quit IRC | 12:01 | |
*** bddebian has joined #tp | 12:17 | |
bddebian | Heya | 12:18 |
* ezod has very limited net access in boston :( | 12:28 | |
CIA-30 | jphr tpserver-cpp-risk * rbc55329ef821 /modules/games/risk/ (move.cpp move.h riskturn.cpp): implemented Move::targetPlanetAlsoAttacking() and now testing it. | 12:29 |
*** vi1985 has joined #tp | 12:35 | |
*** Erroneous has joined #tp | 12:51 | |
*** mithro has joined #tp | 13:00 | |
mithro | how is everyone today? | 13:11 |
mithro | jphr_: how goes things? | 13:11 |
jphr_ | mithro: good, just wrastlin with my move order | 13:11 |
*** JLafont has joined #tp | 13:15 | |
JLafont | hallo | 13:15 |
*** jphr_ has quit IRC | 13:17 | |
*** jphr has joined #tp | 13:17 | |
*** Demitar has quit IRC | 13:19 | |
tpb | disconnected from worldforge: Ping sent at 2008-06-11T13:17:55 not replied to. | 13:20 |
tpb | tpb has joined on worldforge | 13:21 |
*** Epyon has quit IRC | 13:22 | |
*** jphr has quit IRC | 13:25 | |
*** mithro_ has joined #tp | 13:26 | |
mithro_ | well that is the second time my comptuer has crashed in two days | 13:27 |
*** mithro has quit IRC | 13:27 | |
JLafont | maybe its possessed | 13:27 |
JLafont | mithro: I have a question about Orders | 13:28 |
tpb | disconnected from worldforge: Ping sent at 2008-06-11T13:26:31 not replied to. | 13:29 |
mithro_ | okay shoot | 13:29 |
*** mithro_ is now known as mithro | 13:29 | |
JLafont | Is there anywhere were the current ordertypes are defined? Can I define my own order types? And how can I change the displayed name of an order. | 13:29 |
mithro | is anyone else having trouble pinging verbal.mithis.com? | 13:30 |
mithro | JLafont: on the server, yes and yes | 13:30 |
JLafont | Can you point me to where that might be? | 13:31 |
JLafont | mithro: It pinged | 13:31 |
mithro | what time of response are you getting? | 13:31 |
mithro | tim@vaio:~/oss/tp/tpserver-py$ find -name orders | 13:33 |
mithro | ./tp/server/rules/dronesec/orders | 13:33 |
mithro | ./tp/server/rules/base/orders | 13:33 |
mithro | ./tp/server/rules/minisec/orders | 13:33 |
mithro | ./tp/server/rules/timtrader/orders | 13:33 |
JLafont | at first it was around 800ms, but it just went down to 100s | 13:33 |
JLafont | oh | 13:33 |
JLafont | I meant as in what the typeno's mean | 13:33 |
mithro | what do you mean? | 13:33 |
JLafont | Like order of typeno 1 is a move order. And any order that has that same number will have that name. | 13:33 |
JLafont | Build Fleet iis typeno 2 | 13:33 |
mithro | JLafont: each order should have their own typeno | 13:34 |
mithro | even if they have the same name | 13:34 |
mithro | if they have different attributes, they should be different typeno | 13:35 |
JLafont | ok. Well, in this case they have the same attributes. | 13:36 |
mithro | if they are different in any way, then you should use a different typeno | 13:36 |
JLafont | Do typenos have to be sequential? | 13:36 |
JLafont | ok | 13:37 |
mithro | JLafont: nope | 13:37 |
mithro | technically they only have to be unquie in a ruleset, but it's a bitch to debug otherwise | 13:37 |
JLafont | ahh ok | 13:38 |
mithro | and there are not that many rulesets yet | 13:39 |
mithro | oh, you might want to remove your cache file (~/.tp/cache.*) after you change any order | 13:40 |
JLafont | That will help | 13:40 |
mithro | just to make sure that you get the latest information | 13:41 |
JLafont | ok | 13:41 |
JLafont | And how do I change an orders name? | 13:41 |
mithro | it's the class name | 13:42 |
mithro | I think there might be a "name" property you can set, but I forget now | 13:42 |
JLafont | ok | 13:42 |
mithro | btw - you understand the attribute stuff? | 13:42 |
JLafont | somewhat | 13:43 |
JLafont | I understand the order arguments and how they should be defined. | 13:44 |
*** SmokingRope has quit IRC | 13:53 | |
mithro | JLafont: that is pretty much what the attribute dictionary defines | 13:54 |
mithro | attributes = {\ | 13:54 |
mithro | 'fleet': Order.Attribute("fleet", -1, 'protected', type=netlib.objects.constants.ARG_OBJECT, | 13:54 |
mithro | desc="Fleet to merge with.") | 13:54 |
mithro | } | 13:54 |
*** SmokingRope has joined #tp | 13:55 | |
mithro | attributes define both stuff which goes into the database and stuff which goes into the order frame | 13:56 |
*** Demitar has joined #tp | 13:56 | |
JLafont | yeah I've figured as much so far | 13:57 |
mithro | when TP04 support is added to the server, it will also define how the extra data for objects too | 13:57 |
JLafont | ah | 13:57 |
JLafont | cool | 13:57 |
mithro | you understand the difference between public, private and protected attributes? | 14:00 |
JLafont | yes | 14:00 |
*** JLafont has quit IRC | 14:01 | |
*** JLafont has joined #tp | 14:01 | |
JLafont | bah | 14:02 |
mithro | JLafont: okay - explain it too me then :) | 14:02 |
JLafont | yeah, I think I do. Like OO objects in C++? | 14:02 |
mithro | nope! :) | 14:04 |
JLafont | private = only member functions can access, protected = iinheritors can access, public = anyone can acess. | 14:04 |
JLafont | awww | 14:04 |
mithro | python does not have that type of concept | 14:04 |
mithro | public = attribute is sent without any changes as part of the order frame | 14:05 |
mithro | protected = attribute is sent through the fn_<> function before being made part of the order frame | 14:05 |
mithro | private = attribute is not part of the order frame | 14:05 |
JLafont | ahh ok | 14:06 |
mithro | so you use private stuff to have something which gets stored in the database but not sent as part of the order frame | 14:07 |
mithro | protected is used where the format required by the order frame is different from the internal format you want to use | 14:07 |
JLafont | ohh | 14:08 |
JLafont | I see | 14:08 |
*** SmokingRope has quit IRC | 14:13 | |
mithro | Fleet is a good example of a protected attribute | 14:13 |
mithro | but I have to run now | 14:13 |
mithro | bblr! | 14:14 |
JLafont | cya | 14:14 |
*** SmokingRope has joined #tp | 14:16 | |
*** SmokingRope has quit IRC | 14:17 | |
*** mithro has quit IRC | 14:31 | |
*** jphr has joined #tp | 15:02 | |
*** nuleren has joined #tp | 15:04 | |
*** Epyon has joined #tp | 15:06 | |
*** tpb has joined #tp | 15:17 | |
*** ChanServ sets mode: +o tpb | 15:17 | |
*** vi1985 has quit IRC | 15:18 | |
*** tpb has joined #tp | 19:37 | |
*** ChanServ sets mode: +o tpb | 19:37 | |
mithro | ~seen jphr | 19:37 |
tpb | mithro: jphr was last seen in #tp 8 hours, 15 minutes, and 44 seconds ago: <jphr> morning | 19:37 |
* mithro ponders what the logs missed :( | 19:38 | |
*** tpb has joined #tp | 20:01 | |
*** ChanServ sets mode: +o tpb | 20:01 | |
*** nash_ has quit IRC | 20:01 | |
mithro | nash: I doubt it :) | 20:24 |
nash | mithro: I'd go see an optometrist then | 20:24 |
mithro | I'm pretty unhappy with this computer :( | 20:27 |
nash | What else is wrong with it? | 20:29 |
mithro | it's a Sony Vaio :) | 20:31 |
mithro | things don't work and it's already starting to fall apart | 20:31 |
mithro | all the rubber feet off the bottom of the device have already fallen off :( | 20:32 |
mithro | it runs hot and slow | 20:32 |
nash | weird... my vaio is 4 years old, and still runs perfectly | 20:33 |
mithro | it's crashed twice in the last two days :( | 20:33 |
mithro | atleast the battery life is pretty good | 20:34 |
nash | Actually that's the one thing I'd complain about ;-) | 20:34 |
mithro | i'm getting about 9-10 hours | 20:35 |
nash | I get 6 if I'm careful | 20:35 |
nash | watching dvd I get 2.5 | 20:35 |
*** Iwanowitch has quit IRC | 20:37 | |
mithro | I get about 8 watching DivX videos | 20:54 |
*** Erroneous has quit IRC | 20:55 | |
CIA-30 | mithro libtpproto-py * r13a34b50b94b /tp/netlib/objects/Header.py: Fixed the extra data exception. | 21:22 |
*** Ohm has quit IRC | 21:28 | |
*** tpb` has joined #tp | 21:52 | |
*** tpb` is now known as tpb | 21:53 | |
*** ChanServ sets mode: +o tpb | 21:53 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!