IRC logs for #openttd on OFTC at 2008-07-07
            
00:00:48 *** nekx has quit IRC
00:05:21 *** fjb has joined #openttd
00:05:25 <fjb> Hello
00:05:30 <Chrill> allo
00:09:53 <Cyclonerotary> hallo
00:11:44 *** thgergo has quit IRC
00:25:03 *** planetmaker is now known as pm|away
00:26:58 *** Chrill is now known as Teddy
00:27:05 *** Teddy is now known as Chrill
00:33:31 *** fjb has quit IRC
00:34:01 *** Eddi|zuHause2 has joined #openttd
00:40:26 *** Eddi|zuHause3 has quit IRC
00:45:42 *** Chrill has quit IRC
00:47:29 *** dlunch has quit IRC
00:54:45 *** ecke has quit IRC
01:26:50 *** Frostregen has quit IRC
01:32:10 *** Eddi|zuHause3 has joined #openttd
01:36:21 *** Eddi|zuHause2 has quit IRC
02:00:45 *** Cyclonerotor has joined #openttd
02:02:11 *** Cyclonerotary has quit IRC
02:08:08 *** TiberiusTeng has quit IRC
02:08:43 *** glx has quit IRC
02:38:12 *** ChanServ sets mode: +v Belugas_Gone
02:38:12 *** ChanServ sets mode: +v DorpsGek
02:38:12 *** ChanServ sets mode: +v orudge
02:38:12 *** ChanServ sets mode: +v peter1138
03:10:16 *** a1270 has quit IRC
03:11:57 *** a1270 has joined #openttd
03:43:42 *** Lakie has quit IRC
04:03:00 *** Gekz has quit IRC
04:22:30 *** bpZero has joined #openttd
04:28:49 *** bpZero has left #openttd
05:00:24 *** pm|away is now known as planetmaker
05:42:41 *** planetmaker is now known as pm|away
06:10:54 *** einKarl has joined #openttd
06:19:57 *** daspork has joined #openttd
06:30:29 *** LA has joined #openttd
06:31:21 *** Gekz has joined #openttd
06:38:17 *** Cyclonerotor has quit IRC
06:40:05 *** einKarl has quit IRC
06:47:24 *** Gekz has quit IRC
06:49:53 *** LA has quit IRC
07:15:51 *** mikl has joined #openttd
07:27:10 *** elmex has joined #openttd
07:46:22 *** TiberiusTeng has joined #openttd
07:57:28 *** Wezz6400 has joined #openttd
08:04:42 *** mikl has quit IRC
08:08:39 *** LA has joined #openttd
08:09:25 *** GoneWacko has joined #openttd
08:16:30 *** jni has quit IRC
08:16:59 *** Vikthor has joined #openttd
08:30:00 *** Doorslammer|BRSet has joined #openttd
08:30:50 <Doorslammer|BRSet> Afternoon all
08:31:24 <Vikthor> morning Doorslammer
08:31:52 <Doorslammer|BRSet> You guys were right
08:31:58 <Doorslammer|BRSet> That was some GP last night :D
08:35:39 *** GoneWacko has quit IRC
08:42:21 *** GoneWacko has joined #openttd
08:43:49 *** LA has quit IRC
08:45:10 *** pm|away is now known as planetmaker
08:49:47 *** grumbel has joined #openttd
08:54:43 *** TinoM has joined #openttd
08:56:16 *** Brianetta has joined #openttd
09:00:03 *** jni has joined #openttd
09:05:26 *** Gekz has joined #openttd
09:11:59 *** mikl has joined #openttd
09:16:44 *** dlunch has joined #openttd
09:24:17 <CIA-3> OpenTTD: rubidium * r13679 /trunk/src/ (economy.cpp economy_type.h oldloader.cpp): -Fix [FS#2131]: saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code.
09:47:30 *** nekx has joined #openttd
09:50:18 *** dlunch has quit IRC
09:50:53 *** dlunch has joined #openttd
10:01:51 *** dlunch has quit IRC
10:29:04 *** flowOver has joined #openttd
10:56:10 *** einKarl has joined #openttd
11:05:25 *** Brianetta has quit IRC
11:11:00 *** Mirrakor has joined #openttd
11:13:17 *** Devastator has joined #openttd
11:35:06 *** Brianetta has joined #openttd
11:41:05 *** Devastator has quit IRC
11:56:12 *** Frostregen has joined #openttd
12:02:28 *** HaloMaster has quit IRC
12:44:01 *** einKarl has quit IRC
12:49:12 *** Lakie has joined #openttd
12:53:23 *** Yorick has joined #openttd
12:57:35 <Yorick> I'm testing vista speech recognition
12:58:12 <Yorick> dictation doesn't work on IRC :-<
12:59:22 *** Mirrakor has quit IRC
13:10:12 *** Osai^zZz`off is now known as Osai
13:12:13 *** Gekz_ has joined #openttd
13:12:54 *** glx has joined #openttd
13:12:54 *** ChanServ sets mode: +v glx
13:13:54 <Yorick> it even inserts a sad face when I say "press happy face"
13:14:28 *** Gekz has quit IRC
13:20:41 <Eddi|zuHause3> "I'm testing vista [...]" <- you poor soul
13:21:55 <Gekz_> LOL
13:22:25 <Forked> does it type "LOL" for you if you start laughing?
13:22:43 <Gekz_> "Open parenthesis cat close parenthesis, NO YOU STUPID THING... no, I- stop listening."
13:24:55 <Yorick> (cat)
13:25:16 <Yorick> yeah, I started dictating that after you finished that line :)
13:25:22 *** Progman has joined #openttd
13:29:38 <Gekz_> lol
13:29:58 *** Belugas_Gone is now known as Belugas
13:33:38 <Yorick> meh, I'm quite sure I wouldn't want to enable "dictate everywhere"
13:34:31 *** Vikthor has quit IRC
13:38:18 <Belugas> the air conditioner is broken
13:38:27 <Belugas> my arms are sticking on the desk
13:38:36 <Yorick> Is it ?
13:38:42 <Belugas> it is
13:39:20 <Yorick> I'm testing out speech recognition
13:39:23 <Gekz_> http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html
13:39:26 <Gekz_> that's crazy
13:39:58 <Yorick> Currently dictating that text :-)
13:43:54 <Yorick> NORMAL: print(a + b)
13:43:56 <Yorick> BLOATED: am = new math.ArithmeticManager(); opA = new math.Operand((float) a); opB = new math.Operand((float) b); am.addOperand(opA); am.addOperand(opB); am.operator = new math.operators.Addition(); am.executeMathOperation(); system.io.output.print(am.mathOperationResult())
13:43:58 <Yorick> :)
13:49:16 *** Vikthor has joined #openttd
13:56:42 <SmatZ> that's disguisting
14:01:23 <Ammler> does someone know the admin of www.openttdserver.de
14:05:05 <Yorick> or does someone happen to be it?
14:06:07 <Ammler> as the stats tells, he is on the server :-)
14:06:37 <Yorick> where?
14:06:51 <Ammler> on his server
14:07:55 <Yorick> And how is he called ?
14:08:08 <Ammler> whois tells Thomas Fischer
14:08:22 <Ammler> so I assume, he is Tom
14:09:35 *** archjb has quit IRC
14:12:51 <Yorick> go there :)
14:14:05 <Yorick> Ammler: go there
14:15:10 <Ammler> :-)
14:15:24 <Ammler> I do not like ingame chat :-)
14:15:38 <Yorick> he's distributing the grfpack, is that the problem?
14:15:39 *** archjb has joined #openttd
14:16:14 <Ammler> yeah.
14:17:46 <Yorick> he'll remove the files, he says
14:21:40 *** ecke has joined #openttd
14:26:15 *** rortom has joined #openttd
14:26:26 <rortom> hey yorick
14:26:34 <rortom> openttdserver.de here
14:26:44 <rortom> fixed the website :)
14:26:54 <Yorick> ?
14:27:02 <Yorick> OK
14:27:21 *** Vikthor has quit IRC
14:28:06 <Yorick> Ammler: ^^
14:28:25 <planetmaker> Thx rortom :)
14:28:41 <Ammler> heya rortom, thanks for it
14:29:28 <Ammler> rortom: you can still use the pack, just link to our wiki, so you will be sure to have the current version. ( www.openttdcoop.org/wiki/GRF )
14:29:55 <rortom> sorry that i upload it
14:30:05 <rortom> but it was fast to get it out to some users
14:30:44 <rortom> you did very good work with the gfx pack :)
14:30:59 <rortom> mh im searching for server tools
14:31:19 <planetmaker> The download link is also always online :)
14:31:20 <rortom> currently im using the autopilot and the openttdlib for stats
14:31:47 <planetmaker> ^ so do we :)
14:32:30 <dih> hi
14:32:35 <dih> you highlightes me :-P
14:32:43 <planetmaker> hehe :)
14:33:02 * dih has a highlight for openttdlib ;-)
14:33:08 <glx> silly ;)
14:33:20 <rortom> oh dih nice to see you
14:33:20 <dih> yes - very! :-P
14:33:30 <rortom> wanted to say thanks for the nice software :D
14:33:38 <dih> heh
14:33:42 <dih> your welcome ;-)
14:33:55 <rortom> mh i wanted to add some stats to it
14:34:01 <rortom> with DB logging
14:34:06 <dih> feel free
14:34:09 <rortom> http://www.maani.us/xml_charts/index.php?menu=Gallery&submenu=Line
14:34:19 <rortom> i hope i find some time :\
14:34:42 <planetmaker> actually that'd be awesome :)
14:35:13 <rortom> is it possible to get more infos from ottd?
14:35:36 <dih> only what is described in the docs
14:35:58 <rortom> mh what about a bot that joins as spectator?
14:36:11 <dih> not done easily
14:36:22 <rortom> mh yeah :\
14:36:24 <dih> unless you patch the source, you will not get more info using openttdlib
14:36:37 <rortom> yes i thought that would be the answer
14:36:40 <Eddi|zuHause3> it should be easier to change the server source to generate some output
14:36:50 <dih> yes
14:36:52 <dih> it is
14:37:10 <dih> you could combine the mysql logging from autopilot with details from openttdlib
14:37:10 <Eddi|zuHause3> maybe you can hijack the NoAI interface ;)
14:37:11 <rortom> the integration of the changes is the problem ;)
14:38:42 <dih> well - based on the unique id you are kinda safe
14:39:13 <rortom> no i mean if i write a patch for the server it will be diffucult to get it into the trunk
14:39:19 <rortom> or i misunderstood you
14:39:35 <dih> i was not saying it should go into trunk
14:39:38 <dih> :-P
14:39:40 <rortom> :p
14:39:45 <rortom> mhm
14:39:53 <rortom> is the protocol documented somewhere?
14:40:05 <dih> of the udp packets?
14:40:11 <rortom> i wrote a python client for the RoR game
14:40:12 <dih> you mean the packet structure
14:40:13 <rortom> yes
14:40:25 <dih> well... you can read the c++ or php code
14:40:55 <dih> SpComb has written that stuff in python
14:41:00 <dih> for myottd.net
14:41:31 <rortom> ah, nice :)
14:42:24 <rortom> you know what source code file by chance? :|
14:42:42 <dih> for ottd or ottdlib
14:42:52 <rortom> ottd
14:42:57 <rortom> got it
14:42:58 <dih> src/network/core/udp.cpp i think
14:43:02 <rortom> thx
14:43:20 <rortom> mhm
14:43:24 <rortom> i was also thinking
14:43:27 *** Singaporekid has joined #openttd
14:43:44 <rortom> the server knows how everything looks like
14:43:58 <rortom> so if you could add a simple bitblit interface
14:44:16 <rortom> you could use something like google maps to navigate in real time in a map
14:44:36 <rortom> it would only have to render 200x200 pixel boxes or so
14:44:39 *** DaleStan has joined #openttd
14:44:44 <dih> the server does not know what things look like
14:44:50 <dih> it has no drawing at all
14:44:54 <rortom> :\
14:45:06 <Eddi|zuHause3> you can enable it, afaik ;)
14:45:08 <Yorick> Someone tried that
14:45:19 <rortom> so far for that idea :p
14:45:21 <Eddi|zuHause3> but that is basically wasted computer power
14:45:28 <rortom> yes
14:45:29 <dih> yes
14:45:37 <dih> it used to render
14:45:41 <rortom> so you could write a client and emulate that
14:45:59 <dih> it might be easier to teach python how to read a sav game
14:46:08 <dih> and give it the required graphics
14:46:10 <dih> :-P
14:46:15 <rortom> :p
14:46:18 <rortom> that could be ;)
14:46:43 <rortom> not much udp packet types
14:46:47 <rortom> that sounds nice :)
14:47:13 <Yorick> dih: afaik spcomb did that using screenshots with a google earth interface :p
14:47:23 <dih> yep - he did
14:47:43 <rortom> so that idea is also old :|
14:47:49 <Yorick> you could make the server nondedicated...
14:47:55 <rortom> nah ;)
14:47:56 <Yorick> but then you have no way of controlling it
14:48:12 <rortom> also
14:48:22 <rortom> why is there no rcon tool for the server?
14:48:28 * dih controlls his server with shell sciprts :-D
14:48:44 <dih> rortom: there is...
14:48:52 <dih> just you need to run it from inside the game
14:48:56 <rortom> :p
14:49:00 <dih> or use autopilot connected to an irc channel
14:49:12 <rortom> yeah, nice software you wrote btw ;)
14:49:24 <dih> autopilot is from Brianetta
14:49:32 <rortom> oh, good to know :)
14:49:39 <dih> i just write mods for it
14:49:43 <Yorick> dih: I got a "bad packet size" on openttdlib some time ago
14:49:51 <Yorick> refreshing page fixed it
14:50:00 <rortom> uhm
14:50:11 <rortom> is there a wireshark dissector for openttd?
14:50:13 <dih> the ottd server was down (or not responding) but the port was not blocked on the server
14:50:28 <dih> rortom: search the forums
14:50:32 <rortom> ok
14:50:39 <dih> there is something along those lines ;-)
14:50:47 *** Vikthor has joined #openttd
14:51:02 <Yorick> dih: querying the server on same pc, but to an ip it wasn't bound to
14:51:07 <rortom> http://www.tt-forums.net/viewtopic.php?f=29&t=32840&hilit=wireshark
14:51:12 <rortom> wonderful D:
14:51:25 <planetmaker> rortom: there's a patch for OpenTTD which allows modification of the usual patch settings via the patch settings GUI...
14:52:06 <dih> Yorick: you get that packet when the server does not drop your packet but no ottd server is running there
14:52:11 <dih> i.e. a response rather than a drop
14:52:33 <rortom> so i will write my own :\
14:52:38 <Yorick> planetmaker: ...
14:52:48 <planetmaker> :) Yorick?
14:53:05 <Yorick> some way that's a discription of my unfinished patch
14:53:17 <planetmaker> :)
14:53:37 <planetmaker> yeah, was just thinking wether it is already around somewhere else...
14:54:09 <Yorick> atleast the "waiting for dih" status hasn't changed
14:54:13 * Belugas has a plan to remove the word "patch" in ottd's code...
14:54:29 <planetmaker> ^^ good plan, Belugas :)
14:54:31 <rortom> lol
14:54:40 <blathijs> Belugas: Fine plan indeed :-)
14:55:20 <Belugas> :)
14:55:31 <Belugas> happy to see so many positive reactions :D
14:56:02 <Yorick> good plan
14:56:27 <Doorslammer|BRSet> :D
14:56:35 <Yorick> but it will make every patch currently available outdated
14:56:44 <Doorslammer|BRSet> D:
14:56:52 <Doorslammer|BRSet> Bipolar smilie
14:57:28 <planetmaker> For the sake of clearity of the code and dis-ambiguation that's acceptable, IMO :)
14:57:29 <Belugas> Yorick: so ? It's not the first time there has been patch killers commit...
14:57:41 <Belugas> what's important is trunk.
14:57:43 *** fjb has joined #openttd
14:57:43 <Yorick> yeah, the cpp branch too
14:57:48 <fjb> Hello
14:58:40 <Eddi|zuHause3> s/patch/p*tch/g
14:58:46 <rortom> :p
15:00:16 <rortom> mh but the server uses tcp for its stream?
15:00:23 <dih> 16:54 < Yorick> atleast the "waiting for dih" status hasn't changed
15:00:26 <dih> it will continue
15:00:42 * dih will not patch for wwottdgd
15:00:54 <Yorick> ?
15:01:29 <Eddi|zuHause3> rortom: UDP is only used for the server list, every game aspect has to be reproducable exactly, so it uses TCP
15:01:42 <rortom> thanks for clearify! :)
15:02:04 <rortom> we think think about to use udp for RoR :\
15:02:10 <rortom> via raknet
15:02:14 <hylje> RoR?
15:02:21 <hylje> Rise of Rome? Ruby on Rails?
15:02:22 <dih> Roads of Rod?
15:02:23 <rortom> http://rigsofrods.com
15:02:31 <dih> rigs
15:02:31 <Yorick> you should use some udpstack and such
15:02:32 <rortom> our game :)
15:02:33 <dih> that's the one
15:03:01 <dih> 17:00 < Yorick> ? <-- what?
15:03:14 <Yorick> dih will not patch for wwottdgd <-- what?
15:03:31 <dih> what word do you not understand?
15:03:42 <Yorick> the reason
15:03:56 <dih> i never mentioned one!
15:04:13 <Yorick> that's why I don't understand it yet
15:04:28 <dih> there is no reason you need to know
15:04:43 <dih> as far as you are concerned there is only 'dih will not patch for wwottdgd'
15:05:07 <Eddi|zuHause3> rortom: UDP is fine if you depend neither on completeness nor on order of packages
15:05:20 <Belugas> 'cause dih CANNOT patch right ^_^
15:05:22 * Belugas hides
15:05:33 * dih chaces after Belugas
15:05:53 <SpComb> rortom: http://dev.myottd.net/
15:05:56 <MorgyN> what would open transport tychoon do, god damn?
15:06:11 <dih> there is no open transport tyhoon
15:06:12 <rortom> @ SpComb: thats what i wanted to create :D
15:06:17 <dih> and no open transport tycoon
15:06:44 <rortom> @ SpComb: sources?
15:07:29 <SpComb> rortom: http://trac.meta.myottd.net/browser/trunk/test <-- that's the python side of things, I'm not sure where the OpentTTD patches are
15:07:42 <SpComb> but they're against some ancient version of OpenTTD, and a real pain to try and maintain
15:07:48 <rortom> D:
15:07:49 *** mikl has quit IRC
15:07:58 <rortom> thanks
15:08:10 <SpComb> http://zapotekii.srv.myottd.net/~terom/openttd/openttd-binapi-20080307-0439.patch <-- there
15:08:12 <Belugas> dih : "chaSes" buwhahaha!!! can't even spell right :D
15:08:16 <dih> SpComb: how about a scrolto option, where one can enter the same tile number as in openttd
15:08:18 <SpComb> basically, it replaces the console on stdin/out with a binary protocol
15:08:22 <SpComb> dih: meh
15:08:38 <rortom> urgs @ workaround
15:08:39 <dih> Belugas: i dont need spelling tips from someone who makes those mistakes at a dozon every day
15:08:42 <dih> :-P
15:08:55 <rortom> seems not to be a nice idea about the binary IO
15:09:02 <Yorick> dih: stop bashing french people!
15:09:12 <SpComb> rortom: well, if you're going to ship PNG screenshots around, there's not much else you can use
15:09:18 * dih ads Yorick to the ignore list again
15:09:27 <rortom> mhm
15:09:35 <Yorick> "ads", hah, he spellt it wrong!
15:09:40 <SpComb> but yes, the current OpenTTD console is really limited if you want to try and do funky stuff with it
15:09:55 <rortom> what about a userspace pipe?
15:09:56 <SpComb> using squirrel for it would make it a bit better, if the interface that it provided was improvied
15:10:02 <SpComb> but then you'd also need some kind of UNIX socket inteface or such
15:10:14 <rortom> thats what i would use
15:10:17 <SpComb> but to do that sanely it would need to be part of trunk
15:10:23 <rortom> yes
15:10:27 <rortom> for that reason
15:10:35 <rortom> i will try to write a client
15:10:40 <rortom> and use its data
15:10:41 <SpComb> I tried setting up some kind of conditional module compilation thing, but it would be a realy pain
15:10:44 <SpComb> *real pain
15:10:53 <rortom> oh, i believe that :\
15:11:04 <dih> @kick yorick
15:11:06 <dih> :-(
15:11:12 <dih> :-P
15:11:25 <rortom> so is the tcp stream documented somewhere?
15:11:34 <dih> in the source
15:11:35 <rortom> dont say code :|
15:11:35 <SpComb> in the source code...
15:11:36 <rortom> :p
15:11:41 <Belugas> lol at dih :D true, i make TYPOS :)
15:11:48 <dih> :-P
15:11:52 <Yorick> rortom: /src/network/network_client.cpp
15:11:52 <dih> i do too
15:12:00 *** Purno has joined #openttd
15:12:22 <Yorick> Belugas: @kick dih :-)
15:12:24 *** Mirrakor has joined #openttd
15:12:31 * Belugas hugs dih
15:12:37 <dih> thanks Belugas
15:12:39 <rortom> :|
15:12:46 * dih pats rortom on the head
15:12:52 <rortom> :\
15:13:10 <rortom> mh you thought about using scripting in the server? :|
15:13:10 * Belugas hugs rortom, he seems to be jealous...
15:13:22 <rortom> i am integrating it into RoR currently
15:13:24 <dih> :P
15:13:29 <dih> rortom: squirrel?
15:13:32 <dih> see the noai branch
15:13:37 <SpComb> but myes, a console that uses some proper syntax and a better API to the internals would go a long way
15:13:43 <rortom> ugh
15:13:47 * rortom like python
15:13:48 <dih> SpComb: ;-)
15:14:05 <Yorick> dih: you weren't gonna patch for wwottdgd ;)
15:14:13 <dih> WHAT IS YOU ISSUE
15:14:18 <dih> just get out of my face!
15:14:26 <dih> sheesh
15:14:27 <rortom> world wide ottd group destruction?
15:14:27 <Gekz_> you issue
15:14:30 <Gekz_> go chinese man
15:14:31 <Gekz_> go
15:14:32 <SpComb> but I'm currently working on too many other projects to touch OpenTTD
15:14:49 * rortom also :(
15:15:05 <rortom> you old c hackers D:
15:15:10 <SpComb> http://skrblz.fixme.fi:8117/ <-- 4000 lines of *.c code
15:15:13 <rortom> all those precompiler abuse :|
15:15:13 <Yorick> dih: yes, I wonder what is your issue with _me_
15:15:35 <rortom> @ SpComb: thats indeed nice :D
15:15:35 <dih> no
15:15:38 <dih> it's not with _you_
15:15:43 <dih> it's with _you users_
15:15:47 <dih> ;-P
15:15:56 <SpComb> it's an exercise in building a service that should scale
15:16:04 <MorgyN> damn users.
15:16:13 <rortom> nice :D
15:16:24 <rortom> self served? or webserver?
15:16:30 <SpComb> currently I only have a single node with eight 2Ghz cores, and it can easily utilize that to 800%
15:16:40 *** ecke has quit IRC
15:16:59 *** ecke has joined #openttd
15:17:00 <SpComb> but it can also scale to multiple physical nodes right now, and it's still got a long way to go to add caching and other things
15:17:17 <Yorick> dih: what users?
15:17:27 <SpComb> I use libevent's evhttp library for the web server part, although I'm going to need to more or less roll my own
15:17:36 <rortom> very nice :)
15:17:40 <SpComb> the evhttp API isn't all that great, and the code is a little bit of a mess
15:18:11 <dih> 17:17 < Yorick> dih: what users? <- those who always have the urge to continue asking questions!
15:18:21 <SpComb> still, I clocked almost 10,000 req/s and over a hundred MB/s of traffic on static resources (/static/tiles.js), and that's with a million data copies
15:18:26 <rortom> mhm ottd is a great example of non-existing documentation :|
15:18:33 *** snorre has joined #openttd
15:18:46 <Yorick> dih: still looking for a question you may find annoying...
15:18:55 <dih> shut up
15:18:58 <dih> :-P
15:19:26 <rortom> so
15:19:40 <rortom> has anyone a bit time to help me understand the protocol? :|
15:19:47 <Yorick> I have time, yes
15:20:02 <rortom> the tcpstream consists of CommandPacket ?
15:20:08 <Yorick> dih: shut up...shutting up has never done anything good...
15:20:23 <Yorick> if I have the knowledge...
15:20:25 <SpComb> rortom: you're going to write a custom OpenTTD client from scratch?
15:20:29 <rortom> yes
15:20:34 <rortom> did that for RoR
15:21:04 <rortom> so it must be do-able for ottd too ;)
15:21:09 <Yorick> it has multiple packets for tcp
15:21:17 <Yorick> one of those is the COMMAND_PACKET, yes
15:21:31 * planetmaker wonders whether under those conditions it wouldn't be easier to modify the existing client...
15:21:52 <Yorick> planetmaker: he doesn't need a WHOLE transport simulation
15:21:54 <hylje> yay rortom !
15:22:01 <rortom> http://rorserver.svn.sourceforge.net/viewvc/rorserver/trunk/python/client.py?view=markup
15:22:11 <rortom> RoR client i wrote ^
15:22:21 <hylje> interesting
15:23:12 <peter1138> rortom: you wrote a custom ror client from scratch? ;)
15:23:29 <planetmaker> interesting indeed.
15:23:50 <peter1138> hm
15:24:04 <peter1138> shame ror is closed source really :o
15:24:11 <Belugas> out of curiosity, rortom, why? just... wanting to know
15:24:38 <rortom> about the RoR client?
15:25:12 <rortom> @peter1138: yes :\
15:26:01 <Belugas> rortom, no for Open
15:26:03 <SpComb> rortom: and what functionality is the client supposed to have?
15:26:16 <rortom> it can record clients
15:26:20 <rortom> and play back
15:26:28 <rortom> its a tool to stress test servers
15:26:34 <Yorick> http://pastebin.com/m4039f0d4, a list of packet-types openttd knows
15:26:35 *** Cyclonerotary has joined #openttd
15:26:57 <rortom> @ Belugas: if i write a custom ottd client, i can attach it to any server without modifying the sources in any way
15:27:01 <Yorick> those with _SERVER_ are sent by the server, those with _CLIENT_ are sent by the client to the server
15:27:12 <Belugas> mmh..
15:27:14 <Belugas> ok
15:27:35 <rortom> got it, thanks :)
15:27:45 <rortom> mh so is each packet different from each other?
15:27:52 <rortom> means the patyload?
15:28:33 <rortom> funny
15:28:37 <peter1138> same format for each command packet, different data
15:28:43 <rortom> the RoR and ottd protocol is very much the same ;)
15:28:57 <peter1138> everything after the initial connect and map download is with commands
15:29:07 <rortom> ah, thanks :D
15:29:24 <rortom> where can i find the initial connecct routine?
15:29:29 <Yorick> in the code
15:29:46 <Yorick> network_server.cpp
15:30:31 *** Singaporekid has quit IRC
15:31:01 <rortom> DEF_SERVER_SEND_COMMAND(PACKET_SERVER_WELCOME)
15:31:03 <rortom> i guess?
15:31:46 <Yorick> hmm
15:31:57 <Yorick> DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT_COMPANY_INFO) it starts with
15:32:53 <Yorick> that's the network lobby screen
15:33:38 <rortom> ok
15:33:44 <Yorick> server then sends back company data, and you can send a PACKET_CLIENT_JOIN
15:33:49 <rortom> ah :D
15:34:01 <rortom> so let me create a basic server to be able to do this :)
15:34:18 <rortom> *client
15:34:43 <Yorick> at least, I think that's what it does
15:34:57 <rortom> oh, if you dont even know, then im lost :p
15:35:18 <Yorick> hmm...it checks the NetworkClientInfo before the company_info point
15:36:04 <rortom> :\
15:36:13 <rortom> should we move to -dev?
15:36:29 <Yorick> what?
15:37:05 <rortom> my fault :)
15:37:16 <rortom> blender had the -dev channel ;)
15:39:01 <rortom> so everything is a struct packet?
15:40:13 <Yorick> yeah, I think you should send a PACKET_CLIENT_COMPANY_INFO first
15:40:46 <dih> you can go to #yorick.annoymenot
15:40:48 <dih> :-P
15:40:55 * dih pets yorick on the head
15:41:02 <Yorick> dih: and how am I annoying today?
15:41:13 <Gekz_> he's easily annoyed
15:41:15 <Gekz_> I did it once
15:42:01 <dih> :-P
15:42:16 <dih> i am easily annoyed if i dont get enough sleep
15:42:21 <rortom> @ Yorick: let me trace everything down ...
15:42:38 <Yorick> it goes back into udp
15:43:24 <Yorick> or not
15:43:31 <Yorick> ah, I'm just guessing a bit
15:43:56 <Yorick> NetworkReceive()
15:44:06 <rortom> :|
15:44:45 <rortom> ah
15:44:55 <rortom> that seems to be the core receive
15:46:26 <Yorick> network.cpp provides the start of the routing
15:46:32 <Yorick> routine*
15:47:13 <rortom> Packet *NetworkTCPSocketHandler::Recv_Packet(NetworkRecvStatus *status)
15:47:21 <rortom> i think thats what the server uses
15:47:48 <Yorick> possibly both server and client
15:48:11 *** GoneWacko has quit IRC
15:49:40 <rortom> so
15:49:44 <rortom> let me sum
15:49:45 <rortom> up
15:49:58 <rortom> everything is send above the Packet struct
15:50:21 <rortom> so i must recode that first
15:51:17 <rortom> so my question
15:51:26 <rortom> is every command one packet or multiple?
15:51:50 <Yorick> what's your definition of "command"?
15:52:12 <rortom> http://pastebin.com/m4039f0d4
15:52:15 <rortom> those
15:52:28 <Yorick> those are oacjets
15:52:31 <Yorick> packets*
15:52:50 <Yorick> the "PACKET_CLIENT_COMMAND"-packet forms a command
15:53:35 <Yorick> but they're one packet, yes
15:53:39 <rortom> ok
15:54:03 <Yorick> or splitup by tcp, but you shouldn't be noticing
15:54:20 <rortom> sure
15:54:35 <rortom> i recognise some code you have
15:54:51 <rortom> we do it the same way at some points
15:55:02 <rortom> (in RoR)
15:55:05 <Yorick> ror is closed source :(
15:55:10 <rortom> yes :|
15:55:19 <rortom> i have access :|
15:55:22 <Yorick> but why?
15:55:30 <rortom> many reasons :\
15:55:43 <Yorick> ?
15:56:02 *** grumbel has quit IRC
15:56:13 <rortom> i dont think because pricorde thinks he could make money with it some day
15:57:11 <Belugas> don't mind, rortom, Yorick is the most curious human been i've encountered so far, right after dih
15:57:29 <Yorick> thank you
15:57:30 <Belugas> curious as in wanting to know everything
15:57:43 <Belugas> even waht is not of his matter :P
15:57:54 <rortom> hehe ;)
15:58:00 <rortom> i dont mind :)
15:58:23 <SpComb> is RoR Rise of Rome, or some other game?
15:58:27 <dih> oy Belugas...
15:58:30 <dih> nofair
15:58:31 <dih> :-P
15:58:49 <rortom> not that you think i advertise here on purpose ...
15:58:56 <rortom> http://rigsofrods.com
15:59:04 <Yorick> spam, ohnoes
15:59:07 <rortom> :p
15:59:14 <SpComb> right, I was just trying to find it on the wikipedia disambiguation page
15:59:22 <rortom> hehe
15:59:34 <rortom> so i will start with a simple tcp stream
15:59:40 <rortom> and try to send PACKET_CLIENT_COMPANY_INFO to the server
15:59:53 <Yorick> don't think you need that
16:00:24 <Cyclonerotary> anyone gonna start a opendttd mulitplayer anytime soon?
16:00:46 <dih> Cyclonerotary: see http://openttd.dihedral.de
16:01:02 <rortom> im currently playing ;)
16:01:05 <dih> the game auto upgrades to latest nightly
16:01:11 <dih> or join #openttdfairplay
16:01:13 <rortom> nice :)
16:01:35 <Yorick> PACKET_CLIENT_JOIN, at once should work
16:02:56 <rortom> so that at first i guess :\
16:03:24 <rortom> so i must just figure out how that packet is constructed :\
16:04:30 <Yorick> p->Send_string(_openttd_revision);
16:04:32 <Yorick> p->Send_string(_network_player_name); // Player name
16:04:34 <Yorick> p->Send_uint8 (_network_playas); // PlayAs
16:04:35 <Yorick> p->Send_uint8 (NETLANG_ANY); // Language
16:04:37 <Yorick> p->Send_string(_network_unique_id);
16:05:02 <CIA-3> OpenTTD: rubidium * r13680 /trunk/src/vehicle.cpp: -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct.
16:05:27 <rortom> so i must be blind that i did not see that :\
16:05:59 <rortom> ok, let me recode that thing :)
16:08:47 <Yorick> _openttd_revision should match the server revision( char[15]), _network_player_name(char[80]), _network_playas(uint8), NETLANG_ANY = 0(uint8), unique_id(char[33]) :)
16:09:09 <rortom> ah
16:09:14 <rortom> thanks for your help :D
16:09:44 <Yorick> the unique id is just a hash :)
16:09:45 <rortom> so how does the packet type identify itself?
16:11:24 <Yorick> network/core/packet.cpp helps
16:11:39 <rortom> currently reading :)
16:13:26 *** Doorslammer|BRSet has quit IRC
16:14:19 <rortom> mmhm
16:14:20 <rortom> this->buffer[this->size++] = type;
16:14:38 <rortom> so last byte of the PacketSize is the Type
16:14:52 <Rubidium> no
16:14:55 <rortom> and PacketSize is the whole size of all components
16:15:02 <rortom> oh wrong
16:15:04 <rortom> indeed
16:15:08 <rortom> size is the counter :|
16:15:35 <rortom> so the data is
16:15:39 <rortom> packetsize
16:15:41 <rortom> packettype
16:15:44 <rortom> payload
16:15:49 <Rubidium> exactly
16:15:56 <rortom> great :)
16:15:58 <rortom> thanks
16:17:05 <Yorick> Rubidium managed to explain the packet system to you in 2 words :-D
16:17:26 <rortom> :p
16:19:50 <rortom> we have nearly the same packet format in RoR
16:19:59 <rortom> btw the network stuff for RoR is open source ...
16:20:05 <rortom> including the server ...
16:21:04 <Rubidium> that sounds like a toyland climate; rabbits on rails
16:21:35 <Yorick> yeah, like "ottd" is that clear
16:22:19 <Rubidium> it's wikipedia unambiguous, so yes it is clear ;)
16:22:24 <Belugas> hoo.... Yorick, the big expert :P
16:23:29 <Yorick> hohoho...merry Belugas!
16:24:20 <peter1138> i just wish rigs of rods ran faster ;)
16:24:32 <rortom> oh, i also ;)
16:24:44 <peter1138> although sometimes it's stupidly fast
16:24:51 <peter1138> 110 fps is pretty good
16:24:58 <rortom> yeah, when the physics is deactivated :p
16:25:00 <peter1138> then you go too near a plane and it drops to 30 or so
16:25:19 <rortom> no wonders why
16:25:29 <peter1138> ah well
16:25:36 <rortom> each beam is running in its own thread
16:25:41 <peter1138> just needs to be more parallel (the magic word)
16:25:46 *** Cyclonerotary has quit IRC
16:25:46 <rortom> and those sync at 2000 FPS
16:25:58 <Yorick> beam?
16:26:25 <rortom> a Beam structure is a truck/car/crane/ship/anything in RoR
16:26:26 <peter1138> shame it doesn't (yet?) make use of my quad core...
16:26:46 <rortom> i wass coding on a better core support :\
16:26:50 <rortom> but time got short :\
16:26:53 <peter1138> ah
16:27:24 <rortom> whats sizeof(uint16) ?
16:27:25 <peter1138> i still don't know why my q6600 gets decent frame rates but my athlon 5800+ struggles along
16:27:30 <peter1138> 2
16:27:33 <rortom> thx
16:30:52 <Belugas> grrrr... wrong database version :(
16:31:08 <rortom> mhm
16:31:22 <rortom> sizeof(uint8)? 1 byte?
16:31:27 <Belugas> up
16:31:30 <Belugas> yup
16:32:04 <rortom> must create some c-->python mappings
16:32:58 *** Brianetta has quit IRC
16:34:26 <peter1138> hehe
16:34:31 <peter1138> one thing i noticed with RoR
16:34:49 <peter1138> the right hand mirror shows the same image as the left hand mirror
16:34:55 <peter1138> makes it pretty useless :)
16:35:25 <rortom> oh, no ;)
16:35:34 <rortom> just rotate the camera more to the right ;)
16:37:00 *** Vikthor has quit IRC
16:37:11 *** frosch123 has joined #openttd
16:38:40 *** Vikthor has joined #openttd
16:42:42 *** Lakie` has joined #openttd
16:44:38 <rortom> http://pastebin.rigsofrods.com/m456cbaa4
16:44:41 <rortom> so far so good
16:44:47 <rortom> i hope that is correct
16:46:18 <Yorick> if it works on a server...
16:46:38 <Rubidium> but why do you want to join a server?
16:47:51 <Ammler> Rubidium: spam bot ;-)
16:48:00 <rortom> lol
16:48:14 <rortom> oh, thats indeed bad
16:48:19 <rortom> if i write a bot
16:48:25 <rortom> anyone can miuse it D:
16:48:34 <rortom> *misuse
16:48:34 <Yorick> I wont :)
16:49:07 *** Lakie has quit IRC
16:49:46 *** DaleStan has quit IRC
16:49:52 *** Frostregen has quit IRC
16:50:09 *** lobster_MB has joined #openttd
16:50:35 <Rubidium> still... why do you want to join a server with a custom made client?
16:50:39 *** Lakie` is now known as Lakie
16:51:25 <rortom> to prevent all those server console/stat hacks ...
16:51:55 <Ammler> analyzing saves?
16:52:31 <Rubidium> and thus you are joining a server from where you get desynced in a few game days
16:52:38 *** dvdb has joined #openttd
16:52:45 <Rubidium> i.e. kicked
16:52:51 <dvdb> Salute.
16:52:56 <rortom> mh
16:52:58 <rortom> why?
16:53:24 <dvdb> What type of OpenTTD is this? http://www.tt-forums.net/download/file.php?id=65051
16:53:29 <Rubidium> to ensure game state consistency between the clients/servers
16:54:01 <Rubidium> dvdb: NoOpenTTD
16:54:47 <dvdb> Any TTD Version?
16:54:51 <rortom> @ Rubidium so i could not emulate the client behavior?
16:55:01 *** DaleStan has joined #openttd
16:55:06 <dvdb> I saw it here: http://www.tt-forums.net/viewtopic.php?f=40&t=29813&view=previous
16:55:14 <Rubidium> rortom: you can, but that means porting the whole core of OpenTTD to python
16:55:14 <rortom> @ dvdb its the TTD successor (cannot remember its name now...)
16:55:19 <Rubidium> and keeping it up to date
16:55:22 <rortom> mhm
16:55:54 <Rubidium> dvdb: look at the subforum you're in there
16:56:00 <rortom> @ Rubidium: so its not possible to join as spectator and just listen?
16:57:33 *** thingwath has joined #openttd
16:58:50 <Rubidium> rortom: what's listening?
16:59:16 <Rubidium> OpenTTD only transfers the map on join and then *only* the commands humans give
16:59:32 <rortom> yes
16:59:33 <Rubidium> e.g. building a train, placing a signal
16:59:43 <rortom> so as spectator i only receive commands
16:59:50 <rortom> right?
17:00:03 <Rubidium> yes and you are requested to check whether you are still in sync with the server
17:00:28 <rortom> how does that work (just if you have time)
17:01:14 <Rubidium> the random seed is send every X ticks and then checked
17:01:41 <Rubidium> the random seed changes (pseudo randomly) after getting a random number out of it
17:02:00 <rortom> mhm
17:02:06 <Rubidium> so the only way to not fail that check is performing the exact same amount of calls to random
17:02:14 <rortom> :\
17:02:18 <rortom> tricky ;)
17:02:32 <Rubidium> and random is used *all* over the place
17:03:01 <rortom> so i could not emulate that random number stuff?
17:03:19 <KingJ> Hah, never knew OpenTTD had a special message when you drowned your competitor :P
17:03:34 *** raimar2 has joined #openttd
17:03:57 <Rubidium> rortom: exactly (except actually running OpenTTD)
17:04:14 <Rubidium> without the drawing, but that doesn't cut the CPU usage that drastically
17:06:23 *** DJNekkid has joined #openttd
17:06:40 <dvdb> What is the most powerful locomotive in OpenTTD? AsiaStar has only 8000 PS :/
17:06:56 <DJNekkid> dvdb: the Chimaera :)
17:07:51 <dvdb> DJNekkid: and for electric railways?
17:08:11 <DJNekkid> asiastar afaik
17:08:18 <rortom> @ rubidium, thats not good :|
17:09:48 <rortom> so no passive clients possible
17:10:06 <Rubidium> exactly
17:10:13 <rortom> i figure ...
17:10:57 *** McHawk has quit IRC
17:13:11 *** Vikthor has quit IRC
17:14:53 <MorgyN> Need a cat mod for openttd... monorail cat, and the cat busses from totoro
17:15:27 <Belugas> miaoo
17:15:33 <Belugas> fuurrrr
17:15:35 <Belugas> fuurrrr
17:15:46 <TiberiusTeng> XD
17:16:01 <Rubidium> http://catmas.com/images/2006/12/monorail-cat-has-left-the-station.gif ;)
17:16:09 <rortom> lol
17:16:23 <Belugas> :D
17:16:40 <MorgyN> http://farm3.static.flickr.com/2126/2243896008_37689e0a07.jpg?v=0
17:19:23 <MorgyN> http://icanhascheezburger.files.wordpress.com/2007/02/11714107741.gif <- still the best tho
17:20:27 <SmatZ> hehehehe
17:20:35 <Yorick> rortom: rubidium has tricked you, ignoring the sync requests leads in you keeping connected
17:20:48 *** Wolf01 has joined #openttd
17:21:19 <rortom> danm Rubidium :p
17:21:34 <Wolf01> hello
17:21:36 <rortom> so it would work ;)
17:21:48 <Yorick> I guess it would, yes
17:21:58 <Rubidium> but you get some ancient game state
17:22:10 <Rubidium> and you know nothing about the 'current' game state
17:22:15 <Yorick> do you need a game state for a passive client?
17:22:28 <Rubidium> what use is a passive client?
17:22:39 <Rubidium> except using player slots?
17:22:39 <Yorick> logging commands and chat?
17:22:55 <Rubidium> the server can log the commands and so can any client
17:23:07 <Yorick> he wants it on unmodified servers
17:23:33 <Rubidium> so I should rewrite the network so the server checks the sync
17:23:53 <Yorick> R: ...
17:24:32 <Belugas> why logging everything? Are we going CIA or KGB or something like that?
17:24:44 <Belugas> commands and chats?
17:24:46 <Belugas> brrrr...
17:24:56 <Belugas> i think i'll keep on playing local :P
17:25:21 <rortom> :|
17:25:24 <Prof_Frink> Belugas: Well, why log that yourself?
17:25:43 <Prof_Frink> Just say Bomb and let Echelon log it for you
17:25:45 <Yorick> you've got irc channel logs, no?
17:25:50 <rortom> mh
17:25:59 <rortom> so i shouldnt even try to write that bot :|
17:26:06 <Yorick> yes you should
17:26:13 <Yorick> I like the idea
17:26:26 <Ammler> rortom: maybe better to port autopilot to python?
17:26:33 <Belugas> me? ain't logging a thing
17:26:35 <Yorick> of python-easy scriptable openttd
17:27:08 <rortom> in RoR we use it in MP to create missions and stuff like that
17:27:09 <Yorick> c has no good string parsing stuff
17:27:17 <SmatZ> Belugas: to determine who is trying to destroy the game
17:27:25 <Yorick> ^^
17:27:32 <rortom> means a python client join, and sends rcon commands to the server to control game flow
17:27:41 <Yorick> yeah, I like that
17:28:01 <Belugas> it can happen both ways, don't you know that?
17:28:14 <Belugas> it can log, but it can destroy the landscape too...
17:28:15 <Belugas> i think
17:28:21 <rortom> mh?
17:28:23 <Yorick> sure it can
17:28:28 <Belugas> or send SPAMS!
17:28:29 <Yorick> but it needs MANY!
17:28:37 *** lolman is now known as john
17:28:42 <rortom> uhm
17:28:43 <rortom> simple
17:28:44 *** john is now known as lolman
17:28:51 <rortom> in RoR server we use tokens
17:28:56 <rortom> like your unique IDs
17:29:04 <Yorick> unique ids can be fakes
17:29:07 <Yorick> faked*
17:29:09 <rortom> to control what cleints may do clients
17:29:26 <rortom> -last sentence
17:29:34 <rortom> to control what clients may do
17:30:18 *** Vikthor has joined #openttd
17:30:20 <rortom> mh
17:30:48 <rortom> i hope you tested your net protocol with fuzzy data etc?
17:31:09 <Yorick> how fuzzy?
17:31:16 <rortom> random data
17:31:21 <Yorick> should have been
17:31:31 <Yorick> otherwize bug > fixneeds
17:31:37 <rortom> yes
17:31:53 <Yorick> you made the server crash from sending a packet
17:31:54 <Rubidium> someone did something like that a while ago
17:32:03 <rortom> D:
17:32:15 <rortom> imagine i write that bot
17:32:24 <rortom> and someone uses it to take down ALL SERVERS
17:32:51 *** Rexxie has quit IRC
17:33:06 <Yorick> you'd be getting to the master server, istantly
17:36:29 <rortom> so i will test that on some local server ...
17:37:37 <Yorick> Have you made any progress?
17:38:23 <rortom> i stopped :|
17:38:33 <rortom> but will continue now
17:39:58 <Yorick> why did you stop?
17:40:19 <rortom> RoR support :\
17:41:26 <Belugas> why do you ask?
17:42:04 <Yorick> because he stopped
17:42:10 <Belugas> why do you care?
17:42:14 <rortom> lol
17:42:17 *** Rexxie has joined #openttd
17:42:19 <rortom> im fine ;)
17:42:51 <Yorick> Because I like his idea
17:43:00 <Belugas> why?
17:43:21 *** Slowpoke has joined #openttd
17:43:24 <Yorick> I don't know
17:44:26 <Belugas> so you like something and don't know why?
17:44:58 <rortom> :p
17:45:40 <rortom> oh god :|
17:45:47 <rortom> worst RoR video ever: http://forum.rigsofrods.com/index.php?topic=12655.msg102323#msg102323
17:46:20 <Belugas> Yorick, why don't you answer?
17:46:33 <rortom> lol :p
17:46:41 <Yorick> speech recognition being slow
17:46:56 *** Marduuhin has quit IRC
17:47:07 *** Vikthor has quit IRC
17:47:14 <Yorick> it's nice to have unpatched servers, and a most-likely quite compatible bot
17:47:48 <Belugas> are you answering to me, Yorick?
17:48:17 <Yorick> yes
17:49:07 <Belugas> i do not understand your answer then. Could you add more content toyour answer?
17:50:12 <rortom> @ Yorick i will continue to write the client
17:50:16 <rortom> at least trying to
17:50:21 <rortom> but not now and here
17:50:30 <rortom> so much other stuff to be done :\
17:50:45 <rortom> http://rigsofrods.spreadshirt.net/
17:50:51 <rortom> like ordering tshirts :p
17:50:53 <rortom> ;) ;)
17:50:54 *** Marduuhin has joined #openttd
17:51:03 <rortom> btw you have an openttd shirt? :|
17:52:12 *** Mirrakor has quit IRC
17:54:00 <Belugas> no... sadly enough
17:54:04 <rortom> D:
17:54:14 <rortom> its readlly easy to create one
17:54:17 <rortom> *really
17:54:24 <Belugas> i've got one from all the diving scholl i worked for, but not for ottd
17:54:37 <rortom> :\
17:54:42 <Belugas> either way, i'd be almost the only one havng one in montreal ^_^
17:54:49 <rortom> :p
17:56:03 * Belugas wonders what could be printed on such a shirt...
17:56:06 <rortom> the ottd community is much bigger than ours ;)
17:56:29 <rortom> you dont have any official logo?
17:56:50 <Ammler> the dollar sign :-(
17:57:16 <rortom> :\
17:57:35 *** Cyclonerotary has joined #openttd
17:57:35 <rortom> isnt that the original one?
17:57:46 <Ammler> http://en.wikipedia.org/wiki/Image:Openttdlogo.svg
17:57:55 <rortom> ah :)
17:58:07 <rortom> that would be nice on a shirt :)
17:58:17 <rortom> and since its vector, it would scale well :)
17:58:29 <rortom> let me try something out
17:58:54 <Ammler> I have no idea, who to credit for...
18:01:05 <Belugas> hehe...
18:02:02 <Belugas> and on the sleeve : "Dev", "Code Leader", "Patcher", "User" "Server Admin", "/ignore Yorick"
18:02:15 <rortom> https://rigsofrods.spreadshirt.net/en/DE/Shop/Index/index/
18:02:15 <rortom> :)
18:02:28 <rortom> as said, its easy and fast
18:02:29 <Yorick> :)
18:02:38 <Yorick> my name on a shirt!
18:02:41 <rortom> :p
18:03:05 <Ammler> wh is it cheaper then RoR shirt?
18:03:26 *** Vikthor has joined #openttd
18:03:46 <Belugas> colour of the shirt maybe
18:03:50 <rortom> no
18:03:56 <rortom> 3 euro flow in my pocket :|
18:04:04 <rortom> -> server refund
18:04:04 <Belugas> lol
18:04:10 <rortom> :)
18:04:24 <rortom> so that adds to the price ;)
18:04:46 <rortom> have to pay ~60 euros a month
18:04:50 *** thgergo has joined #openttd
18:04:51 <Belugas> any quantity? i mean... there is no minimum? nor rebate after x amount?
18:05:26 <rortom> no
18:05:34 <rortom> thats the cool thing about spreadshirt
18:05:43 <Yorick> then how does it work?
18:05:44 <rortom> no minimum
18:05:59 <Yorick> you let them sell a shirt?
18:06:07 <rortom> just order one for you and tahts it :)
18:06:24 <rortom> you upload the design
18:06:41 <rortom> and set how many you want per sold shirt
18:06:47 <rortom> nothing more
18:06:52 <rortom> they do the rest
18:07:08 <rortom> and you will get such fancy online shop
18:07:24 <Yorick> and what's the max you can want?
18:07:34 <rortom> mh?
18:07:54 <Yorick> what's their base price?
18:07:58 <rortom> ah
18:08:04 <rortom> thats fixed with a table
18:08:06 <Belugas> as much as your wallet can allow :P
18:08:10 <rortom> the base shirt costs
18:08:11 <Yorick> https://rigsofrods.spreadshirt.net/en/DE/Shop/Article/Index/article/OpenTTD-Fan-Shirt-7010197 :o
18:08:33 <rortom> and everything you add costs also :)
18:08:38 <rortom> i just created that shirt
18:09:15 <Yorick> if someone buys it, you get the money...
18:09:21 <rortom> no
18:09:21 <Yorick> on their logo
18:09:39 <rortom> that 15,90 is the minimum price
18:09:45 <rortom> i added no commission
18:09:50 <rortom> means no profit for me
18:10:08 <Yorick> :o they're expensive
18:10:32 <rortom> yeah, more expensive than normal shirts :|
18:10:39 <rortom> but since its something special ...
18:11:31 *** Vikthor has quit IRC
18:11:35 <rortom> do you want me to remove that shirt again?
18:11:54 <peter1138> hm
18:12:21 <peter1138> ooh
18:12:25 <peter1138> which image did you use?
18:12:30 <rortom> from wikipedia
18:12:37 <peter1138> ah, the svg :D
18:12:39 <Yorick> http://en.wikipedia.org/wiki/Image:Openttdlogo.svg
18:12:42 <rortom> yes
18:12:50 <rortom> exported as png, then uploaded
18:13:23 <rortom> someone of your leaders/executives should create some spreadshirt shop :)
18:13:35 *** nekx has quit IRC
18:13:40 <Yorick> that'd be rubidium
18:13:49 <peter1138> Yorick: this sort of custom graphic printing place are always expensive
18:14:11 <rortom> http://youtube.com/watch?v=DJ5OBhlJEhQ
18:14:16 <rortom> "Spreadshirt - Hands per piece, how your t-shirt is made"
18:14:28 <rortom> lots of manual work ...
18:14:36 <Eddi|zuHause3> # Weisst du noch wie's früher war?
18:14:36 <Eddi|zuHause3> # Früher war alles schlecht!
18:14:36 <Eddi|zuHause3> # Der Himmel grau, die Menschen mies.
18:14:37 <Eddi|zuHause3> # Die Welt war furchtbar ungerecht.
18:14:37 <Eddi|zuHause3> # Doch dannn; dann kam die Wende! - unser Leid war zu Ende.
18:14:50 <Belugas> that does not include shipping, does it?
18:14:56 <rortom> no
18:15:04 <rortom> its about 3 euros shipping
18:15:20 <rortom> the main thing to notice: they dont do oversea shipping
18:15:32 <rortom> so since its a german company ...
18:15:33 <Forked> hmm, so why not use cafepress?
18:15:42 <peter1138> nice bosom shot at 30 seconds in ;)
18:15:43 <Forked> you could get openttd boxer shorts
18:15:44 <Belugas> blahh
18:16:01 <rortom> i think thats the same as spreadshirt :)
18:16:04 <peter1138> cafepress :(
18:16:48 <rortom> if you want to reach US customers create an account at spreadshirt.com
18:16:59 <Forked> CP keeps mislabeling what they ship..
18:16:59 <rortom> they have different products
18:17:04 <Forked> the prize
18:18:28 <Belugas> mmh...
18:18:41 <Belugas> Mogwai - Auto Rock rocks
18:18:45 <Belugas> even the remix :)
18:19:02 <peter1138> http://www.tt-forums.net/viewtopic.php?p=707150#p707150
18:19:13 <peter1138> did we ever solve the dos/windows graphics problem for 32bpp tars?
18:19:22 <rortom> :|
18:19:45 <Rubidium> is there a problem?
18:19:51 <rortom> hey Rubidium
18:20:03 <Wolf01> houston, we have a problem!
18:20:03 <rortom> http://rigsofrods.spreadshirt.net/en/DE/Shop/Article/Index/article/OpenTTD-Fan-Shirt-7010197
18:20:08 <Eddi|zuHause3> Belugas: but it is not from "the best band of the world" :p
18:20:09 <rortom> remove?
18:20:10 <peter1138> well, that 32bpp graphics depend on dos/windows version
18:20:54 <De_Ghosty> anyone can read korean?
18:20:56 <Belugas> Eddi|zuHause3, ot yours, but it's getting more and more mine :)
18:21:31 <Eddi|zuHause3> www.die-beste-band-der-welt.de ;)
18:22:35 *** Swallow has joined #openttd
18:23:49 * Belugas is picking up some hot coffee, might eventually cool him a bit :S
18:25:01 <Swallow> Question: Can I assume that CargoID 0 is valid?
18:25:19 <Eddi|zuHause3> with newgrf, you can never assume anything
18:26:05 <Belugas> Swallow, yes you can
18:26:26 <Rubidium> Belugas: are you sure?
18:26:43 <Belugas> well...
18:27:10 <Belugas> i was pretty much sure, but you're shaking my convitions now
18:27:45 <peter1138> no, but quite a bit of code does
18:27:47 <Belugas> yes, i'm sure
18:27:58 <Belugas> CT_PASSENGERS = 0,
18:28:11 <Belugas> unless not talking about the same stuff ;S
18:28:51 <Swallow> but NewGRF can override that, can't they?
18:31:09 <Belugas> ho... not the same stuff then...
18:31:27 <Eddi|zuHause3> Belugas: http://youtube.com/watch?v=uFRxREFV5BY [song to the text above]
18:32:11 <peter1138> same stuff, CT_PASSENGERS only applies if a newgrf hasn't change it
18:32:13 <peter1138> +d
18:35:02 <Swallow> I will take the safe route and add an extra check, thanks for your help
18:58:44 *** GoneWacko has joined #openttd
19:05:58 <rortom> whats an M in the revision number?
19:06:02 <rortom> M for modified?
19:06:15 <rortom> i mean the game version number
19:06:55 <hylje> modified yes
19:06:59 <rortom> D:
19:07:06 <rortom> that russion patch pack
19:07:17 <rortom> i have a precompiled windows client without M client
19:07:30 <rortom> and when i compile the server i get an M :|
19:07:31 <hylje> you can override it by running configure
19:07:34 <rortom> same revision
19:07:48 <Ammler> or you can force the join with argument -n
19:07:49 <hylje> if you are really sure it's the same rev
19:08:04 <rortom> ah, nice
19:08:06 <rortom> thanks!
19:08:53 <dvdb> How long is a "tick" ?
19:09:05 <Ammler> the russion pack has a whole sentence as Revision name.
19:09:12 <Prof_Frink> about |---| yay long
19:09:27 <Ammler> around an hour :-)
19:09:35 <dvdb> and in OpenTTD?^^
19:10:51 <rortom> @ ammler i was just about to notice that too :|
19:10:59 <dvdb> another question: how can i change ticks to days like here: http://www.tt-ms.de/forum/attachment.php?aid=449 ?
19:11:09 <Eddi|zuHause3> dvdb: something around 30ms
19:11:37 <Ammler> dvdb: it is a patch setting
19:11:42 <rortom> ./configure --revision="r13437 - Russian Community patchpack 1.2.0"
19:11:45 <rortom> :(
19:11:59 <Eddi|zuHause3> dvdb: it's a patch setting, "show timetables in ticks instead of days"
19:12:01 <Ammler> Belugas: indeed, removing the word "patch"
19:13:21 <Belugas> btw, it has nothing to do agaisnt TTDPatch.. Just that we do niot have patches. We have options and advanced options
19:13:36 <Eddi|zuHause3> newoptions! :p
19:13:44 <rortom> noptions?
19:13:58 <rortom> :p
19:14:29 <Belugas> and we are not applying patches, we're applying diffs!
19:14:33 <Belugas> less a confusion...
19:15:08 <Ammler> did you discuss that with dih :-)
19:15:26 <Belugas> no
19:15:28 <Belugas> why?
19:15:43 * Prof_Frink confuses
19:17:12 <Ammler> nvm, we discussed that once, because I always renamed his *.patch to *.diff...
19:18:11 <Belugas> well... tell a newcomer to apply a patch, 99% of the time, he thinks it's a piece of a binay that fixes something in the orignal exe :S
19:18:19 <Ammler> removing of word patch wouldn't need patching, would it ;-)
19:18:48 <Ammler> just a matter of translation
19:19:03 <Prof_Frink> No, it needs bodging
19:19:26 <hylje> fudge
19:19:44 <Prof_Frink> Nah, fudge is different
19:19:56 <Prof_Frink> Bodging is making it right in the wrong way
19:20:03 <Belugas> call it deving then...
19:20:06 <Prof_Frink> Fudging is making it wrong, but look right
19:22:02 <Eddi|zuHause3> i already imagine the forum topic: "Patch: Diff" :p
19:22:46 <rortom> mh russian pack lags as hell?
19:22:52 <TiberiusTeng> about the file extension: .diff / .patch, which is better ?
19:22:54 <Eddi|zuHause3> rortom: using ECS?
19:23:20 <rortom> ?
19:23:29 <rortom> .patch IMO
19:23:44 <Eddi|zuHause3> i meant do you use the ECS grfs?
19:24:23 <rortom> i use the GRF pack
19:24:39 <Belugas> TiberiusTeng, i don't know to be honest
19:24:39 <rortom> ~10 grfs
19:24:44 <Eddi|zuHause3> you should never enable all grfs from the grf pack ;)
19:24:54 <rortom> sure, i did not ;)
19:24:55 <Belugas> i thnik that as long as you can apply either one, it's fine
19:25:09 <Ammler> Eddi|zuHause3: wise suggestion :-)
19:25:15 <Belugas> (patch or diff, i mean...)
19:25:15 <Eddi|zuHause3> TiberiusTeng: i use .diff most of the time
19:25:47 <TiberiusTeng> I
19:25:48 <TiberiusTeng> I'
19:25:58 <TiberiusTeng> I always use redirect :P
19:26:02 <TiberiusTeng> (sorry for those typo)
19:26:23 <Prof_Frink> I use .badger
19:33:46 <Yorick> badgerbadgerbadgerbadgerbadgerbadger
19:34:25 <Prof_Frink> müshroom
19:34:44 <Noldo> is it output of diff or input of patch
19:35:22 *** egladil has quit IRC
19:36:46 *** egladil has joined #openttd
19:44:27 *** Purno has quit IRC
19:53:04 *** DaleStan has quit IRC
19:53:25 *** DaleStan has joined #openttd
19:53:46 <glx> <@peter1138> did we ever solve the dos/windows graphics problem for 32bpp tars? <-- I have http://glx.dnsalias.net:8080/openttd/tardosttd.diff for that
19:54:32 <michi_cc> Rubidium: your bug's fixed
19:54:40 <Wolf01> 'night
19:54:48 *** Wolf01 has quit IRC
20:01:40 *** Mirrakor has joined #openttd
20:02:03 <rortom> nite
20:02:32 *** rortom has quit IRC
20:02:44 *** KritiK has joined #openttd
20:11:05 *** Yorick has quit IRC
20:15:14 <DJNekkid> a nfo-question if i may:
20:15:32 <DJNekkid> i've added
20:15:35 <DJNekkid> -1 * 0 02 00 D1 81 0C 00 FF 01 23 80 00 00 AC 00
20:16:17 <DJNekkid> should not that give me a "generic text" number 00 00 (the 2nd and 3rd 00 from the back) ?
20:16:34 <DJNekkid> or to be presice, the D000
20:17:05 <DJNekkid> if i add the cid D1 to the action 3
20:19:33 <peter1138> err
20:20:23 <Sacro> DaleStan: ping
20:20:37 <peter1138> "00 00" is not a callback result
20:20:39 <DaleStan> pong
20:20:59 <peter1138> but i can't remember the format of it :)
20:21:12 <DaleStan> DJNekkid: And that location isn't where a callback result would be, anyway.
20:21:53 <DJNekkid> and where would that be?
20:21:55 <DJNekkid> the AC?
20:22:01 <DaleStan> Those would be <min> and <max>
20:22:43 <DaleStan> <setID>s (23 80) and (AC 00) are where you put results.
20:24:49 *** Vikthor has joined #openttd
20:25:14 <DJNekkid> so ... FF 01 00 80 23 23 AC 00 ?
20:25:50 <DaleStan> To return 0 for CB 23 (text D000) and chain to CID AC in all other cases, yes.
20:26:49 <DJNekkid> but isnt that what i actually want? :)
20:27:31 <DJNekkid> tho, it dont seem to work
20:28:02 <DJNekkid> so, i guess not
20:31:24 * Belugas Mogwai - Moses? I Amn't
20:32:06 *** Ridayah has quit IRC
20:32:51 *** Vikthor has quit IRC
20:33:59 <DJNekkid> what i want to do is add text to the purchase window :)
20:40:06 *** TiberiusTeng has quit IRC
20:44:21 <DJNekkid> btw, i got it to work, but i had a separate purchise screen cID
20:45:21 *** frosch123 has quit IRC
20:48:53 *** Vikthor has joined #openttd
20:49:56 *** Mirrakor has quit IRC
20:54:39 <DaleStan> DJNekkid: Ah. CB23 will only be called with the purchase-window cargo type.
20:55:42 <DJNekkid> DaleStan: yea ... i figured that out finally ... i mean, the cid i did set were the engine itself ... if that makes sense, but i needed to put in the separate puchsise screen cid
20:56:56 *** Vikthor has quit IRC
20:57:31 *** Swallow has quit IRC
20:57:50 *** tokai has quit IRC
20:59:24 *** tokai has joined #openttd
20:59:24 *** ChanServ sets mode: +v tokai
21:09:06 *** TinoM has quit IRC
21:15:17 *** Vikthor has joined #openttd
21:15:29 *** Osai is now known as Osai^zZz
21:18:08 *** Ridayah has joined #openttd
21:18:33 <Cyclonerotary> i dont get it, my large train stations right in the middle of town attract very few passangers
21:18:48 <Cyclonerotary> whereas my docks on the edges of small towns rapidly get hundreds
21:24:01 <fjb> How many trains are visiting the stations?
21:26:14 *** Ridayah has quit IRC
21:26:37 *** Ridayah has joined #openttd
21:28:00 *** ecke has quit IRC
21:31:13 <DaleStan> And what are the station ratings?
21:41:28 *** Slowpoke_ has joined #openttd
21:42:51 *** ecke has joined #openttd
21:44:41 *** bowman has quit IRC
21:44:45 *** bowman has joined #openttd
21:47:21 <Eddi|zuHause3> Cyclonerotary: ships suffer less from rating decay, when no vehicle is waiting
21:47:45 *** Slowpoke has quit IRC
21:47:54 *** Vikthor has quit IRC
21:53:51 *** Slowpoke_ has quit IRC
21:57:23 *** TiberiusTeng has joined #openttd
22:04:07 *** GT has joined #openttd
22:08:33 *** GT has left #openttd
22:08:46 *** GT has joined #openttd
22:10:55 *** GT has left #openttd
22:22:37 *** ecke has quit IRC
22:33:05 *** GoneWacko has quit IRC
22:56:24 *** grumbel has joined #openttd
23:26:20 *** ecke has joined #openttd
23:29:11 *** Progman has quit IRC
23:30:53 *** Gekz has joined #openttd
23:32:40 *** Gekz_ has quit IRC
23:33:28 *** Frostregen has joined #openttd
23:38:40 *** elmex has quit IRC
23:38:52 *** Wezz6400 has quit IRC
23:56:14 *** fjb has quit IRC