Saturday, 2010-04-17

*** tpb has joined #tp00:00
-wolfe.freenode.net- [freenode-info] channel trolls and no channel staff around to help? please check with freenode support: http://freenode.net/faq.shtml#gettinghelp00:00
*** ChanServ sets mode: +o tpb00:00
*** glew has joined #tp00:02
*** marcel_ has quit IRC00:11
*** jmtan has joined #tp01:36
*** fhoahf55593 has joined #tp01:43
*** fhoahf55593 has left #tp01:43
*** verhoevenv has quit IRC01:50
*** jnengland77 has joined #tp01:58
*** jmtan has quit IRC02:11
*** peres has joined #tp02:45
*** glew has quit IRC03:08
*** mithro has joined #tp03:52
*** Epyon has quit IRC04:14
*** jmtan has joined #tp04:24
alanphmmm04:28
mithro?04:30
alanpcan never seem to mesh schedules with null :)04:40
alanpweekend will probably be better04:40
*** peres has quit IRC05:07
*** jnengland77 has quit IRC06:10
mithro~seen null_00006:17
tpbmithro: null_000 was last seen in #tp 16 hours, 16 minutes, and 35 seconds ago: <null_000> http://pastebin.com/hrqtFgeK06:17
*** dejai has joined #tp06:36
*** dejai has left #tp06:36
*** Eugene_ has joined #tp07:06
*** jmtan has quit IRC07:07
*** isra17 has quit IRC07:26
*** Eugene_ has quit IRC07:36
*** Agon has joined #tp08:52
*** Agon is now known as marcel_08:52
*** KGusak has quit IRC10:09
*** Epyon has joined #tp11:49
*** jiaming has joined #tp12:41
*** jiaming has quit IRC13:00
*** null_000 has joined #tp13:03
null_000Hi all13:05
*** marcel_ has quit IRC13:18
*** Agon has joined #tp13:24
mithrohey null_00013:25
mithroalanp was looking for you13:25
mithronull_000: you got a moment to get your daneel-ai repository in order?13:26
null_000I saw it in the logs13:26
null_000Im on my mobile at the moment13:27
mithronull_000: ahh okay13:27
null_000Just tell me what to do and Ill do it as sone as i can13:28
null_000Bbl13:31
*** null_000 has quit IRC13:31
mithronull_000: just clone the daneel-ai repository13:33
mithrostart doing edits, then do your commit13:33
mithroand push to github13:33
*** null_000 has joined #tp13:47
null_000I'm back13:47
null_000(this time on a regular computer)13:47
null_000alanp: ping13:48
null_000mithro: ping13:48
mithronull_000: pong13:48
null_000^_^13:48
null_000so what should I do with my git repository13:48
mithroalanp: is probably asleep now13:48
mithronull_000: you start with a clone of the normal daneel-ai repository13:49
mithroyou then make your changes13:49
mithroand do a commit13:50
mithrothen push to github13:50
null_000how do I change the remote repository?13:50
mithroyou can edit the .git/config13:51
mithroor just type13:51
mithrogit push [email protected]:mithro/twfy.git13:52
mithroopps13:53
mithrowell you get the idea :)13:53
null_000I'll try it now13:54
mithroyou might need to force it13:54
mithroas it'll complain about it not being an ancestor13:55
null_000fatal: remote error:13:57
null_000  You can't push to git://github.com/Null000/daneel-ai.git13:57
null_000  Use [email protected]:Null000/daneel-ai.git13:57
null_000wait... this might be read only13:57
null_000hooray!14:00
mithrolet me look now14:00
null_000please tell me if it's ok now14:06
mithrolooking good14:07
null_000^_^14:07
null_000I've written a wiki page to track my progress (without diving into my code)14:08
mithroyes I saw14:09
mithro(I watch the wiki change log :)14:09
null_000oh ^_^14:10
mithronull_000: it's a good idea to have lots of small commits14:12
mithrorather then a few large ones14:12
null_000I'll probably commit daily or even more often14:12
mithroand make sure your commit messages are useful to the person reading :)14:12
mithronull_000: one change per commit is a good idea14:12
mithrowhy did you change this?14:13
mithro-        return -114:13
mithro+        return - 114:13
*** peres has joined #tp14:13
null_000?14:14
mithroare you using an auto-formatting editor?14:14
null_000I'm using eclipse14:14
null_000(with pydev)14:14
mithroit's mangling the file14:15
mithrotake a look at your diff14:15
mithrowell, it's making changes you don't mean to make14:16
mithrowhen actively developing I often commit 4-5 times an hour14:17
null_000I'll turn off any auto-formatting that is on by default14:17
null_000I'll try to commit every time I finish a task (writing a new function or something similar)14:20
mithroI would recommend going back and rewriting the previous commit too14:23
null_000you mean the commit message?14:24
mithronull_000: split the commits into different parts14:28
mithroI see atleast 3 separate changes in that one commit14:30
null_000ok I'll split it14:30
null_000bbl14:40
*** verhoevenv has joined #tp15:14
mithronull_000: verhoevenv is the original developer of daneel-ai15:51
*** jiaming has joined #tp15:56
null_000verhoevenv: ping17:33
null_000email it is...17:35
alanpnull_000: are you still having any problems compiling?18:00
*** peres has quit IRC18:00
*** jmtan has joined #tp18:08
*** jiaming has quit IRC18:13
null_000yes I am18:17
null_000alanp: do you have any clue what's wrong?18:17
alanppastebin?18:17
null_000http://pastebin.com/i2EMw0DD18:18
tpbTitle: make[1]: Entering directory `/ - Anonymous - i2EMw0DD - Pastebin.com (at pastebin.com)18:18
null_000btw I'm running Ubuntu 9.10 64bit if that helps18:19
alanpyeah i htink i know what the issue is18:19
alanpone minute18:19
alanpyeah i have the same issue18:20
alanpone minute18:20
alanpdid you install tprl etc?18:22
null_000yes18:23
alanpok, because i didn't18:23
null_000LOL18:23
alanpline 2318:23
alanpadd #include <stdint.h>18:23
alanpin main.cpp18:23
alanpi can't seem to push to the repo18:23
alanpah i think i know why18:24
null_000http://pastebin.com/WvR9vFwy18:25
tpbTitle: null@NullMobileBox:~/3thousand - Anonymous - WvR9vFwy - Pastebin.com (at pastebin.com)18:25
alanphere's what you can do18:25
alanpfix all of those, and send me a patch :P18:25
alanpwhen you get the uint32_t error, you need to #include <stdint.h>18:25
alanpi'm going to update my build env right now18:26
alanphow did you get tprl to build? it has the same issues18:26
null_000I don't know... it just build ^_^18:27
alanphehe18:27
null_000had no errors there18:27
alanpah someone already fixed tprl18:28
alanpdid you get tpadmin built?18:28
alanp2010-03-22Lee BeggAdded stdint.h headercommit | commitdiff | tree | snapshot18:28
alanp:)18:28
null_000just a sec18:28
alanpalanp@station:~/tp/tpadmin-cpp$ grep -R uint32_t .18:33
alanp./tpadmin/session.cpp:void Session::receiveCommands(std::set<uint32_t> ids)18:33
alanp./tpadmin/session.cpp:    for(std::set<uint32_t>::iterator itcurr = ids.begin(); itcurr != ids.end(); ++itcurr){18:33
alanp./tpadmin/session.h:    void receiveCommands(std::set<uint32_t> ids);18:33
null_000there... it build now18:34
null_000(had to add it in a lot of places)18:34
null_000but now I get this error when I try to run it18:34
null_000tpadmin-cpp: error while loading shared libraries: libtprl.so.1: cannot open shared object file: No such file or directory18:34
alanpwhere else did you add it?18:47
*** jnengland77 has joined #tp18:56
*** jnengland77 has left #tp18:56
*** jmtan has quit IRC19:17
null_000alanp: sorry for disappearing... it was commanddesc.h (from tpproto), servercommand.h, servercommand.cpp,session.h,session.cpp20:14
alanpah20:36
alanpyou can send me patches and I'll commit them20:38
alanpgit diff should give you the patch20:38
*** StupidIncarnate has joined #tp20:39
StupidIncarnatetansell there?20:40
*** tradedaemon has joined #tp20:42
*** StupidIncarnate has quit IRC20:42
*** tradedaemon is now known as stupidincarnate20:42
null_000alanp: I can send you a patch but tpadmin still doesn't work20:45
alanpdifferent error?20:45
null_000when I try to run it i get:20:45
null_000tpadmin-cpp: error while loading shared libraries: libtprl.so.1: cannot open shared object file: No such file or directory20:45
alanpwhen do you get that?20:46
null_000when I try to run it20:46
null_000I get just that... nothing else20:46
alanpcan't find the shared library20:48
alanpwhere did you install libtprl to?20:49
*** stupidincarnate has quit IRC20:59
*** verhoevenv has quit IRC21:06
*** jiaming has joined #tp21:09
null_000hm... I just used sudo make install21:14
*** verhoevenv has joined #tp21:44
null_000I have a tpserver-cpp question21:52
null_000how is it possible that even if I stop the server and start it again that it retains data from before? (players and such)21:53
verhoevenvnull_000: pong, looking at your email now21:55
verhoevenvre:server, doesn't it use an external database (or file) to store everything?21:55
verhoevenvie persistent on disk, even if you stop the server itself.21:56
null_000maybe... but if I remember correctly I didn't do that always21:56
null_000and objects are owned by wrong players (daneel-ai owned by player Null)21:57
null_000(I mean daneel-ai planet owned by player Null)21:57
null_000I have checked... persistence setting is off22:05
verhoevenvAre you using tpclient-pywx?22:06
verhoevenvIt has some caching problem I think.22:06
verhoevenvYou might want to clear your... ~/.tp directory? Not 100% sure.22:06
null_000yes I'm using tpclient-pywx but I also get the same data from daneel-ai22:08
null_000will try clearing .tp22:08
null_000that fixed it22:10
alanpnull_000: check the location of libtprl.so.122:15
null_000/usr/local/lib22:20
* null_000 just watched gaming for freedom22:22
null_000alanp: is it suposed to be there or somewhere else?22:24
alanptry22:24
alanpLD_LIBRARY_PATH=/usr/local/sbin tpadmin22:24
null_000nope... doesn't help22:29
verhoevenvnull_000: mail answered22:38
null_000thanks22:39
null_000night people...22:58
*** null_000 has quit IRC22:58

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