*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
dmpayton | mithro: ping? | 00:38 |
---|---|---|
mithro | dmpayton: pong? | 00:38 |
CIA-30 | nash galaxie * r735fed6a2112 / (tpe_comm.c tpe_msg.c): Try to create an account if logging in fails. | 00:54 |
CIA-30 | nash galaxie * rf5f2dec2ef95 /galaxie.c: Don't segfault if the URL is incorrect. | 01:00 |
* DystopicFro looks around for nash | 01:20 | |
nash | DystopicFro: heh... I'll be heading of shortly - but I'm here for 20 minutes or so | 01:21 |
DystopicFro | d'oh | 01:22 |
DystopicFro | sorry about that, got caught up in some other things | 01:22 |
nash | That's cool | 01:22 |
DystopicFro | good news is that I'm a good bit more comfortable with git now, having it on both of my computers, using cygwin for windows | 01:22 |
nash | It must be like 3am oever there | 01:22 |
nash | Sweet | 01:23 |
nash | It's really not that hard | 01:23 |
DystopicFro | 10:30PMish >.< | 01:23 |
nash | Oh.. easy | 01:23 |
nash | I thought you were further round then then that ;-) | 01:23 |
nash | Anyway - so are you in unix or pain^w windows land? | 01:23 |
DystopicFro | well, I got flumuxed when I pushed a change from one repo on one computer to the other | 01:23 |
nash | Ahh... git-reset | 01:24 |
nash | The one thing not to do ;-) | 01:24 |
DystopicFro | I mostly work in Windows, and vnc into a headless linux box for the cool stuff | 01:24 |
nash | Right | 01:24 |
nash | Anyway - so have you imported your stuff yet? | 01:24 |
DystopicFro | er, nar, not yet, I figured that I should ook to you there, so's I don't do anything silly | 01:25 |
nash | heh - initial import is pretty simple | 01:26 |
nash | Just open a shell in the directory with the code | 01:26 |
nash | And do git-init or cg-init | 01:26 |
DystopicFro | ah...yes, already done that | 01:27 |
* DystopicFro is expecting trickery at every corner | 01:28 | |
nash | heh | 01:28 |
nash | then fire of a cg-status | 01:29 |
nash | That will tell you what needs to be imported | 01:29 |
nash | lots of cg-adds to add everything in, then when you are done - cg-commit | 01:29 |
nash | Do you have a website somewhere you can copy stuff to - so I can clone from it? | 01:31 |
DystopicFro | hm...do I have to do an init in every subdirectory? that seems a bit...counter-intuitive | 01:32 |
DystopicFro | yes, I can put it up someplace | 01:33 |
nash | No, just in the top leve | 01:33 |
* mithro pokes dmpayton | 01:33 | |
nash | When you go into a subdir and do some cg-add it will add the directory automatically | 01:34 |
mithro | git doesn't understand directories | 01:34 |
nash | No, it just doesn't track them explicitly | 01:35 |
mithro | you can't add an empty directory | 01:37 |
* DystopicFro resolves to putzing around for a bit with git | 01:38 | |
DystopicFro | nash: I'll email you the location that you can clone from when I get it up | 01:38 |
nash | DystopicFro: Sweet... | 01:39 |
jotham | anyone ever done an OCR? | 01:39 |
jotham | and hi | 01:39 |
jotham | i am finally back on tp | 01:39 |
jotham | after a jillion years of day job hell | 01:39 |
nash | OCR = optical character recognise? | 01:41 |
nash | If so - a tiny bit | 01:41 |
jotham | recognition | 01:41 |
jotham | yeah | 01:41 |
*** nash has quit IRC | 02:04 | |
mithro | jotham: so you can finish of the battleviewer now? | 02:08 |
jotham | yes | 02:08 |
jotham | hows it all going anyway | 02:20 |
jotham | is the git tutorial page up | 02:20 |
jotham | http://notnotabouthim.livejournal.com/45897.html | 02:22 |
tpb | <http://ln-s.net/TH7> (at notnotabouthim.livejournal.com) | 02:22 |
*** mithro has quit IRC | 02:49 | |
*** mithro has joined #tp | 03:46 | |
mithro | jotham: there is a semi-usful page at http://www.thousandparsec.net/tp/dev/rcs.php | 03:52 |
tpb | Title: Thousand Parsec : Source Code (at www.thousandparsec.net) | 03:52 |
*** mithro has quit IRC | 04:27 | |
Epyon | nash, how do you imagine the resource images? | 04:37 |
Epyon | And second question -- should I make all images "left facing", "right facing" or different depending on type? | 04:38 |
Epyon | Duh, nash's not here :( | 04:39 |
*** llnz has joined #tp | 05:36 | |
* llnz ponders | 05:47 | |
*** mithro has joined #tp | 05:52 | |
llnz | hi mithro | 05:53 |
mithro | hey llnz | 06:09 |
mithro | llnz: enjoying your freedom? | 06:12 |
llnz | not yet | 06:14 |
llnz | have the final report for my funding to finish off | 06:15 |
llnz | and a presentation and paper to write | 06:15 |
mithro | llnz: did you get the spam to tp-devel? | 06:17 |
llnz | no, not that i saw | 06:18 |
mithro | Subject: Re: [tp-devel] MedHelp 52981820 | 06:18 |
mithro | ? | 06:18 |
mithro | brb | 06:19 |
*** mithro has quit IRC | 06:19 | |
CIA-30 | llnz tpserver-cpp * r1587c9b50713 /tpserver/metaserverconnection.cpp: | 06:21 |
CIA-30 | Stop publishing private ip addresses to metaserver. | 06:21 |
CIA-30 | Should cut a few corner cases out of metaserver problems. | 06:21 |
CIA-30 | Closing bug: #1664220 | 06:21 |
*** mithro has joined #tp | 06:21 | |
llnz | my isp might have filtered it out, or spamassasin did a really good job | 06:22 |
mithro | it appears it did get onto the list | 06:24 |
CIA-30 | llnz tpserver-cpp * r721822a32a3a / (11 files in 3 dirs): | 06:54 |
CIA-30 | Moving nop ordertype from tpserver to game modules. | 06:54 |
CIA-30 | Both Minisec and MTSec get a copy. Needed to move to remove assumptions | 06:54 |
CIA-30 | from IGObject. | 06:54 |
jotham | i've totally done how the rounds work all wrong | 06:57 |
jotham | feh | 06:57 |
mithro | jotham: oh? | 06:58 |
jotham | i don't know what the jargon is, but basically the depend on the previous state to define their next state | 06:58 |
jotham | which makes a skip forward or backward control a bit of a bitch | 06:58 |
jotham | if i made them totally setup from scratch each 'round' then you could jump to an arbitrary round just ifne | 06:59 |
jotham | *fine | 06:59 |
jotham | i'll have a think about it | 06:59 |
mithro | oh - yeah I guess so | 06:59 |
jotham | oh well, bath time | 06:59 |
llnz | hummm... git doesn't really have the concept of a move | 07:13 |
Epyon | Anyone has a clue how MTSec Massivium should look like? o.O | 07:27 |
llnz | Epyon: it doesn't matter much | 07:28 |
llnz | i should look like it's not dense, maybe | 07:29 |
Epyon | How about antimatter/antiparticle? | 07:49 |
mithro | llnz: no - and it turns out there is a good reason why | 07:51 |
Epyon | Reference image would make a world of a difference | 07:51 |
llnz | mithro: oh? | 07:52 |
mithro | llnz: a move of a whole file is just a specific case of moving small amounts of code otherwise | 07:53 |
mithro | IE moving a function from one file to another | 07:53 |
llnz | ah | 07:53 |
llnz | hummm.... ok | 07:53 |
CIA-30 | llnz tpserver-cpp * r72c91a0506a6 /tpserver/ (persistence.cpp persistence.h): | 07:54 |
CIA-30 | Added save and retrieve methods for GameInfo. | 07:54 |
CIA-30 | This will include the game creation time, the current turn number, and the | 07:54 |
CIA-30 | key for talking to the metaserver. Other fields to be saved could be added | 07:54 |
CIA-30 | later. | 07:54 |
CIA-30 | llnz tpserver-cpp * reeca4ec105eb /tpserver/ (game.cpp game.h): | 07:54 |
CIA-30 | Game has ctime, turn number and key, and uses them. | 07:54 |
CIA-30 | This is to hold some important game info in the Game object for persistence | 07:54 |
CIA-30 | and to not depend on the Universe objectype. | 07:54 |
CIA-30 | ctime is the game creation time (aka game start time). | 07:54 |
CIA-30 | llnz tpserver-cpp * r61e57e8b7d25 /tpserver/game.h: | 08:01 |
CIA-30 | getGameStartTime() method can be used in other places than just persistence | 08:01 |
CIA-30 | such as publishers, statistics and status commands. | 08:01 |
* llnz wonders how long it will take before the metaserver has a timeout for llnz and accepts the new game with a new key | 08:08 | |
CIA-30 | mithro libtpproto-py * r6d80876c7e28 /tp/netlib/server.py: | 08:12 |
CIA-30 | Fixed [ 1709902 ] tpserver-py doesn't handle interrupted syscalls. | 08:12 |
CIA-30 | Strange, this appears to be an attempt to let the poller timeout on a | 08:12 |
CIA-30 | syscall. Might be useful at a later date. | 08:12 |
mithro | llnz: it will never accept the same game with a new key | 08:13 |
llnz | oh :-( | 08:13 |
llnz | what do i need to change to make it sane? | 08:14 |
llnz | the long name? | 08:14 |
mithro | otherwise somebody could knock you of the internet and then register their own server as you | 08:14 |
mithro | llnz: dunno | 08:14 |
llnz | then i guess i will be adding a lot of games over the coming weeks | 08:16 |
llnz | hummm.... | 08:17 |
mithro | llnz: why? | 08:17 |
llnz | because i need to reset to test things, and i don't have persistence working again yet | 08:18 |
llnz | (probably doesn't even compile) | 08:18 |
mithro | store the key somewhere? | 08:18 |
llnz | i would, in persistence..... | 08:19 |
mithro | in the config file? | 08:19 |
mithro | the key is pretty much "metaserver registration password" | 08:19 |
llnz | I don't really want it user settable | 08:19 |
mithro | why? | 08:20 |
llnz | game automatically generates it when it creates the game | 08:20 |
llnz | why? to stop people using stupid values | 08:20 |
* llnz thinks he will have to turn metaserver updates off while he is heavily developing without persistence | 08:21 | |
* llnz also notes the when demo1 gets updated next, it will have to change names | 08:24 | |
llnz | and then every time it gets reset.... | 08:24 |
CIA-30 | llnz tpserver-cpp * r92f9b6d5c0b8 /tpserver/ (3 files): Use key from Game, clean up MetaserverPublisher not needing key | 08:26 |
CIA-30 | llnz tpserver-cpp * r0a403625327d /tpserver/game.cpp: | 08:48 |
CIA-30 | Fixed problem with initialisation. Either create new game, or initialise | 08:48 |
CIA-30 | not both. Initialise only works when the data is in persistence already, | 08:48 |
CIA-30 | which isn't the case when not using persistence... | 08:48 |
CIA-30 | llnz tpserver-cpp * r66fcd3f56e7e / (11 files in 3 dirs): | 08:51 |
CIA-30 | Moved universe from tpserver to game modules. | 08:51 |
CIA-30 | Part of a plan to clean out a lot of code soon, also gives options to | 08:51 |
CIA-30 | ruleset about how they will have their universe objects. | 08:51 |
llnz | mithro: something is broken in tpclient-pywx/libtpclient-py/libtpproto-py | 09:03 |
llnz | Traceback (most recent call last): | 09:03 |
llnz | File "/home/lee/oss_projects/tp-py/tpclient-pywx/windows/winBase.py", line 128, in Post | 09:03 |
llnz | getattr(window, func)(event) | 09:03 |
llnz | File "/home/lee/oss_projects/tp-py/tpclient-pywx/windows/winInfo.py", line 226, in OnSelectObject | 09:03 |
llnz | for t, surface, minable, inaccess in value: | 09:03 |
llnz | ValueError: need more than 3 values to unpack | 09:03 |
llnz | on a planet with resources | 09:03 |
mithro | hrm.... | 09:04 |
mithro | llnz? | 09:05 |
llnz | stable tpclient-pywx and libtpclient-py, btw | 09:05 |
mithro | which planet? | 09:06 |
mithro | s/llnz/llnz.dd.org/ | 09:06 |
llnz | yes, planet "lee home planet" | 09:06 |
mithro | hrm, when did you last pull? | 09:07 |
llnz | just now | 09:08 |
mithro | hrm | 09:08 |
mithro | cg-status? | 09:08 |
llnz | no changes to any of the three | 09:09 |
mithro | i'm after the sha1 :P | 09:09 |
llnz | ah | 09:09 |
llnz | tpclient-pywx 743a9af3a7ae~ | 09:10 |
mithro | llnz: i can't reproduce it here | 09:10 |
llnz | libtpclient-py 3e8ee5c12e63~ | 09:10 |
llnz | libtpproto-py 6d80876c7e28~ | 09:10 |
mithro | hrm... | 09:10 |
llnz | mithro: start creating a fleet on your planet | 09:10 |
llnz | in fact you might not even to need to do that | 09:11 |
llnz | try looking at your planet | 09:11 |
llnz | you should have a "home planet resource" | 09:11 |
mithro | Name: lee Planet | 09:13 |
mithro | Parent: 22 | 09:13 |
mithro | Pos: 215325034, 1469763828, 0 | 09:13 |
mithro | Modify_Time: 2007-05-01 22:28:57 | 09:13 |
mithro | Owner: 2 | 09:13 |
mithro | Vel: 0, 0, 0 | 09:13 |
mithro | Id: 23 | 09:13 |
mithro | Resources: | 09:13 |
mithro | 1unit of Home Planet on surface | 09:13 |
mithro | Size: 2 | 09:13 |
mithro | can you put "print value" before line 226? | 09:14 |
llnz | ahh, it appears to be working now | 09:15 |
mithro | ? | 09:16 |
llnz | no traceback, can see all the resources | 09:16 |
llnz | nice to see the names now | 09:16 |
CIA-30 | llnz tpserver-cpp * r6bf748cb65f3 / (11 files in 3 dirs): Shifted EmptyObject to game modules from core (tpserver). | 09:20 |
mithro | llnz: did you have "star ship parts" too? | 09:30 |
llnz | yes | 09:30 |
mithro | and what happened to them? | 09:30 |
llnz | ? | 09:31 |
llnz | they get used in creating the fleet | 09:31 |
mithro | I don't see them appearing on the planet when I build fleets? | 09:31 |
mithro | 1 per turn right? | 09:32 |
llnz | yes | 09:32 |
llnz | turn in 2 min 40 sec | 09:32 |
mithro | put 8 battleships to build | 09:33 |
mithro | llnz: why not change the units to "" and make the resource called "Empire Captial", then it would read "1 Empire Captial on Surface" | 09:34 |
mithro | or maybe Leader? | 09:34 |
llnz | Resources: | 09:35 |
llnz | 1part of Ship part on surface | 09:35 |
llnz | 1unit of Home Planet on surface | 09:35 |
mithro | no new resources? | 09:35 |
mithro | oh, I see them on your planet | 09:35 |
mithro | but not mine? | 09:36 |
llnz | odd | 09:41 |
llnz | waiting for end of turn | 09:41 |
llnz | odd | 09:46 |
llnz | very odd | 09:49 |
llnz | going to reset server, hold one | 09:49 |
llnz | s/one/on/ | 09:50 |
llnz | working for you now? | 09:57 |
CIA-30 | llnz tpserver-cpp * rdc01013d220a / (18 files in 3 dirs): | 09:59 |
CIA-30 | Shifted OwnedObject ObjectData class to game modules. | 09:59 |
CIA-30 | Now to start the clean up and refactor. | 09:59 |
llnz | why am i seeing so many "Connection reset by peer"? | 10:07 |
llnz | and another one | 10:13 |
llnz | mithro? | 10:13 |
mithro | ? | 10:13 |
llnz | why are you disconnecting with a reset? | 10:14 |
mithro | Ctrl-C | 10:15 |
llnz | ah | 10:15 |
mithro | want to put shorter turns? | 10:15 |
llnz | if you want | 10:16 |
llnz | how short? | 10:16 |
mithro | 1 minute? | 10:17 |
llnz | 60 seconds | 10:18 |
llnz | done | 10:18 |
CIA-30 | mithro libtpproto-py * r4665f6663057 /tp/netlib/ (client.py common.py objects/Header.py objects/Order.py): | 10:19 |
CIA-30 | Fixed the auto getting of Order Descriptions. | 10:19 |
CIA-30 | It appears some time deep in the past I broke this. It should work again | 10:19 |
CIA-30 | now. Only appeared when you connected to a server and orders already | 10:19 |
CIA-30 | existed on an object of a type you hadn't seen before. | 10:19 |
CIA-30 | mithro libtpproto-py * rf6660930d073 /tp/netlib/objects/OrderExtra/ (Move.py NOp.py): Fixed the name value. | 10:19 |
mithro | it appears either, tpserver-cpp isn't setting the correct mod-time - or i'm doing something wrong in the caching | 10:20 |
llnz | hummm.... | 10:25 |
llnz | i think the modtime does get set correctly | 10:26 |
llnz | mithro: can i reset the server? | 10:28 |
mithro | not just yet | 10:28 |
llnz | ok | 10:28 |
llnz | i'll leave it going overnight | 10:28 |
llnz | i will reset it tomorrow morning or later tomorrow | 10:29 |
* llnz wanders off | 10:30 | |
llnz | later all | 10:30 |
*** llnz has quit IRC | 10:30 | |
CIA-30 | mithro libtpproto-py * r78a6876a92db /tp/netlib/common.py: | 10:34 |
CIA-30 | Make async frames work again. | 10:34 |
CIA-30 | The fix to the description stuff broke async frames. This makes them work | 10:34 |
CIA-30 | again. | 10:34 |
CIA-30 | mithro libtpclient-py * r2ea7d93226b5 /tp/client/threads.py: Use the cleaner way to get async frames. | 10:34 |
*** cherez has quit IRC | 18:32 | |
*** cherez has joined #tp | 18:35 | |
*** nash has joined #tp | 19:11 | |
* nash waves | 19:30 | |
mithro | hey people | 23:02 |
mithro | dmpayton: ping? | 23:21 |
mithro | ~seen dmpayton | 23:21 |
tpb | mithro: dmpayton was last seen in #tp 22 hours, 42 minutes, and 45 seconds ago: <dmpayton> mithro: ping? | 23:21 |
mithro | Epyon: ping? | 23:25 |
nash | heyo mithro | 23:57 |
mithro | hey nash, sup? | 23:58 |
nash | Not much | 23:58 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!