*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
nash | mithro: So did you fix any galaxie bugs | 00:05 |
---|---|---|
mithro | nash: no, I just wrote tpviewer-pygame ;) | 00:05 |
nash | mithro: Why keep reinventing wheels? | 00:06 |
mithro | much easier then trying to debug all that icky C code | 00:06 |
nash | Take something forward, don't keep going back to square one | 00:06 |
mithro | well, I did take write a client from scratch like some people, I used libtpclient-py | 00:07 |
mithro | s/did take/didn't/ | 00:07 |
mithro | which makes libtpclient-py better for tpclient-pywx and tpsai-py too | 00:09 |
nash | mithro: Anyway - what are your last crashes with galaxie? Did my fixes improve any of them for you? | 00:14 |
* mithro ponders | 00:18 | |
mithro | I'll check | 00:18 |
mithro | hopefully if all goes well tpviewer-pygame will become the starmap for tpclient-pywx | 00:20 |
*** guitsaru has quit IRC | 00:25 | |
mithro | nash: a key to turn of the names display would be useful | 00:52 |
nash | mithro: It's on teh list... feature not a bug however ;-) | 00:52 |
mithro | just getting tpsai-py and galaxie to battle atm | 00:53 |
nash | You resolved the version info with your evas/ecore? | 00:58 |
mithro | yeah | 00:59 |
mithro | a couple of days ago new debs came through the pipeline | 00:59 |
mithro | galaxie hasn't segfaulted yet | 00:59 |
mithro | does galaxie just keep building frigates when it has nothing else to do? | 01:00 |
mithro | nash: looks like the bugs I was seeing are fixed | 01:01 |
mithro | nash: still getting the "41x(null)" problem | 01:02 |
mithro | where null seems to be a frigate | 01:02 |
mithro | s/frigate/battleship | 01:02 |
nash | okayu cool | 01:03 |
nash | fixed the main ones crashes | 01:03 |
nash | mithro: And yes... it keeps building frigates | 01:03 |
nash | poke | 01:07 |
mithro | a few bugs with things no disappearing when destoryed too | 01:20 |
mithro | tpsai-py won that round | 01:24 |
nash | Cool | 01:26 |
nash | No crashes though - which is the important thing | 01:26 |
nash | Other things will get fixed as I fix the programs structure | 01:26 |
mithro | yeah | 01:27 |
mithro | nash: oh, over the weekend we have been trying to get daily debs being built | 01:35 |
mithro | so we should have an easy way for people to quickly test the clients | 01:38 |
mithro | greywhind: ping? | 01:38 |
nash | cool | 01:40 |
mithro | nash: we could probably do galaxie if you had a proper way to install it | 01:41 |
nash | mithro: I'll add it to the todo... | 01:41 |
nash | Actually it's pretty high on the todo list already... I'll move it up a notch then ;-) | 01:42 |
mithro | (although compilable code is a little bit more tricky) | 01:42 |
nash | mithro: make && make install ;-) | 01:50 |
mithro | that doesn't work to well for a deb | 01:58 |
mithro | you need to be able to give some type of "PREFIX" | 01:58 |
nash | I'll do an install, and tweak | 02:02 |
*** nash has quit IRC | 03:17 | |
*** xdotx is now known as xdotx_bbs | 03:23 | |
CIA-23 | fr33.em4il tpserver-cpp-rfts * r0fa02aec9e28 /modules/games/rfts/ (rfts.cpp rfts.h): Star system + planet creation implemented | 03:24 |
mithro | xdotx_bbs: yay! | 04:10 |
* mithro waits for niphree to turn up (hopefully) | 04:15 | |
CIA-23 | niphree /tmp/18JLawKixM/qga9D2JpFB-rewrite * r6359385e1d6b / (class/GameConnect.php connect.php): | 04:43 |
CIA-23 | fixed errors in GameConnect class and server connecting tests | 04:43 |
CIA-23 | via git-CVS emulator | 04:43 |
*** niphree has joined #tp | 04:44 | |
niphree | hello | 04:44 |
mithro | yay! | 04:45 |
mithro | so niphree, how did it go? | 04:45 |
niphree | ok - I connected, send CONNECT frame and I get response | 04:46 |
mithro | cool | 04:47 |
mithro | $gc->getMassage <- sp? | 04:47 |
mithro | s/lenght/length too | 04:48 |
mithro | niphree: so do you get an "Okay" frame back? | 04:48 |
niphree | yes - but I have some problems with it: http://www.tarl.org/~niphree/parsec/connect.php | 04:49 |
mithro | niphree: that looks about right - there might be a bug in Frame | 04:52 |
niphree | I'll make seperate class - put there all function like "create frame connect and send it" or "create login frame and send it" | 04:53 |
mithro | niphree: yeah | 04:53 |
mithro | niphree: you probably want to "bin2hex" the data you get back from the socket | 04:54 |
mithro | that will stop the strange output you are getting in the file | 04:57 |
mithro | niphree: ahh I see the problem | 05:06 |
mithro | you still there? | 05:06 |
niphree | yes | 05:07 |
CIA-23 | mithro libtpproto-php * r4917b949da7e /Frame.php: Added support for the "Okay" Frame. | 05:08 |
mithro | niphree: libtpproto-php didn't understand how to decode "Okay" frames! :P | 05:08 |
niphree | okey :P | 05:09 |
mithro | niphree: that patch should add support | 05:09 |
mithro | if you look at that patch you can see how to add new packet types to libtpproto-py | 05:09 |
mithro | http://git.thousandparsec.net/gitweb/gitweb.cgi?p=libtpproto-php.git;a=commitdiff;h=4917b949da7e413b4065191a7be2ac8fe0840f6f | 05:10 |
tpb | <http://ln-s.net/ouG> (at git.thousandparsec.net) | 05:10 |
mithro | the lines highlighted in green are the ones which I added | 05:10 |
mithro | niphree: can you also make sure that "database.sql" is up to date? | 05:11 |
niphree | I always add changes in database there | 05:12 |
mithro | niphree: so there is only 3 tables still? | 05:16 |
CIA-23 | mithro libtpproto-php * r596dd9663975 /Frame.php: Add error messages when unknown frame type. | 05:26 |
mithro | niphree: so you want to do the following things | 05:26 |
mithro | 1. Connect to a server | 05:27 |
mithro | 2. Send connect frame | 05:27 |
mithro | 3. Wait for an "Okay" | 05:27 |
mithro | 4. Send a "get games" frame | 05:27 |
mithro | 5. Wait for the list back (Sequence followed by a bunch of Game frames) | 05:28 |
niphree | ok | 05:28 |
niphree | about tables: still 3 tables - just added one field in game table (I prabobly could get this data from other tables, but it was easier) | 05:28 |
mithro | that should be enough to then check that the game being registered matches what the back-connect is telling you | 05:29 |
mithro | you will need to add "Get Games" frame to libtpproto-py | 05:30 |
mithro | i'll be back in a couple of hours, you still going to be around then? | 05:31 |
mithro | you think you have enough to continue working? | 05:32 |
mithro | niphree: ping? | 05:35 |
niphree | I should be here. I'll try to work with this, it should be enough | 05:35 |
mithro | okay | 05:36 |
mithro | if I don't see you again, I'll see you tommorrow at 10:30 am again | 05:36 |
mithro | if you have any problems feel free to email me | 05:36 |
niphree | ok | 05:36 |
*** llnz has joined #tp | 05:39 | |
*** xdotx_bbs is now known as xdotx | 06:00 | |
*** llnz2 has joined #tp | 06:06 | |
*** llnz2_64 has joined #tp | 06:11 | |
*** llnz has quit IRC | 06:12 | |
*** llnz2_64 is now known as llnz | 06:12 | |
mithro | llnz: demo1/demo2 down | 06:17 |
llnz | oh | 06:17 |
llnz | screen died?!? | 06:18 |
mithro | dunno | 06:18 |
llnz | both are back | 06:20 |
mithro | any idea why it died? | 06:22 |
mithro | because the screen sessions where both there when I lasted looked | 06:22 |
llnz | no idea | 06:26 |
llnz | hummm... | 06:26 |
*** llnz2 has quit IRC | 06:27 | |
jotham | screen randomly dies | 06:27 |
jotham | it's a bitch like that | 06:27 |
jotham | that's why i get randomly ejected from here usually | 06:28 |
mithro | llnz: it was probably a combat related bug | 06:36 |
mithro | blr | 06:36 |
llnz | mithro: maybe, but why both servers? | 06:37 |
CIA-23 | llnz tpserver-cpp * r154131f01dc1 /tpserver/ (playerview.cpp playerview.h): | 06:47 |
CIA-23 | Added individual objects to visibleobjects set. | 06:47 |
CIA-23 | As requested by xdotx. | 06:47 |
xdotx | woo | 06:48 |
llnz | :-) | 06:48 |
llnz | hi xdotx | 06:48 |
xdotx | heya llnz | 06:48 |
CIA-23 | fr33.em4il tpserver-cpp-rfts * re703282b1c5f /modules/games/rfts/ (5 files): | 06:50 |
CIA-23 | Randomizing planetary resources. | 06:50 |
CIA-23 | Added social environment and population calculations in (untested | 06:50 |
CIA-23 | estimates). | 06:50 |
llnz | i also commented on the other bug you filed as well | 06:52 |
xdotx | llnz: well i don't -need- to iterate through the queue, but otherwise I'll be removing and readding orders that get processed but aren't done yet (waiting on turns) | 06:56 |
xdotx | and i was unsure of how re-adding might effect things | 06:56 |
llnz | xdotx: then you are returning the wrong value in Order::doOrder() | 06:56 |
llnz | see nop for example | 06:57 |
TBBle | mithro: Pong? | 06:57 |
xdotx | llnz: i'm using the return form doOrder to decide whether or not to remove, but RFTS processes all orders in the queue each turn, not just the first | 06:58 |
llnz | xdotx: that's interesting, why does it process all of them? | 06:58 |
xdotx | (and i am currently using a for loop around the number of turns and using get for each order in the list) | 06:59 |
xdotx | llnz: well, it essentially only uses orders in the same way that TP does for movement. although production and building is done immediately at the beginning of turn regardless of other orders | 07:00 |
llnz | xdotx: i would suggest using multiple queues then, but the clients can't currently handle that | 07:01 |
llnz | the way you are doing it is probably fine | 07:01 |
xdotx | i suppose, i'll just have to add in some logic to reset my "iterator" when i remove from the queue | 07:04 |
llnz | yeah, i guess so | 07:05 |
xdotx | llnz: so then.. could i get a good way to do "updateFirstOrder" with random access then? (and why exactly do i need to do it? :p) | 07:17 |
llnz | updateFirstOrder updates the database with any changes to the order | 07:19 |
xdotx | would failure to do so perhaps result in getting another createFrame from it next turn? | 07:20 |
llnz | it shouldn't affect anything when running without db | 07:21 |
* xdotx nods | 07:23 | |
xdotx | hmm. so.. what might be causing such a thing then? | 07:23 |
llnz | maybe not updating the object in any way? | 07:32 |
xdotx | llnz: setting mod time? | 07:35 |
llnz | yeah, most changes to the object will set the mod time anyway | 07:35 |
xdotx | i definitely set mod time on the object | 07:36 |
llnz | humm... | 07:36 |
xdotx | if you want to check it out, it's only happening on my move order. | 07:37 |
llnz | oh... | 07:37 |
llnz | createFrame is called everytime the player asks what the order is | 07:37 |
llnz | ie, used to see if their are any changes to the order | 07:38 |
llnz | (think turn time) | 07:38 |
xdotx | ah.. so maybe, resetting turn time there isn't a good idea ~~ | 07:38 |
llnz | no, it's ok | 07:38 |
xdotx | (not if the turn time doesn't change) | 07:39 |
llnz | if the object changes, the order is re-downloaded | 07:39 |
* llnz wanders off | 07:53 | |
llnz | later all | 07:53 |
*** llnz has quit IRC | 07:53 | |
xdotx | oh nuts | 07:53 |
*** xdotx has joined #tp | 08:00 | |
*** Epyon has joined #tp | 08:10 | |
*** guitsaru has joined #tp | 08:17 | |
mithro | nuts? | 08:42 |
mithro | niphree: ping? | 08:44 |
mithro | TBBle: ping? | 08:44 |
TBBle | Pong. | 08:45 |
mithro | TBBle: I have no idea why I was ponging you :P | 08:46 |
TBBle | LOL. ^_^ | 08:49 |
mithro | I think it probably have something to do with packaging | 08:49 |
mithro | good to see it didn't take 2 months this time however :P | 08:53 |
TBBle | Heh, yeah. | 09:43 |
mithro | niphree: ping? | 11:53 |
*** Demitar has joined #tp | 12:04 | |
mithro | well I'm off to bed | 12:53 |
*** DystopicFro has joined #tp | 13:10 | |
*** guitsaru_ has joined #tp | 13:30 | |
*** guitsaru_ is now known as guitsaru | 13:31 | |
CIA-23 | frodough tpruledev * r2b2d016770d3 /src/ (4 files in 3 dirs): | 14:21 |
CIA-23 | Redid the internal representation of TpclExpressions | 14:21 |
CIA-23 | Moved data to the template. TpclExpression now handles the interpretation | 14:21 |
CIA-23 | of that data. Meh. Subclassed TpclExpression for ExpansionExpression | 14:21 |
CIA-23 | to help with the removal of insertion points that have been added to a | 14:21 |
CIA-23 | variable length expression | 14:21 |
CIA-23 | frodough tpruledev * r2069ac170ce0 /src/ (gui/TpclEditorDialog.py tpcl/Representation.py): Fixed insertion of Literals | 16:36 |
CIA-23 | frodough tpruledev * r60b6f54e7706 /src/gui/ (TextCtrl.py TpclEditorDialog.py): Require Ctrl key for insertion menu | 16:36 |
CIA-23 | frodough tpruledev * r6e45eeef89f0 /src/tpcl/ (Representation.py data/Import.py): | 16:36 |
CIA-23 | Added TpclBlockstore class | 16:36 |
CIA-23 | Currently facilitates the storage and retrieval of TpclBlocks and their | 16:36 |
CIA-23 | categories. Later to be expanded to also facilitate saving the blocks | 16:36 |
CIA-23 | and stuff of that nature. | 16:36 |
CIA-23 | frodough tpruledev * r2d8790f30987 /src/tpcl/data/Import.py: Fix tree load of blocks | 16:36 |
CIA-23 | frodough tpruledev * r06a6d129064e /src/ (gui/TpclEditorDialog.py tpcl/data/Import.py): Added QuickInsert menu option | 16:36 |
*** jotham is now known as pangvisor | 17:29 | |
*** pangvisor is now known as jotham | 17:44 | |
*** DystopicFro_ has joined #tp | 18:37 | |
CIA-23 | llnz tpserver-cpp-rfts * rf24c82b85969 /modules/games/ (minisec/fleet.cpp mtsec/fleet.cpp): | 19:24 |
CIA-23 | Fleet now stops (velocity set to zero) when next order is not a move order. | 19:24 |
CIA-23 | Fixes velocity set but not moving bug. Fixed used doOnceATurn in Fleet, in | 19:24 |
CIA-23 | both Minisec and MTSec. | 19:24 |
CIA-23 | llnz tpserver-cpp-rfts * r154131f01dc1 /tpserver/ (playerview.cpp playerview.h): | 19:24 |
CIA-23 | Added individual objects to visibleobjects set. | 19:24 |
CIA-23 | As requested by xdotx. | 19:24 |
CIA-23 | fr33.em4il tpserver-cpp-rfts * r7a8c1195a6c9 / (4 files in 3 dirs): | 19:24 |
CIA-23 | Merge with git://git.thousandparsec.net/git/tpserver-cpp.git | 19:24 |
CIA-23 | updating | 19:24 |
CIA-23 | fr33.em4il tpserver-cpp-rfts * ra0edb8679ce2 /modules/games/rfts/buildfleet.cpp: Using addVisibleObject on new fleet | 19:24 |
CIA-23 | fr33.em4il tpserver-cpp-rfts * r6d9340ad3705 /modules/games/rfts/rftsturn.cpp: fixing potential bug with order iteration | 19:24 |
CIA-23 | fr33.em4il tpserver-cpp-rfts * r8f0b0b0299c6 /modules/games/rfts/ (move.cpp move.h planet.cpp rfts.cpp rftsturn.cpp): | 19:24 |
CIA-23 | bug fix in move order. fleet now moves to correct location at correct time, | 19:24 |
CIA-23 | just doesn't show up in the list | 19:24 |
*** xdotx is now known as xdotx_bbs | 19:25 | |
*** niphree has quit IRC | 19:35 | |
*** Epyon has quit IRC | 19:41 | |
*** nash has joined #tp | 20:01 | |
nash | DystopicFro_: You aroung? | 20:16 |
*** xdotx_bbs is now known as xdotx | 21:00 | |
DystopicFro_ | nash: ping | 21:59 |
DystopicFro_ | just got in | 21:59 |
*** DystopicFro_ is now known as DystopicFro | 21:59 | |
nash | Hey Fro | 22:00 |
DystopicFro | ahoy nash | 22:00 |
nash | Sorry I haven't been around much recently - moving... no internet at home.. off work while moving | 22:00 |
nash | With settlement delayed we didn't have much time to do stuff | 22:00 |
DystopicFro | no worries, life comes first, eh? | 22:00 |
DystopicFro | hope all of that is working out well for you | 22:00 |
DystopicFro | mithro has been quite forthcoming with commentary on the tpcl expression editor | 22:01 |
nash | Yep... so you happy with things as they progress... got that final date coming soon | 22:02 |
* nash has to admit he hasn't had time to go through the final steps needed | 22:02 | |
DystopicFro | I'm quite happy with the way the expression editor turned out, the UI is just about finalized, I think | 22:02 |
DystopicFro | but then, I may just rearrange things to better suit mithro's tastes | 22:03 |
DystopicFro | but yes, things go nicely. I've got this last week to work freely on the project and I plan on pulling everything together | 22:03 |
DystopicFro | might be a little tight, but there will definitely be a fully functional product at the end | 22:03 |
nash | Excellent | 22:03 |
nash | ALso good | 22:03 |
DystopicFro | nash: if you do get a chance, and could sneak a peak at the TPCL Expression Editor for a quick thumbs up or thumbs down that would be cool - I'm just about ready to integrate it into the RDE | 22:07 |
nash | DystopicFro: I shall have a look either today or tomorrow - so at most 36 hours | 22:10 |
nash | That's no problem - I want to have an extended play actually | 22:11 |
DystopicFro | nash: cool, that's exactly what I need >.< | 22:11 |
nash | :-) | 22:12 |
*** guitsaru has quit IRC | 22:12 | |
CIA-23 | frodough tpruledev * rbb2fca8a6992 /src/TpclEditor.py: | 22:21 |
CIA-23 | Removed carriage return | 22:21 |
CIA-23 | So now hopefully the shebang line won't be fubar. | 22:21 |
nash | heh | 22:27 |
*** guitsaru has joined #tp | 23:10 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!