Monday, 2007-08-13

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
nashmithro: So did you fix any galaxie bugs00:05
mithronash: no, I just wrote tpviewer-pygame ;)00:05
nashmithro: Why keep reinventing wheels?00:06
mithromuch easier then trying to debug all that icky C code00:06
nashTake something forward, don't keep going back to square one00:06
mithrowell, I did take write a client from scratch like some people, I used libtpclient-py00:07
mithros/did take/didn't/00:07
mithrowhich makes libtpclient-py better for tpclient-pywx and tpsai-py too00:09
nashmithro: Anyway - what are your last crashes with galaxie?  Did my fixes improve any of them for you?00:14
* mithro ponders00:18
mithroI'll check00:18
mithrohopefully if all goes well tpviewer-pygame will become the starmap for tpclient-pywx00:20
*** guitsaru has quit IRC00:25
mithronash: a key to turn of the names display would be useful00:52
nashmithro: It's on teh list... feature not a bug however ;-)00:52
mithrojust getting tpsai-py and galaxie to battle atm00:53
nashYou resolved the version info with your evas/ecore?00:58
mithroyeah00:59
mithroa couple of days ago new debs came through the pipeline00:59
mithrogalaxie hasn't segfaulted yet00:59
mithrodoes galaxie just keep building frigates when it has nothing else to do?01:00
mithronash: looks like the bugs I was seeing are fixed01:01
mithronash: still getting the "41x(null)" problem01:02
mithrowhere null seems to be a frigate01:02
mithros/frigate/battleship01:02
nashokayu cool01:03
nashfixed the main ones crashes01:03
nashmithro: And yes... it keeps building frigates01:03
nashpoke01:07
mithroa few bugs with things no disappearing when destoryed too01:20
mithrotpsai-py won that round01:24
nashCool01:26
nashNo crashes though - which is the important thing01:26
nashOther things will get fixed as I fix the programs structure01:26
mithroyeah01:27
mithronash: oh, over the weekend we have been trying to get daily debs being built01:35
mithroso we should have an easy way for people to quickly test the clients01:38
mithrogreywhind: ping?01:38
nashcool01:40
mithronash: we could probably do galaxie if you had a proper way to install it01:41
nashmithro: I'll add it to the todo...01:41
nashActually 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
nashmithro: make && make install ;-)01:50
mithrothat doesn't work to well for a deb01:58
mithroyou need to be able to give some type of "PREFIX"01:58
nashI'll do an install, and tweak02:02
*** nash has quit IRC03:17
*** xdotx is now known as xdotx_bbs03:23
CIA-23fr33.em4il tpserver-cpp-rfts * r0fa02aec9e28 /modules/games/rfts/ (rfts.cpp rfts.h): Star system + planet creation implemented03:24
mithroxdotx_bbs: yay!04:10
* mithro waits for niphree to turn up (hopefully)04:15
CIA-23niphree /tmp/18JLawKixM/qga9D2JpFB-rewrite * r6359385e1d6b / (class/GameConnect.php connect.php):04:43
CIA-23fixed errors in GameConnect class and server connecting tests04:43
CIA-23via git-CVS emulator04:43
*** niphree has joined #tp04:44
niphreehello04:44
mithroyay!04:45
mithroso niphree, how did it go?04:45
niphreeok - I connected, send CONNECT frame and I get response04:46
mithrocool04:47
mithro$gc->getMassage <- sp?04:47
mithros/lenght/length too04:48
mithroniphree: so do you get an "Okay" frame back?04:48
niphreeyes - but I have some problems with it: http://www.tarl.org/~niphree/parsec/connect.php04:49
mithroniphree: that looks about right - there might be a bug in Frame04:52
niphreeI'll make seperate class - put there all function like "create frame connect and send it" or "create login frame and send it"04:53
mithroniphree: yeah04:53
mithroniphree: you probably want to "bin2hex" the data you get back from the socket04:54
mithrothat will stop the strange output you are getting in the file04:57
mithroniphree: ahh I see the problem05:06
mithroyou still there?05:06
niphreeyes05:07
CIA-23mithro libtpproto-php * r4917b949da7e /Frame.php: Added support for the "Okay" Frame.05:08
mithroniphree: libtpproto-php didn't understand how to decode "Okay" frames! :P05:08
niphreeokey :P05:09
mithroniphree: that patch should add support05:09
mithroif you look at that patch you can see how to add new packet types to libtpproto-py05:09
mithrohttp://git.thousandparsec.net/gitweb/gitweb.cgi?p=libtpproto-php.git;a=commitdiff;h=4917b949da7e413b4065191a7be2ac8fe0840f6f05:10
tpb<http://ln-s.net/ouG> (at git.thousandparsec.net)05:10
mithrothe lines highlighted in green are the ones which I added05:10
mithroniphree: can you also make sure that "database.sql" is up to date?05:11
niphreeI always add changes in database there05:12
mithroniphree: so there is only 3 tables still?05:16
CIA-23mithro libtpproto-php * r596dd9663975 /Frame.php: Add error messages when unknown frame type.05:26
mithroniphree: so you want to do the following things05:26
mithro1. Connect to a server05:27
mithro2. Send connect frame05:27
mithro3. Wait for an "Okay"05:27
mithro4. Send a "get games" frame05:27
mithro5. Wait for the list back (Sequence followed by a bunch of Game frames)05:28
niphreeok05:28
niphreeabout 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
mithrothat should be enough to then check that the game being registered matches what the back-connect is telling you05:29
mithroyou will need to add "Get Games" frame to libtpproto-py05:30
mithroi'll be back in a couple of hours, you still going to be around then?05:31
mithroyou think you have enough to continue working?05:32
mithroniphree: ping?05:35
niphreeI should be here. I'll try to work with this, it should be enough05:35
mithrookay05:36
mithroif I don't see you again, I'll see you tommorrow at 10:30 am again05:36
mithroif you have any problems feel free to email me05:36
niphreeok05:36
*** llnz has joined #tp05:39
*** xdotx_bbs is now known as xdotx06:00
*** llnz2 has joined #tp06:06
*** llnz2_64 has joined #tp06:11
*** llnz has quit IRC06:12
*** llnz2_64 is now known as llnz06:12
mithrollnz: demo1/demo2 down06:17
llnzoh06:17
llnzscreen died?!?06:18
mithrodunno06:18
llnzboth are back06:20
mithroany idea why it died?06:22
mithrobecause the screen sessions where both there when I lasted looked06:22
llnzno idea06:26
llnzhummm...06:26
*** llnz2 has quit IRC06:27
jothamscreen randomly dies06:27
jothamit's a bitch like that06:27
jothamthat's why i get randomly ejected from here usually06:28
mithrollnz: it was probably a combat related bug06:36
mithroblr06:36
llnzmithro: maybe, but why both servers?06:37
CIA-23llnz tpserver-cpp * r154131f01dc1 /tpserver/ (playerview.cpp playerview.h):06:47
CIA-23Added individual objects to visibleobjects set.06:47
CIA-23As requested by xdotx.06:47
xdotxwoo06:48
llnz:-)06:48
llnzhi xdotx06:48
xdotxheya llnz06:48
CIA-23fr33.em4il tpserver-cpp-rfts * re703282b1c5f /modules/games/rfts/ (5 files):06:50
CIA-23Randomizing planetary resources.06:50
CIA-23Added social environment and population calculations in (untested06:50
CIA-23estimates).06:50
llnzi also commented on the other bug you filed as well06:52
xdotxllnz: 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
xdotxand i was unsure of how re-adding might effect things06:56
llnzxdotx: then you are returning the wrong value in Order::doOrder()06:56
llnzsee nop for example06:57
TBBlemithro: Pong?06:57
xdotxllnz: 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 first06:58
llnzxdotx: 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
xdotxllnz: 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 orders07:00
llnzxdotx: i would suggest using multiple queues then, but the clients can't currently handle that07:01
llnzthe way you are doing it is probably fine07:01
xdotxi suppose, i'll just have to add in some logic to reset my "iterator" when i remove from the queue07:04
llnzyeah, i guess so07:05
xdotxllnz: 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
llnzupdateFirstOrder updates the database with any changes to the order07:19
xdotxwould failure to do so perhaps result in getting another createFrame from it next turn?07:20
llnzit shouldn't affect anything when running without db07:21
* xdotx nods07:23
xdotxhmm. so.. what might be causing such a thing then?07:23
llnzmaybe not updating the object in any way?07:32
xdotxllnz: setting mod time?07:35
llnzyeah, most changes to the object will set the mod time anyway07:35
xdotxi definitely set mod time on the object07:36
llnzhumm...07:36
xdotxif you want to check it out, it's only happening on my move order.07:37
llnzoh...07:37
llnzcreateFrame is called everytime the player asks what the order is07:37
llnzie, used to see if their are any changes to the order07:38
llnz(think turn time)07:38
xdotxah.. so maybe, resetting turn time there isn't a good idea ~~07:38
llnzno, it's ok07:38
xdotx(not if the turn time doesn't change)07:39
llnzif the object changes, the order is re-downloaded07:39
* llnz wanders off07:53
llnzlater all07:53
*** llnz has quit IRC07:53
xdotxoh nuts07:53
*** xdotx has joined #tp08:00
*** Epyon has joined #tp08:10
*** guitsaru has joined #tp08:17
mithronuts?08:42
mithroniphree: ping?08:44
mithroTBBle: ping?08:44
TBBlePong.08:45
mithroTBBle: I have no idea why I was ponging you :P08:46
TBBleLOL. ^_^08:49
mithroI think it probably have something to do with packaging08:49
mithrogood to see it didn't take 2 months this time however :P08:53
TBBleHeh, yeah.09:43
mithroniphree: ping?11:53
*** Demitar has joined #tp12:04
mithrowell I'm off to bed12:53
*** DystopicFro has joined #tp13:10
*** guitsaru_ has joined #tp13:30
*** guitsaru_ is now known as guitsaru13:31
CIA-23frodough tpruledev * r2b2d016770d3 /src/ (4 files in 3 dirs):14:21
CIA-23Redid the internal representation of TpclExpressions14:21
CIA-23Moved data to the template. TpclExpression now handles the interpretation14:21
CIA-23of that data. Meh. Subclassed TpclExpression for ExpansionExpression14:21
CIA-23to help with the removal of insertion points that have been added to a14:21
CIA-23variable length expression14:21
CIA-23frodough tpruledev * r2069ac170ce0 /src/ (gui/TpclEditorDialog.py tpcl/Representation.py): Fixed insertion of Literals16:36
CIA-23frodough tpruledev * r60b6f54e7706 /src/gui/ (TextCtrl.py TpclEditorDialog.py): Require Ctrl key for insertion menu16:36
CIA-23frodough tpruledev * r6e45eeef89f0 /src/tpcl/ (Representation.py data/Import.py):16:36
CIA-23Added TpclBlockstore class16:36
CIA-23Currently facilitates the storage and retrieval of TpclBlocks and their16:36
CIA-23categories. Later to be expanded to also facilitate saving the blocks16:36
CIA-23and stuff of that nature.16:36
CIA-23frodough tpruledev * r2d8790f30987 /src/tpcl/data/Import.py: Fix tree load of blocks16:36
CIA-23frodough tpruledev * r06a6d129064e /src/ (gui/TpclEditorDialog.py tpcl/data/Import.py): Added QuickInsert menu option16:36
*** jotham is now known as pangvisor17:29
*** pangvisor is now known as jotham17:44
*** DystopicFro_ has joined #tp18:37
CIA-23llnz tpserver-cpp-rfts * rf24c82b85969 /modules/games/ (minisec/fleet.cpp mtsec/fleet.cpp):19:24
CIA-23Fleet now stops (velocity set to zero) when next order is not a move order.19:24
CIA-23Fixes velocity set but not moving bug. Fixed used doOnceATurn in Fleet, in19:24
CIA-23both Minisec and MTSec.19:24
CIA-23llnz tpserver-cpp-rfts * r154131f01dc1 /tpserver/ (playerview.cpp playerview.h):19:24
CIA-23Added individual objects to visibleobjects set.19:24
CIA-23As requested by xdotx.19:24
CIA-23fr33.em4il tpserver-cpp-rfts * r7a8c1195a6c9 / (4 files in 3 dirs):19:24
CIA-23Merge with git://git.thousandparsec.net/git/tpserver-cpp.git19:24
CIA-23updating19:24
CIA-23fr33.em4il tpserver-cpp-rfts * ra0edb8679ce2 /modules/games/rfts/buildfleet.cpp: Using addVisibleObject on new fleet19:24
CIA-23fr33.em4il tpserver-cpp-rfts * r6d9340ad3705 /modules/games/rfts/rftsturn.cpp: fixing potential bug with order iteration19:24
CIA-23fr33.em4il tpserver-cpp-rfts * r8f0b0b0299c6 /modules/games/rfts/ (move.cpp move.h planet.cpp rfts.cpp rftsturn.cpp):19:24
CIA-23bug fix in move order. fleet now moves to correct location at correct time,19:24
CIA-23just doesn't show up in the list19:24
*** xdotx is now known as xdotx_bbs19:25
*** niphree has quit IRC19:35
*** Epyon has quit IRC19:41
*** nash has joined #tp20:01
nashDystopicFro_: You aroung?20:16
*** xdotx_bbs is now known as xdotx21:00
DystopicFro_nash: ping21:59
DystopicFro_just got in21:59
*** DystopicFro_ is now known as DystopicFro21:59
nashHey Fro22:00
DystopicFroahoy nash22:00
nashSorry I haven't been around much recently - moving... no internet at home.. off work while moving22:00
nashWith settlement delayed we didn't have much time to do stuff22:00
DystopicFrono worries, life comes first, eh?22:00
DystopicFrohope all of that is working out well for you22:00
DystopicFromithro has been quite forthcoming with commentary on the tpcl expression editor22:01
nashYep... so you happy with things as they progress... got that final date coming soon22:02
* nash has to admit he hasn't had time to go through the final steps needed22:02
DystopicFroI'm quite happy with the way the expression editor turned out, the UI is just about finalized, I think22:02
DystopicFrobut then, I may just rearrange things to better suit mithro's tastes22:03
DystopicFrobut yes, things go nicely. I've got this last week to work freely on the project and I plan on pulling everything together22:03
DystopicFromight be a little tight, but there will definitely be a fully functional product at the end22:03
nashExcellent22:03
nashALso good22:03
DystopicFronash: 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 RDE22:07
nashDystopicFro: I shall have a look either today or tomorrow - so at most 36 hours22:10
nashThat's no problem - I want to have an extended play actually22:11
DystopicFronash: cool, that's exactly what I need >.<22:11
nash:-)22:12
*** guitsaru has quit IRC22:12
CIA-23frodough tpruledev * rbb2fca8a6992 /src/TpclEditor.py:22:21
CIA-23Removed carriage return22:21
CIA-23So now hopefully the shebang line won't be fubar.22:21
nashheh22:27
*** guitsaru has joined #tp23:10

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!