*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** tansell_laptop has quit IRC | 00:15 | |
*** tansell_laptop has joined #tp | 00:15 | |
*** nash has quit IRC | 01:22 | |
*** tansell__laptop has joined #tp | 01:35 | |
*** tansell__laptop is now known as tansell-laptop | 01:40 | |
*** tansell-laptop has joined #tp | 01:40 | |
*** tansell_laptop has quit IRC | 01:46 | |
*** peres has quit IRC | 03:17 | |
*** llnz has joined #tp | 03:39 | |
*** llnz has quit IRC | 04:45 | |
*** tansell-laptop has quit IRC | 05:27 | |
*** mithro has joined #tp | 07:24 | |
*** peres has joined #tp | 08:08 | |
CIA-69 | mithro libtpproto-py * r9209415a0167 /tp/netlib/objects/Object.py: Small fix for something that never occurs. | 08:37 |
---|---|---|
CIA-69 | mithro daneel-ai * r6e65b7ee4115 / (14 files in 2 dirs): Move stuff around and make the install actually work. | 08:39 |
CIA-69 | mithro scratchpad * rc2559c2b2207 /python-cleanup.py: Teach python-cleanup about daneel. | 08:57 |
CIA-69 | mithro scratchpad * rc989a70fdbe3 /makeclientrelease.sh: Update to use git commands instead of cogito. | 08:57 |
CIA-69 | mithro tpserver-cpp * rad32aa730f68 /.gitignore: Small updates to the .gitignore files. | 08:59 |
CIA-69 | mithro daneel-ai * r032740cee9a8 /debian/ (changelog compat control rules): Added debian package stuff. | 09:07 |
*** mithro has quit IRC | 10:03 | |
*** bddebian has joined #tp | 10:14 | |
bddebian | Heya | 10:16 |
*** peres has quit IRC | 11:44 | |
*** Greywhind has quit IRC | 12:12 | |
*** llnz has joined #tp | 14:08 | |
*** Greywhind has joined #tp | 14:34 | |
ezod | llnz: ping? | 15:16 |
llnz | ezod: pong | 15:17 |
ezod | hey | 15:17 |
ezod | ive been working on getting tpclient-pywx single player to work easily within a dev setup | 15:17 |
ezod | small problem with tpserver-cpp: | 15:17 |
ezod | when i compile it in my working dir with a normal prefix it can't load ruleset modules | 15:19 |
ezod | is there a prefix i can give it to make it load them from the work dir? | 15:19 |
llnz | you can pass the path to the module in the setting | 15:19 |
llnz | ie, modules/games/minisec/.lib/libminisec as the game ruleset | 15:20 |
ezod | ah, cool, will do | 15:21 |
ezod | thanks | 15:21 |
llnz | no prob | 15:31 |
*** Greywhind has quit IRC | 15:49 | |
*** Erroneous has joined #tp | 15:50 | |
*** bddebian has quit IRC | 16:20 | |
*** nash has joined #tp | 16:59 | |
*** Greywhind has joined #tp | 17:06 | |
*** Greywhind has quit IRC | 17:08 | |
*** Demitar has quit IRC | 18:06 | |
*** Demitar has joined #tp | 18:09 | |
*** Demitar has quit IRC | 18:15 | |
*** mithro has joined #tp | 19:17 | |
*** Greywhind has joined #tp | 19:27 | |
*** Greywhind has joined #tp | 19:31 | |
*** mithro has quit IRC | 20:11 | |
*** mithro has joined #tp | 20:12 | |
*** nash has quit IRC | 20:18 | |
ezod | llnz: still around? | 20:29 |
llnz | yes | 20:29 |
ezod | ruleset loading works as above | 20:30 |
ezod | tpscheme has another problem | 20:30 |
llnz | tpscheme works the same way, different path though | 20:30 |
ezod | i got it to load, but (using guile lib) it can't find guile.scm | 20:30 |
ezod | i assume mzscheme will have a similar issue | 20:31 |
ezod | any way to resolve that? | 20:31 |
llnz | humm... | 20:33 |
llnz | oh | 20:33 |
llnz | it should still work even though it logs errors (or warnings) | 20:33 |
llnz | it looks in different places (the normal place first), but logs an error after each attempt | 20:33 |
ezod | hm, connect failed, i assumed that was why, let me see | 20:34 |
llnz | humm... actually, that description only applies to tpmzscheme | 20:35 |
llnz | scm_c_eval_string("(set! %load-path (cons \"" DATADIR "/tpserver/tpscheme/guile/\" (cons \"modules/tpcl/guile/\" (cons \"../modules/tpcl/guile/\" %load-path ))))"); | 20:36 |
ezod | oh | 20:37 |
llnz | looks in the main location (DATAPATH/tpserver/tpscheme/guile/) then modules/tpcl/guile/, then ../modules/tpcl/guile | 20:37 |
ezod | yep, thats why | 20:37 |
llnz | so tpserver-cpp needs to be run from the right directory | 20:37 |
ezod | yeah, the cwd in this case is tpclient-pywx work dir | 20:38 |
llnz | ah, that explains it | 20:38 |
ezod | so there are 2 options: | 20:38 |
ezod | 1. add ../tpserver-cpp/modules/tpcl/guile/ to the load path | 20:39 |
*** nash has joined #tp | 20:39 | |
ezod | 2. put a cd ../tpserver-cpp && in front of the command string in the dev xml file | 20:39 |
llnz | 3. if running all-in-one style, cd into the correct directory before running tpserver-cpp | 20:40 |
ezod | #2 is uglier but doesn't add development clutter to the server | 20:40 |
ezod | well it's being run by tpclient-pywx via libtpclient-py | 20:41 |
ezod | ack, i don't think #2 is an option, it's not running through a shell or anything | 20:42 |
ezod | python subprocess | 20:42 |
ezod | so um, mind if i just do #1? | 20:44 |
ezod | looks like the last 2 paths in there only really apply to dev builds anyhow :) | 20:45 |
llnz | sure, why not <sigh> | 20:45 |
ezod | the mzscheme one is only looking for installed or ../modules/... | 20:50 |
ezod | if i make it look in ../tpserver-cpp/modules/... should it look in modules/... also? (for consistency with tpguile) | 20:51 |
tansell | ezod, you can do #2 | 21:23 |
tansell | actually | 21:23 |
tansell | it would be good if the xml file could specify a path to run from | 21:23 |
ezod | i was going to suggest it | 21:23 |
ezod | it may be useful in other scenarios | 21:24 |
tansell | you need it for windows tpserver-cpp | 21:24 |
ezod | alright, well that solves it then :) | 21:25 |
tansell | I think the path should probably be relative to the location of the xml file? | 21:31 |
tansell | ezod, did you see that I had to reorg daneel-ai to make it possible to install using setup.py | 21:32 |
tansell | (and I add deb packages) | 21:32 |
ezod | tansell: yes, and i just realized that my ebuild installed it anyway, in completely the wrong place, and somehow it still works | 21:41 |
tansell | ezod, interesting | 21:41 |
tansell | ezod, put on a feature list somewhere a "console" option | 21:42 |
tansell | so that we can look at the output from the various processes that are running | 21:42 |
tansell | (in the client) | 21:42 |
ezod | it's all going to the same stdout as the client's (as it is subprocess) but the ouptut is all jumbled together | 21:43 |
ezod | i can redirect stdout/stderr for each one separately | 21:44 |
tansell | ezod, yeah - but you then have to make sure you are reading it | 21:45 |
tansell | otherwise the buffer will fill up and it the progress will block on a print | 21:46 |
ezod | hrm, well ill just add an optional param to SinglePlayer where you can specify a buffer to send it to, otherwise it just drops it (/dev/null or whatever) | 21:48 |
tansell | don't worry about it now | 21:48 |
ezod | on the todo list | 21:48 |
tansell | So we have daneel-ai for risk and rfts right? | 21:55 |
ezod | correct | 21:55 |
tansell | tpserver-cpp supports minisec, mtsec, risk, rfts and tae | 21:55 |
tansell | tpsai-py supports minisec | 21:55 |
tansell | tpserver-py supports minisec and dronesec | 21:56 |
tansell | gencon-rfts-ai support risk and rfts | 21:56 |
mithro | ezod: can we generate http://www.thousandparsec.net/tp/documents/matrix.php from the new download stuff? | 22:05 |
tpb | <http://ln-s.net/FE7> (at www.thousandparsec.net) | 22:05 |
CIA-69 | mithro web * re7ff0647afe4 /documents/matrix.php: Add a ruleset support matrix. | 22:05 |
CIA-69 | mithro web * re5901394d07c /downloads/ (daneel-ai/daneel-ai-0.0.2.tar.bz2 downloads.xml): Merge branch 'master' of git+ssh://[email protected]/git/web | 22:05 |
ezod | mithro: sure can | 22:08 |
* ezod is going to rework SinglePlayer.py and XML system a bit | 22:09 | |
ezod | without breaking bc | 22:10 |
ezod | and within 24 hours | 22:10 |
ezod | should be able to tackle the rest of the dev setup stuff along with | 22:10 |
tansell | ezod, I might have a look at that tonight | 22:13 |
tansell | and remove all the old crud from that document | 22:13 |
llnz | bbl | 22:32 |
*** llnz has quit IRC | 22:32 | |
*** llnz has joined #tp | 23:29 | |
*** nash has quit IRC | 23:34 | |
*** nash has joined #tp | 23:34 | |
*** Erroneous has quit IRC | 23:57 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!