*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
tpb | aloril has joined on worldforge | 00:02 |
---|---|---|
*** bddebian has quit IRC | 00:31 | |
*** greywhind has quit IRC | 01:04 | |
* llnz wanders home | 01:16 | |
*** llnz has quit IRC | 01:16 | |
*** llnz has joined #tp | 02:13 | |
*** zzorn_laptop has joined #tp | 02:51 | |
*** zzorn_laptop has quit IRC | 02:54 | |
*** zzorn_laptop has joined #tp | 02:55 | |
mithro | llnz: do you have a "STYLE" or similar file? | 03:07 |
llnz | nope | 03:08 |
* nash records that llnz has no style | 03:09 | |
llnz | thanks nash, i thought everyone knew that already | 03:09 |
llnz | :-) | 03:09 |
nash | llnz: A yes, but now it is on record as you saying you are a member of the no-style-club | 03:10 |
llnz | no style, but at least i have class(es) | 03:10 |
llnz | :-p | 03:10 |
nash | llnz: You don't play enough munckin... | 03:11 |
*** nash has quit IRC | 03:34 | |
CIA-29 | llnz ruleset-book * racd5d702103e /ruleset-dev.tex: | 04:06 |
CIA-29 | Started chapter on creating object types. | 04:06 |
CIA-29 | This is current (roughtly tpserver-cpp 0.5.0). | 04:06 |
CIA-29 | llnz ruleset-book * r8403b87979cd /ruleset-dev.tex: | 04:14 |
CIA-29 | Little updates and fixes. | 04:14 |
CIA-29 | Mostly things like tpserver-cpp been event driven, corrected project start | 04:14 |
CIA-29 | year, etc. | 04:14 |
*** JLafont has quit IRC | 04:16 | |
CIA-29 | llnz ruleset-book * r6407e1475b69 /ruleset-dev.tex: Some more updates, to the tree descriptions. | 04:46 |
*** peres has joined #tp | 05:27 | |
llnz | hi peres | 05:28 |
peres | hi llnz :) | 05:28 |
peres | this channel is being more and more crowded ;) | 05:29 |
llnz | yeah, it's good | 05:29 |
peres | becoming :) | 05:29 |
jotham | hey | 06:03 |
jotham | question | 06:03 |
jotham | hum i can't articulate it, nevermind | 06:04 |
ezod | llnz: thanks for the dialogue on tpserver, most helpful! | 06:07 |
llnz | ezod: no problem | 06:07 |
ezod | llnz: and i wouldn't dream of developing something without a cli interface ;) | 06:08 |
llnz | jotham: blabber incoherently, if you need to | 06:08 |
llnz | ezod: cool | 06:08 |
jotham | need to know how to wrap a line around a circle | 06:09 |
ezod | command line interface interface.. | 06:09 |
jotham | but i don't think that's what i want | 06:09 |
jotham | i think i want to convert coordinates from one space to another | 06:09 |
llnz | jotham: there are some nice transforms equations from spherical coordinates to rectalinear | 06:11 |
llnz | and the other way | 06:11 |
*** peres has quit IRC | 06:12 | |
ezod | oh, what do you need? i just spent the past 2 years coding coordinate space transformations | 06:13 |
mithro | hey jotham | 06:23 |
CIA-29 | llnz ruleset-book * ra84bed73f594 / (3 files in 2 dirs): | 06:34 |
CIA-29 | Added section on created UniverseObjectType, and added example files. | 06:34 |
CIA-29 | Added appendix with the example files in. Also added package verbatim to get | 06:34 |
CIA-29 | the verbatiminput command to include whole files into the appendix. | 06:34 |
mithro | how does one print out using sprintf a char in hex | 06:42 |
mithro | ahh %hhx | 06:43 |
llnz | %x | 06:44 |
ezod | doesn't %x just print out a hex number? | 06:45 |
ezod | oh i guess that's what you want | 06:45 |
mithro | yeah you need the hh to tell it that it's a uint8_t | 06:45 |
ezod | i see | 06:45 |
mithro | llnz: so what is preventing you from doing a release then? | 06:50 |
llnz | currently, nothing | 06:50 |
mithro | llnz: more testing? | 06:50 |
mithro | llnz: have you tried a minisec AI battle? | 06:50 |
llnz | thought i would be good an announce i'm going to do it, so testers and packages could get ready | 06:50 |
llnz | not yet, tpsai-py needs forward porting :-) | 06:51 |
mithro | llnz: it's easy to checkout the older branch | 06:51 |
mithro | I won't get to forward porting it anytime soon | 06:51 |
llnz | i will do | 06:51 |
CIA-29 | llnz ruleset-book * r4b9b3f1b5c6e / (3 files in 2 dirs): | 06:51 |
CIA-29 | Added files for Basic ruleset module example. | 06:51 |
CIA-29 | Also added namespace to example, to be good. Needed to rename ruleset class | 06:51 |
CIA-29 | to avoid having to explain a whole lot about namespaces. | 06:51 |
llnz | is it just libtpclient-py that it needs the old version of? | 06:52 |
llnz | got it working | 06:58 |
llnz | i don't want to think what this is going to do to my disk usage.... | 07:00 |
llnz | the database is already 15MB from 34 turns of just me | 07:02 |
mithro | llnz: :( | 07:02 |
mithro | plus the log files | 07:02 |
llnz | i'm not logging the ai's | 07:02 |
llnz | hummm.... should cat stdout to /dev/null | 07:04 |
mithro | I think you will probably want to run with logging until you are sure it's all working | 07:05 |
mithro | llnz: I can give you a login to my quad core machine if you want | 07:05 |
llnz | i'll be alright | 07:06 |
mithro | it has plenty of harddrive space | 07:06 |
mithro | would be good if you recorded a starmapper movie too | 07:07 |
llnz | never managed to get that going :-( | 07:09 |
CIA-29 | llnz ruleset-book * re00871bc1cdb /ruleset-dev.tex: Added note about namespace. | 07:21 |
*** Iwanowitch has joined #tp | 07:23 | |
llnz | damn | 07:25 |
llnz | hit error already... | 07:25 |
mithro | llnz: why can't you get starmapper working? | 07:26 |
mithro | you just need to install the sun java thingy | 07:26 |
llnz | don't want to | 07:26 |
llnz | though soon it should be really easy | 07:26 |
mithro | getting some good starmapper movies would be good promotional thing | 07:28 |
mithro | hello Iwanowitch | 07:28 |
Iwanowitch | Hello mithro. | 07:30 |
Iwanowitch | Say, I should get git up. | 07:30 |
mithro | Iwanowitch: how goes things? | 07:30 |
Iwanowitch | mithro: busy and I think I'm getting sick as well. | 07:31 |
Iwanowitch | Though it's okay for now. | 07:31 |
mithro | Iwanowitch: you finished all your exams and stuff? | 07:32 |
Iwanowitch | mithro: not quite, but at the moment there's not too much urgent work. | 07:34 |
Iwanowitch | Okay, erm... What part of the repository should the RFTS AI come into? A new project? | 07:40 |
llnz | unless you are extending an existing code base, start a new repo | 07:43 |
mithro | Iwanowitch: nash is your mentor right? | 07:54 |
Iwanowitch | mithro: yep | 07:55 |
mithro | Iwanowitch: you'll probably be working pretty closely with me too if you are going to be using the python libraries | 07:55 |
mithro | ~seen xdotx | 07:55 |
tpb | mithro: xdotx was last seen in #tp 1 day, 1 hour, 25 minutes, and 33 seconds ago: <xdotx> yeah, i was thinking you could pretty much make objects to store anything you need | 07:55 |
mithro | greywhind is another person who knows quite a bit about the python libraries | 07:59 |
*** AquaFox has joined #tp | 08:05 | |
Iwanowitch | Hmm, I'm not really up to speed with this git thing... I suppose I should create a new repository locally, then push it to... Where exactly? | 08:08 |
mithro | Iwanowitch: you'll need my help to push a new repository | 08:10 |
* llnz stops and restarts the server on the ai's | 08:14 | |
llnz | yay | 08:15 |
*** andrei has quit IRC | 08:16 | |
Iwanowitch | mithro: Okay, just to be clear here... My AI will be build on libtpclient-py but apart from that be seperate. That warrants it a new repository, right? | 08:17 |
CIA-29 | llnz tpserver-cpp * r6fec20c8286e /modules/games/minisec/minisecturn.cpp: | 08:18 |
CIA-29 | Fix the handling of dead object in MinisecTurn. | 08:18 |
CIA-29 | Was causing the ai's to error out when they tried to change the orders on | 08:18 |
CIA-29 | the object, which no long existed. Probably fixes the random errors with | 08:18 |
CIA-29 | tpclient-pywx that gave no error message. | 08:18 |
llnz | Iwanowitch: yes | 08:18 |
Iwanowitch | mithro: So, could we get one up with just a TODO file to get started? | 08:18 |
mithro | Iwanowitch: yes | 08:20 |
llnz | 7 turns, 4.7MB database | 08:20 |
llnz | mithro: we need to think of a better way to get starmapper data out of the servers sometime | 08:32 |
mithro | llnz: what do you mean? | 08:32 |
llnz | well... you don't really want a guest account that can see everything | 08:33 |
Iwanowitch | mithro: I have a rtfs-ai directory with a git repository in it and the TODO file commited. Anything else I can do from here? | 08:34 |
mithro | llnz: observer accounts are pretty normal | 08:34 |
mithro | for other games | 08:34 |
llnz | with well-known username/password? | 08:34 |
mithro | llnz: what do you mean? starmapper takes a username/password | 08:36 |
llnz | humm... ok | 08:37 |
mithro | llnz: if we want the metaserver to be able to do starmapping, maybe the server can post with a private account detauls | 08:38 |
mithro | but I have to run home now | 08:38 |
mithro | bblr | 08:38 |
* llnz wanders off | 08:52 | |
llnz | later all | 08:52 |
*** llnz has quit IRC | 08:52 | |
*** mithro has quit IRC | 08:57 | |
*** mithro has joined #tp | 09:40 | |
*** zzorn_laptop has quit IRC | 09:47 | |
*** Iwanowitch has quit IRC | 10:03 | |
*** andrei has joined #tp | 10:05 | |
*** andrei has joined #tp | 10:10 | |
*** andrei has left #tp | 10:12 | |
*** mithro has quit IRC | 11:12 | |
*** AquaFox has quit IRC | 11:57 | |
*** AquaFox has joined #tp | 11:58 | |
*** Iwanowitch has joined #tp | 12:13 | |
*** JLafont has joined #tp | 13:26 | |
*** Iwanowitch has quit IRC | 14:20 | |
*** Iwanowitch has joined #tp | 14:20 | |
*** jphr_ has joined #tp | 14:37 | |
*** jphr_ has left #tp | 14:37 | |
*** jphr_ has joined #tp | 14:40 | |
*** jphr_ has left #tp | 14:41 | |
*** jphr_ has joined #tp | 14:41 | |
*** jphr_ has quit IRC | 14:42 | |
*** AquaFox has quit IRC | 14:49 | |
*** jphr_ has joined #tp | 15:11 | |
*** jphr__ has joined #tp | 15:11 | |
*** jphr__ has left #tp | 15:12 | |
*** jphr has joined #tp | 15:14 | |
*** andrei has joined #tp | 15:39 | |
*** jphr has quit IRC | 15:40 | |
*** JLafont has quit IRC | 16:12 | |
*** Demitar has joined #tp | 16:31 | |
*** zzorn is now known as zzorn_food | 16:32 | |
tpb | aloril_ has joined on worldforge | 16:40 |
tpb | aloril has quit worldforge (Ping timeout: 378 seconds) | 16:44 |
*** JLafont has joined #tp | 17:15 | |
*** zzorn_food has quit IRC | 17:58 | |
*** Iwanowitch has quit IRC | 18:21 | |
CIA-29 | llnz tpserver-cpp * r095d48cbff9b /modules/persistence/mysql/mysqlpersistence.cpp: Better place for clearing object dirty flag in tpmysql. | 18:52 |
CIA-29 | llnz tpserver-cpp * r0f605673370e /tpserver/object.cpp: | 18:52 |
CIA-29 | Clear the dirty flags in ObjectInfo and ObjectRelationships. | 18:52 |
CIA-29 | Speeds up processing, and prevents the database for being written to as often. | 18:52 |
*** nash has joined #tp | 18:53 | |
*** zzorn has joined #tp | 19:20 | |
*** mithro has joined #tp | 19:22 | |
*** greywhind has joined #tp | 19:37 | |
mithro | morning people | 19:47 |
greywhind | mithro: hello | 19:48 |
*** vi1985 has joined #tp | 20:03 | |
vi1985 | hi all | 20:03 |
nash | heyo | 20:07 |
nash | So finished your SoC project yet? ;-) | 20:07 |
vi1985 | (i don't like bragging) | 20:08 |
vi1985 | (but yes ;) ) | 20:08 |
* nash hands vi1985 a gold star for that answer | 20:08 | |
vi1985 | me is crushed to death under the weight of the gold star | 20:09 |
* vi1985 forgot to mut / in front of me | 20:09 | |
vi1985 | *put | 20:09 |
nash | vi1985: With mineral prices these days... you'd be lucky to crush an e-coli un my gold stars | 20:10 |
vi1985 | nash: i wouldn't know, last time I bought something out of gold was years ago. It's cheaper to buy them gifts "with soul" ;) | 20:14 |
nash | I'm sure PETA would have something to say about that... Unless you are referring to CDs ;-) | 20:21 |
vi1985 | nash: didn't you hear PETA banned cds? for every cd that you buy, you could have adopted a post-experiment lab-rat... | 20:25 |
nash | Wouldn't that drive demand for post-experiment lab rat... meaning demand for more experminents in the first place? | 20:27 |
vi1985 | nash: which would provide a giant a thrust to science, encourage non-fatal experimental measures, and increase general sensitivity in the population as a result of an influx in used-labrat adoption. Looks like a win-win situation for man and rat. | 20:33 |
nash | Indeed | 20:33 |
vi1985 | 8-) | 20:35 |
mithro | I hope that is only music CDs - otherwise I'm going to have a rat infested house | 20:35 |
vi1985 | mithro: I hardly believe this law (if it were passed!) would be enforced retroactively ;) | 20:36 |
vi1985 | mithro, btw did you get my email? | 20:37 |
nash | vi1985: Yet more encouragement to download music | 20:38 |
vi1985 | :) | 20:38 |
* vi1985 bbl | 20:44 | |
mithro | vi1985: yes | 20:59 |
greywhind | mithro: ok, so i have the filter selection and deselection working | 21:01 |
mithro | cool | 21:06 |
greywhind | mithro: but i need you to help me with the linked list message structure, if you have time | 21:06 |
mithro | talk and I show answer if I can :) | 21:07 |
greywhind | mithro: ok. so here's what I have | 21:19 |
greywhind | http://rafb.net/p/JNIPna89.html (13 lines) | 21:19 |
tpb | Title: Nopaste - No description (at rafb.net) | 21:19 |
greywhind | at the moment, it takes the linked list and constructs a simple list from it, when it should be constructing a new linked list | 21:19 |
*** llnz has joined #tp | 21:19 | |
*** bddebian has joined #tp | 21:21 | |
bddebian | Heya | 21:23 |
llnz | hi bddebian | 21:24 |
llnz | and all | 21:24 |
bddebian | Hello llnz | 21:25 |
*** mithro has quit IRC | 21:26 | |
*** mithro has joined #tp | 21:27 | |
mithro | greywhind: sorry got discoed | 21:29 |
greywhind | no problem | 21:29 |
greywhind | 6:22pm] greywhind: mithro: ok. so here's what I have | 21:29 |
greywhind | [6:22pm] greywhind: http://rafb.net/p/JNIPna89.html (13 lines) | 21:29 |
greywhind | [6:22pm] tpb: Title: Nopaste - No description (at rafb.net) | 21:29 |
tpb | Title: Nopaste - No description (at rafb.net) | 21:29 |
greywhind | [6:22pm] greywhind: at the moment, it takes the linked list and constructs a simple list from it, when it should be constructing a new linked list | 21:29 |
mithro | okay | 21:30 |
mithro | greywhind: ant what is the problem? | 21:30 |
greywhind | i don't know how to construct the linked list type you're using for the message list | 21:31 |
mithro | oh | 21:41 |
mithro | does the your list thing work? | 21:41 |
greywhind | mithro: not with the rest of the object | 21:42 |
mithro | hrm... | 21:42 |
mithro | It should be as simple as creating a ChangeList and then just using append | 21:42 |
greywhind | i need to return a list with nodes and left/right | 21:42 |
greywhind | mithro: so messagelist=ChangeList() | 21:42 |
mithro | greywhind: yeah | 21:43 |
mithro | ChangeList acts like a normal list as much as possible | 21:43 |
greywhind | mithro: how do i have to import it? | 21:44 |
mithro | not sure | 21:44 |
greywhind | messagelist=ChangeList() | 21:44 |
greywhind | NameError: global name 'ChangeList' is not defined | 21:44 |
mithro | something like from tp.cache.ChangeList import ChangeList? | 21:44 |
greywhind | ImportError: No module named cache.ChangeList | 21:46 |
CIA-29 | fr33.em4il tpserver-cpp * reb3f430833b8 /modules/games/rfts/ (4 files): | 21:46 |
CIA-29 | fixing rfts' ResourceListParam; attempt to 'center' universe object. | 21:46 |
CIA-29 | (might remove resource list param later. centering may not work 100%) | 21:46 |
llnz | xdotx: there is a proper Resource List Order Param coming (after release) | 21:48 |
xdotx | llnz: there seems to be a bug with planet's loosing their owner. i don't think it's related to what i just did :P. i can double check, and see if it's an RFTS only thing. | 21:48 |
xdotx | kk | 21:48 |
llnz | xdotx: maybe related to population dieing? | 21:49 |
xdotx | don't think so. i believe planet still had good stats, and i don't think it's owner goes away when that happens. | 21:50 |
llnz | it does, i changed it so the owner only gets one message about it | 21:50 |
xdotx | ahh right | 21:50 |
mithro | greywhind: I'm sure you can find out where it comes from | 21:54 |
greywhind | mithro: i'll look around | 21:54 |
mithro | the find program is your friend | 21:54 |
mithro | and so is grep | 21:54 |
xdotx | llnz: population dies, but then i can still give it orders - even though i'm not the owner | 21:55 |
llnz | ok | 21:56 |
llnz | maybe the orderqueue doesn't have a change of owner | 21:56 |
xdotx | llnz: for a quick fix i can not set any possible orders on a planet w/o an owner | 21:58 |
xdotx | er, can set the possible orders to 'none' | 21:58 |
llnz | yes, but better would be to remove the former owner from the orderqueue's owners when the population dies | 21:59 |
llnz | i suspect there might be a similar problem when a player takes over another player's planet | 21:59 |
greywhind | mithro: i'm afraid I don't have enough experience finding text in files in Linux... can you help me with the syntax? | 22:01 |
*** vi1985 has quit IRC | 22:01 | |
mithro | grep -R '<thing to find>' <where to find it> | 22:01 |
mithro | so | 22:01 |
mithro | -R means recursive | 22:01 |
xdotx | greywhind: i like 'locate' too | 22:02 |
nash | xdotx: Not so useful for finding text in files however | 22:02 |
xdotx | greywhind: er, but that's.. | 22:02 |
xdotx | yeah.. | 22:02 |
xdotx | misread that | 22:02 |
* nash prefers grep 'pattern' **/*.py... but he uses zsh ;-) | 22:03 | |
greywhind | mithro: looks like it's in tp.client.ChangeList | 22:03 |
mithro | that looks about right | 22:04 |
greywhind | mithro: ok, good. but now it looks like I have to make a node first, not just append the message object | 22:06 |
mithro | oh? | 22:06 |
greywhind | http://rafb.net/p/9pwcCl51.html (14 lines) | 22:06 |
tpb | Title: Nopaste - No description (at rafb.net) | 22:06 |
mithro | have a look in cache.py for how it does it | 22:06 |
greywhind | mithro: k. i will, but i have to help make dinner now | 22:07 |
mithro | heading to lunch | 22:45 |
mithro | will be back in a bit | 22:45 |
*** xdotx has quit IRC | 23:25 | |
*** llnz has quit IRC | 23:30 | |
*** llnz has joined #tp | 23:31 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!