Sunday, 2009-07-05

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** alanp_ has joined #tp00:03
*** alanp has quit IRC00:11
*** mithro has quit IRC00:40
*** mithro has joined #tp01:48
cherezWhew, that was an icky bug.02:10
*** mithro has quit IRC02:13
*** mithro has joined #tp02:26
*** alanp_ has quit IRC02:45
*** ezod has quit IRC02:47
*** llnz has joined #tp03:19
llnzhi all03:20
*** alanp_ has joined #tp03:30
*** greenlion has joined #tp03:50
*** mithro has quit IRC04:40
*** reac has joined #tp04:54
*** verhoevenv has joined #tp05:50
*** mithro has joined #tp05:58
*** ezod has joined #tp06:09
*** verhoevenv has quit IRC06:40
*** verhoevenv has joined #tp06:40
* llnz wanders off07:31
llnzlater all07:31
*** llnz has quit IRC07:31
*** bejayay has joined #tp07:42
*** greenlion has quit IRC08:00
*** greenlion has joined #tp08:03
*** greenlion has quit IRC08:38
*** bejayay has quit IRC09:06
*** jmtan has joined #tp09:17
*** gau_veld1 has left #tp09:17
*** greenlion has joined #tp09:23
*** greenlion has quit IRC09:27
*** reac has quit IRC09:27
*** gau_veldt has joined #tp09:36
*** gau_veldt has quit IRC09:52
*** gau_veldt has joined #tp09:53
*** verhoevenv has quit IRC10:28
*** epyon has joined #tp11:25
epyonwtf is ObjectView isGone?12:00
*** gau_veldt has quit IRC12:24
*** gau_veldt has joined #tp12:24
*** gau_veldt has left #tp12:25
*** gau_veldt has joined #tp12:25
CIA-22epyon tpserver-cpp-refactor * rc5c6c9f5467a /tpserver/ (4 files): PlayerView EntityInfo addActable stub, ComponentView alternative constructor12:40
CIA-22epyon tpserver-cpp-refactor * re3e992fafc83 /tpserver/playerview.cpp:12:40
CIA-22More duplicate code removal12:40
CIA-22* if someone can explaim me the reason for the existace of isGone, itd12:40
CIA-22be gladly appriciated...12:40
*** alanp_ has quit IRC12:42
*** jmtan has quit IRC12:42
*** alanp_ has joined #tp12:44
*** alanp_ is now known as alanp12:48
epyonwhy isn't mysql lock and unlock implemented?13:18
*** Greywhind has joined #tp13:20
CIA-22epyon tpserver-cpp-refactor * r58cfdd24b774 /tpserver/playerview.h: TODO added14:26
CIA-22epyon tpserver-cpp-refactor * r7bc1b301b2e7 / (3 files in 2 dirs):14:26
CIA-22Preparation for MysqlPersistence refactoring14:26
CIA-22* created MysqlException14:26
CIA-22* created helper functions14:26
CIA-22* modified sets to IdSets14:26
CIA-22* added a IdSet to query string converter14:26
CIA-22epyon tpserver-cpp-refactor * ra68738195a14 /modules/persistence/mysql/mysqlpersistence.cpp: New exception handling test14:33
Landonmithro: belated pingaling14:55
CIA-22epyon tpserver-cpp-refactor * r620db5098c50 /modules/persistence/mysql/ (mysqlpersistence.cpp mysqlpersistence.h):15:03
CIA-22MysqlQuery class15:03
CIA-22* later probably should be moved to a separate file15:03
CIA-22* allows single or multirow fetching15:03
CIA-22* lock and error safe15:03
*** tuna-fish has joined #tp15:39
*** llnz has joined #tp16:16
epyonllnz: how can I compile the mysql module?16:29
llnzhi epyon16:29
epyonhi :)16:29
llnzyou will need the development libraries of mysql (client library) installed16:30
llnzconfigure should pick it up automatically and build it16:30
llnzit being the tpmysql module16:30
alanpllnz: how do we determine how many production points a planet has?17:04
llnzalanp: any way the ruleset wants17:05
alanpwhen does the build order get used in minisec?17:07
llnzit gets one per turn (for a given planet)17:10
llnzin minisec17:10
alanpah17:11
alanpshould i be doing the same?17:11
* alanp guessing no17:11
llnzprobably now17:16
llnzs/now/not/17:16
alanphrm17:21
alanpllnz: did we set all property values to 0 now?17:23
llnzno, sorry17:23
llnzi will look at it tonight17:24
* llnz writes himself a note17:24
alanpok, np17:24
alanpso basically i added a production points resource17:27
alanpand will use that throughout my orders17:27
alanpsound about right?17:27
alanpi'm going to move the star systems to XML as well but that's not really high priority17:28
*** Greywhind_ has joined #tp17:31
*** Greywhind has quit IRC17:32
llnzalanp: for planets and build orders, yes17:33
alanpwhere has xml been all my life :-)17:33
llnzthough i don't know if you want production points accumulating as resources would17:34
alanpwhen do the resources accumulate?17:34
alanpi don't think i noticed that17:34
llnzwell... i depends how you use them17:35
alanpwhat do you mean?17:35
*** Greywhind_ is now known as Greywhind17:35
llnzif you give a planet a certain amount of production point resources each turn by adding them to the resources param, and the planet doesn't use them, then they will accumulate17:36
alanpyou have to use all of them every turn17:36
llnzthey may not need to be explicit resources17:36
alanphow else could they be implemented?17:36
llnza number of ways17:37
alanpis there a recommended way?17:38
llnzin minisec, only the first order is processed (as order queue susgests) and all the (one) points are either used or not17:39
llnzno, not recommended ways yet17:39
llnzthere are no recommended ways yet17:39
alanphehe17:39
alanpcrap, i did it as a resource17:39
llnzresource could work17:40
alanpbut if the planet doesn't use all of them in a turn, they will gain points?17:44
llnzwell, during the doOnceATurn phase, you could remove all the points17:44
llnzor set it to the number of the next turn17:45
alanpwhere are the resources modified elsewhere?17:46
alanpaye i was looking in the wrong place17:46
llnznot unless you let them be17:46
* alanp d'oh17:46
alanpif a planet has a "Build Fleet" allowed in it's ortder types, why can't i ever see it?17:48
alanperrr17:54
* alanp answers many of his own questions17:55
llnzbbs, meeting17:55
*** Greywhind has quit IRC18:33
llnzback18:43
*** alanp has quit IRC18:44
*** alanp has joined #tp18:52
CIA-22epyon tpserver-cpp-refactor * r9d919fc6aeae /modules/persistence/mysql/ (mysqlpersistence.cpp mysqlpersistence.h): MysqlQuery in action and corrected18:52
llnzepyon: did you get tpmysql to build?19:08
alanpwhat enables the player to create orders for a planet?19:20
* alanp completely missing it19:20
alanpIE in rfts I can create an order on my planet19:20
alanpIE Build Fleet order19:20
alanplooking through the code it looks like the player's planet is created the same19:21
llnzrfts is special, it changes what orders are available each turn19:28
alanpright, but i still need to be able to create orders on planets19:34
llnzok, there are a few conditions19:43
llnzthe player must own the orderqueue (and to see the order queue, own the planet)19:43
llnzthe order type must be in the allowed orders for the order queue19:43
mithroalanp: the answer to these questions are in the mtsec rules19:44
alanpmithro: which?19:45
mithrohow many production points are created/used19:45
alanpstart at 0?19:46
alanpincrement by capability until you hit 100?19:46
alanper19:48
alanpi guess start at 0, increase production capability by one for a maximum of 10019:48
alanpand each turn set points = cap19:48
alanpwell i guess that makes my once a turn easier19:49
mithroFor each turn you control a planet it gains one point of production capability, each planet can have a maximum of 100 points of production capability. Each turn a planet will produce productions points equal to it's production capability.19:50
alanpright19:50
alanpdoes it "Start" with any? It's not really clear19:50
mithroso you could make production capability a resource which is called factories19:50
alanpok, similar to what i've done19:51
alanpso i don't need a second resource for "points", right?19:51
mithroAll production points must be used every turn.19:51
mithroso there is no accumulation of production points19:52
alanpnod19:52
mithrohence you don't really need a resource for it19:52
alanp"Factories" was a lot better than "Production Points" :-)19:52
alanpmithro: no arguments with having an order queue for your home planet?19:55
alanpI don't think you can really progress without it19:55
mithrobe back in 2019:57
alanpunless the first ship has a colonisation module19:57
*** Greywhind has joined #tp19:57
alanpbecause the way it was now the owner was set to 0 for the Queue of the player's home planet19:57
*** mithro has quit IRC20:15
tansellalanp, I would suggest that the first planet a person has is fully decked out20:20
alanpyeah, i bumped the resources for the home planet a bit :-)20:21
alanpfigting with build fleet order right now20:21
alanp2009-07-05 20:21:49 < Debug > Got single orders, returning one object20:21
alanpSegmentation fault20:22
alanpdying like that :-(20:22
* alanp tracking down20:23
alanp  std::map<uint32_t, std::pair<uint32_t, uint32_t> > presources = static_cast<Planet*>(planet->getObjectBehaviour())->getResources();20:27
alanpdoesn't like20:27
tansellepyon, poke?20:29
tansellalanp, well your not checking that planet->getObjectBehaviour() returns a non-null pointer?20:36
alanpseg faulting elsewhere now20:36
epyonmore or less here20:37
*** mithro has joined #tp20:42
tansellepyon, thoughts on std::map<uint32_t, std::pair<uint32_t, uint32_t> > presources = static_cast<Planet*>(planet->getObjectBehaviour())->getResources();20:45
epyonwill die.20:45
CIA-22joelboh tpclient-pyweb * ra2ff884d5cb8 / (3 files in 3 dirs): Frontend: Go through messages with next and prev buttons.20:45
epyonMy suggestion is go with what works, I'll refactor it later.20:46
epyonjust add a // TODO: mark20:46
llnzhumm...20:47
tansellllnz, humm?20:51
llnzjust looking back over the discussion20:52
tansellstatic_casts are unsafe right?20:52
tansellit's been a long time since I did C++20:52
llnzthey are ok, if you know it's correct20:53
llnzbetter to dynamic_cast and check the return value20:53
alanpsome weird incosistency in the client between rfts and mtsec21:02
alanpwait21:02
alanpno, i just broke it21:03
alanpit's like the frame it gets is different21:09
CIA-22joelboh tpclient-pyweb * ra436aaa5b865 /frontend/ (index.html scripts/map.js): Frontend: Fixed a bug with components adding a scroll to the main window.21:15
Greywhindtansell: ping?21:16
tansellGreywhind, pong21:16
Greywhindtansell: hey - question about the designs window21:16
Greywhindit's using cache dirty events to add/remove/change designs21:17
tansellGreywhind, yeah?21:17
Greywhindbut they are for DesignsTree, which the cache doesn't seem to understand21:17
Greywhindso it causes errors21:17
Greywhindexample21:18
Greywhindself.application.Post(self.application.cache.CacheDirtyEvent("DesignsTree", "remove", design.id, design), source=self)21:18
tansellGreywhind, you have an old version21:18
alanpReplace with "designs", there was a patch for this21:18
Greywhindtansell: oh... right. i have to update21:18
tansellGreywhind, which means you have not merged the recent changes I submitted21:18
Greywhindtansell: i didn't realize you fixed that :P21:19
Greywhindi'll do that now21:19
alanp   Game* game = Game::getGame();21:20
alanp   IGObject *selectedObj = game->getObjectManager()->getObject(21:20
alanp      game->getOrderManager()->getOrderQueue(orderqueueid)->getObjectId());21:20
alanp   Planet* planetData = dynamic_cast<Planet*>(selectedObj->getObjectBehaviour());21:20
alanpfailing for me :-(21:20
Greywhindtansell: hmm... how do i merge with submodules again?21:24
Greywhind[Greywhind@localhost tpclient-pywx]$ git merge origin/stable21:24
Greywhindfatal: cannot read object dbda575604d4192ef11826a11ccf18a22c92d718 'libtpclient-py': It is a submodule!21:24
tansellGreywhind, you need to merge the libtpclient-py first21:24
Greywhindtansell: still said it couldn't read it - should i just ignore that?21:27
tansellGreywhind, so you have merged libtpclient-py?21:27
Greywhindtansell: yes21:27
Greywhindalthough i didn't commit it in tpclient-pywx21:27
llnzalanp: failing how?21:28
tansellGreywhind, so you should be able to do a "git-cat-file -p dbda575604d4192ef11826a11ccf18a22c92d718"21:29
alanpllnz: creating segfault.  It looks like if I do the same thing in rfts the frame is different...21:29
tansellGreywhind, in the libtpclient-py directory21:29
alanpit's confusing the hell out of me21:29
llnzalanp: have you set up the orderqueue correctly?21:30
Greywhindtansell: that's not a command21:30
tansellGreywhind, what do you mean?21:30
alanpllnz: i believe so...21:30
llnzdoes it actually exist, has the objectid been set, etc21:30
Greywhindtansell: bash: git-cat-file: command not found21:30
alanplet me verify everything21:30
tanselltansell@tansell:~/superprobe/review$ dpkg --listfiles git-core  | grep git-cat-file21:31
tansell/usr/bin/git-cat-file21:31
alanphrm21:31
Greywhindtansell: i don't have dpkg either :P21:32
alanpllnz: =D21:32
* alanp forgot something obvious21:32
tansellGreywhind, well I don't know about fedora21:32
Greywhindtansell: oh, found it21:32
Greywhind[Greywhind@localhost libtpclient-py]$ locate git-cat-file21:32
Greywhind/usr/libexec/git-core/git-cat-file21:32
Greywhindyes, the git-cat-file works21:33
tansellGreywhind, so is that the complete error message?21:33
Greywhind[Greywhind@localhost tpclient-pywx]$ git merge origin/stable21:33
Greywhindfatal: cannot read object dbda575604d4192ef11826a11ccf18a22c92d718 'libtpclient-py': It is a submodule!21:33
Greywhindthat's all21:33
Greywhindhappened even after i committed the change21:34
tansellI would recommend asking in #git21:34
Greywhindit does seem to modify winDesign21:34
Greywhindjust doesn't finish committing it21:34
Greywhindtansell: maybe it's because i have a commit in libtpclient that i haven't pushed?21:35
tansellI would recommend asking in #git21:37
Greywhindk21:37
Greywhindonline, i found this solution:21:39
Greywhind[Greywhind@localhost tpclient-pywx]$ git merge -s resolve origin/stable21:39
GreywhindTrying really trivial in-index merge...21:39
Greywhinderror: Merge requires file-level merging21:39
GreywhindNope.21:39
GreywhindTrying simple merge.21:39
GreywhindSimple merge failed, trying Automatic merge.21:40
GreywhindERROR: libtpclient-py: Not merging conflicting submodule changes.21:40
GreywhindAuto-merging requirements.py21:40
Greywhindfatal: merge program failed21:40
GreywhindAutomatic merge failed; fix conflicts and then commit the result.21:40
* alanp can't believe that took so long to figure out21:40
Greywhindthat seems to work as long as the submodule is already merged, even though it complains at me21:40
tansellwell, you obviously need to make sure the submodule is pointing to the right commit21:41
Greywhindtansell: right21:41
Greywhindbut it didn't actually change the submodule in any way21:42
Greywhindwhen i did a git add libtpclient-py, it disappeared rather than being added to the list of changes to commit21:42
Greywhindso it must be exactly the same as it was21:42
alanptansell: rand number between 1-15 for starting factories sound feasible?21:43
tansellalanp, not at all21:43
tansellGreywhind, so then you are doing something wrong21:44
epyonDONE IT!21:44
tansellGreywhind, because the libtpclient-py commit must have changed21:44
Greywhindtansell: no, because i'd already committed the merged libtpclient-py21:44
tansell(as you merged it)21:44
Greywhindso it should remain the same21:44
tansellGreywhind, no21:44
epyoncan someone give me the size and linecount of modules/persistence/mysql/mysqlpersistence.cpp?21:44
tansellGreywhind, the merge commit ID is different from both parents21:45
Greywhind[Greywhind@localhost libtpclient-py]$ git merge origin/stable21:45
GreywhindAlready up-to-date.21:45
Greywhindit's merged.21:45
Greywhind[Greywhind@localhost tpclient-pywx]$ git merge origin/stable21:45
GreywhindAlready up-to-date.21:45
Greywhindand that's merged21:45
tansellGreywhind, what does git status show?21:45
epyonalanp, could you>21:45
epyon?21:45
llnzi will epyon21:46
llnzjust a second21:46
Greywhind[Greywhind@localhost tpclient-pywx]$ git status21:46
Greywhind# On branch tp0421:46
Greywhind# Your branch is ahead of 'origin/tp04' by 20 commits.21:46
Greywhind#21:46
Greywhindnothing to commit (working directory clean)21:46
llnzepyon: 4160 lines21:46
tansell20 commits!?21:46
alanp-rw-r--r-- 1 alanp alanp 176761 2009-06-29 22:24 modules/persistence/mysql/mysqlpersistence.cpp21:46
Greywhindtansell: i have some un-pushed stuff21:46
Greywhindi'll push it by the end of the night21:46
Greywhindso it's all in for the midterm21:46
epyondown to 2352 lines and 100kb :>21:46
alanpnice21:46
epyoncoulb be even less, but I'll do that after compilation checking.21:47
CIA-22epyon tpserver-cpp-refactor * ra1dca1fef42c / (4 files in 2 dirs): MysqlPersistence is now 50% less fat! (don't compile yet)21:48
tansellepyon, if your dead you don't really worry about your weight :P21:48
epyonMysqlPersistence was like the cardinal example of copy-paste code O.o21:49
epyonYeah, but I'll make it work ;)21:49
llnzit was a temporary solution.. that just works21:49
llnzepyon: there is a ticket in our google code project for the it (playerview in particular, iirc)21:50
epyonAlthough I'd ask for permission to redesign the database.21:51
llnzepyon: i think the database is basically as good as it gets (allowing for some future functionality)21:52
Greywhindtansell: hmm... there seem to be some issues inside cache.py that i had run across before as well when i tried to change the design events myself21:52
epyonllnz: changing the name of all the xyzid to id would allow better genericness of the queries21:53
Greywhindif i run, unmodified, the newest code, on trying to save the changes to "New Design" i get the following:21:53
llnzyes, but makes it harder to understand the relationships between the different tables21:53
GreywhindTraceback (most recent call last):21:53
Greywhind  File "./windows/main/winDesign.py", line 391, in OnSave21:53
Greywhind    self.application.Post(self.application.cache.CacheDirtyEvent("designs", "create", -1, design), source=self)21:53
epyonalso there are a lot of suggestions related to architecture changes21:53
Greywhind  File "libtpclient-py/tp/client/cache.py", line 94, in __init__21:53
Greywhind    for node in self.nodes:21:53
epyonalso it'd be soo more readable to use underscores in names ... -_-21:54
Greywhindtansell: now, that code seems wrong to me, since it's not a guarantee that the event will have a .nodes there21:54
alanpGreywhind: i think that was fixed as well21:54
tansellGreywhind, so you didn't merge correctly21:54
Greywhindtansell: :-/21:54
tansellGreywhind, as that was what was fixed in libtpclient-py21:54
Greywhindtansell: oh... i think i know what happened21:55
Greywhindtansell: i probably didn't pull libtpclient separately, assuming it would be updated when i pulled the parent moduel21:55
Greywhind*module21:55
Greywhindtansell: ok, fixed that21:58
Greywhindtansell: on to the next problem - please don't tell me this one's already fixed too :P21:58
GreywhindTraceback (most recent call last):21:58
Greywhind  File "libtpclient-py/tp/client/threads.py", line 483, in OnCacheDirty21:58
Greywhind    self.application.Post(apply(self.connection, evt, self.application.cache))21:58
Greywhind  File "libtpclient-py/tp/client/cache.py", line 827, in apply21:58
Greywhind    raise IOError("Unable to add the design...")21:58
GreywhindIOError: Unable to add the design...21:58
tansellGreywhind, likely - it's a -1 error right?21:58
tansellI can successfully save a new design here21:59
GreywhindTypeError: 3 argument was the cause ('2sBBIII' 'TP', 4, 0, -1, 48, 159)22:00
GreywhindArgument must be positive (to pack to I) not -122:00
GreywhindOnNetworkFailure libtpclient-py/tp/client/threads.py:38: DeprecationWarning: BaseException.message has been deprecated as of Python 2.622:00
Greywhind  return unicode(self.message)22:00
Greywhind3 argument was the cause ('2sBBIII' 'TP', 4, 0, -1, 48, 159)22:00
GreywhindArgument must be positive (to pack to I) not -122:00
Greywhindyeah, seems so22:00
tansellGreywhind, yeah - you need to update libtproto-py22:00
Greywhindtansell: oh22:00
tansellwhich means that your merge didn't work22:00
Greywhindtansell: uh... libtpproto-py says it's up to date22:01
Greywhindtansell: even after a git pull22:01
tansellGreywhind, oh osrry22:02
tansellthe change is in ./windows/main/winDesign.py22:02
Greywhindtansell: git claims i'm up to date with origin/stable22:03
tansellGreywhind, 48412c3ab5a3b9006dd4a8518e80cc946a34d21822:03
Greywhind[Greywhind@localhost tpclient-pywx]$ /usr/libexec/git-core/git-cat-file  -p 48412c3ab5a3b9006dd4a8518e80cc946a34d21822:04
Greywhindtree 6063a327fcedc27fecde30056853aec74468b54922:04
Greywhindparent 1d7e9c6c1a0d3e8674dc7e99f6652204af8bb9cd22:04
Greywhindauthor Tim Ansell <[email protected]> 1246503528 +100022:04
Greywhindcommitter Tim Ansell <[email protected]> 1246503528 +100022:04
GreywhindDesign modification time must be positive.22:04
Greywhindit's in my git log22:05
tansellGreywhind, so you must not have merged it correctly22:05
Greywhindtansell: huh. strange.22:06
Greywhindtansell: how  can i fix it?22:06
tansellGreywhind, look at the diff got that commit22:07
Greywhindi did a git diff origin/stable22:07
Greywhindand it gave me quite a large diff22:07
tansellthat is not what you want to do22:07
tansellfire up gitk22:07
Greywhindtansell: k22:07
tansellwith a --all22:07
tansellthen you can browse individual commits22:07
tanselland see what happened with your merge22:07
tanselllunch now22:08
tansellbblr22:08
alanptansell: i'm going to get rid of the ship parts resource, i don't think it is needed22:11
llnzalanp: how are you going to handle partly built ships?22:18
alanpshould that be handled as "ship parts"?22:20
alanp  uint32_t usedshipres = resources[1];22:23
alanp  if(usedshipres == 0)22:23
alanp    return true;22:23
alanpresources[1] is "ship parts"22:24
alanpso it looks for ship parts to create a ship, no?22:24
CIA-22epyon tpserver-cpp-refactor * r119b47d15d85 /tpserver/ (frame.cpp frame.h player.cpp player.h playeragent.cpp): Frame.unpackMap added, used in playeragent22:56
CIA-22epyon tpserver-cpp-refactor * r04bdaf64be3c /tpserver/ (36 files): Basic Typedefs everywhere + Frame pack/unpack support22:56
*** jmtan has joined #tp22:59
* Landon is back23:07
Landontansell: did you see the recording?23:07
alanptansell: any comments on this ship parts resource?23:12
Greywhindthink he's still at lunch23:13
CIA-22epyon tpserver-cpp-refactor * rc55faca2533e /tpserver/ (6 files): IdStringMap typedef and frame pack support23:13
alanpah23:13
CIA-22alanp tpserver-cpp * re08a8d65a7f0 /modules/games/mtsec/ (build.cpp mtsec.cpp planet.cpp):23:23
CIA-22- Fixed some problems with Building a Fleet, still some more to go over but it works in simple cases now23:23
CIA-22- Added the resource for Factories23:23
alanpcrap23:23
CIA-22alanp tpserver-cpp * r79ad838523f2 /modules/games/mtsec/ (build.cpp mtsec.cpp planet.cpp):23:25
CIA-22Revert "- Fixed some problems with Building a Fleet, still some more to go over but it works in simple cases now"23:25
CIA-22This reverts commit e08a8d65a7f044da3ce189958e2b43fbb2ea261a.23:25
CIA-22alanp tpserver-cpp-mtsec * r060fe18a2b12 /modules/games/mtsec/ (build.cpp mtsec.cpp planet.cpp):23:30
CIA-22- Fixed some problems with Building a Fleet, still some more to go over but it works in simple cases now23:30
CIA-22- Added the resource for Factories23:30
CIA-22- Added Factory resource to different star systems, home planet gets largest distribution of Production Points to make the game flow at the beginning.23:30
alanpnow for some meat23:36
CIA-22Greywhind libtpclient-py-tp04 * rdbda575604d4 /tp/client/cache.py: Cleaned up _getOrders() in cache.23:44
CIA-22Greywhind libtpproto-py-tp04 * red6b4bc43672 /tp/netlib/client.py: Fixed small protocol update in client.py, where orders no longer return ok or fail, but instead return the queue.23:46
tansellLandon, you still about?23:46
Greywhindtansell: hey - i'm still working on trying to do this merge... been talking with someone from #git23:46
CIA-22epyon tpserver-cpp-refactor * r971fc0900d2f /tpserver/ (Makefile.am manager.h): Adding Manager template23:47
CIA-22epyon tpserver-cpp-refactor * r5ec518009bf2 /tpserver/ (manager.h playermanager.cpp playermanager.h): PlayerManager now a Manager23:47
Greywhindtansell: maybe... i could try pushing all my local changes, then you could try to merge into tp04 after updating?23:49
tansellalanp, poke?23:50
Landontansell: yes23:52
tansellalanp, so I think that getting rid of ship parts is probably a good idea, they where a neat hack for minisec but don't quite work well with the production system23:52
tansellLandon, so I watched your movie23:52
tansellGreywhind, so might I suggest pushing to your home directory or something?23:53
Greywhindtansell: ?23:53
tansellGreywhind, you can push the git repository to your home directory (rather then /git/xxxx.git) and I can then look at it23:54
tansellGreywhind, or anywhere that is public accessible (say github)23:54
Greywhindtansell: how would i do that?23:54
tansellGreywhind, what happens if you ssh to git.thousandparsec.net?23:55
Greywhind[Greywhind@localhost tpclient-pywx]$ ssh git.thousandparsec.net23:55
Greywhindreverse mapping checking getaddrinfo for 227-14-251-64.serverpronto.com [64.251.14.227] failed - POSSIBLE BREAK-IN ATTEMPT!23:55
GreywhindPermission denied (publickey,gssapi-keyex,gssapi-with-mic).23:55
tansellGreywhind, so you are doing something wrong there23:55
tansellGreywhind, as you wouldn't be able to push if that was the case23:56
Greywhindtansell: oh. need nathan@23:56
Greywhindthat works23:56
tansellwhat happens?23:56
Greywhind[Greywhind@localhost tpclient-pywx]$ ssh [email protected]23:56
Greywhindreverse mapping checking getaddrinfo for 227-14-251-64.serverpronto.com [64.251.14.227] failed - POSSIBLE BREAK-IN ATTEMPT!23:56
GreywhindLast login: Wed Sep 26 22:30:13 2007 from ip68-106-63-237.ph.ph.cox.net23:56
Greywhindnathan@verbal:~$23:56
tansellokay23:57
tansellcd into the public_html directory23:57
tansellcreate a new directory23:57
tansellthen do a git init23:57
alanptansell: ok23:58
alanpi thought so too23:58
Greywhindtansell: done23:58
tansellthen you can push to git+ssh://git.thousandparsec.net/~nathan/public_html/newdirectory23:58
tansellalanp, llnz probably disagrees with me :)23:58
alanphehe23:58
llnzwell... whatever works23:58
alanpfor what reason?23:58
Greywhindtansell: just do: git push git+ssh://git.thousandparsec.net/~nathan/public_html/tp04testing23:59
Greywhindthat right?23:59
llnzand works correctly, both with and without persistence23:59
tansellGreywhind, yeah - it might complain there are no common ref heads23:59
tansellllnz, I don't know enough about tpserver-cpp, but each order would need to store a float which describes how much of that order is completed23:59

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