Saturday, 2010-04-03

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** mithro has joined #tp00:19
*** mithro has quit IRC00:31
*** jnengland77 has joined #tp01:45
*** Epyon has joined #tp04:39
*** jmtan has quit IRC04:43
*** jmtan has joined #tp04:49
*** mithro has joined #tp06:31
*** peres has joined #tp06:35
*** peres has quit IRC06:48
*** jnengland77 has quit IRC07:11
*** null_000 has joined #tp08:22
null_000morning TP universe08:31
mithrohello09:23
*** marcel_ has joined #tp09:34
*** burningice has joined #tp11:14
burningiceexit11:14
*** burningice has quit IRC11:14
*** yubing has joined #tp11:14
mithronull_000: ping?11:23
null_000mithro: pong11:24
mithronull_000: so your proposal is looking much strong11:24
null_000thank you ^_^11:24
mithroI think you can however implement most of your "dumb" AI in CHR without any problems11:25
null_000that is true11:25
mithroit would be a good introduction for people who want to learn to code an AI in CHR too11:25
null_000but I will reuse the code for the smart AI11:25
null_000hm... that is also true11:26
mithroand you should be able to mix your python and CHR11:26
null_000that should not be a problem11:26
mithro~seen llnz11:26
tpbmithro: llnz was last seen in #tp 2 days, 4 hours, 22 minutes, and 28 seconds ago: <llnz> later all11:26
null_000I'll think about how to combine CHR and python elegantly...11:27
null_000btw I was working on Minisec a bit and had real trouble finding any useful documentation on how to send orders11:28
null_000I did manage to send a move order but that was more luck than brains11:28
null_000python 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
mithrooh11:30
mithroorders are dynamic11:30
mithroand dependent on the server11:30
mithroIE I can create a new order type on the server and nothing needs to change in the clients11:31
mithro(well in graphical clients for humans)11:31
mithronull_000: make sense?11:31
null_000yes11:31
mithronull_000: btw - please do ask questions if you get stuck with anything, we are happy to help11:31
null_000I found that out already (that orders can be dynamic)... but I don't understand the python client library functions11:32
null_000and I couldn't find the documentation on the cache class11:33
mithrowhich part?11:33
null_000specifically the apply function11:34
null_000(which is the function I have to call to give orders if I undrestand correctly)11:34
mithroI'm not sure how daneel-ai does it11:35
mithrolet me look11:35
null_000cache is part of the libtpclient-py I think11:36
*** Epyon_ has joined #tp11:36
mithro        evt = cache.apply("orders","create after",start,cache.orders[start].head,order)11:36
null_000yes this is it11:36
null_000how do I know what to pass for different orders?11:37
null_000I found out what are the names of orders and what arguments (and their types) they have...11:38
*** Epyon has quit IRC11:38
null_000but I'm not sure of the format of arguments and so on11:38
mithrocache.apply(<type>, <action>, <operation arguments>)11:41
mithroopps11:41
mithrocache.apply(<type>, <action>, <thing to apply the operation too>, <operation arguments>)11:41
mithrofor a create order operation the arguments are11:42
null_000but in the above example there are 5 arguments for cache.apply11:42
mithro<node to operate on>, <order object>11:42
mithroso the above can be read as11:44
mithroinsert this order first11:46
*** yubing has quit IRC11:47
mithronull_000: make sense?11:47
null_000I think so11:47
null_000I'll have to try it11:48
null_000who can I bug if you're not around?11:49
mithrocopy the existing code :)11:49
null_000I tried copying it but its different for minisec and only rfts and risk code exists11:49
null_000and when can I bug you guys.... developers are mostly from australia and new zealand if I understand correctly11:50
mithronull_000: I mean copy and modify it - minisec has different arguments but otherwise should be the same11:50
mithronull_000: feel free to ping when ever we are on - we'll respond when we can11:51
mithroif we are too busy we won't response :)11:51
null_000^_^11:51
null_000I'll have to understand the code as much as I can if I plan on writing a tutorial about writing AI11:52
null_000thanks for the info11:55
marcel_mithro: Hello, are you familiar with the libtpproto-cpp library?11:57
mithromarcel_: not all11:58
mithros/not all/not at all/11:58
mithroJLP, llnz and milimi have some experiance11:58
marcel_hm but they are all afk or not online, I guess I write an email to the mailinglist12:00
mithromarcel_: good idea12:03
*** null_000 has quit IRC12:46
*** null_000 has joined #tp12:54
*** mithro has quit IRC13:25
*** iggy_ has joined #tp13:26
iggy_hello is anyone here13:26
* null_000 here13:27
iggy_yay, i am using ubuntu 9.100 karmic, how do i install13:27
null_000if 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-pywx13:28
null_000its from this post http://www.thousandparsec.net/tp/news.php/2009-04-02-120013:28
tpb<http://ln-s.net/43mb> (at www.thousandparsec.net)13:28
iggy_ok this will probably work13: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 with13:30
null_000I think deb packages are quite old... so I'm not sure if they are of any use13:31
null_000versions from git are your best bet13:31
null_000just put the commands from the link above into the terminal line by line13:32
null_000and you will be set with your own server, a client and even an AI so you can play a game by yourself13:33
iggy_and then the third line is to compile13:33
null_000the forth13:33
null_000and it should be cd .. instead of cd..13:33
iggy_sorry third...from the bottom13:34
null_000yes13:34
iggy_and your lines didnt come out right so i am assuming that the ones on the link are correct13:34
null_000yes they are13:35
iggy_ok13:35
iggy_see ya when its working13:35
*** iggy_ has quit IRC13:35
*** mithro has joined #tp13:40
*** iggy_ has joined #tp13:43
iggy_hello agaon it didnt work13:43
null_000what went wrong?13:43
iggy_at line 4 (cd tpserver-cpp; ./autogen.sh; ./configure; make; cd..13:43
iggy_)13:43
*** tanoku has joined #tp13:44
null_000what 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... yes13: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 found13:44
iggy_iggy@xUbasario:~/tpserver-cpp$13:44
iggy_"13:44
iggy_those were the last couple lines13:45
iggy_i may not have all the dependencies but that didnt seem a real error so i went to the next command13:45
iggy_...the error not the lack of dependencies13:46
null_000try ./command again... it will at least give you a clear output13:46
iggy_ok but the last two lines were"13:46
iggy_iggy@xUbasario:~/tpserver-cpp$ cd tpclient-pywx13:47
iggy_bash: cd: tpclient-pywx: No such file or directory13:47
iggy_iggy@xUbasario:~/tpserver-cpp$ ./tpclient-pywx13:47
iggy_bash: ./tpclient-pywx: No such file or directory13:47
iggy_iggy@xUbasario:~/tpserver-cpp$13:47
iggy_13:47
iggy_and which ./command13:47
null_000oh... I meant ./configure13:47
null_000^_^13:47
null_000my bad13:48
iggy_im no idiot but tell me what to type :)13:48
iggy_iggy@xUbasario:~/tpserver-cpp$ cd tpclient-pywx./configure13:48
iggy_bash: cd: tpclient-pywx./configure: No such file or directory13:48
null_000just ./configure13:48
iggy_thats what it said, mebbe im in the wrong dir13:48
iggy_oh didnt realize i typed over a command13:49
iggy_its long lemme get pastebin link13:49
iggy_ol kere it is "http://pastebin.com/qXpuED5X"13:52
tpbTitle: Pastebin.com Unknown Paste ID: qXpuED5X" (at pastebin.com)13:52
null_000hm... weird13:53
iggy_tpb it is real13:53
iggy_waitaminnit tpb is a bot isnt it13:54
null_000yes it is ^_^13:54
iggy_do'h13:54
null_000about your error... I don't think I can help you with it...13:55
null_000try coming back latter and ask again...13:55
iggy_so the error is in that step13:56
null_000maybe someone who knows more about this stuff will help13:56
iggy_ok thanks then13:56
iggy_oh13:56
kerbeyou don't need avahi13:56
iggy_what did you see wrong13:56
kerbelines 136 & 13713:57
kerbeavahi isn't needed, so pass disable option to configure13:57
kerbeI'm just heading to dinner table, so can't dig that option for you13:57
kerbebut I'll be back in 30mins or so13:57
kerbenow afk ->13:57
iggy_kerbe ill try to be on bye13:57
*** tanoku has quit IRC14:04
iggy_hey null_000 it just you and I14:21
iggy_null_000 it just you and I14:21
iggy_when kerbe gets back i might not be here14:21
iggy_walking the dog14:22
iggy_ill still try cya later14:22
*** iggy_ has quit IRC14:22
*** Demitar has quit IRC14:43
*** mithro has quit IRC14:46
*** Demitar has joined #tp14:55
*** mithro has joined #tp15:03
*** peres has joined #tp15:18
*** mithro has quit IRC15:58
*** DamTuanLong has joined #tp16:09
*** mithro has joined #tp16:15
* Epyon_ stalks for llnz16:57
*** Epyon_ is now known as epyon16:57
marcel_your not the only one^^17:03
*** marcel_ has quit IRC17:14
*** epyon has quit IRC17:52
*** tanoku has joined #tp18:11
*** peres has quit IRC19:23
*** StupidIncarnate has joined #tp20:41
StupidIncarnatehey all20:41
StupidIncarnatetote still up?20:44
*** DamTuanLong has quit IRC21:03
*** mithro has quit IRC21:03
*** null_000 has quit IRC21:08
*** tanoku has quit IRC21:12
*** mithro has joined #tp21:19
*** null_000 has joined #tp21:25
*** jnengland77 has joined #tp21:40
*** Demitar has quit IRC21:44
*** Demitar has joined #tp21:52
*** jnengland77 has quit IRC22:39
*** iggy_ has joined #tp22:48
iggy_Is anyone here?22:49
StupidIncarnateanyone as in anyone or anyone as in admin types?22:49
iggy_as in help anyone22:51
iggy_running (x)ubuntu and cant seem to get it to compile22:51
iggy_StupidIncarnate, what os are you using22:56
StupidIncarnateoh I'm on windows. Can't help you with compiling or anything22:57
iggy_ok, does the windows install work as soon as you install22:57
StupidIncarnateya22:58
iggy_ok, well appearently the client works, how do i play online and can i save22:59
iggy_it wants a web address and a password and a username22:59
StupidIncarnatedid you try a first player mode?23:00
StupidIncarnatesingle player*23:00
iggy_that would require the broken stuff23:01
iggy_the ai23:01
StupidIncarnatewin version came with an ai that worked form23:02
StupidIncarnatefor me*23:02
iggy_ah ok then thanks23:02
*** iggy_ has quit IRC23:02
StupidIncarnatebut yeah, I don't think there's any multiplayer games happening right now for you to get on one23:02
*** null_000 has quit IRC23:04
*** StupidIncarnate has quit IRC23:31

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