*** tpb has joined #tp | 00: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#gettinghelp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** glew has joined #tp | 00:02 | |
*** marcel_ has quit IRC | 00:11 | |
*** jmtan has joined #tp | 01:36 | |
*** fhoahf55593 has joined #tp | 01:43 | |
*** fhoahf55593 has left #tp | 01:43 | |
*** verhoevenv has quit IRC | 01:50 | |
*** jnengland77 has joined #tp | 01:58 | |
*** jmtan has quit IRC | 02:11 | |
*** peres has joined #tp | 02:45 | |
*** glew has quit IRC | 03:08 | |
*** mithro has joined #tp | 03:52 | |
*** Epyon has quit IRC | 04:14 | |
*** jmtan has joined #tp | 04:24 | |
alanp | hmmm | 04:28 |
---|---|---|
mithro | ? | 04:30 |
alanp | can never seem to mesh schedules with null :) | 04:40 |
alanp | weekend will probably be better | 04:40 |
*** peres has quit IRC | 05:07 | |
*** jnengland77 has quit IRC | 06:10 | |
mithro | ~seen null_000 | 06:17 |
tpb | mithro: null_000 was last seen in #tp 16 hours, 16 minutes, and 35 seconds ago: <null_000> http://pastebin.com/hrqtFgeK | 06:17 |
*** dejai has joined #tp | 06:36 | |
*** dejai has left #tp | 06:36 | |
*** Eugene_ has joined #tp | 07:06 | |
*** jmtan has quit IRC | 07:07 | |
*** isra17 has quit IRC | 07:26 | |
*** Eugene_ has quit IRC | 07:36 | |
*** Agon has joined #tp | 08:52 | |
*** Agon is now known as marcel_ | 08:52 | |
*** KGusak has quit IRC | 10:09 | |
*** Epyon has joined #tp | 11:49 | |
*** jiaming has joined #tp | 12:41 | |
*** jiaming has quit IRC | 13:00 | |
*** null_000 has joined #tp | 13:03 | |
null_000 | Hi all | 13:05 |
*** marcel_ has quit IRC | 13:18 | |
*** Agon has joined #tp | 13:24 | |
mithro | hey null_000 | 13:25 |
mithro | alanp was looking for you | 13:25 |
mithro | null_000: you got a moment to get your daneel-ai repository in order? | 13:26 |
null_000 | I saw it in the logs | 13:26 |
null_000 | Im on my mobile at the moment | 13:27 |
mithro | null_000: ahh okay | 13:27 |
null_000 | Just tell me what to do and Ill do it as sone as i can | 13:28 |
null_000 | Bbl | 13:31 |
*** null_000 has quit IRC | 13:31 | |
mithro | null_000: just clone the daneel-ai repository | 13:33 |
mithro | start doing edits, then do your commit | 13:33 |
mithro | and push to github | 13:33 |
*** null_000 has joined #tp | 13:47 | |
null_000 | I'm back | 13:47 |
null_000 | (this time on a regular computer) | 13:47 |
null_000 | alanp: ping | 13:48 |
null_000 | mithro: ping | 13:48 |
mithro | null_000: pong | 13:48 |
null_000 | ^_^ | 13:48 |
null_000 | so what should I do with my git repository | 13:48 |
mithro | alanp: is probably asleep now | 13:48 |
mithro | null_000: you start with a clone of the normal daneel-ai repository | 13:49 |
mithro | you then make your changes | 13:49 |
mithro | and do a commit | 13:50 |
mithro | then push to github | 13:50 |
null_000 | how do I change the remote repository? | 13:50 |
mithro | you can edit the .git/config | 13:51 |
mithro | or just type | 13:51 |
mithro | git push [email protected]:mithro/twfy.git | 13:52 |
mithro | opps | 13:53 |
mithro | well you get the idea :) | 13:53 |
null_000 | I'll try it now | 13:54 |
mithro | you might need to force it | 13:54 |
mithro | as it'll complain about it not being an ancestor | 13:55 |
null_000 | fatal: remote error: | 13:57 |
null_000 | You can't push to git://github.com/Null000/daneel-ai.git | 13:57 |
null_000 | Use [email protected]:Null000/daneel-ai.git | 13:57 |
null_000 | wait... this might be read only | 13:57 |
null_000 | hooray! | 14:00 |
mithro | let me look now | 14:00 |
null_000 | please tell me if it's ok now | 14:06 |
mithro | looking good | 14:07 |
null_000 | ^_^ | 14:07 |
null_000 | I've written a wiki page to track my progress (without diving into my code) | 14:08 |
mithro | yes I saw | 14:09 |
mithro | (I watch the wiki change log :) | 14:09 |
null_000 | oh ^_^ | 14:10 |
mithro | null_000: it's a good idea to have lots of small commits | 14:12 |
mithro | rather then a few large ones | 14:12 |
null_000 | I'll probably commit daily or even more often | 14:12 |
mithro | and make sure your commit messages are useful to the person reading :) | 14:12 |
mithro | null_000: one change per commit is a good idea | 14:12 |
mithro | why did you change this? | 14:13 |
mithro | - return -1 | 14:13 |
mithro | + return - 1 | 14:13 |
*** peres has joined #tp | 14:13 | |
null_000 | ? | 14:14 |
mithro | are you using an auto-formatting editor? | 14:14 |
null_000 | I'm using eclipse | 14:14 |
null_000 | (with pydev) | 14:14 |
mithro | it's mangling the file | 14:15 |
mithro | take a look at your diff | 14:15 |
mithro | well, it's making changes you don't mean to make | 14:16 |
mithro | when actively developing I often commit 4-5 times an hour | 14:17 |
null_000 | I'll turn off any auto-formatting that is on by default | 14:17 |
null_000 | I'll try to commit every time I finish a task (writing a new function or something similar) | 14:20 |
mithro | I would recommend going back and rewriting the previous commit too | 14:23 |
null_000 | you mean the commit message? | 14:24 |
mithro | null_000: split the commits into different parts | 14:28 |
mithro | I see atleast 3 separate changes in that one commit | 14:30 |
null_000 | ok I'll split it | 14:30 |
null_000 | bbl | 14:40 |
*** verhoevenv has joined #tp | 15:14 | |
mithro | null_000: verhoevenv is the original developer of daneel-ai | 15:51 |
*** jiaming has joined #tp | 15:56 | |
null_000 | verhoevenv: ping | 17:33 |
null_000 | email it is... | 17:35 |
alanp | null_000: are you still having any problems compiling? | 18:00 |
*** peres has quit IRC | 18:00 | |
*** jmtan has joined #tp | 18:08 | |
*** jiaming has quit IRC | 18:13 | |
null_000 | yes I am | 18:17 |
null_000 | alanp: do you have any clue what's wrong? | 18:17 |
alanp | pastebin? | 18:17 |
null_000 | http://pastebin.com/i2EMw0DD | 18:18 |
tpb | Title: make[1]: Entering directory `/ - Anonymous - i2EMw0DD - Pastebin.com (at pastebin.com) | 18:18 |
null_000 | btw I'm running Ubuntu 9.10 64bit if that helps | 18:19 |
alanp | yeah i htink i know what the issue is | 18:19 |
alanp | one minute | 18:19 |
alanp | yeah i have the same issue | 18:20 |
alanp | one minute | 18:20 |
alanp | did you install tprl etc? | 18:22 |
null_000 | yes | 18:23 |
alanp | ok, because i didn't | 18:23 |
null_000 | LOL | 18:23 |
alanp | line 23 | 18:23 |
alanp | add #include <stdint.h> | 18:23 |
alanp | in main.cpp | 18:23 |
alanp | i can't seem to push to the repo | 18:23 |
alanp | ah i think i know why | 18:24 |
null_000 | http://pastebin.com/WvR9vFwy | 18:25 |
tpb | Title: null@NullMobileBox:~/3thousand - Anonymous - WvR9vFwy - Pastebin.com (at pastebin.com) | 18:25 |
alanp | here's what you can do | 18:25 |
alanp | fix all of those, and send me a patch :P | 18:25 |
alanp | when you get the uint32_t error, you need to #include <stdint.h> | 18:25 |
alanp | i'm going to update my build env right now | 18:26 |
alanp | how did you get tprl to build? it has the same issues | 18:26 |
null_000 | I don't know... it just build ^_^ | 18:27 |
alanp | hehe | 18:27 |
null_000 | had no errors there | 18:27 |
alanp | ah someone already fixed tprl | 18:28 |
alanp | did you get tpadmin built? | 18:28 |
alanp | 2010-03-22Lee BeggAdded stdint.h headercommit | commitdiff | tree | snapshot | 18:28 |
alanp | :) | 18:28 |
null_000 | just a sec | 18:28 |
alanp | alanp@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_000 | there... it build now | 18:34 |
null_000 | (had to add it in a lot of places) | 18:34 |
null_000 | but now I get this error when I try to run it | 18:34 |
null_000 | tpadmin-cpp: error while loading shared libraries: libtprl.so.1: cannot open shared object file: No such file or directory | 18:34 |
alanp | where else did you add it? | 18:47 |
*** jnengland77 has joined #tp | 18:56 | |
*** jnengland77 has left #tp | 18:56 | |
*** jmtan has quit IRC | 19:17 | |
null_000 | alanp: sorry for disappearing... it was commanddesc.h (from tpproto), servercommand.h, servercommand.cpp,session.h,session.cpp | 20:14 |
alanp | ah | 20:36 |
alanp | you can send me patches and I'll commit them | 20:38 |
alanp | git diff should give you the patch | 20:38 |
*** StupidIncarnate has joined #tp | 20:39 | |
StupidIncarnate | tansell there? | 20:40 |
*** tradedaemon has joined #tp | 20:42 | |
*** StupidIncarnate has quit IRC | 20:42 | |
*** tradedaemon is now known as stupidincarnate | 20:42 | |
null_000 | alanp: I can send you a patch but tpadmin still doesn't work | 20:45 |
alanp | different error? | 20:45 |
null_000 | when I try to run it i get: | 20:45 |
null_000 | tpadmin-cpp: error while loading shared libraries: libtprl.so.1: cannot open shared object file: No such file or directory | 20:45 |
alanp | when do you get that? | 20:46 |
null_000 | when I try to run it | 20:46 |
null_000 | I get just that... nothing else | 20:46 |
alanp | can't find the shared library | 20:48 |
alanp | where did you install libtprl to? | 20:49 |
*** stupidincarnate has quit IRC | 20:59 | |
*** verhoevenv has quit IRC | 21:06 | |
*** jiaming has joined #tp | 21:09 | |
null_000 | hm... I just used sudo make install | 21:14 |
*** verhoevenv has joined #tp | 21:44 | |
null_000 | I have a tpserver-cpp question | 21:52 |
null_000 | how 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 |
verhoevenv | null_000: pong, looking at your email now | 21:55 |
verhoevenv | re:server, doesn't it use an external database (or file) to store everything? | 21:55 |
verhoevenv | ie persistent on disk, even if you stop the server itself. | 21:56 |
null_000 | maybe... but if I remember correctly I didn't do that always | 21:56 |
null_000 | and 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_000 | I have checked... persistence setting is off | 22:05 |
verhoevenv | Are you using tpclient-pywx? | 22:06 |
verhoevenv | It has some caching problem I think. | 22:06 |
verhoevenv | You might want to clear your... ~/.tp directory? Not 100% sure. | 22:06 |
null_000 | yes I'm using tpclient-pywx but I also get the same data from daneel-ai | 22:08 |
null_000 | will try clearing .tp | 22:08 |
null_000 | that fixed it | 22:10 |
alanp | null_000: check the location of libtprl.so.1 | 22:15 |
null_000 | /usr/local/lib | 22:20 |
* null_000 just watched gaming for freedom | 22:22 | |
null_000 | alanp: is it suposed to be there or somewhere else? | 22:24 |
alanp | try | 22:24 |
alanp | LD_LIBRARY_PATH=/usr/local/sbin tpadmin | 22:24 |
null_000 | nope... doesn't help | 22:29 |
verhoevenv | null_000: mail answered | 22:38 |
null_000 | thanks | 22:39 |
null_000 | night people... | 22:58 |
*** null_000 has quit IRC | 22:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!