Back to Home / #openttd / 2007 / 11 / Prev Day | Next Day
#openttd IRC Logs for 2007-11-14

---Logopened Wed Nov 14 00:00:32 2007
00:20|-|Osai [~Osai@pD9EB65F3.dip.t-dialin.net] has joined #openttd
00:38|-|Nitehawk [~nitehawk@c-98-200-106-108.hsd1.tx.comcast.net] has quit [Ping timeout: 480 seconds]
00:39|-|Nitehawk [~nitehawk@c-98-200-106-108.hsd1.tx.comcast.net] has joined #openttd
00:50|-|Osai [~Osai@pD9EB65F3.dip.t-dialin.net] has quit [Quit: Osai]
01:12|-|TinoM [~Tino@i5387C513.versanet.de] has joined #openttd
01:21|-|Unknown_Entity [~UnknownEn@dslb-084-063-005-075.pools.arcor-ip.net] has joined #openttd
01:24|-|Hendikins|Work changed nick to Hendikins
01:47|-|Deathmaker [~Miranda@dslb-082-083-210-041.pools.arcor-ip.net] has joined #openttd
01:53|-|G [~njones@202.154.150.91] has joined #openttd
01:53|-|ludde [~ludde@ua-83-227-238-252.cust.bredbandsbolaget.se] has joined #openttd
01:55|-|G_ [~njones@202.154.150.91] has quit [Ping timeout: 480 seconds]
02:00|-|Frostregen_ [SADDAM@dslb-084-058-154-045.pools.arcor-ip.net] has joined #openttd
02:06|-|Frostregen [~sucks@dslb-084-058-165-141.pools.arcor-ip.net] has quit [Ping timeout: 480 seconds]
02:06|-|Frostregen_ changed nick to Frostregen
02:07|-|Deathmaker [~Miranda@dslb-082-083-210-041.pools.arcor-ip.net] has quit [Ping timeout: 480 seconds]
02:07|-|stillunknown [~stillunkn@82-171-87-247.dsl.ip.tiscali.nl] has joined #openttd
02:14|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has joined #openttd
02:25|-|blathijs [~matthijs@katherina.student.utwente.nl] has joined #openttd
02:32|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has quit [Ping timeout: 480 seconds]
02:41|-|Farden [~jk3farden@AMontsouris-156-1-28-94.w90-2.abo.wanadoo.fr] has joined #openttd
03:06|-|Purno [~Purno@5357D37C.cable.casema.nl] has joined #openttd
03:09|-|stillunknown [~stillunkn@82-171-87-247.dsl.ip.tiscali.nl] has quit [Ping timeout: 480 seconds]
03:14|-|Unknown_Entity [~UnknownEn@dslb-084-063-005-075.pools.arcor-ip.net] has quit [Ping timeout: 480 seconds]
03:23|-|Unknown_Entity [~UnknownEn@dslb-084-063-022-139.pools.arcor-ip.net] has joined #openttd
03:25|-|TrainzStoffe [~mirc@h2n2fls308o838.telia.com] has joined #openttd
03:27|-|Jezral [~projectjj@users.kollegienet.dk] has joined #openttd
03:32|-|llugo [~lugo@p4FD5F44A.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
03:33|-|Stoffe [~mirc@h2n2fls308o838.telia.com] has quit [Ping timeout: 480 seconds]
03:33|-|TrainzStoffe changed nick to Stoffe
03:33|-|TinoDidriksen [~projectjj@users.kollegienet.dk] has quit [Ping timeout: 480 seconds]
03:54|-|ThePizzaKing [~jeff@c211-28-164-75.eburwd2.vic.optusnet.com.au] has quit [Quit: ThePizzaKing]
04:04|-|ThePizzaKing [~jeff@c211-28-164-75.eburwd2.vic.optusnet.com.au] has joined #openttd
04:09|-|prakti [~prakti@port-213-148-152-8.static.qsc.de] has joined #openttd
04:12|-|a1270 [~Cheese@24-117-163-29.cpe.cableone.net] has quit [Quit: The ending changes tone & is actually quite sad - but it involves a scene of necrophilia, so that's just another plus in my book.....]
04:13|-|a1270 [~Cheese@24-117-163-29.cpe.cableone.net] has joined #openttd
04:21|-|Ailure [Cat@194.47.44.201] has quit [Ping timeout: 480 seconds]
04:28|-|Gekz [~gekko@CPE-121-217-203-4.nsw.bigpond.net.au] has quit [Remote host closed the connection]
04:29|-|Gekz [~gekko@121.217.203.4] has joined #openttd
04:30|-|Gekz [~gekko@121.217.203.4] has quit []
04:31|-|Gekz [~gekko@CPE-121-217-203-4.nsw.bigpond.net.au] has joined #openttd
04:32|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has joined #openttd
04:32|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has quit []
04:32|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has joined #openttd
04:35|-|Gekz [~gekko@CPE-121-217-203-4.nsw.bigpond.net.au] has quit [Remote host closed the connection]
04:35|-|Gekz [~gekko@CPE-121-217-203-4.nsw.bigpond.net.au] has joined #openttd
04:44|-|dihedral [~dihedral@joshua.dihedral.de] has joined #openttd
04:45<dihedral>hello DaleStan
04:56|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has quit [Ping timeout: 480 seconds]
04:56|-|Starbud [~Starbud@c-c5b4e455.44-0016-74657210.cust.bredbandsbolaget.se] has quit [Quit: Starbud]
04:59|-|Zavior [~zavior@d195-237-7-209.elisa-laajakaista.fi] has joined #openttd
05:12|-|BigBB [~BigBB@p57A2C9E7.dip.t-dialin.net] has joined #openttd
05:30|-|Entane [~Entane@206.84-48-202.nextgentel.com] has quit [Ping timeout: 480 seconds]
05:30|-|Entane [~Entane@206.84-48-202.nextgentel.com] has joined #openttd
05:38|-|shodan [user@xerxes.foocode.net] has joined #openttd
05:38|-|Vikthor [~Vikthor@snat1.spoje.net] has joined #openttd
05:57|-|Gekz [~gekko@CPE-121-217-203-4.nsw.bigpond.net.au] has quit []
06:09|-|SmatZ [~smatz@a40-prg1-5-107.static.adsl.vol.cz] has joined #openttd
06:13|-|Ailure [Cat@194.47.44.201] has joined #openttd
06:14<SmatZ>hello
06:25|-|izhirahider [~izhirahid@izhirahider.user.oftc.net] has quit [Server closed connection]
06:25|-|izhirahider [~izhirahid@squareroot.divisionbyzero.net] has joined #openttd
06:38|-|Entane_ [~Entane@206.84-48-202.nextgentel.com] has joined #openttd
06:38|-|shodan [user@xerxes.foocode.net] has quit [Quit: Client Exiting]
06:38|-|Progman [~progman@p57A1CFCF.dip.t-dialin.net] has joined #openttd
06:41|-|BigBB [~BigBB@p57A2C9E7.dip.t-dialin.net] has quit [Remote host closed the connection]
06:42|-|Entane [~Entane@206.84-48-202.nextgentel.com] has quit [Ping timeout: 480 seconds]
06:43|-|HerzogDeXtEr [~dex@i577B43BF.versanet.de] has joined #openttd
06:44|-|RamboRonny [magic.powe@90-230-201-111-no37.tbcn.telia.com] has joined #openttd
06:47|-|Bjarni [~Bjarni@0x50c79a03.virnxx14.adsl-dhcp.tele.dk] has joined #openttd
06:47|-|mode/#openttd [+o Bjarni] by ChanServ
06:50|-|Entane_ changed nick to Entane
06:50|-|HerzogDeXtE1 [~dex@i577B7E56.versanet.de] has quit [Ping timeout: 480 seconds]
06:55|-|Unknown_Entity [~UnknownEn@dslb-084-063-022-139.pools.arcor-ip.net] has quit [Remote host closed the connection]
06:55|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has joined #openttd
06:56|-|BigBB [~bob79@p57A2C9E7.dip.t-dialin.net] has joined #openttd
06:58|-|BigBB [~bob79@p57A2C9E7.dip.t-dialin.net] has left #openttd []
07:03|-|BigBB [~bob79@p57A2C9E7.dip.t-dialin.net] has joined #openttd
07:11|-|BigBB_ [~BigBB@p57A2C9E7.dip.t-dialin.net] has joined #openttd
07:12|-|BigBB [~bob79@p57A2C9E7.dip.t-dialin.net] has left #openttd []
07:14|-|Diabolic-Angel [~dia@ip-62-143-77-30.1311A-CUD12K-02.ish.de] has joined #openttd
07:15|-|Diabolic-Angel [~dia@ip-62-143-77-30.1311A-CUD12K-02.ish.de] has quit []
07:36|-|Entane [~Entane@206.84-48-202.nextgentel.com] has quit []
07:53|-|ThePizzaKing [~jeff@c211-28-164-75.eburwd2.vic.optusnet.com.au] has quit [Quit: ThePizzaKing]
08:08|-|Bjarni [~Bjarni@0x50c79a03.virnxx14.adsl-dhcp.tele.dk] has quit [Quit: Leaving]
08:14|-|frosch123 [~mtce@pascal.math.tu-clausthal.de] has joined #openttd
08:23|-|Eddi|zuHause [~johekr@p54B75CC2.dip.t-dialin.net] has joined #openttd
08:26|-|Eddi|zuHause2 [~johekr@p54B77817.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
08:30|-|Vikthor [~Vikthor@snat1.spoje.net] has quit [Remote host closed the connection]
08:31|-|Vikthor [~Vikthor@212.24.150.226] has joined #openttd
08:51|-|glx [glx@bny93-6-82-245-156-124.fbx.proxad.net] has joined #openttd
08:51|-|mode/#openttd [+v glx] by ChanServ
08:52|-|glx [glx@bny93-6-82-245-156-124.fbx.proxad.net] has quit []
08:52|-|glx [glx@bny93-6-82-245-156-124.fbx.proxad.net] has joined #openttd
08:52|-|mode/#openttd [+v glx] by ChanServ
08:53|-|Ben_1 [~Ben@82.152.210.64] has joined #openttd
08:58|-|_Ben_ [~Ben@82.152.210.64] has quit [Ping timeout: 480 seconds]
09:02|-|lola22 [~lola22@d033.dhcp212-198-248.noos.fr] has joined #openttd
09:04|-|lola22 [~lola22@d033.dhcp212-198-248.noos.fr] has quit []
09:04<dihedral>LeviathNL: pocking webdune?
09:07<LeviathNL>dihedral, pocking ?
09:10<dihedral>having a look at
09:10<dihedral>i only saw you show up and dissapear again
09:16|-|Jezral changed nick to TinoDidriksen
09:20|-|BigBB_ [~BigBB@p57A2C9E7.dip.t-dialin.net] has quit [Quit: Verlassend]
09:29|-|Ben_1 [~Ben@82.152.210.64] has quit [Ping timeout: 480 seconds]
09:39|-|_Ben_ [~Ben@82.152.195.111] has joined #openttd
09:46|-|stillunknown [~stillunkn@82-171-87-247.dsl.ip.tiscali.nl] has joined #openttd
09:47|-|BigBB [~BigBB@p57A2C9E7.dip.t-dialin.net] has joined #openttd
09:59|-|TinoM [~Tino@i5387C513.versanet.de] has quit [Quit: Verlassend]
10:07[~]Belugas submerges into the music of Underworld
10:09<hylje>:o
10:12<dihedral>lol
10:20|-|De_Ghosty [~c4command@141.117.176.147] has joined #openttd
10:20<De_Ghosty>how i creat dynamic array in c++?
10:21<Noldo_>use std::vector
10:21<De_Ghosty>what about in c?
10:23<@Belugas>http://vergil.chemistry.gatech.edu/resources/programming/c-tutorial/dynamic.html
10:23<dihedral>anybody in here plays ET?
10:24<Eddi|zuHause>De_Ghosty: you reallocate memory
10:24|-|Diabolic-Angel [~dia@ip-62-143-77-30.1311A-CUD12K-02.ish.de] has joined #openttd
10:28|-|stillunknown [~stillunkn@82-171-87-247.dsl.ip.tiscali.nl] has quit [Read error: Connection reset by peer]
10:29|-|Peakki [antti@cs181247045.pp.htv.fi] has joined #openttd
10:30<De_Ghosty>k
10:30<De_Ghosty>thx
10:31<Eddi|zuHause>C has no such thing as arrays
10:31<Eddi|zuHause>just pointer arithmetics
10:31<hylje>pedant
10:32|-|strongfrakk [~frakk@62.77.209.74] has joined #openttd
10:34<strongfrakk>hi how can i build railroad bend ?
10:34|-|_Ben_ [~Ben@82.152.195.111] has quit [Read error: Connection reset by peer]
10:34|-|strongfrakk [~frakk@62.77.209.74] has left #openttd []
10:34|-|strongfrakk [~frakk@62.77.209.74] has joined #openttd
10:35<strongfrakk>hi
10:35<@Belugas>bend?
10:35<strongfrakk>how can i build a railroad bend?
10:35<strongfrakk>curve
10:35<strongfrakk>wimple
10:35<strongfrakk>yes
10:36<@Belugas>ho... do one direction, then choose the other road direction. the curve willbe made automatically
10:36<@Belugas>just make sure the first road part is done on half a tile
10:37<@Belugas>and start the other direction on the opposite upper half tile
10:37<@Belugas>or something like that
10:37<strongfrakk>how can make half tile:)
10:38<@Belugas>roads are always constructed on half tiles
10:38<strongfrakk>when i made them then i had not half tile
10:38<strongfrakk>ok
10:38<strongfrakk>wait
10:38<strongfrakk>i believe in you
10:38<LeviathNL>he's talking about railroad
10:38<strongfrakk>i have tried
10:39<strongfrakk>i does not work
10:39<strongfrakk>i did not get half tiled raildroad
10:40<+glx>there's no half-rail
10:40<Gonozal_VIII>that's because they don't exist, belugas was talking about roads
10:40<LeviathNL>there are 4 directions railroad, if you build 2 against against each other in a way the angle is 45 degrees trains will be able to drive over it
10:41<strongfrakk>ok im trying
10:41<LeviathNL>look at the rails in this Screenshot: http://www.openttd.org/images/screens/0.5.0/multiplayer_newstations.png
10:41|-|Osai [~Osai@pD9EB65F3.dip.t-dialin.net] has joined #openttd
10:41<Gonozal_VIII>use the fifth rail building tool with the crossed rails on it, you can build any direction with that
10:42<@Belugas>oups....
10:43<strongfrakk>oh yeah when i have moved the mouse over the current place it offers to variations
10:43<strongfrakk>-to
10:43<strongfrakk>the
10:43<@Belugas>sorry strongfrakk... i've got confused... indeed, i though you ment roads, truck and bus roads...
10:44[~]Belugas re-submerges
10:44<Gonozal_VIII>hehe
10:45|-|_Ben_ [~Ben@82.153.73.169] has joined #openttd
10:46<strongfrakk>i does not matter my first railroad have already started
10:46<strongfrakk>:)
10:46<Gonozal_VIII>:-)
10:47<Gonozal_VIII>leviath, what's that in the bottom right corner of your screenshot?
10:47<strongfrakk>ups something wrong
10:47<strongfrakk>it must be turn back:)
10:48<strongfrakk>it can be turn back:)
10:48|-|frosch123 [~mtce@pascal.math.tu-clausthal.de] has quit [Remote host closed the connection]
10:49|-|strongfrakk [~frakk@62.77.209.74] has left #openttd []
10:50<LeviathNL>Gonozal_VIII, it is not my screenshot but if you are referring to the crane etc I think it is the Container Freight Station & Harbor set: http://grfcrawler.tt-forums.net/details.php?do=details&id=74
10:50|-|stillunknown [~stillunkn@82-171-87-247.dsl.ip.tiscali.nl] has joined #openttd
10:51|-|Digitalfox [~chatzilla@bl4-211-86.dsl.telepac.pt] has joined #openttd
10:51<Gonozal_VIII>ah ok thanks... so it's a rail station, not really a dock
10:51<LeviathNL>indeed
10:53|-|Dephenom [~paul@91.186.11.8] has quit [Ping timeout: 480 seconds]
10:55|-|skidd13_uni [~skidd13@p548A21AD.dip0.t-ipconnect.de] has joined #openttd
10:56|-|skidd13_uni changed nick to skidd13_UNI
11:03|-|Unknown_Entity [~UnknownEn@dslb-084-063-022-139.pools.arcor-ip.net] has joined #openttd
11:13|-|SpComb^ changed nick to SpComb
11:17<De_Ghosty>hey
11:17<De_Ghosty>if i have to exit
11:17<De_Ghosty>how do i get c to terminate all the mallocs?
11:18<+glx>free
11:19<De_Ghosty>free what?
11:19<De_Ghosty>i mean when i get an error i wanna exit
11:19<De_Ghosty>and i want it to free everything
11:19<+glx>pointer = malloc(); free(pointer)
11:20<De_Ghosty>errrr isn't there a call to something to free everything?
11:20<+glx>no
11:20<Gonozal_VIII>make it a function
11:20<+glx>you need to do it yourself
11:21<@Belugas>De_Ghosty: http://vergil.chemistry.gatech.edu/resources/programming/c-tutorial/dynamic.html
11:21<Gonozal_VIII>garbage collector ftw^^
11:21<@Belugas>read it, it will help you, i'm sure
11:22|-|Bjarni [~Bjarni@0x50c79a03.virnxx14.adsl-dhcp.tele.dk] has joined #openttd
11:22|-|mode/#openttd [+o Bjarni] by ChanServ
11:23<De_Ghosty>oh i am reading it
11:23<De_Ghosty>i donno how to signal or terminate properly
11:23|-|Ben_1 [~Ben@91.84.123.166] has joined #openttd
11:24<dihedral>ET players in here?
11:26<Gonozal_VIII>a game where you have to phone home?
11:26<Vikthor>No, I presume he means Wolfenstein: Enemy Territory
11:27<Gonozal_VIII>ah
11:27<LeviathNL>I have the demo if you mean ET:Quake wars
11:27<dihedral>no, simple ET
11:28<Vikthor>Well I had been playing, but I cant get my mouse to work correctly with ET
11:28<dihedral>give it another try
11:29<Vikthor>Well it is since I upgraded to Xorg 7.3
11:30<Vikthor>I cant turn mouse accel off
11:30<Gonozal_VIII>http://www.adventure-archiv.com/etreviewe.htm <-- there really is an E.T. game where you have to phone home^^
11:30<Vikthor>Anyway I have to go, bye
11:30|-|Vikthor [~Vikthor@212.24.150.226] has quit [Quit: Leaving.]
11:31|-|_Ben_ [~Ben@82.153.73.169] has quit [Ping timeout: 480 seconds]
11:33|-|XeryusTC [~irc@cc480157-b.sneek1.fr.home.nl] has joined #openttd
11:37|-||Bastiaan| [~kvirc@dsl-087-195-031-183.solcon.nl] has joined #openttd
11:37|-|XeryusTC2 [~irc@cc480157-b.sneek1.fr.home.nl] has joined #openttd
11:41|-|XeryusTC [~irc@cc480157-b.sneek1.fr.home.nl] has quit [Ping timeout: 480 seconds]
11:44|-|Mucht_ [~Martin@chello080109200215.3.sc-graz.chello.at] has quit [Remote host closed the connection]
11:44<De_Ghosty>is there anyways to beak from a if ?
11:45|-|Mucht [~Martin@chello080109200215.3.sc-graz.chello.at] has joined #openttd
11:45<Gonozal_VIII>another if inside...
11:46<De_Ghosty>if(asdf){if(fail)break;}
11:47<De_Ghosty>i only wanna end the if
11:47<De_Ghosty>first if
11:47<De_Ghosty>and continue on
11:47<+glx>goto
11:47<De_Ghosty>goto...
11:47<De_Ghosty>i though it's bad to use goto
11:48<Gonozal_VIII>just }
11:48<BigBB>an extra function and return;
11:48<De_Ghosty>ahhh
11:48<De_Ghosty>good idea bigbb
11:48<De_Ghosty>:)
11:48<De_Ghosty>thx
11:48<Eddi|zuHause>what happened to "else"?
11:48<BigBB>np
11:48<@Belugas>it is indeed bad to use goto..
11:50<Gonozal_VIII> if(asdf){if(!fail) {do the rest} }
11:50<Eddi|zuHause>if(asdf){x; if(fail){y;} else {z;}}
11:50<De_Ghosty>bbl
11:51<De_Ghosty>big if are hard to read
11:51<@Belugas>add comments
11:52<@Belugas>or split in smaller functions
11:53|-|ludde [~ludde@ua-83-227-238-252.cust.bredbandsbolaget.se] has quit [Ping timeout: 480 seconds]
11:53<Gonozal_VIII>if(asdf){if(!fail) {do the rest} } <-- that's not bigger than break just the other way around
11:54|-|ludde [~ludde@ua-83-227-238-252.cust.bredbandsbolaget.se] has joined #openttd
11:57<Gonozal_VIII>if(asdf){do something; if(!fail){do the rest;}} makes more sense^^
11:59|-|De_Ghosty [~c4command@141.117.176.147] has quit [Ping timeout: 480 seconds]
12:00<skidd13_UNI>Anyone tried the Intel Linux C++ Compiler?
12:00<dihedral>nope
12:00<dihedral>you tried playing ET?
12:00|-|Ben_ [~Ben@91.84.90.133] has joined #openttd
12:02<skidd13_UNI>dihedral: yes... but ... I stopped playing shooters ;9
12:02<dihedral>join us tonight
12:02<dihedral>anyway
12:02<dihedral>have to catch a bus
12:02<Gonozal_VIII>ah yes.. those buggers are fast
12:07|-|Ben_1 [~Ben@91.84.123.166] has quit [Ping timeout: 480 seconds]
12:11|-|De_Ghosty [~c4command@eng211-23.scs.ryerson.ca] has joined #openttd
12:12|-|Farden [~jk3farden@AMontsouris-156-1-28-94.w90-2.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
12:17|-|skidd13_UNI [~skidd13@p548A21AD.dip0.t-ipconnect.de] has left #openttd []
12:20<De_Ghosty>when i free something
12:20<De_Ghosty>it become null right?
12:21|-|Wezz6400 [~Wezz6400@145-118-108-106.fttx.bbned.nl] has joined #openttd
12:21<Rubidium>De_Ghosty: no
12:21<Rubidium>free(x) doesn't make x null
12:21<+glx>it's safer to do free(pointer); pointer = NULL;
12:21<Gonozal_VIII>why does that matter?
12:22<De_Ghosty>k
12:23|-|exe [~zgibhy@pub70089.brzesko.net.pl] has joined #openttd
12:23<De_Ghosty>do i crash if i free something twice?
12:24<SmatZ>may happen, especially when the memory has been reallocated for some other data
12:24<Gonozal_VIII>free(pointer); pointer = NULL; <-- you change it after you freed it?
12:26|-|exe [~zgibhy@pub70089.brzesko.net.pl] has left #openttd []
12:26<Rubidium>a pointer is technically a int-like type that contains the memory address of something
12:26|-|Ammler [~Ammler@adsl-84-227-178-173.adslplus.ch] has joined #openttd
12:26|-||Jeroen| [~jeroen@d51A47061.access.telenet.be] has joined #openttd
12:26<Rubidium>so you change the 'thing' that points, not the stuff that it is pointing to
12:26|-|exe [~zgibhy@pub70089.brzesko.net.pl] has joined #openttd
12:27<Gonozal_VIII>aah
12:27<Gonozal_VIII>had nothing of that in java...
12:28|-||Bastiaan| [~kvirc@dsl-087-195-031-183.solcon.nl] has quit [Ping timeout: 480 seconds]
12:32<De_Ghosty>so i should null it whenever i free it?
12:32<De_Ghosty>k thx
12:37<LeviathNL>Ammler, something is wring the the basecost grf, http://i8.tinypic.com/6tp6wpc.png in this pic other grf are also loaded but I also tested it with only basecosts and it does the same
12:38|-|dihedral changed nick to Guest669
12:38|-|dihedral [~dihedral@dslb-084-057-235-226.pools.arcor-ip.net] has joined #openttd
12:39|-|Farden [~jk3farden@AMontsouris-156-1-140-219.w83-202.abo.wanadoo.fr] has joined #openttd
12:41<Sionide>anybody had ottd working on a symbian s60 3rd edition device?
12:42<spark_>ottd on symbian ? wow
12:47<De_Ghosty>lol for your palm?
12:54|-|lolman changed nick to John
12:54|-|eJoJ [~ejoj@89.10.29.107] has quit [Read error: Connection reset by peer]
12:55|-|De_Ghosty [~c4command@eng211-23.scs.ryerson.ca] has quit [Ping timeout: 480 seconds]
12:56|-|De_Ghosty [~c4command@eng211-23.scs.ryerson.ca] has joined #openttd
12:56|-|strongfrakk [cscsaba@catv54031530.pool.t-online.hu] has joined #openttd
12:56|-|strongfrakk [cscsaba@catv54031530.pool.t-online.hu] has left #openttd []
12:56|-|Osai changed nick to Osai^Kendo
12:59|-|John changed nick to lolman
12:59|-|Peakki [antti@cs181247045.pp.htv.fi] has quit [Quit: Lähdössä]
13:03|-|Unknown_Entity [~UnknownEn@dslb-084-063-022-139.pools.arcor-ip.net] has quit [Remote host closed the connection]
13:06|-|XeryusTC2 changed nick to XeryusTC
13:06|-|Ben_1 [~Ben@82.152.175.189] has joined #openttd
13:09|-|eJoJ [~ejoj@89.10.29.107] has joined #openttd
13:14|-|Ben_ [~Ben@91.84.90.133] has quit [Ping timeout: 480 seconds]
13:30|-|Wolf01 [~wolf01@87.8.233.203] has joined #openttd
13:31<Wolf01>hello
13:31<SmatZ>hi
13:32|-|blathijs [~matthijs@katherina.student.utwente.nl] has quit [Ping timeout: 480 seconds]
13:39<De_Ghosty>how i malloc 2d arrays?
13:41<Gonozal_VIII>big 1d array and calculate 2. dimension :-)
13:42<De_Ghosty>nvm
13:42<De_Ghosty>i found it
13:43<De_Ghosty>Belugas is awsome
13:43<De_Ghosty>:)
13:46<@Belugas>i am?
13:46<@Belugas>thanks...
13:46<@Belugas>but...
13:46<@Bjarni>we kind of knew that ;)
13:46|-|Osai^Kendo [~Osai@pD9EB65F3.dip.t-dialin.net] has quit [Quit: Osai^Kendo]
13:46<@Belugas>say that again :) it feels good :D
13:47<@Bjarni>ok
13:47<@Bjarni>we kind of knew that ;)
13:47<@Belugas>lol
13:47<@Bjarni>I knew it would make you happy :)
13:48|-|dihedral_ [~dihedral@dslb-084-057-235-226.pools.arcor-ip.net] has joined #openttd
13:55<De_Ghosty>i don't get it
13:55<De_Ghosty>how i creat a **matrix with malloc?
13:56<De_Ghosty>or 2 d array
13:56<SmatZ>De_Ghosty: malloc(m * n * sizeof(unit))
13:56<+glx>malloc(xsize) then malloc(ysize) for each one
13:56<De_Ghosty>but i can't use matrix[i][j] with that
13:57<@Bjarni>you can if you are wise
13:57<De_Ghosty>i am no
13:57<De_Ghosty>not*
13:57<SmatZ>De_Ghosty: well... you could override the operator []
13:57<De_Ghosty>share some wisdom please
13:57<SmatZ>or as said glx
13:57<SmatZ>you could use [] []
13:57<SmatZ>if you do it that way
13:58<De_Ghosty>so **matrix = malloc(xsize) malloc(ysize)
13:58<SmatZ>no
13:58<De_Ghosty>example please?
13:58<Gonozal_VIII>that would be lots of mallocs
13:59<@Bjarni>I just wonder... wouldn't it be possible to malloc the array and then make a pointer which knows the [][] and make the pointer point to the newly allocated memory. That should do it
13:59<SmatZ>uint **matrix = malloc(xsize * sizeof(uint));
13:59<@Bjarni>the question is how to make the pointer
13:59<De_Ghosty>how
13:59<De_Ghosty>lol
13:59<SmatZ>for (uint i = 0 ; i< xsize ; i++) matrix[i] = malloc(ysize*sizeof(uint));
13:59<+glx>uint **matrix = malloc(xsize * sizeof(uint*)); I think
13:59<SmatZ>i think
13:59<SmatZ>glx is right
14:00<exe>first malloc should be xsize * pointer size
14:00<@Bjarni>int *a[2][2] = &malloc; <-- I wonder if a simple line like that would work
14:00<@Bjarni>well, you would have to use malloc into a normal pointer and then use that pointer, but the basic idea...
14:00<SmatZ>you are storing address of a function into some array?
14:01<@Bjarni>I think the idea in my psedo code went missing :(
14:01<@Bjarni>the idea is to make a pointer to the 2D array then store the pointer to the allocated memory in that pointer
14:02<Gonozal_VIII>pointer to a pointer of a pointer pointer pointer :S
14:03<@Bjarni>sounds like multiple road stops
14:03<@Bjarni>it uses ****
14:03<SmatZ>:-)
14:03<+glx>really?
14:03<@Bjarni>yeah
14:03<@Bjarni>it could likely be simplified by call by reference
14:03<@Bjarni>but it's from the C era
14:04|-|welterde [welterde@gandalf.srv.welterde.de] has quit [Quit: WeeChat 0.2.6]
14:05<+glx>I can't find **** in source
14:05<@Bjarni>maybe somebody simplified it
14:06<De_Ghosty>is uint for C?
14:06<@Bjarni>or maybe it was only ***
14:06<hylje>*******
14:06<@Bjarni>:::::PPPPP
14:07<Rubidium>*** is (usually) a Bjarniism ;)
14:07<@Bjarni>Celestar wrote this
14:07<+glx>vehicle list use *** and that's the only place in code
14:08<@Bjarni>maybe somebody cleaned up the vehicle stop code
14:08<hylje>you do it
14:08<hylje>so we have a bjarnism
14:08<De_Ghosty>int ** create2dDynamicMatrix(int row,int col){
14:08<De_Ghosty> int *arry = malloc(col * sizeof(int*));
14:08<De_Ghosty> int **matrix =malloc(row*sizeof(arry));
14:08<De_Ghosty> return (matrix);
14:08<De_Ghosty>}
14:08<De_Ghosty>would that work?
14:09<Rubidium>De_Ghosty: it would work, but it won't give the expected result
14:10<De_Ghosty>o
14:10<De_Ghosty>ok....
14:10<Rubidium>T** arr = malloc(col * sizeof(T*); for (uint i = 0; i < col; i++) arr[i] = malloc(row * sizeof(T)); return arr;
14:10<De_Ghosty>this is c btw
14:10<Rubidium>*but* you have to be precise with freeing it too
14:10<De_Ghosty>ahhh that is painful lol
14:11|-|Tlustoch [~last_evol@r5bn73.net.upc.cz] has joined #openttd
14:11<Rubidium>so you at least need to remember the value of 'col' too if you intend to properly free it's memory
14:11|-|mode/#openttd [-b *!*Sacro@*.karoo.KCOM.COM] by Bjarni
14:12<@Bjarni>maybe he will come back and NOT copy paste sick stuff in other languages again
14:12<@Bjarni>and then again... it's Sacro
14:12<Sacro>?
14:13<Sacro>you mean i was still banned?
14:13<@Bjarni>yeah
14:13<Sacro>someone could have told me...
14:13<@Bjarni>now I wonder why you were here while being banned
14:13<@Bjarni>all
14:13<@Bjarni>*ahh
14:13<Sacro>nobody told me i was banned :\
14:13<@Bjarni>you logged in using your real name, not Sacro
14:13<Gonozal_VIII>^^
14:14<@Bjarni>we should have banned the ISP
14:14<Rubidium>Sacro: nobody told you were banned? My logs says the contrary
14:14<Sacro>Ben@adsl-87-102-80-216.karoo.KCOM.COM
14:14<Sacro>Rubidium: i got kicked and banned
14:14<Sacro>but then my bnc died, when it restarted it joined fine
14:14<Rubidium>no, you got banned and kicked
14:14<Sacro>A + B = B + a
14:14<Rubidium>no
14:14<hylje>A = a ?
14:14<@Bjarni>A != a
14:15<@Bjarni>and what are A and B?
14:15<Sacro>where A = a
14:15<hylje>arbitrary named values
14:15<Rubidium>with banned then kicked the kicked person knows (s)he is banned, with kicked then banned the kicked person does not
14:15<Sacro>it tells me i cannot join #openttd (you are banned)
14:15<@Bjarni>if A and B are matrices...
14:18|-|BigBB [~BigBB@p57A2C9E7.dip.t-dialin.net] has quit [Remote host closed the connection]
14:20|-|BigBB [~BigBB@p57A2C9E7.dip.t-dialin.net] has joined #openttd
14:22|-|Progman [~progman@p57A1CFCF.dip.t-dialin.net] has quit [Remote host closed the connection]
14:24|-|exe [~zgibhy@pub70089.brzesko.net.pl] has quit [Ping timeout: 480 seconds]
14:27|-|KritiK [~Maxim@78-106-150-236.broadband.corbina.ru] has joined #openttd
14:31<De_Ghosty>can i
14:32<De_Ghosty>for (int i = 0; i < (int*)sizeof(matrix); i++)
14:32<De_Ghosty>free( sizeof(matrix[i]))
14:32<De_Ghosty>;
14:32<SmatZ>no
14:33<De_Ghosty>free( matrix);
14:33<De_Ghosty>what does sizeof (matrix) get me?
14:33<SmatZ> i < (int*)sizeof(matrix)
14:33<Rubidium>yes, but it least a lot of allocated memory
14:33<SmatZ>is strange line
14:33|-|BigBB [~BigBB@p57A2C9E7.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
14:33<De_Ghosty>o
14:33<De_Ghosty>errr how i get number of rows?
14:33<Rubidium>De_Ghosty: sizeof('pointer')
14:33<Rubidium>De_Ghosty: you don't
14:33<De_Ghosty>ok thx
14:34<Rubidium>that's why I said you have to keep track of it yourself
14:34<Gonozal_VIII>you made the matrix, you know the size
14:34<SmatZ>De_Ghosty: generally you have to remember it somewhere
14:34<SmatZ>yes, you are the God of that matrix
14:34<Gonozal_VIII>:D
14:35<Gonozal_VIII>you are the chosen one!
14:35<SmatZ>yes :)
14:36<De_Ghosty>lol
14:39|-|Frostregen [SADDAM@dslb-084-058-154-045.pools.arcor-ip.net] has quit [Quit: und weg]
14:39|-|[1]Mark [~Mark@5351EA48.cable.casema.nl] has joined #openttd
14:40|-|[1]Mark changed nick to Mark
14:41<De_Ghosty>void freeAllocatedIntPtr(int num_row, int num_col,int**x){
14:41<De_Ghosty> int i=0;
14:41<De_Ghosty> int j = 0;
14:41<De_Ghosty> for (i=0;i<num_row;i++){
14:41<De_Ghosty> for (j=0;j<num_col;j++);
14:41<De_Ghosty> free (x[i][j]);
14:41<De_Ghosty> free (x[i];
14:41<De_Ghosty> free (x)
14:41<De_Ghosty> }
14:41<De_Ghosty>}
14:41<De_Ghosty>is the j counter redundent?
14:41<SmatZ>De_Ghosty: there is paste.openttd.org, you know
14:41<SmatZ>is it a 3D array?
14:42<De_Ghosty>no 2 d
14:42<Gonozal_VIII>why 3d?
14:42<De_Ghosty>no idea
14:42<De_Ghosty>i though it was extra
14:42<De_Ghosty>just checking
14:43<Rubidium>freeing ints isn't the safest thing to do
14:43<dihedral_>Enemy Territory game at openttd.dihedral.de (/connect openttd.dihedral.de) server name: #Openttdcoop.ET all required files at http://pub.dihedral.de/ET
14:43<SmatZ>De_Ghosty: your code ~ would free a 3D array
14:43<De_Ghosty>ok
14:43<De_Ghosty>thx
14:44|-|Frostregen [SADDAM@dslb-084-058-096-189.pools.arcor-ip.net] has joined #openttd
14:44<dihedral_>feel free to join #openttdcoop.et
14:45<dihedral_>what was that De_Ghosty ?
14:46<Gonozal_VIII>what was what?
14:46<De_Ghosty>what happen if i cast int** into int*
14:46<De_Ghosty>nothing
14:46<De_Ghosty>what is et?
14:47<De_Ghosty>can i cast int** into int*?
14:47<Gonozal_VIII>i don't know what ** and * means so no idea
14:47<Rubidium>De_Ghosty: you can cast anything into everything in C
14:47|-|Brianetta [~brian@82-39-52-234.cable.ubr03.benw.blueyonder.co.uk] has joined #openttd
14:48<Rubidium>whether it works as expected is something completely different
14:49<dihedral_>Gonozal_VIII: De_Ghosty just showed up on #openttdcoop.et for one second and was gone again
14:49<Gonozal_VIII>hehe
14:51<De_Ghosty>so if i cast int ** into int*
14:51<De_Ghosty>i can reference it like a 1 dimension rigt?
14:51<De_Ghosty>or does it break down?
14:51<De_Ghosty>nvm
14:51<De_Ghosty>i'll do it the safe way
14:54<SmatZ>you can, but then it will be array of int, not array of int* ... int* and int can have different sizes
14:55|-|dihedral changed nick to Guest684
14:55|-|dihedral_ changed nick to dihedral
14:57<De_Ghosty>so it wouldn't break?
14:58|-|Arpad [~Gali@tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
14:58|-|LeviathNL [~thomas@z037133.its-s.tudelft.nl] has quit [Remote host closed the connection]
14:59<Noldo_>what is it taht you need to do?
14:59|-|LeviathNL [~thomas@z037133.its-s.tudelft.nl] has joined #openttd
15:07|-||Jeroen| [~jeroen@d51A47061.access.telenet.be] has quit [Quit: oO]
15:09|-|TinoM [~Tino@i5387C513.versanet.de] has joined #openttd
15:09|-|Vikthor [~Vikthor@snat1.spoje.net] has joined #openttd
15:11|-|Ammller [~Ammler@adsl-84-227-178-173.adslplus.ch] has joined #openttd
15:11<Wolf01>LeviathNL, i see you edit the post about the who.. shores, i was thinking if that word might had another mean, but i found nothing ;)
15:11|-|Ammller [~Ammler@adsl-84-227-178-173.adslplus.ch] has quit [Read error: Connection reset by peer]
15:19|-|Wezz6400 [~Wezz6400@145-118-108-106.fttx.bbned.nl] has quit [Quit: reboot]
15:21|-|Wezz6400 [~Wezz6400@145-118-108-106.fttx.bbned.nl] has joined #openttd
15:24|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has quit [Quit: Trillian (http://www.ceruleanstudios.com]
15:24|-|KritiK_ [~Maxim@78-106-183-247.broadband.corbina.ru] has joined #openttd
15:24|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has joined #openttd
15:24|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has quit []
15:24|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has joined #openttd
15:24<Gonozal_VIII>oops
15:27<LeviathNL>Ammler, did you see this: http://tinypic.com/fullsize.php?pic=6tp6wpc&s=1
15:28|-|Vikthor [~Vikthor@snat1.spoje.net] has quit [Ping timeout: 480 seconds]
15:29|-|KritiK [~Maxim@78-106-150-236.broadband.corbina.ru] has quit [Ping timeout: 480 seconds]
15:29|-|KritiK_ changed nick to KritiK
15:29|-|Vikthor [~Vikthor@snat1.spoje.net] has joined #openttd
15:30<Rubidium>anyone in here know how to start TTDP in for example Russian?
15:31<LeviathNL>http://wiki.ttdpatch.net/tiki-index.php?page=LanguageSelection maybe this'll help
15:32<DaleStan>set LANG=ru first, I believe. Note that this only controls TTDPatch (ttdpatch[w].exe), not Patched TTD (TTDLOAD[W].OVL).
15:34<+glx>I tried that, I get russian in ttdp console, but I fail change language in ttdp
15:35<DaleStan>Like I said. That's for ttdpatchw.exe, not TTDLOADW.OVL. For the latter, you need an appropriate translation grf file.
15:36<Rubidium>but shouldn't some NewGRF like ECS Machinery use Russian in that case?
15:37<Ammler>[21:27] <LeviathNL> Ammler, did you see this: http://tinypic.com/fullsize.php?pic=6tp6wpc&s=1 <-- you know, you need to change the value over Scenario Editor or starting a new game
15:37<DaleStan>Maybe it should, but it is as designed that it does not.
15:37<LeviathNL>Ammler, that is a new game
15:41<Ammler>ok, added your screen to the wiki
15:41<Ammler>I will check it
15:42[~]dihedral greets DaleStan
15:44<De_Ghosty>null pointer is NULL right?
15:45<Rubidium>usually yes
15:47<De_Ghosty>yes it
15:48<De_Ghosty>is
15:48<De_Ghosty>just tried it :d
15:48|-|Vikthor [~Vikthor@snat1.spoje.net] has quit [Read error: Connection reset by peer]
15:48<Gonozal_VIII>null is german for zero :-)
15:49|-|Vikthor [~Vikthor@snat1.spoje.net] has joined #openttd
15:49<Rubidium>shouldn't the first letter be capitalized?
15:49<Gonozal_VIII>that's irc... i don't capitalize anything here
15:50<Rubidium>well null != Null in C
15:51<Rubidium>gonozal_viii: really?
15:51<Gonozal_VIII>but yes, it should be N
15:51<Gonozal_VIII>hehe
15:51<Gonozal_VIII>i don't have to type my nick often
15:53<Gonozal_VIII>else it would probably be something like gonozal8 or gono
15:53<Gonozal_VIII><-- lazy
15:53<Gonozal_VIII>or atlan :-)
15:54<De_Ghosty>oop
15:54<De_Ghosty>time to go
15:54<De_Ghosty>later guys
15:54<De_Ghosty>thx
15:54<Gonozal_VIII>cu
15:54|-|De_Ghosty [~c4command@eng211-23.scs.ryerson.ca] has quit [Quit: Ghost by The pwnage]
15:55|-|Entane [~Entane@206.84-48-202.nextgentel.com] has joined #openttd
15:59|-|Peakki [antti@cs181247045.pp.htv.fi] has joined #openttd
15:59|-|TinoM [~Tino@i5387C513.versanet.de] has quit [Quit: Verlassend]
16:00|-|Vikthor [~Vikthor@snat1.spoje.net] has quit [Read error: Connection reset by peer]
16:01|-|Mark [~Mark@5351EA48.cable.casema.nl] has left #openttd []
16:02|-|Vikthor [~Vikthor@snat1.spoje.net] has joined #openttd
16:08|-|TinoM [~Tino@i5387C513.versanet.de] has joined #openttd
16:12<@Belugas>[15:39] <DaleStan> Maybe it should, but it is as designed that it does not. <--- what do you mean? That George made some errors in ECS?
16:12<@Belugas>or better yet, what should he had done in order to make it right?
16:13|-|Sacro [Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
16:13<@Belugas>or even better, do you think he knows?
16:13<DaleStan>No. That the setting of LANG was never intended to have an effect on TTD's in-game language.
16:13<DaleStan>LANG only affects the messages emitted by ttdpatch[w].exe, not TTDLOAD[W].OVL.
16:15<@Belugas>ok.
16:17<@Belugas>so, in order to get ECS in TTDP to have russian strings, there is a required grf that needs to be included
16:17<@Belugas>if i understand it correctly
16:18<Eddi|zuHause>Gonozal_VIII: why type any nick if you can use tab-completition?
16:18|-|Peakki [antti@cs181247045.pp.htv.fi] has quit [Read error: Connection reset by peer]
16:19<Rubidium>because gonozal_viii only talks in lowercase
16:20<Prof_Frink>Pfft. Gonozal_VIII is not asiego.
16:23<Gonozal_VIII>not what?
16:23<SmatZ>asiego
16:24<Gonozal_VIII>that's something spanish?
16:24|-|Arpad [~Gali@tor-irc.dnsbl.oftc.net] has joined #openttd
16:26<Prof_Frink>sorry, s/ie/ei/
16:26<LeviathNL>Ammler, you might wanna check out the action 10 labels in Basecosts.grf, you didn't define a label so the first byte of the first character is the label. some action7 might jump to a Action 10 instead of the number of sprites you declared
16:27<SmatZ>I don't know
16:30|-|Purno [~Purno@5357D37C.cable.casema.nl] has quit [Quit: Always remember you're unique, just like everyone else.]
16:31<DaleStan>Belugas: Yes. Any GRF that sets var 9F to the correct value.
16:35<LeviathNL>Ammler, if a parameter is set to 255 should it ignore all the modifiers behind it?
16:35|-|cybermage [~cybermage@gw.cybercave.cz] has joined #openttd
16:35<cybermage>gday all :)
16:35<LeviathNL>hi
16:35<cybermage>I may have stupid question :)
16:36<+glx>just ask
16:36<cybermage>Do you know about any scripts which will build OpenTTD server statistics?
16:36<Gonozal_VIII>there are no stupid questions, only stupid answers
16:36<+glx>like ottdlib?
16:36<Eddi|zuHause>that is a common misconception...
16:36<Gonozal_VIII>i know but i always wanted to say that :-)
16:37<cybermage>what is ottdlib ?
16:37<Eddi|zuHause>a lib that interfaces with ottd
16:38<cybermage>any link?
16:38<@Bjarni><cybermage> I may have stupid question :) <-- the most common stupid question in here is "may I ask a question?"... specially since it's a question so answering no will make an issue with rule violation :P
16:38<cybermage>google did not provide any answer
16:39<cybermage>You see, I did not ask if I can ask :)
16:39<cybermage>I just commented out, that I will have stupid question:)
16:40<+glx>cybermage: it is openttdlib indeed :)
16:40<cybermage>that may be the problem, thanks
16:44|-|Zavior [~zavior@d195-237-7-209.elisa-laajakaista.fi] has quit [Read error: Connection reset by peer]
16:45<cybermage>hmm, interesting :)
16:45|-|Dephenom [~paul@80.175.234.185] has joined #openttd
16:46<Prof_Frink>Bjarni: Hence why blitzed/#linux has "Don't ask if you can ask, just ask! (Then be patient)" in the topic
16:47<@Bjarni>yeah
16:48<@Bjarni>we cleaned up our topic because it contained too much info so people didn't read it, but this is something we would like to use
16:48<cybermage>hehe
16:48<cybermage>Have you ever worked at IT support?
16:48<@Bjarni>yes
16:48<@Bjarni>"my computer can't start"... I plugged it in and it booted just fine
16:48<@Bjarni>stuff like that
16:49<@Bjarni>kind of like kindergarten :s
16:49<Eddi|zuHause>Prof_Frink: in my experience, that does not help
16:49<cybermage>I think you should never tell something like "There are no stupid questions"
16:50<cybermage>There are :)
16:50<Prof_Frink>"Hello IT, have you tried turning it off and on again? Are you sure it's plugged in?"
16:50|-|G_ [~njones@202.154.150.91] has joined #openttd
16:50<Rubidium>sounds like "The IT Crowd"
16:52[~]Prof_Frink hands Rubidium the prize
16:52<Ammler>[22:35] <LeviathNL> Ammler, if a parameter is set to 255 should it ignore all the modifiers behind it? <-- no, it does
16:52<cybermage>Most of it is based on a true story
16:52<@Bjarni>the best thing is that he was aware that it was unplugged, but somehow he had the idea that the battery would last forever
16:52|-|G [~njones@202.154.150.91] has quit [Ping timeout: 480 seconds]
16:53<Ammler>only ignore that one and will set defaults to not set
16:55<cybermage>anyone who has experience with openttdlib?
16:55<SpComb>dihedral
16:55<cybermage>I have problem with
16:55<cybermage>PHP Fatal error: Call to undefined function bcadd() in /home/openttd/openttdlib/OpenTTDLib-0.3/includes/OpenTTDLibPacket.php on line 266
16:55<SpComb>the bcmath module
16:56<Rubidium>Prof_Frink: you only missed the distinct sound of the recorder starting ;)
16:56<cybermage>php is compiled with '--enable-bcmath=shared'
16:56<dihedral>hehe
16:56<Rubidium>s/recorder/'tape player'/
16:56<dihedral>windows or linux?
16:56<cybermage>CentOS5
16:56<cybermage>(linux ;) )
16:56<dihedral>phpinfo()
16:57<cybermage>done
16:57<dihedral>and search the page for 'bc'
16:57<cybermage>'--enable-bcmath=shared'
16:57<dihedral>did you compile it as such yourself?
16:57<cybermage>no, that's CentOS default build
16:57<dihedral>give me a second
16:58<cybermage>I am just running example
16:59<dihedral>where can i see available rpm's to centos5?
17:00<cybermage>what should I look for?
17:00<dihedral>php5 and bcmath :-)
17:00<dihedral>sometimes they are seperated over multiple packages
17:00<cybermage>ok
17:01<SpComb>with shared you still need the .so
17:01<cybermage>yea
17:01<cybermage>that's the problem, thanks m8
17:02<dihedral>:-)
17:02<dihedral>ya welcome
17:02|-|Osai [~Osai@pD9EB65F3.dip.t-dialin.net] has joined #openttd
17:02|-|TinoM [~Tino@i5387C513.versanet.de] has quit [Quit: Verlassend]
17:04|-|Guest684 changed nick to dihedral_
17:05|-|LeviathNL [~thomas@z037133.its-s.tudelft.nl] has quit [Remote host closed the connection]
17:10|-|eJoJ [~ejoj@89.10.29.107] has quit [Remote host closed the connection]
17:11<cybermage>that lib is cool!
17:11<cybermage>I think I am going to create stats :)
17:11|-|Osai [~Osai@pD9EB65F3.dip.t-dialin.net] has quit [Quit: Osai]
17:11<cybermage>thanks m8
17:12<cybermage>Guys, how is it with patches?
17:13<cybermage>I found no info anywhere
17:13<dihedral>?
17:13<cybermage>If I am running server
17:13<cybermage>I think I have to install patches there
17:13<cybermage>but what about clients?
17:13<cybermage>do they need to install patches too ?
17:13|-|Progman [~progman@p57A1CFCF.dip.t-dialin.net] has joined #openttd
17:14<dihedral>if you run a server, you do not _have_ to patch the source
17:15<dihedral>if you do patch the source, it depends what you patch
17:15<dihedral>if it's related to the game directly (i.e. calculations) then all clients will need a patched binary too
17:15<cybermage>hmm
17:15<cybermage>I am a little bit slow in the evening
17:16<cybermage>If I want to have some new buildings and wehicles on a server
17:16<cybermage>what should I basically do with the server ?
17:16<cybermage>*vehicles*
17:16<Gonozal_VIII>you need only some newgrfs then, no patches
17:17<dihedral>get newgrf's :-)
17:17<cybermage>ok :)
17:17<cybermage>and what about clients?
17:17<cybermage>where will they download these?
17:17<Gonozal_VIII>they also need them
17:17<Gonozal_VIII>http://grfcrawler.tt-forums.net/
17:17|-|Osai [~Osai@pD9EB65F3.dip.t-dialin.net] has joined #openttd
17:17<cybermage>How do they know that they will need some patch ?
17:18<Gonozal_VIII>they see it in the server selection screen
17:19<dihedral>it's a grf
17:19<dihedral>the game will tell them that either they have a missmatch or it's ok
17:19<cybermage>ok
17:19<cybermage>thanks m8
17:20<cybermage>One of my servers seems to be very bussy ;)
17:20<cybermage>planning to implement new one
17:20|-|skidd13 [~skidd13@p548A419A.dip.t-dialin.net] has joined #openttd
17:22<Gonozal_VIII>you could try a nightly server, there are not many of them
17:22|-|Tlustoch [~last_evol@r5bn73.net.upc.cz] has quit [Quit: Leaving]
17:23<cybermage>if you want ..
17:23<cybermage>actually I don't care so much
17:23<cybermage>OpenTTD does not consume much traffic
17:23|-|skidd13 [~skidd13@p548A419A.dip.t-dialin.net] has left #openttd []
17:23<Gonozal_VIII>not if i want... you don't have to do what i say^^
17:23<cybermage>and even not so many system resources ;)
17:24<cybermage>There is no difference for me if I run stable one or nightly build one
17:24<Rubidium>the biggest problem with servers is that virtually none of them are properly monitored
17:26<cybermage>what does that mean?
17:26<Rubidium>that people start a server, that some 'bad' people join the server and bully everyone from that server
17:26<Gonozal_VIII>there are some people that like to ruin the game for others
17:27<Rubidium>and that there is noone who stops them
17:27<cybermage>I will ban them
17:27<cybermage>without mercy
17:27<Gonozal_VIII>only if you see them
17:28<cybermage>but I need some support for log
17:28<cybermage>I need to log -> Nick, IP ....
17:28<cybermage>then I will get it :)
17:28<Gonozal_VIII>it's not difficult to get a different ip
17:28<Rubidium>IPs and Nicks are generally useless for banning :(
17:29<cybermage>IP's are very usefull
17:29<Rubidium>cybermage: really?
17:29<cybermage>Block range of his provider ;)
17:29<Wolf01>'night
17:29|-|Wolf01 [~wolf01@87.8.233.203] has quit [Quit: Once again the world is quick to bury me.]
17:29<Rubidium>block 0.0.0.0/0
17:29<cybermage>Iptables is a very good invention ;)
17:29<Rubidium>done... no people ruining your game
17:30<cybermage>hehe :)
17:30<cybermage>iptables -I INPUT --source x.y.z.a/b -j DROP ;)
17:30<Rubidium>start by adding 81.171.98.111 ;)
17:30<cybermage>that is already blocked I think
17:31|-|Sacro [Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
17:31<Rubidium>it is *the* most effective way of making no harmful people join
17:31<cybermage>no it is not
17:32<Rubidium>it is
17:32<Gonozal_VIII>is that the advertise server?
17:32<Rubidium>as that is the IP of the masterserver
17:32<cybermage>my current banlist: 213.98.80.75 88.73.240.144 89.178.252.148
17:32<Sacro>'ning all
17:32<Rubidium>and dropping input from the masterserver means you'll never be on the masterserver
17:32<cybermage>I am advertising my server
17:32<Rubidium>and thus nobody will see your server in the serverlist
17:32<cybermage>no issues with bad guys as I know ;)
17:34<cybermage>Once I find out how to log nick and IP's
17:34<cybermage>I will have everything :)
17:34<Gonozal_VIII>i only play with some friends, so no avertise and a pw
17:34<cybermage>I advertize my server :)
17:34<cybermage>I have no issue with it :)
17:34<cybermage>anyway :)
17:35<cybermage>what to increase to see who is joining ?
17:35<cybermage>what variable ?
17:35|-|LeviathNL [~thomas@z037133.its-s.tudelft.nl] has joined #openttd
17:36<dihedral>?
17:37<cybermage>I am using mostly linux console
17:37<cybermage>I need to increase net verbosity
17:37<cybermage>to see what's the source address of player, which is currently connecting
17:40|-|Zr40 [~zr40@2001:960:786:0:21b:63ff:fe9e:ab24] has joined #openttd
17:40<cybermage>ha found
17:40<cybermage>debug_level net=1 :)
17:40<cybermage>thanks guys :)
17:40<cybermage>'night all
17:40<cybermage>have fun
17:40<cybermage>bye
17:40|-|cybermage [~cybermage@gw.cybercave.cz] has quit [Quit: leaving]
17:45|-|stillunknown [~stillunkn@82-171-87-247.dsl.ip.tiscali.nl] has quit [Ping timeout: 480 seconds]
17:46|-|Farden [~jk3farden@AMontsouris-156-1-140-219.w83-202.abo.wanadoo.fr] has quit [Quit: ( www.nnscript.de :: NoNameScript 4.02 :: www.XLhost.de )]
17:48|-|Hendikins [~wolfox@ppp121-44-16-194.lns10.syd7.internode.on.net] has quit [Ping timeout: 480 seconds]
17:49|-|Hendikins [~wolfox@ppp121-44-1-135.lns10.syd7.internode.on.net] has joined #openttd
17:50|-|Osai^2 [~Osai@pD9EB4E6E.dip.t-dialin.net] has joined #openttd
17:50|-|Zr40 [~zr40@2001:960:786:0:21b:63ff:fe9e:ab24] has quit [Quit: Zr40]
17:53|-|ThePizzaKing [~jeff@c211-28-164-75.eburwd2.vic.optusnet.com.au] has joined #openttd
17:55|-|skidd13 [~skidd13@p548A419A.dip.t-dialin.net] has joined #openttd
17:56|-|skidd13 [~skidd13@p548A419A.dip.t-dialin.net] has left #openttd [ZZZzzzz.]
17:56|-|Osai [~Osai@pD9EB65F3.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
18:04|-|Osai^2 changed nick to Osai
18:05|-|eJoJ [~ejoj@89.10.29.107] has joined #openttd
18:06|-|Osai changed nick to Osai^zZz
18:07|-|dihedral_ [~dihedral@dslb-084-057-235-226.pools.arcor-ip.net] has quit [Quit: ChatZilla 0.9.78.1 [Firefox 2.0.0.9/2007102514]]
18:07|-|Guest669 [~dihedral@joshua.dihedral.de] has quit [Quit: leaving]
18:13<Rubidium>DaleStan: would it be a problem (for TTDP) when I use the 7th bit of the Action 5 type to tell whether there is an extra byte with offset from where to start replacing sprites (I would like to support changing a subset of sprites for some types). The bit will only have meaning for some types that I want to add for making replacing OpenTTD's sprites easier.
18:14<Rubidium>so for the current types the bit must not be set
18:15|-|Vikthor [~Vikthor@snat1.spoje.net] has quit [Quit: Leaving.]
18:15|-|KritiK [~Maxim@78-106-183-247.broadband.corbina.ru] has quit [Ping timeout: 480 seconds]
18:22<dihedral>is it possible to kinda 'ban' a certain user in tt-forums from certain threads?
18:23<Gonozal_VIII>?
18:23<dihedral>this maartena guy is p****** me off
18:23<Rubidium>with a decent browser and some decent script you can I think
18:24<dihedral>LOL
18:25<Rubidium>you'll always have people who want other people to do the thinking work...
18:25<dihedral>if i could i'd slap him left and right and send him to mars
18:25<Rubidium>like people buying a computer, going home with the box and calling the support desk asking "what do I do now?"
18:26<Gonozal_VIII>5 posts in a row :-)
18:26<Rubidium>be happy your lib is only a niche product and you only have one such user
18:27<dihedral>i responded at one ocation with
18:27<dihedral>compare it to: you phoning microsoft because thunderbird is unable to contact the mail server due to a router misconfiguration!
18:27<dihedral>:-P
18:27<dihedral>still amuses me :-D
18:28<Rubidium>dihedral: the person did not even open the box!
18:28<dihedral>no - and is still complaining
18:28<Rubidium>it's like calling microsoft so they can help you downloading thunderbird
18:28|-|BigBB [~BigBB@p57A2C9E7.dip.t-dialin.net] has joined #openttd
18:28<dihedral>;-P
18:29<dihedral>he posted an error message, that clearly states what is wrong, and is described in the docs
18:29<dihedral>and even sent me a mail about it saying it was buggy
18:29<dihedral>all because he seems unable to understand 'cannot read from ...'
18:29<dihedral>and set the premissions correctly
18:32|-|exe [~zgibhy@pub70089.brzesko.net.pl] has joined #openttd
18:32<Rubidium>and begin your (donot)readme with often occuring errors before even mentioning reporting bugs
18:33<Gonozal_VIII>hehe, you rtfm'd him :-)
18:33<Rubidium>btw: there is an inconsistency between the about in the readme and the about in the user guid about the origin
18:33<dihedral>ops
18:33<dihedral>thanks...
18:34<Rubidium>but still... mention common bugs in the (donot)readme and not in some userguide
18:34|-|Entane [~Entane@206.84-48-202.nextgentel.com] has quit [Ping timeout: 480 seconds]
18:34<dihedral>if there were common bugs
18:35<Rubidium>bugs/issues... all one big pile of bogus
18:35|-|Entane [~Entane@206.84-48-202.nextgentel.com] has joined #openttd
18:36<dihedral>unless you define 'bugs' as "users, who seemingly believe they are totally capable of doing anything, (un)pleasantly surprise you with the fact that they actually have no idea whatsoever of what is going on around them. in some situations they may also prove to be incapable of reading manuals and/or error messages"
18:36<dihedral>hey - i like that ;-D
18:37<dihedral>Gonozal_VIII: yes - i did rtfm him - and now i am actually curious to see his reaction towards that :-P
18:37<dihedral>much nicer than saying 'you p me off'
18:37<Rubidium>dihedral: it is a fact that people do not read a userguide for reasons why something doesn't work.
18:38<dihedral>i _always_ read what i find...
18:38<Rubidium>dihedral: have you read docs.openttd.org?
18:38<dihedral>seen it on more than one ocation
18:39|-|ludde [~ludde@ua-83-227-238-252.cust.bredbandsbolaget.se] has quit [Ping timeout: 480 seconds]
18:39<Rubidium>but have you completely read it?
18:39|-|eJoJ [~ejoj@89.10.29.107] has quit [Read error: Connection reset by peer]
18:39<Rubidium>that's my point. Nobody will have completely read it.
18:39<SmatZ>:-D
18:39<dihedral>i had no need to so far :-)
18:39<dihedral>and yes - i read parts
18:40<dihedral>but must say - grep and less seem more intuitive
18:40<SmatZ>hundreds of thousands of lines to read...
18:41<Gonozal_VIII>millions!
18:41<Gonozal_VIII>^^
18:41<dihedral>Rubidium: is that not the way you read manuals - you pick the stuff that suits your current situation
18:41<dihedral>you only read one man page if you need help on iptables
18:41<dihedral>and not all man pages :-D
18:42<Rubidium>one manpage about iptables?
18:42<Rubidium>that doesn't cover everything
18:47<dihedral>no
18:47<dihedral>just was en example
18:47<dihedral>who is athanasios?
18:49<SmatZ>who?
18:51<dihedral>nvm
18:51<dihedral>just some new kid :-D
18:51<dihedral>who thought my post was 'offensive'
18:52<SmatZ>:(
18:53|-|Progman [~progman@p57A1CFCF.dip.t-dialin.net] has quit [Remote host closed the connection]
18:54|-|eJoJ [~ejoj@89.10.29.107] has joined #openttd
18:55<dihedral>i'll see what a forum admin has to say to it
18:55<exe>anyone knows pathfinding? could this be possible? http://sharpttd.top100.net.pl/wiki/index.php?title=Pathfinding
18:56|-|eJoJ [~ejoj@89.10.29.107] has quit []
18:58<dihedral>time for bed
18:58<dihedral>good night
19:00|-|dihedral [~dihedral@dslb-084-057-235-226.pools.arcor-ip.net] has quit [Remote host closed the connection]
19:01|-|prakti [~prakti@port-213-148-152-8.static.qsc.de] has quit [Quit: Quitting .... Hackedi...hackedi...weg.]
19:01|-|Bjarni [~Bjarni@0x50c79a03.virnxx14.adsl-dhcp.tele.dk] has quit [Quit: Leaving]
19:08|-|Osai^zZz [~Osai@pD9EB4E6E.dip.t-dialin.net] has quit [Quit: Osai^zZz]
19:08|-|G [~njones@202.154.150.91] has joined #openttd
19:10|-|Wezz6400 [~Wezz6400@145-118-108-106.fttx.bbned.nl] has quit [Quit: 2440457725]
19:10|-|G_ [~njones@202.154.150.91] has quit [Ping timeout: 480 seconds]
19:12|-|Diabolic-Angel [~dia@ip-62-143-77-30.1311A-CUD12K-02.ish.de] has quit [Quit: leaving]
19:13<CIA-1>OpenTTD: glx * r11431 /trunk/src/ (newgrf_engine.cpp train_cmd.cpp vehicle.h): -Codechange: [NewGRF] Add support for changing rail vehicle user-defined bit mask (prop 25) via callback 36
19:14|-|AntB [~AntB-UK@81.140.70.99] has joined #openttd
19:17|-|exe [~zgibhy@pub70089.brzesko.net.pl] has left #openttd []
19:17|-|exe [~zgibhy@pub70089.brzesko.net.pl] has joined #openttd
19:19<SmatZ>bye
19:19|-|SmatZ [~smatz@a40-prg1-5-107.static.adsl.vol.cz] has quit [Remote host closed the connection]
19:23|-|KritiK_ [~Maxim@78-106-211-40.broadband.corbina.ru] has joined #openttd
19:23|-|KritiK_ changed nick to KritiK
19:25<KritiK>!logurl
19:29|-|AntB [~AntB-UK@81.140.70.99] has quit [Quit: *poof!* I am gone -=- Using ChatZilla]
19:30|-|Digitalfox [~chatzilla@bl4-211-86.dsl.telepac.pt] has quit [Quit: Bye]
19:42|-|SmatZ [~smatz@a40-prg1-5-107.static.adsl.vol.cz] has joined #openttd
19:43<SmatZ>back :)
19:51|-|Brianetta [~brian@82-39-52-234.cable.ubr03.benw.blueyonder.co.uk] has quit [Quit: Tschüß]
19:57|-|KritiK [~Maxim@78-106-211-40.broadband.corbina.ru] has quit [Quit: Leaving]
20:07|-|Arpad [~Gali@tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
20:08|-|Sacro [Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
20:25|-|SmatZ [~smatz@a40-prg1-5-107.static.adsl.vol.cz] has quit [Remote host closed the connection]
20:30|-|Hendikins changed nick to Hendikins|Work
20:31|-|Eddi|zuHause2 [~johekr@p54B778B4.dip.t-dialin.net] has joined #openttd
20:37|-|Eddi|zuHause [~johekr@p54B75CC2.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
20:51<slafs_>I remember having heard of a project to make a php interface to dedicated openttd servers. I want to find it again and use it, anyone know what the project is called or where to find more information?
20:53<slafs_>Ah, now I found OpenTTDLib on tt-forums :)
21:12|-|exe [~zgibhy@pub70089.brzesko.net.pl] has quit [Ping timeout: 480 seconds]
21:15<DaleStan><Rubidium> would it be a problem (for TTDP) when I use the 7th bit of the Action 5 type to tell whether there is an extra byte with offset from where to start replacing sprites <-- I'm not sure I understand the question. But I'll make some stabs: (1) Some action 5 blocks may have sprite offsets that do not fit in a byte. (2) Patch stores only the first sprite and the count for Action 5 blocks, so the blocks must be contiguous. T
21:15<DaleStan>hat said, (3) Patch will do something well defined when encountering such a sprite: Error out.
21:15|-|a1270 [~Cheese@24-117-163-29.cpe.cableone.net] has quit [Quit: The ending changes tone & is actually quite sad - but it involves a scene of necrophilia, so that's just another plus in my book.....]
21:15<DaleStan>Does that answer the question?
21:18|-|BigBB [~BigBB@p57A2C9E7.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
21:47|-|tokai [~tokai@p54B8406A.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
21:49|-|tokai [~tokai@p54B838C5.dip0.t-ipconnect.de] has joined #openttd
21:49|-|mode/#openttd [+v tokai] by ChanServ
22:02|-|Ammler [~Ammler@adsl-84-227-178-173.adslplus.ch] has quit [Remote host closed the connection]
22:12|-|G_ [~njones@202.154.150.91] has joined #openttd
22:14|-|G [~njones@202.154.150.91] has quit [Ping timeout: 480 seconds]
22:18|-|Gonozal_VIII [user@cm56-182-132.liwest.at] has quit [Ping timeout: 480 seconds]
22:21|-|Ailure [Cat@194.47.44.201] has quit [Ping timeout: 480 seconds]
22:28|-|MarkSlap [~me@h64n1c1o1114.bredband.skanova.com] has quit [Ping timeout: 480 seconds]
22:32|-|glx [glx@bny93-6-82-245-156-124.fbx.proxad.net] has quit [Quit: bye]
22:32|-|MarkSlap [~me@h64n1c1o1114.bredband.skanova.com] has joined #openttd
23:22|-|G [~njones@202.154.150.91] has joined #openttd
23:23|-|Dark_Link^ [~glidegame@fw.dormnet.his.se] has quit [Quit: ( www.nnscript.de :: NoNameScript 4.02 :: www.XLhost.de )]
23:24|-|G_ [~njones@202.154.150.91] has quit [Ping timeout: 480 seconds]
23:58|-|Gekz [~gekko@CPE-121-217-203-4.nsw.bigpond.net.au] has joined #openttd
23:59|-|Ben_1 [~Ben@82.152.175.189] has quit [Quit: Leaving]
---Logclosed Thu Nov 15 00:00:08 2007