*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
mithro | ~seen llnz | 00:06 |
---|---|---|
tpb | mithro: llnz was last seen in #tp 15 hours and 24 seconds ago: <llnz> later all | 00:06 |
*** amca has joined #tp | 00:20 | |
*** amca has left #tp | 00:23 | |
CIA-30 | mithro libtpproto-py * re75d2ad02b90 /tp/netlib/xstruct.py: Added nested list support to the xstruct code. | 00:52 |
*** JLafont has quit IRC | 00:53 | |
*** mithro has quit IRC | 01:28 | |
*** mithro has joined #tp | 01:36 | |
*** Epyon has quit IRC | 01:42 | |
*** pluskid has joined #tp | 01:56 | |
mithro | hey pluskid | 02:34 |
pluskid | hi mithro | 02:34 |
mithro | how goes things? | 02:35 |
* mithro flys back to Australia tommorrow | 02:35 | |
pluskid | I'm looking at tpserver-py | 02:35 |
pluskid | I think I should setup the environment to run it | 02:36 |
pluskid | Is there some guide on such things? | 02:37 |
pluskid | I found "This is a quick example server which doesn't do to much. " in the README, is it a complete server? Can I connect to it through some tp-client once I have set it up? | 02:38 |
*** CIA-30 has quit IRC | 02:38 | |
*** CIA-30 has joined #tp | 02:40 | |
mithro | pluskid: yes you can | 02:43 |
pluskid | mithro: cool, I'll try to figure it out. | 02:44 |
mithro | rm tp.db | 02:44 |
mithro | ./tpserver-py-tool --addgame tp minisecplus admin@localhost "A test game" | 02:44 |
mithro | ./tpserver-py-tool --adduser tp tpsai-py cannonfodder | 02:44 |
mithro | ./tpserver-py-tool --populate tp 0 1 1 2 2 | 02:44 |
mithro | ./tpserver-py-tool --turn tp # generate a turn | 02:45 |
mithro | ./tpserver-py # run the actual server | 02:45 |
pluskid | hmm, maybe I should setup the database support first. | 02:45 |
*** zzorn_laptop has joined #tp | 02:51 | |
mithro | you don't need to | 02:59 |
mithro | as it can use a local sqlite database | 02:59 |
mithro | which is automatically creates if it can't find another database | 02:59 |
pluskid | at least I should install pysqlite, shouldn't I? :p | 03:01 |
mithro | if you do a | 03:02 |
mithro | python requirements.py | 03:03 |
mithro | it should tell you want you need | 03:03 |
pluskid | yes | 03:04 |
pluskid | I'm installing tpproto-py | 03:04 |
*** nash has quit IRC | 03:13 | |
pluskid | finally got libtpproto-py installed, I hate easy_install | 03:37 |
tpb | aloril has quit worldforge (Remote host closed the connection) | 03:38 |
tpb | aloril has joined on worldforge | 03:43 |
pluskid | mithro: I can't get requirement.py to pass. I installed libtpproto-py. But when it trys to import tp.netlib, it found the "tp" module in the current directory first, but there's not "netlib" module in the "tp" directory of current directory. | 03:44 |
pluskid | should I copy the code of libtpproto-py to the tpserver-py directory to run it? | 03:45 |
*** pluskid has quit IRC | 03:48 | |
*** mithro has quit IRC | 03:49 | |
*** zzorn_laptop has quit IRC | 05:16 | |
*** zzorn_laptop has joined #tp | 05:56 | |
*** llnz has joined #tp | 06:09 | |
*** peres has joined #tp | 06:19 | |
*** zzorn_laptop has quit IRC | 06:36 | |
*** Ohm has joined #tp | 07:21 | |
*** peres has quit IRC | 07:26 | |
*** peres has joined #tp | 07:28 | |
* llnz wanders off | 09:14 | |
llnz | later all | 09:14 |
*** llnz has quit IRC | 09:14 | |
*** peres has quit IRC | 10:57 | |
*** mithro has joined #tp | 11:19 | |
*** Erroneous has joined #tp | 11:51 | |
*** mithro has quit IRC | 11:57 | |
*** bddebian has joined #tp | 12:12 | |
bddebian | Heya | 12:14 |
*** jphr has joined #tp | 12:36 | |
*** JLafont has joined #tp | 13:24 | |
JLafont | allo | 13:25 |
jphr | hey | 13:36 |
jphr | hows dronesec going? | 13:37 |
JLafont | not too bad | 13:39 |
JLafont | once I get combat up I can call it minisec-wannabe | 13:40 |
JLafont | :-P | 13:40 |
JLafont | hows risk? | 13:41 |
jphr | really good, I have the game up and running with a test map | 13:42 |
jphr | after I get all the kinks out I can start on my map importer. I'm planning to let users specify an xml file with the map in it, and have the map get created. | 13:43 |
JLafont | awesome | 13:43 |
JLafont | not a bad idea | 13:44 |
jphr | its almost required :P Hard coding in all the adjacencies of my default map is just silly, there are 42 planets and somewhere around 100 adjacencies | 13:44 |
JLafont | haha yeah. I can see that. I get to be lazy and randomly generate everything | 13:45 |
jphr | :P | 13:52 |
*** jphr has quit IRC | 14:11 | |
*** jphr has joined #tp | 14:33 | |
*** JLafont has quit IRC | 15:20 | |
*** JLafont has joined #tp | 15:21 | |
*** nuleren has joined #tp | 15:47 | |
CIA-30 | jphr tpserver-cpp-risk * rcf817481aa76 /modules/games/risk/move.cpp: Avoid a possible underflow if maxUnits was = 0 | 16:00 |
CIA-30 | jphr tpserver-cpp-risk * r6205db971b7b /modules/games/risk/ (graph.cpp graph.h risk.cpp): Some modifications to style and code as per mentor request. | 16:00 |
CIA-30 | jphr tpserver-cpp-risk * r4f92fdfddc2c /modules/games/risk/ (move.cpp move.h): Added proper messaging to Move::doTurn. Bus error ATM | 16:00 |
CIA-30 | jphr tpserver-cpp-risk * r15d3c10e53a4 /modules/games/risk/ (move.cpp risk.cpp): Changed a Null check to a .end() check. | 16:00 |
CIA-30 | jphr tpserver-cpp-risk * rbaef00f0f51e /modules/games/risk/move.cpp: Added TODOs | 16:02 |
*** mithro has joined #tp | 16:28 | |
jphr | mithro: can I ask you about a segfault quickly? | 16:37 |
*** vi1985 has joined #tp | 16:41 | |
mithro | jphr: sure | 17:04 |
jphr | I have a message, and a string called example, i set example = "test string"; and then message->getSubject(example); | 17:04 |
jphr | when the code gets executed it segfaults | 17:05 |
mithro | getSubject? | 17:05 |
jphr | set* | 17:05 |
jphr | typo there | 17:05 |
jphr | but not in the code (i just checked) | 17:06 |
mithro | no idea | 17:06 |
mithro | are you asserting that message is non-null | 17:06 |
jphr | i will make sure I am | 17:07 |
jphr | ok, so I have Message* originMessage; and after that assert(originMessage); | 17:09 |
jphr | and it gets as far as the logger call one line before originMessage->setSubject(originSubject); | 17:10 |
jphr | (important to note that the logger call outputs originSubject, and in my case it does output the correct originSubject) | 17:10 |
mithro | assert originSubject is not null? | 17:12 |
jphr | I can do that as well, i do set originSubject = "test subject"; when I make it though | 17:13 |
jphr | no go | 17:17 |
jphr | do you want a gdb bt? or anything else? | 17:18 |
*** bddebian has quit IRC | 17:40 | |
CIA-30 | nuleren tpserver-cpp-tae * rdff1cdee8756 /modules/games/tae/ (fleet.cpp fleet.h tae.cpp): Added a function to add individual orders to the fleet object. | 17:49 |
CIA-30 | nuleren tpserver-cpp-tae * r163fe41ae940 /modules/games/tae/ (Makefile.am move.cpp move.h tae.cpp): Added the move order. | 17:49 |
CIA-30 | nuleren tpserver-cpp-tae * r0bbb7b7b5ade /modules/games/tae/ (Makefile.am attack.cpp attack.h tae.cpp): Added the attack order. | 17:49 |
*** jphr has quit IRC | 18:16 | |
*** nuleren has quit IRC | 18:18 | |
*** JLafont has quit IRC | 18:30 | |
*** Epyon has joined #tp | 18:49 | |
*** Epyon has left #tp | 18:50 | |
*** nash has joined #tp | 19:07 | |
*** JLafont has joined #tp | 19:09 | |
mithro | hi JLafont | 19:19 |
mithro | how goes things? | 19:19 |
*** Erroneous has quit IRC | 20:20 | |
*** peres has joined #tp | 20:57 | |
*** mithro has quit IRC | 21:36 | |
*** jphr has joined #tp | 22:55 | |
*** JLafont_ has joined #tp | 23:21 | |
*** peres has quit IRC | 23:22 | |
*** llnz has joined #tp | 23:51 | |
llnz | hi all | 23:53 |
nash | heyo | 23:54 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!