*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
llnz | bbl | 00:40 |
---|---|---|
*** llnz has quit IRC | 00:40 | |
*** jnengland77 has quit IRC | 01:30 | |
*** llnz has joined #tp | 01:52 | |
*** alanp has quit IRC | 01:59 | |
*** llnz2 has joined #tp | 02:09 | |
*** llnz has quit IRC | 02:09 | |
*** llnz2 is now known as llnz | 02:09 | |
*** nash has quit IRC | 03:25 | |
*** jmtan has quit IRC | 04:20 | |
*** Greywhind has quit IRC | 04:26 | |
*** nebajoth is now known as nebaway | 04:29 | |
*** mithro has quit IRC | 04:58 | |
matthewd | tote: Hi! | 05:10 |
tote | matthewd: morning :) | 05:16 |
tote | matthewd: morning :) | 05:19 |
tote | matthewd: right now you can send a move order, today im gonna add ability to remove and update order (almost finished), then i add more orders :) | 05:19 |
matthewd | Not going so well on regular blog posts so far, I see... but it's great to see some good progress :) | 05:26 |
tote | blogposts :/ | 05:27 |
tote | matthewd: you want me to write a blog post for the last three days? | 05:28 |
matthewd | Yes please, I think that would be good | 05:29 |
tote | matthewd: done | 05:44 |
matthewd | Great, thanks | 05:49 |
*** Vadtec has quit IRC | 06:28 | |
*** Vadtec_ has quit IRC | 06:28 | |
*** cherez has quit IRC | 06:28 | |
*** edison has quit IRC | 06:28 | |
*** Vadtec has joined #tp | 06:29 | |
*** cherez has joined #tp | 06:29 | |
*** Vadtec_ has joined #tp | 06:29 | |
*** edison has joined #tp | 06:29 | |
*** nebaway has quit IRC | 06:32 | |
*** nebaway has joined #tp | 06:33 | |
*** Vadtec_ has quit IRC | 06:51 | |
*** Vadtec has quit IRC | 06:51 | |
*** cherez has quit IRC | 06:51 | |
*** edison has quit IRC | 06:51 | |
*** Vadtec has joined #tp | 06:52 | |
*** cherez has joined #tp | 06:52 | |
*** Vadtec_ has joined #tp | 06:52 | |
*** edison has joined #tp | 06:52 | |
*** llnz2 has joined #tp | 06:59 | |
*** llnz has quit IRC | 06:59 | |
*** llnz2 is now known as llnz | 06:59 | |
*** mithro has joined #tp | 07:33 | |
tote | mithro: what do i need to send to cache.apply to remove a node, and how can i based on an id or something select just one node? | 07:34 |
mithro | tote: ? | 07:35 |
mithro | your asking how to delete a node? | 07:35 |
tote | yeah :) | 07:35 |
mithro | tote: you looked at how tpclient-pywx does it? | 07:37 |
tote | kinda, it seems like it stores selected node objects in a list and just send them to cache.apply | 07:38 |
tote | but i dont want to create a new list, it would be easier if i could by an id or something select nodes from the changelist | 07:38 |
tote | so i only need to send the id between httpserver and httpclient | 07:39 |
tote | else i need to store a simplle list on the filesystem, as i already do with the cache object | 07:39 |
mithro | tote: dunno a good option | 07:44 |
* llnz wanders off | 07:50 | |
llnz | later all | 07:50 |
*** llnz has quit IRC | 07:50 | |
*** Vadtec_ has quit IRC | 07:50 | |
*** Vadtec has quit IRC | 07:50 | |
*** cherez has quit IRC | 07:50 | |
*** edison has quit IRC | 07:50 | |
tote | mithro: ok | 07:50 |
*** Vadtec has joined #tp | 07:52 | |
*** cherez has joined #tp | 07:52 | |
*** Vadtec_ has joined #tp | 07:52 | |
*** edison has joined #tp | 07:52 | |
*** Vadtec_ has quit IRC | 07:54 | |
*** Vadtec has quit IRC | 07:54 | |
*** cherez has quit IRC | 07:54 | |
*** edison has quit IRC | 07:54 | |
*** jmtan has joined #tp | 07:55 | |
*** Vadtec has joined #tp | 07:56 | |
*** cherez has joined #tp | 07:56 | |
*** Vadtec_ has joined #tp | 07:56 | |
*** edison has joined #tp | 07:56 | |
mithro | tote: remeber deletion can fail | 07:57 |
tote | hmm, why can it fail? | 07:57 |
mithro | the server can refuse to remove the order | 07:58 |
tote | ok | 07:58 |
mithro | because you don't have permission or something | 07:58 |
CIA-26 | epyon tpserver-cpp-refactor * rbc1178972101 /tpserver/ (algorithms.h boardmanager.cpp playermanager.cpp): Algorithms : find_default | 08:08 |
CIA-26 | epyon tpserver-cpp-refactor * rd9e84d26edd8 /tpserver/ (algorithms.h orderqueue.cpp): Algorithms : for_each_if | 08:08 |
*** jmtan has quit IRC | 08:24 | |
tote | mithro: aha nodes does have an id attribute | 08:29 |
tote | do you know if i can trust it? | 08:29 |
mithro | nfi | 08:30 |
mithro | but I did write the code :P | 08:30 |
tote | nfi? | 08:30 |
mithro | no fracken idea | 08:30 |
tote | aha :) | 08:31 |
tote | bsg fan? :) | 08:31 |
mithro | i think I used the python id | 08:31 |
mithro | which is the memory location | 08:32 |
tote | 16 # FIXME: Must be a better way to do this... 17 ChangeNode.NodeCounter += 1 18 self.id = ChangeNode.NodeCounter | 08:33 |
tote | that should work just fine :) | 08:33 |
CIA-26 | epyon tpserver-cpp-refactor * r36b0fd71cbf8 /tpserver/algorithms.h: Algorithms : delete_map_all | 08:42 |
CIA-26 | epyon tpserver-cpp-refactor * r998eae62a9de /tpserver/algorithms.h: Algorithms : for_each_value | 08:42 |
*** nebaway has quit IRC | 08:53 | |
*** nebaway has joined #tp | 08:53 | |
CIA-26 | epyon tpserver-cpp-refactor * r52bbd0ecff26 /tpserver/algorithms.h: Algorithms : for_each_keyw | 09:14 |
*** jmtan has joined #tp | 09:19 | |
CIA-26 | epyon tpserver-cpp-refactor * r30dab326a231 /tpserver/ (16 files): Algorithms : all round implementation in server, yay | 09:34 |
*** bddebian has joined #tp | 09:47 | |
bddebian | Heya | 09:52 |
*** Vadtec_ has quit IRC | 09:52 | |
*** Vadtec has quit IRC | 09:52 | |
*** cherez has quit IRC | 09:52 | |
*** edison has quit IRC | 09:52 | |
*** Vadtec has joined #tp | 09:53 | |
*** cherez has joined #tp | 09:53 | |
*** Vadtec_ has joined #tp | 09:53 | |
*** edison has joined #tp | 09:53 | |
*** Vadtec_ has quit IRC | 10:13 | |
*** Vadtec has quit IRC | 10:13 | |
*** cherez has quit IRC | 10:13 | |
*** edison has quit IRC | 10:13 | |
*** Vadtec has joined #tp | 10:14 | |
*** cherez has joined #tp | 10:14 | |
*** Vadtec_ has joined #tp | 10:14 | |
*** edison has joined #tp | 10:14 | |
*** nebaway has quit IRC | 11:04 | |
*** nebaway has joined #tp | 11:05 | |
*** nebajothz has joined #tp | 13:27 | |
*** Greywhind has joined #tp | 13:36 | |
*** nebaway has quit IRC | 13:42 | |
*** Erroneous has joined #tp | 13:44 | |
*** nebajothz is now known as nebajoth | 13:50 | |
*** jnengland77 has joined #tp | 14:31 | |
*** mithro has quit IRC | 14:45 | |
*** mithro_ has joined #tp | 14:45 | |
*** mithro_ has quit IRC | 15:06 | |
*** mithro_ has joined #tp | 15:07 | |
*** llnz has joined #tp | 16:12 | |
*** jnengland77 has quit IRC | 16:17 | |
*** alanp_ has quit IRC | 16:18 | |
llnz | morning all | 16:19 |
*** bddebian has quit IRC | 17:02 | |
*** nash has joined #tp | 18:42 | |
CIA-26 | joelboh tpclient-pyweb * r6242fc1a6b9d / (3 files in 2 dirs): Frontend & Backend: You can now remove orders. | 19:21 |
tote | how can i check if order deletion failed? | 19:22 |
tote | took me forever to get this to work, i hope its easy :) | 19:23 |
*** Linkadmin has quit IRC | 19:44 | |
*** Linkadmin has joined #tp | 19:44 | |
*** mithro_ has quit IRC | 20:04 | |
CIA-26 | joelboh tpclient-pyweb * r876d5cae9f36 /frontend/scripts/map.js: Frontend: Fixed so interface updates when you add an order. | 20:06 |
tansell | morning people | 20:12 |
epyon | geee tansell, it's deep night here :P | 20:15 |
tansell | it's always morning on the internet | 20:16 |
tansell | or | 20:16 |
tansell | I'it's morning when I say it is | 20:16 |
tansell | :) | 20:16 |
* Landon is a fan of it's always morning when I sign on | 20:17 | |
Landon | unfortunately that means the past 2d 5h 9m 59s have been afternoon | 20:17 |
epyon | ^_^ | 20:17 |
* Landon is working on laser pew-pews atm, but python-ogre seems to be lacking some critical function I need :\ | 20:18 | |
Landon | tansell: so laser fire is looking better now with the particles spewn out when something is it | 20:29 |
*** mithro_ has joined #tp | 20:29 | |
tansell | Landon, what functions are you missing? | 20:29 |
Landon | it's not perfect, I'm not able to get the exact point on the model, but with a small angle, particles originating from the center of the model look good | 20:29 |
Landon | hm, let me see where it was | 20:30 |
tansell | Landon, exact point? | 20:30 |
Landon | tansell: there's a code snippet on the ogre wiki to get the first point hit on a model by a ray and returned the vector3 position | 20:30 |
Landon | but i haven't been able to get that to work | 20:31 |
Landon | I think the function that I couldn't find any information on was baseVertexPointerToElement, which was a method of an elemnent | 20:31 |
* Landon goes to find that in the API | 20:31 | |
Landon | I think the code was coughing at some other point though, but that's the main function I'm worried about, since it looks like one of its arguments is an out variable | 20:32 |
Landon | http://www.ogre3d.org/docs/api/html/classOgre_1_1VertexElement.html#20a697dec05663dea83bdee02d9412bf | 20:33 |
tpb | <http://ln-s.net/3n3_> (at www.ogre3d.org) | 20:33 |
Landon | oh, now I remember where I was actually getting hung up, I couldn't make heads or tails of the arguments in the snippet at http://www.ogre3d.org/wiki/index.php/Raycasting_to_the_polygon_level | 20:33 |
tpb | <http://ln-s.net/3n3a> (at www.ogre3d.org) | 20:33 |
Landon | a normal makes no sense to me if there's not a plane | 20:34 |
CIA-26 | landon tpclient-pyogre * rc2c0163c18b7 /src/raycast.py: Whoops, fixed some C++isms to python, now the code at least says it fails instead of crashing | 20:53 |
Greywhind | tansell: ping? | 20:55 |
tansell | Greywhind, pong | 20:55 |
Greywhind | tansell: so it seems that doing a self.mgr.SavePerspective() on exit and then loading it on startup is giving me a blank window, with none of the internal panes | 20:56 |
tansell | Greywhind, so there is something wrong :) | 20:56 |
Greywhind | tansell: any idea what it might be? | 20:58 |
tansell | Greywhind, nope! | 20:58 |
llnz | Landon: i suspect something about this line: | 21:16 |
llnz | if query_result[i].movable != None and query_result[i].movable.getMovableType() == "Entity" == 0: | 21:16 |
*** bddebian has joined #tp | 21:16 | |
llnz | because it will always be False | 21:16 |
*** jnengland77 has joined #tp | 21:39 | |
Greywhind | tansell: http://pastebin.com/d32a75988 | 23:17 |
tpb | Title: pastebin - collaborative debugging tool (at pastebin.com) | 23:17 |
Greywhind | tansell: do you know what might be the problem? | 23:17 |
tansell | the file doesn't exist? | 23:18 |
tansell | does the file exist? | 23:18 |
Greywhind | tansell: no | 23:18 |
Greywhind | tansell: but i don't know what it should be | 23:19 |
Greywhind | tansell: this is a fresh checkout. | 23:19 |
tansell | Greywhind, it probably means someone change the file name without also updating the xml files | 23:19 |
tansell | Greywhind, it should be pretty obvious how to fix | 23:23 |
Greywhind | tansell: well, it's just that i don't know what that file is supposed to be | 23:23 |
Greywhind | tansell: oh wait | 23:24 |
Greywhind | tansell: i see a commit that might explain it | 23:24 |
Greywhind | tansell: ok, so i got it to build and install | 23:38 |
Greywhind | tansell: but single player doesn't seem to recognize it | 23:38 |
tansell | Greywhind, so what did you do? | 23:38 |
Greywhind | tansell: in setup.py, i changed lines 63 and 64 to | 23:39 |
Greywhind | scripts = ["daneel_ai.py"], | 23:39 |
Greywhind | console = ["daneel_ai.py"], | 23:39 |
tansell | did you change the xml files? | 23:39 |
tansell | single player uses the xml files to figure out how to run stuff | 23:39 |
Greywhind | tansell: ah. | 23:39 |
tansell | and you probably didn't want to install it anyway | 23:39 |
tansell | Greywhind, as should be obvious if you look at the single player code | 23:40 |
Greywhind | tansell: changing the AI files worked, thanks | 23:42 |
Greywhind | tansell: the XML ones | 23:43 |
Greywhind | tansell: any idea where to get logilab-constraint? the download link on their website seems to be broken | 23:54 |
tansell | apt-get install python-constraint | 23:55 |
tansell | if you play with the download link it's pretty easy to get the right one | 23:55 |
Greywhind | tansell: not using Ubuntu :P | 23:55 |
*** bddebian has quit IRC | 23:55 | |
Greywhind | tansell: oh, i see | 23:55 |
Greywhind | tansell: listing directories. how clever :P | 23:55 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!