*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** mithro has joined #tp | 00:19 | |
*** mithro has quit IRC | 00:31 | |
*** jnengland77 has joined #tp | 01:45 | |
*** Epyon has joined #tp | 04:39 | |
*** jmtan has quit IRC | 04:43 | |
*** jmtan has joined #tp | 04:49 | |
*** mithro has joined #tp | 06:31 | |
*** peres has joined #tp | 06:35 | |
*** peres has quit IRC | 06:48 | |
*** jnengland77 has quit IRC | 07:11 | |
*** null_000 has joined #tp | 08:22 | |
null_000 | morning TP universe | 08:31 |
---|---|---|
mithro | hello | 09:23 |
*** marcel_ has joined #tp | 09:34 | |
*** burningice has joined #tp | 11:14 | |
burningice | exit | 11:14 |
*** burningice has quit IRC | 11:14 | |
*** yubing has joined #tp | 11:14 | |
mithro | null_000: ping? | 11:23 |
null_000 | mithro: pong | 11:24 |
mithro | null_000: so your proposal is looking much strong | 11:24 |
null_000 | thank you ^_^ | 11:24 |
mithro | I think you can however implement most of your "dumb" AI in CHR without any problems | 11:25 |
null_000 | that is true | 11:25 |
mithro | it would be a good introduction for people who want to learn to code an AI in CHR too | 11:25 |
null_000 | but I will reuse the code for the smart AI | 11:25 |
null_000 | hm... that is also true | 11:26 |
mithro | and you should be able to mix your python and CHR | 11:26 |
null_000 | that should not be a problem | 11:26 |
mithro | ~seen llnz | 11:26 |
tpb | mithro: llnz was last seen in #tp 2 days, 4 hours, 22 minutes, and 28 seconds ago: <llnz> later all | 11:26 |
null_000 | I'll think about how to combine CHR and python elegantly... | 11:27 |
null_000 | btw I was working on Minisec a bit and had real trouble finding any useful documentation on how to send orders | 11:28 |
null_000 | I did manage to send a move order but that was more luck than brains | 11:28 |
null_000 | python doesn't have strict types so the code itself doesn't help that much (since the main problem is that I don't know what types of arguments are needed) | 11:29 |
mithro | oh | 11:30 |
mithro | orders are dynamic | 11:30 |
mithro | and dependent on the server | 11:30 |
mithro | IE I can create a new order type on the server and nothing needs to change in the clients | 11:31 |
mithro | (well in graphical clients for humans) | 11:31 |
mithro | null_000: make sense? | 11:31 |
null_000 | yes | 11:31 |
mithro | null_000: btw - please do ask questions if you get stuck with anything, we are happy to help | 11:31 |
null_000 | I found that out already (that orders can be dynamic)... but I don't understand the python client library functions | 11:32 |
null_000 | and I couldn't find the documentation on the cache class | 11:33 |
mithro | which part? | 11:33 |
null_000 | specifically the apply function | 11:34 |
null_000 | (which is the function I have to call to give orders if I undrestand correctly) | 11:34 |
mithro | I'm not sure how daneel-ai does it | 11:35 |
mithro | let me look | 11:35 |
null_000 | cache is part of the libtpclient-py I think | 11:36 |
*** Epyon_ has joined #tp | 11:36 | |
mithro | evt = cache.apply("orders","create after",start,cache.orders[start].head,order) | 11:36 |
null_000 | yes this is it | 11:36 |
null_000 | how do I know what to pass for different orders? | 11:37 |
null_000 | I found out what are the names of orders and what arguments (and their types) they have... | 11:38 |
*** Epyon has quit IRC | 11:38 | |
null_000 | but I'm not sure of the format of arguments and so on | 11:38 |
mithro | cache.apply(<type>, <action>, <operation arguments>) | 11:41 |
mithro | opps | 11:41 |
mithro | cache.apply(<type>, <action>, <thing to apply the operation too>, <operation arguments>) | 11:41 |
mithro | for a create order operation the arguments are | 11:42 |
null_000 | but in the above example there are 5 arguments for cache.apply | 11:42 |
mithro | <node to operate on>, <order object> | 11:42 |
mithro | so the above can be read as | 11:44 |
mithro | insert this order first | 11:46 |
*** yubing has quit IRC | 11:47 | |
mithro | null_000: make sense? | 11:47 |
null_000 | I think so | 11:47 |
null_000 | I'll have to try it | 11:48 |
null_000 | who can I bug if you're not around? | 11:49 |
mithro | copy the existing code :) | 11:49 |
null_000 | I tried copying it but its different for minisec and only rfts and risk code exists | 11:49 |
null_000 | and when can I bug you guys.... developers are mostly from australia and new zealand if I understand correctly | 11:50 |
mithro | null_000: I mean copy and modify it - minisec has different arguments but otherwise should be the same | 11:50 |
mithro | null_000: feel free to ping when ever we are on - we'll respond when we can | 11:51 |
mithro | if we are too busy we won't response :) | 11:51 |
null_000 | ^_^ | 11:51 |
null_000 | I'll have to understand the code as much as I can if I plan on writing a tutorial about writing AI | 11:52 |
null_000 | thanks for the info | 11:55 |
marcel_ | mithro: Hello, are you familiar with the libtpproto-cpp library? | 11:57 |
mithro | marcel_: not all | 11:58 |
mithro | s/not all/not at all/ | 11:58 |
mithro | JLP, llnz and milimi have some experiance | 11:58 |
marcel_ | hm but they are all afk or not online, I guess I write an email to the mailinglist | 12:00 |
mithro | marcel_: good idea | 12:03 |
*** null_000 has quit IRC | 12:46 | |
*** null_000 has joined #tp | 12:54 | |
*** mithro has quit IRC | 13:25 | |
*** iggy_ has joined #tp | 13:26 | |
iggy_ | hello is anyone here | 13:26 |
* null_000 here | 13:27 | |
iggy_ | yay, i am using ubuntu 9.100 karmic, how do i install | 13:27 |
null_000 | if you have all the dependencies installed you can use this: | 13:28 |
null_000 | git clone git://git.thousandparsec.net/git/tpclient-pywx.git git clone git://git.thousandparsec.net/git/daneel-ai.git git clone git://git.thousandparsec.net/git/tpserver-cpp.git cd tpserver-cpp; ./autogen.sh; ./configure; make; cd.. cd tpclient-pywx ./tpclient-pywx | 13:28 |
null_000 | its from this post http://www.thousandparsec.net/tp/news.php/2009-04-02-1200 | 13:28 |
tpb | <http://ln-s.net/43mb> (at www.thousandparsec.net) | 13:28 |
iggy_ | ok this will probably work | 13:29 |
iggy_ | however what i meant was in the download section it told me to add certain download keys and to replace DIST with my distro, what do i replace it with | 13:30 |
null_000 | I think deb packages are quite old... so I'm not sure if they are of any use | 13:31 |
null_000 | versions from git are your best bet | 13:31 |
null_000 | just put the commands from the link above into the terminal line by line | 13:32 |
null_000 | and you will be set with your own server, a client and even an AI so you can play a game by yourself | 13:33 |
iggy_ | and then the third line is to compile | 13:33 |
null_000 | the forth | 13:33 |
null_000 | and it should be cd .. instead of cd.. | 13:33 |
iggy_ | sorry third...from the bottom | 13:34 |
null_000 | yes | 13:34 |
iggy_ | and your lines didnt come out right so i am assuming that the ones on the link are correct | 13:34 |
null_000 | yes they are | 13:35 |
iggy_ | ok | 13:35 |
iggy_ | see ya when its working | 13:35 |
*** iggy_ has quit IRC | 13:35 | |
*** mithro has joined #tp | 13:40 | |
*** iggy_ has joined #tp | 13:43 | |
iggy_ | hello agaon it didnt work | 13:43 |
null_000 | what went wrong? | 13:43 |
iggy_ | at line 4 (cd tpserver-cpp; ./autogen.sh; ./configure; make; cd.. | 13:43 |
iggy_ | ) | 13:43 |
*** tanoku has joined #tp | 13:44 | |
null_000 | what was the error? | 13:44 |
iggy_ | it had a whole bunch of text (willing to put on pastebin) then said "checking for dlsym in -ldl... yes | 13:44 |
iggy_ | ./configure: line 16107: syntax error near unexpected token `avahiclient,' | 13:44 |
iggy_ | ./configure: line 16107: `PKG_CHECK_MODULES(avahiclient, avahi-client > 0.6.0,' | 13:44 |
iggy_ | make: *** No targets specified and no makefile found. Stop. | 13:44 |
iggy_ | cd..: command not found | 13:44 |
iggy_ | iggy@xUbasario:~/tpserver-cpp$ | 13:44 |
iggy_ | " | 13:44 |
iggy_ | those were the last couple lines | 13:45 |
iggy_ | i may not have all the dependencies but that didnt seem a real error so i went to the next command | 13:45 |
iggy_ | ...the error not the lack of dependencies | 13:46 |
null_000 | try ./command again... it will at least give you a clear output | 13:46 |
iggy_ | ok but the last two lines were" | 13:46 |
iggy_ | iggy@xUbasario:~/tpserver-cpp$ cd tpclient-pywx | 13:47 |
iggy_ | bash: cd: tpclient-pywx: No such file or directory | 13:47 |
iggy_ | iggy@xUbasario:~/tpserver-cpp$ ./tpclient-pywx | 13:47 |
iggy_ | bash: ./tpclient-pywx: No such file or directory | 13:47 |
iggy_ | iggy@xUbasario:~/tpserver-cpp$ | 13:47 |
iggy_ | 13:47 | |
iggy_ | and which ./command | 13:47 |
null_000 | oh... I meant ./configure | 13:47 |
null_000 | ^_^ | 13:47 |
null_000 | my bad | 13:48 |
iggy_ | im no idiot but tell me what to type :) | 13:48 |
iggy_ | iggy@xUbasario:~/tpserver-cpp$ cd tpclient-pywx./configure | 13:48 |
iggy_ | bash: cd: tpclient-pywx./configure: No such file or directory | 13:48 |
null_000 | just ./configure | 13:48 |
iggy_ | thats what it said, mebbe im in the wrong dir | 13:48 |
iggy_ | oh didnt realize i typed over a command | 13:49 |
iggy_ | its long lemme get pastebin link | 13:49 |
iggy_ | ol kere it is "http://pastebin.com/qXpuED5X" | 13:52 |
tpb | Title: Pastebin.com Unknown Paste ID: qXpuED5X" (at pastebin.com) | 13:52 |
null_000 | hm... weird | 13:53 |
iggy_ | tpb it is real | 13:53 |
iggy_ | waitaminnit tpb is a bot isnt it | 13:54 |
null_000 | yes it is ^_^ | 13:54 |
iggy_ | do'h | 13:54 |
null_000 | about your error... I don't think I can help you with it... | 13:55 |
null_000 | try coming back latter and ask again... | 13:55 |
iggy_ | so the error is in that step | 13:56 |
null_000 | maybe someone who knows more about this stuff will help | 13:56 |
iggy_ | ok thanks then | 13:56 |
iggy_ | oh | 13:56 |
kerbe | you don't need avahi | 13:56 |
iggy_ | what did you see wrong | 13:56 |
kerbe | lines 136 & 137 | 13:57 |
kerbe | avahi isn't needed, so pass disable option to configure | 13:57 |
kerbe | I'm just heading to dinner table, so can't dig that option for you | 13:57 |
kerbe | but I'll be back in 30mins or so | 13:57 |
kerbe | now afk -> | 13:57 |
iggy_ | kerbe ill try to be on bye | 13:57 |
*** tanoku has quit IRC | 14:04 | |
iggy_ | hey null_000 it just you and I | 14:21 |
iggy_ | null_000 it just you and I | 14:21 |
iggy_ | when kerbe gets back i might not be here | 14:21 |
iggy_ | walking the dog | 14:22 |
iggy_ | ill still try cya later | 14:22 |
*** iggy_ has quit IRC | 14:22 | |
*** Demitar has quit IRC | 14:43 | |
*** mithro has quit IRC | 14:46 | |
*** Demitar has joined #tp | 14:55 | |
*** mithro has joined #tp | 15:03 | |
*** peres has joined #tp | 15:18 | |
*** mithro has quit IRC | 15:58 | |
*** DamTuanLong has joined #tp | 16:09 | |
*** mithro has joined #tp | 16:15 | |
* Epyon_ stalks for llnz | 16:57 | |
*** Epyon_ is now known as epyon | 16:57 | |
marcel_ | your not the only one^^ | 17:03 |
*** marcel_ has quit IRC | 17:14 | |
*** epyon has quit IRC | 17:52 | |
*** tanoku has joined #tp | 18:11 | |
*** peres has quit IRC | 19:23 | |
*** StupidIncarnate has joined #tp | 20:41 | |
StupidIncarnate | hey all | 20:41 |
StupidIncarnate | tote still up? | 20:44 |
*** DamTuanLong has quit IRC | 21:03 | |
*** mithro has quit IRC | 21:03 | |
*** null_000 has quit IRC | 21:08 | |
*** tanoku has quit IRC | 21:12 | |
*** mithro has joined #tp | 21:19 | |
*** null_000 has joined #tp | 21:25 | |
*** jnengland77 has joined #tp | 21:40 | |
*** Demitar has quit IRC | 21:44 | |
*** Demitar has joined #tp | 21:52 | |
*** jnengland77 has quit IRC | 22:39 | |
*** iggy_ has joined #tp | 22:48 | |
iggy_ | Is anyone here? | 22:49 |
StupidIncarnate | anyone as in anyone or anyone as in admin types? | 22:49 |
iggy_ | as in help anyone | 22:51 |
iggy_ | running (x)ubuntu and cant seem to get it to compile | 22:51 |
iggy_ | StupidIncarnate, what os are you using | 22:56 |
StupidIncarnate | oh I'm on windows. Can't help you with compiling or anything | 22:57 |
iggy_ | ok, does the windows install work as soon as you install | 22:57 |
StupidIncarnate | ya | 22:58 |
iggy_ | ok, well appearently the client works, how do i play online and can i save | 22:59 |
iggy_ | it wants a web address and a password and a username | 22:59 |
StupidIncarnate | did you try a first player mode? | 23:00 |
StupidIncarnate | single player* | 23:00 |
iggy_ | that would require the broken stuff | 23:01 |
iggy_ | the ai | 23:01 |
StupidIncarnate | win version came with an ai that worked form | 23:02 |
StupidIncarnate | for me* | 23:02 |
iggy_ | ah ok then thanks | 23:02 |
*** iggy_ has quit IRC | 23:02 | |
StupidIncarnate | but yeah, I don't think there's any multiplayer games happening right now for you to get on one | 23:02 |
*** null_000 has quit IRC | 23:04 | |
*** StupidIncarnate has quit IRC | 23:31 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!