IRC logs for #opendune on OFTC at 2010-02-04
            
04:10:29 *** glx has quit IRC
08:41:23 <TrueBrain> to all: a good morning, and a good morning to all!
08:50:34 <DorpsGek> SVN: truebrain (r851) -Add: figured out one function name and variable name
09:02:08 <TrueBrain> @calc 0x64
09:02:08 <DorpsGek> TrueBrain: 100
09:19:06 <TrueBrain> loading does WEIRD stuff
09:19:14 <TrueBrain> for example, the unit script delay is set to 0
09:19:18 <TrueBrain> but the structure script delay is not
10:19:28 <Xaroth> odd
12:17:57 <TrueBrain> that also explains why loading a savegame does something else, besides the random being all weird and stuff :p
12:33:33 <Xaroth> heh
12:59:07 <Xaroth> something to fix then :)
13:27:32 *** glx has joined #openDune
13:27:32 *** ChanServ sets mode: +o glx
13:27:50 <glx> hello
13:40:51 <Xaroth> o/
13:41:12 <TrueBrain> morning :)
14:25:44 *** glx_ has joined #openDune
14:25:44 *** ChanServ sets mode: +o glx_
14:31:38 *** glx is now known as Guest743
14:31:38 *** glx_ is now known as glx
14:32:18 *** Guest743 has quit IRC
16:14:05 <TrueBrain> @calc 0x8D05 - 0x8CFD
16:14:06 <DorpsGek> TrueBrain: 8
16:19:04 <DorpsGek> SVN: truebrain (r852) -Fix: mistakes in Save_Main()
16:25:47 <TrueBrain> glx: I need an extra pair of eyes .. scenario.c, line 921 .. that is wrong, not?
16:27:35 <glx> like missing a F ?
16:27:40 <TrueBrain> yes ...
16:27:45 <TrueBrain> I am not wrong in that, right?
16:28:15 <glx> indeed, I think it's a push 32bit
16:28:35 <glx> so push high, push low, and low seems wrong
16:28:46 <DorpsGek> SVN: truebrain (r853) -Fix (r453): 0xFFF != 0xFFFF, which in theory could create wrong maps when starting a scenario
16:28:49 <TrueBrain> k, tnx
16:32:03 <TrueBrain> @base 16 2 f7
16:32:03 <DorpsGek> TrueBrain: 11110111
16:36:28 <TrueBrain> loading routine suggests maps were once twice as big
16:37:10 <Xaroth> now -that- would be an interesting enhancement :)
16:37:17 <Xaroth> that is, if the game can cope with it
16:37:32 <TrueBrain> nope
16:39:25 <TrueBrain> or it is just a bug
16:39:33 <TrueBrain> but it maps tile indices with 0x1FFFF
16:39:35 <TrueBrain> euh
16:39:37 <TrueBrain> 0x1FFF
16:39:42 <TrueBrain> instead of 0x0FFF
16:39:49 <TrueBrain> @base 10 16 [calc 64x64]
16:39:49 <DorpsGek> TrueBrain: Error: invalid syntax (<string>, line 1)
16:40:10 <TrueBrain> @base 10 16 [calc 64*64]
16:40:10 <DorpsGek> TrueBrain: 1000
16:40:13 <TrueBrain> yeah
16:43:09 <TrueBrain> hmm .. loading the INFO blocks results in failure
16:43:11 <TrueBrain> no idea what is causing it yet
16:43:13 <TrueBrain> rest seems to work
16:43:19 <Xaroth> nice
16:43:51 <Xaroth> so, no bigger maps? :(
16:43:56 <TrueBrain> not yet
16:45:32 <TrueBrain> hmmm .. INFO block _has_ to be read before MAP block
16:45:34 <TrueBrain> lets fix that then
16:47:20 <TrueBrain> hmm .. no help does no no
16:48:28 <TrueBrain> http://svn.opendune.org/~truebrain/temp.patch
16:48:32 <TrueBrain> needle in a haystack?
16:48:33 <TrueBrain> time for dinner :)
17:11:01 <Xaroth> time to head to dinner.. don't even need to cook \o/
17:12:00 <TrueBrain> concratz :)
18:09:29 <TrueBrain> and, who found the bug in my code? :p
18:30:24 <glx> oh I start to understand how sound drivers are handled (at least pcsound.drv)
18:30:59 <TrueBrain> and I fixed loading savegames :)
18:31:03 <TrueBrain> missing (int8) .. GRR
18:33:18 <DorpsGek> SVN: truebrain (r854) -Fix (r851): forgot to rename comments correctly
18:38:37 <glx> http://glx.dnsalias.net:8080/opendune/pcsound.drv.txt <-- 3-185 is probably not code (I know there are some data at 6)
18:39:13 <glx> though the jmp at 3 seems valid, but I don't know how it can be reached :)
18:39:48 <TrueBrain> and what am I looking at exactly?
18:40:09 <glx> pcsound.drv content
18:40:20 <TrueBrain> ah; yes, that is to be expected to be executable code :)
18:41:03 <TrueBrain> making working audio .. that will be a true bitch :)
18:41:32 <glx> http://paste.openttd.org/221222 <-- and with that it makes sense ;)
18:41:54 <glx> set bx then run pcsound.drv
18:42:05 <glx> or any other driver I guess
18:42:15 <TrueBrain> yup
18:44:42 <TrueBrain> exit() is not C89
18:44:48 <TrueBrain> what shall we do for that then ....
18:45:27 <glx> exit() was a nice candidate to replace emu_Terminate_Normal()
18:46:18 <TrueBrain> hmm
18:46:22 <TrueBrain> stdlib.h seems to work for libemu
18:47:36 <TrueBrain> http://svn.opendune.org/~truebrain/temp.patch <- 'final' version
19:03:06 <glx> hmm full rewrite ?
19:03:44 <TrueBrain> Yeah :)
19:03:47 <TrueBrain> it works :)
19:04:23 <glx> if it works it's ok :)
19:04:35 <TrueBrain> :)
19:05:45 <TrueBrain> I hope MSVC compiles it
19:06:20 <glx> easy to check ;)
19:08:38 <glx> hmm doesn't apply cleanly
19:09:13 <TrueBrain> :(
19:10:27 <glx> cs__B4C4.c
19:10:42 <glx> anyway shouldn't matter as it is removed
19:10:46 <TrueBrain> yup :)
19:11:23 <glx> Avertissement,...1,...warning C4244: 'fonction' : conversion de 'uint16' en 'uint8', perte possible de données,...d:\developpement\opendune\src\house.c,...564
19:11:52 <TrueBrain> that is all?
19:12:32 <glx> yup
19:12:36 <glx> else it works
19:13:09 <glx> time to eat
19:13:26 <TrueBrain> enjoy :)
19:13:40 <TrueBrain> I just realised I commited, but it was never really committed :p
19:13:55 <DorpsGek> SVN: truebrain (r855) -Add: C-ified all Load() functions (well .. it is more a rewrite)
19:13:59 <TrueBrain> thank you glx :)
19:33:55 * Xaroth home
19:34:11 <TrueBrain> welcome home
19:37:22 <Xaroth> I received 75 bucks from google
19:37:26 <Xaroth> to spend on adwords o_O
19:37:35 <Xaroth> I was like.. 'wth?'
19:37:45 <Xaroth> then I realised that I was in quite a few betas for that stuff :P
19:38:02 <TrueBrain> make no mistakes .. it is not what it seems
19:38:11 <Xaroth> how so
19:38:13 <TrueBrain> you first have to invest money, before you can use it
19:38:19 <Xaroth> I know
19:38:32 <TrueBrain> as company, I get those things like once a year or so
19:38:33 <TrueBrain> 50 euro
19:38:38 <TrueBrain> but .. you first have to put 50 euro in it yourself
19:38:39 <TrueBrain> ratards
19:38:42 <TrueBrain> retards even
19:38:55 <Xaroth> nice marketing tbqfh
19:39:00 <TrueBrain> phpldapadmin canNOT handle 1736 users
19:39:04 <TrueBrain> it fails horribly
19:39:08 <Xaroth> it can't?
19:39:12 <TrueBrain> nope
19:39:14 <Xaroth> too much overhead? :o
19:39:17 <TrueBrain> pages takes FOR EVER to load
19:39:19 <TrueBrain> ajax
19:39:20 <TrueBrain> javascript
19:39:22 <TrueBrain> and the shit
19:39:23 <Xaroth> ah yeh
19:40:19 <Xaroth> heh, there's a log off button in eve o_O
19:40:21 <Xaroth> that's new
19:42:02 <TrueBrain> Ammler made it in my top 10 list of fucking retard :) That is something new :)
19:42:13 <Xaroth> what did he do -now- ?
19:42:40 <TrueBrain> he keeps on stating things, instead of asking. so I told him that, 4 times by now .. and he refuses to ask. He keeps on stating. Then saying: BUT IF I ASK, YOU BAN ME
19:42:46 <TrueBrain> no .. you twat .. you never ask anything
19:43:01 <TrueBrain> (I got sick of his god-complex: I know how it should be done, OBEY)
19:48:26 <TrueBrain> WHOHO! MASTER OF PHPLDAPADMIN!
19:51:29 <Xaroth> heh?
19:51:34 <Xaroth> you turned off ajax? :P
19:51:48 <TrueBrain> sort of
19:51:50 <TrueBrain> Abort script? YES!
19:51:57 <Xaroth> lol
19:52:09 <planetmaker> TrueBrain: I read back on #openttd. I cannot see him being offensive or acting thick...
19:52:31 <TrueBrain> planetmaker: he never asks anything .. one big blob of assumption here, saying it should be done like that there
19:52:49 <TrueBrain> it gets annoying .. so I told him twice to first ask why a situation is like it is, instead of jumping to all kind of weird conclusions ..
19:53:07 <TrueBrain> but .. now 30 minutes later he understands my point ... (in PM :p)
19:53:46 <planetmaker> well, how do you ask, if you looked at *something* and like to verify what conclusions you drew?
19:54:04 <Xaroth> Am i correct to assume, that ....
19:54:06 <TrueBrain> [19:51] <Ammler> but authors explict allow you to distribute also old releases.
19:54:06 <planetmaker> I don't see random assumptions there.
19:54:07 <TrueBrain> [19:51] <TrueBrain> I suggest you read our ToS
19:54:12 <TrueBrain> mailto:ammler@salieri.openttdcoop.org
19:54:14 <TrueBrain> hmm
19:54:21 <TrueBrain> [19:52] <Ammler> TrueBrain: I just mean, you could distribute those.
19:54:24 <TrueBrain> do I need to continue? :)
19:54:32 <planetmaker> No, I read that.
19:54:34 <planetmaker> I mean that.
19:55:32 <TrueBrain> good; lately he keeps on pushing those random blobs of assumptions in a clsoed-state to me ... annoying
19:55:55 <planetmaker> And... "#
19:55:57 <planetmaker> # You grant the OpenTTD team to distribute your latest content via our website.
19:55:57 <Xaroth> plus, tb likes to rant ^^
19:55:58 <planetmaker> # You grant the OpenTTD team to retain older versions of your content for the purpose of loading savegame with said older version.
19:56:00 <planetmaker> # You grant the OpenTTD team the rights to distribute your content from a central server when specifically asked for it by it's unique identifier and MD5 checksum. " implies that somewhat
19:56:09 <planetmaker> Xaroth: of course. Or he'd loose his personality ;-)
19:56:16 <TrueBrain> I try to be polite :p
19:56:17 <planetmaker> A rant a month keeps his sanity ;-)
19:56:24 <Xaroth> a month? you should see our pms :P
19:56:35 <planetmaker> :-P
19:56:36 <TrueBrain> planetmaker: if you read, you read that yo don't give permission of public distribution of archived files
19:57:28 <planetmaker> yes :-) Except for savegame compatibility ;-)
19:57:36 <TrueBrain> exactly :)
19:58:05 <TrueBrain> either way .. Ammler annoys me in general. He never tells what he wants to ask, he just blobs things .. like now, it turns out he wants to offload his server by linking to the opengfx at the mirrors
19:58:10 <TrueBrain> if he only would have asked from the start
19:59:09 <TrueBrain> anyway, enough Ammler :p
19:59:17 <planetmaker> TrueBrain: we don't need to reduce our traffic (as of now), but IF there's a link to CURRENT OpenGFX - and that's the main point - we could link to on mirrors, it wouldn't hurt
19:59:27 <planetmaker> That's basically what I asked you a week ago ;-)
19:59:30 <TrueBrain> planetmaker: we have a few 'users' which immediatly remove their grfs if we distribute the old versions
19:59:38 <TrueBrain> planetmaker: also, you failed; you only asked if you could use the link
19:59:51 <TrueBrain> no context in for what you need it :)
20:00:00 <TrueBrain> (okay, I failed to ask, but I have had 10 people asking me to use the links already :p)
20:00:11 <planetmaker> and asked you to tell me, when there'll be one as I'd like to include it into the OpenGFX readme. Yes, I told
20:00:19 <TrueBrain> the latter? Really?
20:00:20 <planetmaker> check your logs & memory
20:00:23 <TrueBrain> then my mistake, never read that :)
20:01:09 <planetmaker> :-)
20:02:41 <planetmaker> The readme-fix is thus still not commited ;-)
20:02:53 <planetmaker> but no rush and no hurry
20:03:08 <planetmaker> There's no near-future release of OpenGFX which I see
20:04:50 <TrueBrain> well, the links will change, in naming
20:04:58 <TrueBrain> currently it is a bit bad for http naming
20:05:49 <Xaroth> wth
20:05:56 <Xaroth> I just got a spam mail with my address in it o_O
20:06:10 <Xaroth> and there's only 2 sites that know my address + name, bol.com and play.com
20:06:40 <planetmaker> Xaroth: both those site names don't sound like they should be trusted
20:07:22 <Xaroth> bol.com is the biggest dutch online shop
20:07:32 <Xaroth> er, play.co.uk even
20:07:38 <Xaroth> or .com whatever, same thing
20:07:45 <Xaroth> one of the largest game shops in the UK
20:07:58 <Xaroth> both -very- unlikely to mess with their multi-million euro income :P
20:08:18 <Xaroth> ah well
20:10:42 <Xaroth> TrueBrain: i think nyerguds said enough for you to tear apart again
20:11:11 <TrueBrain> battling mediawiki atm :p
20:11:13 <TrueBrain> effort enough .. :s
20:11:17 <TrueBrain> stupid recaptcha
20:11:18 <TrueBrain> impossible
20:26:54 <Xaroth> hrnf
20:26:57 <Xaroth> lsh-server o_O
20:27:03 <TrueBrain> who?
20:27:14 <Xaroth> did a apt-get install ssh-server on a clean debian netinst
20:27:19 <Xaroth> it suggested lsh-server or openssh-server
20:27:23 <TrueBrain> try openssh-server ;)
20:27:25 <TrueBrain> hehe
20:27:27 <Xaroth> duh
20:27:34 <Xaroth> but I wondered what the other one is :P
20:27:38 <TrueBrain> no idea
20:28:21 <Xaroth> http://packages.debian.org/nl/squeeze/lsh-server
20:32:29 <TrueBrain> Xaroth: I see nothing wrong with nyers post
20:32:36 <Xaroth> darnit
20:37:24 <TrueBrain> haha
20:38:27 <TrueBrain> planetmaker: on the subject (although delayed), I am considering this naming scheme: /bananas/<author(group)>/<release> - version.tar.gz
20:38:40 <TrueBrain> or even put the author in the filename itself
20:38:55 <planetmaker> why author?
20:39:03 <TrueBrain> so: openttdcoop - OpenGFX - 1.0.tar.gz
20:39:12 <planetmaker> why not like the downloaded tars?
20:39:16 <TrueBrain> well, because credit who belong credit (cool translation of dutch :p)
20:39:33 <planetmaker> credit whom credit is due ;-)
20:39:34 <TrueBrain> normally you can't download without seeing the author
20:39:44 <TrueBrain> but this will be crawled, and will be abused
20:39:46 <TrueBrain> of that I am very sure
20:40:33 <planetmaker> hm, got a point there. Though... what about e.g. opengfx? Will FooBar? Will I? Or who will be the author? ;-)
20:40:44 <TrueBrain> that is why I said: author(group)
20:40:47 <TrueBrain> that is true now too :)
20:40:50 <TrueBrain> you only see openttdcoop
20:40:52 <planetmaker> and most other community grfs have many, too
20:40:52 <TrueBrain> which is plenty
20:41:06 <TrueBrain> as to such names you can reference
20:41:39 <planetmaker> Well, authors are anyway mentioned in the grf description.
20:41:51 <planetmaker> which is visible ingame, if you activate it.
20:41:54 <TrueBrain> true
20:42:43 <planetmaker> keeping filenames the same as with online content allows to check easier for duplicates. But then... dunno :-)
20:42:52 <TrueBrain> we can change the latter too :)
20:43:07 <planetmaker> hehe ;-)
20:43:08 <TrueBrain> somehow the current naming schema is a bit poor :p
20:43:16 <planetmaker> do you think so?
20:43:17 <TrueBrain> _openttdcoop_NewGRF_package.7.3.tar.gz
20:43:29 <TrueBrain> SimpleAI.1.tar.gz
20:43:44 <planetmaker> actually I like <name><version>.tar
20:43:58 <TrueBrain> SimpleAI - 1.tar.gz
20:44:01 <TrueBrain> would be more readable I guess
20:44:05 <TrueBrain> but spaces are always an issue
20:44:16 <planetmaker> ^ I'd have to spank you, if you used them
20:44:23 <TrueBrain> hmm
20:44:25 <TrueBrain> okay
20:44:32 <planetmaker> ;-) Use _ or -
20:44:42 <TrueBrain> maybe ... prefix version with 'v'
20:44:53 <TrueBrain> OpenGFX.v0.2.1.tar.gz
20:45:03 <TrueBrain> OpenGFX-0.2.1.tar.gz
20:45:05 <TrueBrain> that is better
20:45:12 <planetmaker> yes. It's simpler
20:45:15 <planetmaker> KISS ;-)
20:45:27 <TrueBrain> PAXLink-13.tar.gz
20:45:30 <TrueBrain> yes, better than the .
20:45:42 <TrueBrain> Purno_s_new_railway_fence-1.tar.gz
20:45:50 <TrueBrain> still not pretty .. but better :p
20:45:50 <planetmaker> hm
20:46:12 <planetmaker> I guess. There's too many options to make everything look pretty
20:46:21 <TrueBrain> skipping 'illegal' values
20:46:27 <planetmaker> yeah
20:46:38 <TrueBrain> and only spaces to _
20:47:20 <planetmaker> sounds fine to me. (Until a counter example is found)
20:47:34 <TrueBrain> strip version numbers ..
20:48:42 <planetmaker> hm? why?
20:48:49 <TrueBrain> '3.0\s'
20:48:59 <TrueBrain> would become: -3.0_
20:49:01 <TrueBrain> bit silly ;)
20:49:30 <planetmaker> that would be the "\s" be?
20:49:50 <TrueBrain> stripping removes whitespaces
20:49:53 <TrueBrain> \s\t\n\r
20:50:12 <planetmaker> ah
20:51:09 <planetmaker> brb - washing machine wants attention ;-)
20:51:17 <TrueBrain> that is a new one
20:54:26 <TrueBrain> okay; tomorrow I will do the conversion of the current entries, and make sure new entries are changed to
20:54:29 <TrueBrain> this will be system wide
20:54:36 <TrueBrain> then I think the links will be permlinks :)
21:01:46 <planetmaker> he, nice :-)
21:11:15 <TrueBrain> bah, I hate doing things tomorrow :p
21:11:19 <TrueBrain> but a web-live backup takes FOR EVER
21:18:20 <TrueBrain> planetmaker: now you are free to permalink to the location, if it is up to me. Just use http://binaries.openttd.org/bananas/OpenGFX-0.2.1.tar.gz
21:18:34 <planetmaker> cool. thank you, TrueBrain !
21:19:07 <TrueBrain> next time I hope it becomes more clear to me sooner that this was the intention :)
21:26:38 <TrueBrain> still need to fully redesign BaNaNaS .. blegh
21:29:41 <planetmaker> he :-) If only the day had 48h, eh?
21:29:53 <TrueBrain> would that really matter? :p
21:30:05 <TrueBrain> but a redesign in this case is very boring
21:42:00 <TrueBrain> website has links too :)
21:43:57 <planetmaker> well... bananas *could* use a few features. Most prominently IMO a direct download link and, IMO more important, expanding the interface such, that the one grf - one user limit is removed. But several people may access a single grf
21:45:36 <TrueBrain> the first is done :)
21:45:40 <TrueBrain> got to go :) Bubye! :)
21:49:48 <planetmaker> ciao, TrueBrain