Back to Home / #openttd / 2018 / 06 / Prev Day | Next Day
#openttd IRC Logs for 2018-06-12

---Logopened Tue Jun 12 00:00:50 2018
00:28-!-KouDy [] has joined #openttd
00:28-!-KouDy is "KouDy" on #openttd
00:34-!-KouDy [] has quit [Remote host closed the connection]
00:47-!-Suprcheese [] has joined #openttd
00:47-!-Suprcheese is "Supercheese" on #openttd
00:52-!-KouDy [] has joined #openttd
00:52-!-KouDy is "KouDy" on #openttd
00:53-!-Supercheese [] has quit [Ping timeout: 480 seconds]
00:54-!-Suprcheese is now known as Supercheese
00:59-!-KouDy [] has quit [Remote host closed the connection]
01:07-!-supermop [] has quit [Ping timeout: 480 seconds]
01:08-!-snail_UES_ [] has quit [Quit: snail_UES_]
01:32-!-ToffeeYogurtPots_ [] has quit [Quit: Leaving]
01:32-!-ToffeeYogurtPots_ [] has joined #openttd
01:32-!-ToffeeYogurtPots_ is "realname" on #debian-hurd #tor #tor-onions #i2p #https-everywhere #privacybadger #openttd #oftc
01:39-!-Maarten [~maarten@] has quit [Ping timeout: 480 seconds]
01:40-!-Maarten [~maarten@2600:1700:7fd0:6e98:20c:29ff:fea0:abb6] has joined #openttd
01:40-!-Maarten is "maarten" on #openttd #observium #moocows @#maarten #debian
02:01-!-andythenorth [] has joined #openttd
02:01-!-andythenorth is "andythenorth" on #openttd
02:08-!-Cubey [] has quit [Ping timeout: 480 seconds]
02:17-!-planetmaker_ [] has joined #openttd
02:17-!-planetmaker_ is "realname" on #openttd #openttdcoop
02:24-!-SpComb [] has quit [Ping timeout: 480 seconds]
02:28-!-ANIKHTOS [] has joined #openttd
02:28-!-ANIKHTOS is "OFTC WebIRC Client" on #openttd
02:32-!-KouDy [] has joined #openttd
02:32-!-KouDy is "KouDy" on #openttd
02:36-!-chomwitt is "chomwitt" on #debian #debian-games
02:36-!-chomwitt [~chomwitt@2a02:587:dc0d:6600:cc38:b729:fd8c:e751] has joined #openttd
02:40-!-KouDy [] has quit [Remote host closed the connection]
02:56<ANIKHTOS>hello toall have a nice day
03:16-!-KouDy [] has joined #openttd
03:16-!-KouDy is "KouDy" on #openttd
03:28-!-planetmaker_ [] has quit [Ping timeout: 480 seconds]
03:40-!-Fuco [] has joined #openttd
03:40-!-Fuco is "O_o" on +#openttdcoop #openttd
03:46-!-SpComb [] has joined #openttd
03:46-!-SpComb is "Tero Marttila" on #oftc #bitlbee #openttd #tycoon
04:03-!-APTX_ [~APTX@2001:470:71:71d:defe:7ff:fee1:3d5d] has quit [Ping timeout: 480 seconds]
04:15-!-Supercheese [] has quit [Quit: Valete omnes]
04:22-!-Fuco [] has quit [Ping timeout: 480 seconds]
04:40-!-APTX_ [~APTX@2001:470:71:71d:defe:7ff:fee1:3d5d] has joined #openttd
04:40-!-APTX_ is "APTX" on #kernelnewbies #openttd
04:52-!-andythenorth [] has left #openttd []
05:59-!-Thedarkb [] has joined #openttd
05:59-!-Thedarkb is "realname" on #/r/openttd #openttd #oolite
06:00-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
06:04-!-TheMask96 [] has joined #openttd
06:04-!-TheMask96 is "Martijn Zweistra" on #openttd @#altcontrol #openttd.notice
06:23<Eddi|zuHause>how do Nizza days differ from other days?
06:35-!-heffer [] has quit [Quit: heffer]
06:37-!-heffer [] has joined #openttd
06:37-!-heffer is "Felix Kaechele" on #openttd
06:43-!-sla_ro|master [] has joined #openttd
06:43-!-sla_ro|master is "slamaster" on #sla #openttd
07:05<__ln__>that looks like a Nice question, though i don't understand it
07:16-!-APTX_ [~APTX@2001:470:71:71d:defe:7ff:fee1:3d5d] has quit [Ping timeout: 480 seconds]
07:18-!-Wacko1976_ [] has quit [Ping timeout: 480 seconds]
07:21<Eddi|zuHause>actually, how did it evolve that english uses the french name (Nice) and german uses the italian name (Nizza)?
07:28<__ln__>dunno, and curiously finnish also uses Nizza
07:50-!-KouDy [] has quit [Ping timeout: 480 seconds]
07:55-!-supermop [] has joined #openttd
07:55-!-supermop is "A CIRC user" on #openttd
07:55-!-KouDy [] has joined #openttd
07:55-!-KouDy is "KouDy" on #openttd
08:03-!-tragique [] has quit [Ping timeout: 480 seconds]
08:07-!-anikhtos_ [] has joined #openttd
08:07-!-anikhtos_ is "OFTC WebIRC Client" on #openttd
08:08-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
08:08-!-anikhtos_ [] has quit []
08:14-!-virtualrandomnumber [] has joined #openttd
08:14-!-virtualrandomnumber is "New Now Know How" on #openttd #openttdcoop #/r/openttd
08:15-!-LANJesus [] has quit [Read error: Connection reset by peer]
08:16-!-LANJesus [] has joined #openttd
08:16-!-LANJesus is "WOOOAAARGH!" on #openttd
08:25-!-Thedarkb [] has joined #openttd
08:25-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
08:44-!-APTX_ [~APTX@2001:470:71:71d:defe:7ff:fee1:3d5d] has joined #openttd
08:44-!-APTX_ is "APTX" on #kernelnewbies #openttd
08:50-!-snail_UES_ [] has joined #openttd
08:50-!-snail_UES_ is "Jacopo Coletto" on #openttd
08:59-!-WWacko1976-work [] has joined #openttd
08:59-!-WWacko1976-work is "YO!" on #openttd #/r/openttd
09:07-!-WWacko1976-work [] has quit [Quit: Hello, 911? Yeah, it's caught in the window this time.]
09:13-!-snail_UES_ [] has quit [Quit: snail_UES_]
09:14-!-WWacko1976-work [] has joined #openttd
09:14-!-WWacko1976-work is "YO!" on #openttd #/r/openttd
09:45-!-nielsm [] has joined #openttd
09:45-!-nielsm is "Niels Martin Hansen" on #openttd #tycoon
09:52-!-Alberth [] has joined #openttd
09:52-!-mode/#openttd [+o Alberth] by ChanServ
09:52-!-Alberth is "purple" on @#openttd
09:57<ANIKHTOS>hello albert
09:57<ANIKHTOS>i made an acount in git
09:57<ANIKHTOS>i download the ottd master?? that is the one to get??
09:58-!-virtualrandomnumber [] has quit [Quit: ChatZilla 0.9.93 [Firefox 52.8.1/20180605153619]]
10:02<ANIKHTOS>hello nielsm how are you?
10:04<LANJesus>ANIKHTOS: if you're wanting to replicate what is the most bleeding of edged openttd, yes. get master?
10:04<@Alberth>master is usually the newest revision of the program indeed
10:04<LANJesus>yeah openttd isn't using any kind of flow.
10:05<LANJesus>master isn't stable, it's the wild west
10:05-!-andythenorth [] has joined #openttd
10:05-!-andythenorth is "andythenorth" on #openttd
10:05<ANIKHTOS>tso get the 1.80??
10:05<@Alberth>openttd dev does use branches and rebasing :)
10:05<LANJesus>if you want 1.8.0 source you need to get that tag
10:05<ANIKHTOS>so to experiment with code it is better to get 1.8/0 which will be stable??
10:06<@Alberth>likely some tag or branch exists for releases
10:06<@Alberth>hi hi planetmaker
10:06<LANJesus>ANIKHTOS: it'll be stable but you'll have more merge conflicts
10:06<LANJesus>uuuuusually master is okay
10:06<ANIKHTOS>well you said master is nto stable and i want to play aroudn so it makes mre sence to get a stable version to play ??
10:06<LANJesus>if you want to play, yes
10:06<@Alberth>ANIKHTOS: no, as soon as you change anything it's not 1.8.0 anymore, and you can't use it anywhere
10:06<LANJesus>if you want to hack, probably not
10:06<planetmaker>if you want to build OpenTTD yourself, there's really little point in NOT starting with master
10:07<planetmaker>especially for the reason albert just said
10:07<nielsm>all new work happens on master
10:07<LANJesus>well you can use it locally, just not multiplayer, unless you adhere to not modifying parts that change network or gamestate
10:07<@Alberth>it's not stable as in new changes get added all the time
10:07<ANIKHTOS>yes i get ti wheni change somethign will nto be 1.8.0 but at least if i use 1.80 will be more stable
10:07<LANJesus>master can break backward compatibility at any moment
10:07<ANIKHTOS>thus will face less problems when play aroudn with new code?? right??
10:07-!-Wacko1976 [] has joined #openttd
10:07-!-Wacko1976 is "The Chat Cool People Use" on #openttd #/r/openttd
10:07<planetmaker>and if you use it locally only... that's more of a reason to use master
10:07<nielsm>the only reason to start from a point release is if you want to make an urgent bug-fix
10:07<planetmaker>less hassle in every respect to use master :)
10:08<LANJesus>nielsm: or you're making a patchpack which is vanilla compatible ; )
10:08<ANIKHTOS>okey so use master
10:08<ANIKHTOS>okey i got that rigth at least
10:08<LANJesus>ANIKHTOS, it depends. it sounds like you'd want to use master for your purposes.
10:09<ANIKHTOS>lan i am new on this
10:09<ANIKHTOS>so i am askign because i want to try to write soem ne code
10:09<ANIKHTOS>so i am askign which version will be better to play with
10:09<@Alberth>ANIKHTOS: no, using a release gives you no benefits and more pain
10:09<@Alberth>a release is not much more than master being relabeled at some point in time, code quality is the same
10:09<planetmaker>yeah, master, if you want to play with code
10:09<ANIKHTOS>albert i wrote my changes
10:10<@Alberth>LANJesus: breaking backwards compatibility is very extremely unlikely to say the least
10:10<ANIKHTOS>but i post it in wrogn branch
10:10<ANIKHTOS>still learnign to move around git
10:10<LANJesus>Alberth: huh? master breaks backward compatibility with multiplayer games all the time, eh?
10:11<ANIKHTOS>i foudn a site and start reading learnign c++, i made accoutn in git
10:12<ANIKHTOS>now i need a compiler
10:12<@Alberth>LANJesus: not more than stable release breaks every version too in MP :)
10:12<LANJesus>ANIKHTOS: if you're on windows, visual studio community edition is quite nice
10:12<ANIKHTOS>i have windows 7 without sp1
10:12<ANIKHTOS>i can not install it
10:12<LANJesus>... wat
10:13*LANJesus runs back to work. later
10:13<@Alberth>ANIKHTOS: yep, standard error for first time git users, forgetting to construct a branch first :)
10:13<@Alberth>o/ andy
10:13<ANIKHTOS>i did nto even noticed the drop menu after i post the file
10:14<planetmaker>hi andy
10:14<ANIKHTOS>hello andythe north
10:14<ANIKHTOS>does anyone now a compiler for windows7 without sp1??
10:14<nielsm>uh please keep your computer updated
10:15<nielsm>but mingw on msys is probably an option
10:15<ANIKHTOS>i downllaod both
10:15<ANIKHTOS>msys64 has an exe
10:15<ANIKHTOS>the mingw64 does nto
10:16<ANIKHTOS>mingw-w64-v5.0.4 msys64
10:16<@Alberth>no "g++" or "gcc" or so? probably in some 'bin
10:16<ANIKHTOS>i need both or any will do??
10:16<@Alberth> directory
10:17<@Alberth>"mingw on msys" implies you need both in some way
10:17<Soni>does openttd have lewd/porn mods?
10:17<ANIKHTOS>i wnet to offician site clcik download and i only get the code to compile lol
10:18<@Alberth>not quite compatible with the "for the entire family" goal, Soni :)
10:18<@Alberth>but, no, not really, afaik
10:19<ANIKHTOS>nielsm i never upgrade the computer if it works do not mess around
10:19-!-andythenorth [] has quit [Quit: andythenorth]
10:19<ANIKHTOS>it runs now 6 years with no problem
10:20<ANIKHTOS>when i was updatign i always had problems
10:20<@Alberth>so it's full with mallware and viruses by now?
10:21<ANIKHTOS>ifs free
10:21<ANIKHTOS>i tes tit every year with cleanign tools and it fre
10:21<ANIKHTOS>with my suprice
10:21<Eddi|zuHause>it's probably not then
10:21<@Alberth>cleaning tool also 6 year old eh?
10:21<ANIKHTOS>the latest version
10:22<ANIKHTOS>i foudn a site to help you clena computer and hav software
10:22<ANIKHTOS>so i install it folow the instruction
10:22<Eddi|zuHause>if the malware is already running, it also has the capability to hide from "cleaning tools"
10:22<ANIKHTOS>the steps which to use first which secodn and bla blab
10:22<ANIKHTOS>apart from tracking cookies
10:22<ANIKHTOS>nothign serious alse found
10:22<Eddi|zuHause>just because it isn't found doesn't mean it isn't there
10:23<@Alberth>and now you hope "I found a site" is not giving you bogus malware
10:23<ANIKHTOS>well yes the newest can escape detaction
10:23<ANIKHTOS>but since every time i make a scan there is few minor problems i can say computer is in good helath
10:24<ANIKHTOS>its an internet forum for peopel to talk about computer issues
10:24<ANIKHTOS>i was writtign there in the past
10:24<@Alberth>I wouldn't trust that scan
10:24<ANIKHTOS>the tools are nto there tools
10:24<ANIKHTOS>they are from other companies
10:24<ANIKHTOS>they just make a list which ones you need
10:25<Eddi|zuHause>i'm going to have nightmares from this conversation tonight
10:26<ANIKHTOS>SUPERAntiSpyware Free Edition one programm i use
10:26<ANIKHTOS>Malwarebytes Anti-Malware
10:32<ANIKHTOS>eddi you real have confidense in people :-0 no worrie my computer is clean as clean a computer can be
10:33<planetmaker>this 'confidence' is sometimes called 'experience' ;)
10:33<ANIKHTOS>well many peopel have experince
10:34<ANIKHTOS>and i am confident my computer is runnign good
10:34<Eddi|zuHause>sometimes "confidence" is antiproportional to "capability"
10:34<ANIKHTOS>of course it can be
10:35<ANIKHTOS>but now we will talk general or take it to personal level?
10:35<LordAro>run disk cleanup, done
10:35<LordAro>nothing else necessary
10:36<LordAro>malwarebytes if you think you've picked something up
10:36<ANIKHTOS>well i make periodic scans just to be in safe side
10:36<@Alberth>just install openbsd :p
10:37<LordAro>does ottd still run? :p
10:37<@Alberth>don't know, but likely it can be persuaded if so desired
10:37<ANIKHTOS>but i am 100% ure my desktop has no viruses
10:38<LordAro>that's quite a high number
10:39<Soni>Alberth: why not?
10:39<@Alberth>yeah we know you're fully convinced :)
10:40<@Alberth>trains driving around tracks is porn enough
10:40<ANIKHTOS>i have this 2 time
10:40<ANIKHTOS>asa boot drive to host my os
10:40<ANIKHTOS>every time i reboot the computer is clean and no fiel can be corupted or altered
10:42<nielsm>anyway, the other side of not installing updates is that the world will keep moving around you and eventually you won't be able to run any new software, because it depends on the updates you have ignored
10:42<ANIKHTOS>and when the time is needed i do update
10:42<ANIKHTOS>but only when i need to update
10:43<nielsm>maybe that time is now?
10:43<nielsm>if it prevents you from installing visual studio
10:43<ANIKHTOS>i was an update junkie and al the time the system was rather unstable
10:44<ANIKHTOS>a bit harder said than done
10:44<ANIKHTOS>i have downloaded the sp
10:44<ANIKHTOS>but i do nto have the space to install it
10:45-!-synchris [~synchris@] has joined #openttd
10:45-!-synchris is "Synesios Christou" on #openttd
10:49<Soni><@Alberth> not quite compatible with the "for the entire family" goal, Soni :)
10:49<ANIKHTOS>so nielsm wanna see the code i wrote
10:50<Soni>why not?
10:50-!-andythenorth [] has joined #openttd
10:50-!-andythenorth is "andythenorth" on #openttd
10:50<ANIKHTOS>and tell me if i wrote it correct??
10:51<LordAro>Soni: what exactly are you wanting to achieve here?
10:51<Soni>just wondering why we don't have open source porn/lewd mods anywhere
10:52<LordAro>probably because no one's made any
10:52<Soni>and I mean like, *anywhere*
10:52<Soni>not just anywhere related to openttd
10:52<LANJesus>Soni: are you trolling?
10:52<LANJesus>there were some GRFs with uh, "advertisements" on some of the vehicles
10:52<LordAro>Soni: skyrim?
10:52<Soni>I don't know any open source porn/lewd mods for any game
10:53<FLHerne>Soni: Be the change you want to see in the world?
10:53<FLHerne>After all, it's open source...
10:53<LANJesus>but not vehicles that were genital/mammary shaped
10:53<Soni>LordAro: open-source?
10:53<LordAro>Soni: i think you haven't looked hard enough
10:53<FLHerne>(but also that)
10:53<LANJesus>the FUmobile, a middle finger with wheels/jets
10:54<andythenorth>I assumed there were loads
10:54<andythenorth>there used to be for games like DOOM
10:54<LANJesus>Soni: dig around in forums eh?
10:54<andythenorth>it's just only funny for about 5 mins
10:54<Soni>doom... lewd?
10:54<andythenorth>yeah there were doomwads that replaced sprites
10:54<andythenorth>Doom 1 and 2
10:55<andythenorth>like 25 years ago :P
10:55<Soni>do you shoot sex workers or something
10:55<Soni>yeah, that's not appealing
10:55<andythenorth>novelty for 30 seconds
10:55<andythenorth>then it's just stupid
10:55-!-Wormnest [] has joined #openttd
10:55-!-Wormnest is "Wormnest" on #openttd
10:55<Soni>so uh can I mod openttd in C?
10:56<andythenorth>the internet is not short of actual lewd content :P
10:56<FLHerne>Soni: If you want, but it's much easier to just write newgrfs
10:56<@Alberth>maybe you're not train-crazy enough to understand?
10:56<Soni>FLHerne: does newgrfs have an FFI?
10:56<FLHerne>Soni: No
10:57<Soni>I can easily use Rust with a C API
10:57<supermop>soni i think you could just open some porn in another window while you play openttd
10:57<Soni>(I've done it with hexchat)
10:57<Soni>my internet keeps dropping also
10:58<ANIKHTOS>alberth can you see my code and tell me if you see a problem with it??
11:01-!-Cubey [] has joined #openttd
11:01-!-Cubey is "Jaybar" on #openttd
11:02<@Alberth>code style is not even close to the standard
11:03<ANIKHTOS>okey i will try to write it again to meet the standart
11:03<ANIKHTOS>where i can fidn instructions about how standart code looks like??
11:03<@Alberth>some indenting would be nice for starters
11:04<@Alberth> wiki knows everything
11:06<ANIKHTOS>i found mistakes i need == not =
11:06<@Alberth>enable compiler warnings
11:06<nielsm>a compiler will warn you about that
11:06<ANIKHTOS>i wrote it in notepad
11:07<nielsm>ANIKHTOS I'm doing other things and don't have time to talk a lot today, by the way
11:07<@Alberth>but otherwise, I have no idea how time works in openttd, so I can't tell you how useful it is wrt the other code
11:07<nielsm>at least use notepad++ or vscode or another programmer's text editor
11:08<nielsm>it's much more comfortable to use than microsoft notepad
11:08<@Alberth>notepad is not a compiler
11:08<ANIKHTOS>i knwo it is nto a compiler
11:08<@Alberth>almost anything is more comfortable :p
11:09<@Alberth>ok, enable warnings in the compiler, so it finds stupid errors like = in a condition for you
11:09<ANIKHTOS>msys is a compiler??
11:10<@Alberth>no idea, I never understood windows
11:10<ANIKHTOS>user@computer MINGW64 ~ $
11:10<ANIKHTOS>i run it and i go to this comamnd line
11:10<@Alberth>looks like a shell
11:10<ANIKHTOS>but i coudl not find a manula how to use it
11:10<nielsm>MSYS is a suite of unix utilities compiled for windows
11:11<@Alberth>"ls" works ?
11:11<nielsm>mingw is the name of the GCC suite for MSYS
11:11<@Alberth>./configure works?
11:11<nielsm>or you could put it the other way around, MSYS is the support system for the mingw port of gcc
11:12<ANIKHTOS>or in simpler words?? do i have a compiler or nto??
11:12<@Alberth>run ./configure, see what happens
11:12<nielsm>try typing: gcc --version
11:13<ANIKHTOS>of msys??
11:13<ANIKHTOS>or mg??
11:13<nielsm>"gcc --version" is a command you type into an msys commandline
11:14<ANIKHTOS>bash: /configure: No such file or directory
11:14<nielsm>msys and mingw are, to some extent, two sides of the same thing
11:16-!-Gja [] has joined #openttd
11:16-!-Gja is "Martin" on #ceph #bcache #openttd
11:16<@Alberth>'configure' is in the root of the git repository
11:16<ANIKHTOS>in the installation folder i have both msy2 and ming64 and ming32
11:17<@Alberth>type pwd
11:17<@Alberth>it shows where you are
11:18<@Alberth>ls shows the contents of the directory
11:18<@Alberth>cd otherdir changes to otherdir
11:18<@Alberth>cd .. is one directory up
11:18<andythenorth>devzone repos are gone?
11:18<andythenorth>might just be redmine, I'm checking
11:19<andythenorth>yeah repos are gone
11:19<andythenorth>^Spike^: ^^ don't want to make wrong guesses, but hg isn't responding as expected
11:20<@Alberth>remote: Permission denied (publickey).
11:20<@Alberth>abort: no suitable response from remote hg!
11:20<andythenorth>not just me then Alberth :)
11:20<andythenorth>I wondered if I had bad permissions
11:20<@Alberth>no, just us two :p
11:21<ANIKHTOS>C:\msys64 the programm is instaleld here i used defualt directory it asked
11:21<ANIKHTOS>R:\OpenTTD-master is where i have the files
11:22<@Alberth>no idea how to get there tbh
11:22<@Alberth>try cd /
11:22<@Alberth>and then ls
11:22<@Alberth>you get drives then?
11:22<@Alberth>or try cd r:
11:24<ANIKHTOS>cd /r:
11:24<ANIKHTOS>worked now i am in r???
11:24<ANIKHTOS>but i can nto go to the directory
11:24<@Alberth>pwd gives any useful output?
11:25<ANIKHTOS>user@computer MINGW64 ~ $ cd /R; user@computer MINGW64 /R
11:25<ANIKHTOS>it changed somethign but i do nto knwo if thatwe want??
11:25<@Alberth>ok tat seems to work then
11:25<@Alberth>type ls
11:26<@Alberth>cd OpenTTD-master should work
11:26<ANIKHTOS>okey i enter the folder
11:26<ANIKHTOS>i rename it to ottd to be shorter
11:27<@Alberth>./configure :)
11:27<ANIKHTOS>and i manage to go with cd R:\ottd
11:27<ANIKHTOS>user@computer MINGW64 /r/ottd $ /configure bash: /configure: No such file or directory
11:28<@Alberth>don't forget the initial dot
11:28<ANIKHTOS>did nto use the dot
11:28<ANIKHTOS>run it with out the ? and got a different error
11:28<ANIKHTOS>user@computer MINGW64 /r/ottd $ configure bash: configure: command not found
11:29<@Alberth> /configure and ./configure are very different things
11:30<@Alberth>leading / means "root of the file system, like c:\
11:30<ANIKHTOS>which one to run
11:30<ANIKHTOS>with the dot or without?/
11:30<@Alberth>./ means "in this directory"
11:30<ANIKHTOS>i run it wihtou tthe dot
11:30<nielsm>you need both . and /
11:30<@Alberth> ./configure
11:31<nielsm>Alberth it writing everything exactly as you need to write it yourself
11:31<ANIKHTOS>user@computer MINGW64 /r/ottd $ ./configure checking awk... awk detecting OS... MINGW checking build system type... gcc not found I couldn't detect any gcc binary on your system please define the CC/CXX environment to where it is located
11:31<@Alberth>ok, no gcc found thus
11:32<ANIKHTOS>so i need gcc
11:32<@Alberth>for larger output, use a pastebin like
11:32<@Alberth>you paste the text into a page there and press "paste", then copy the link to the chat
11:33<@Alberth>it avoids getting huge pasted output here
11:33-!-Gja [] has quit [Quit: Going offline, see ya! (]
11:33-!-Thedarkb1 [] has joined #openttd
11:33-!-Thedarkb1 is "realname" on #oolite #openttd #/r/openttd
11:34<@Alberth>your mingw thing is supposed to be a compiler?
11:34<@Alberth>no install instructions with it?
11:35<LordAro>msys2 doesn't come with gcc by default, iirc
11:35<ANIKHTOS>13.860 files and 250 mbyte installed
11:38-!-Thedarkb [] has quit [Ping timeout: 480 seconds]
11:40<ANIKHTOS>whcih option i install??
11:41<nielsm>rate my station:
11:42<nielsm>install them all
11:42<nielsm>you need everything except for fortran and ada parts
11:42<nielsm>can probably also skip gdb and objc
11:45-!-supermop_work_ [] has quit [Ping timeout: 480 seconds]
11:47<ANIKHTOS>install 1, 11 and now i do 3
11:49<ANIKHTOS> nielsm you will find some crazy statiosn i made
11:50-!-luaduck [] has quit [Quit: Why do you need...?]
11:50-!-Stimrol [~Stimrol@] has joined #openttd
11:50-!-Stimrol is "Stimrol" on #openttd
11:53<ANIKHTOS> okey now i got this list
11:54<nielsm>you need to install liblzma, and you're also going to need liblzo2
11:56<@Alberth>station lacks sufficient trains, niels
11:57<nielsm>Alberth true
11:58<@Alberth>if you add a signal just in front of the platform, and extend the tracks to an entire train, that space has a better use
11:59<nielsm>signal in front of the station makes the path signals pointless
11:59<nielsm>since the trains won't be able to pick a track leading to an empty platform
12:00<@Alberth>true, but why is there such a huge amount of space between the path signals and the platform?
12:00<nielsm>so they have cleared all switches before starting to brake
12:00-!-luaduck [] has joined #openttd
12:00-!-luaduck is "duck." on #openttd @#/r/openttd
12:00<ANIKHTOS>okey both are installed
12:01-!-Progman [] has joined #openttd
12:01-!-Progman is "Peter Henschel" on #openttdcoop #openttd
12:01<@Alberth>assuming they just stopped in front of the path signals, that would not have much impact, would it?
12:02<nielsm>I'm overbuilding with the intent that trains won't need to wait to enter
12:02<@Alberth>fair enough :)
12:02<Eddi|zuHause>nielsm: so you're worried about trains braking on switches, but then you didn't have a full train length between the depot and the next signal?
12:03<Eddi|zuHause>"look i made this .1% optimisation, let's ignore that 20% optimisation over there"
12:03<nielsm>if trains repeatedly need to wait to enter the station, and the cargo arriving at the station is all getting picked up, that's an indication of too many trains
12:03<nielsm>this game is without breakdowns and without servicing ;)
12:03<nielsm>the depot's only there to feed in new trains and upgrade old
12:04<Eddi|zuHause>then why have such an elaborate depot construction at all?
12:04<ANIKHTOS>okey so know i can compile??
12:05<nielsm>because trains can't enter/leave a depot faster than 62 km/h and I don't want entering trains to block trains going to the station more than necessary
12:05<@Alberth>./configure sets up a makefile that you can run
12:05<Eddi|zuHause>nielsm: btw, i don't think the "don't brake on switches" part is even that relevant. the next train would just need enough choices to find a free platform not blocked by the previous incoming train
12:05<@Alberth>or rather, a Makefile
12:06<nielsm>ANIKHTOS if ./configure ends with writing a bunch of messages about "Generating Makefile"
12:06<ANIKHTOS>in the ottd disrectory right?
12:06<nielsm>then you're ready
12:06<Eddi|zuHause>nielsm: it's a single track, besides "full load" there's probably no reason to have more than like 4 tracks, if acceleration is remotely efficient
12:06-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
12:07<ANIKHTOS> now i get his mesages
12:07<ANIKHTOS>am i good to go or not??
12:08<Eddi|zuHause>ANIKHTOS: is the last line "Generating Makefile"?
12:09<@Alberth>install lzma library, or it won't accept some savegames
12:09-!-TheMask96 [] has joined #openttd
12:09-!-TheMask96 is "Martijn Zweistra" on #openttd @#altcontrol #openttd.notice
12:09<nielsm>you might actually need liblzma-dev, I don't know how msys names their packages
12:09-!-CompuDesktop [~Compu@] has quit [Quit:]
12:10<ANIKHTOS>it say liblzma not foudn oput the programm says it is installed
12:10<@Alberth>is there a development version?
12:10<Eddi|zuHause>ANIKHTOS: you only installed the lzma binary package, but for compiling you need the developer package
12:11<ANIKHTOS>i install it in comamn d lien pacman _s liblzma
12:12<Eddi|zuHause>yes. that is not enough
12:12<Eddi|zuHause>you need "liblzma-devel" or something like that
12:13<ANIKHTOS>here is a list of everythign i can install
12:14-!-Compu [] has joined #openttd
12:14-!-Compu is "Compu" on #help #openttd #openttdcoop.stable #openttdcoop #/r/openttd
12:16<ANIKHTOS>m2-libiconv-devel-1.14-2.tar.bz2 this one??
12:16<nielsm>no, that's something entirely different
12:16<Eddi|zuHause>have you tried reading this page?
12:18<Eddi|zuHause>(i actually think that page is terribly written)
12:18<@Alberth>m2-liblzma-5.2.2-2.tar.bz2 is not useful for compiling, it just contains a .dll file
12:19<@Alberth>and a load of meta-data files :p
12:19<Eddi|zuHause>in other topic: why does ./configure even talk about lzma? i'm fairly sure it actually uses xz
12:20<@Alberth>wasn't there some name confusion?
12:21-!-Stimrol [~Stimrol@] has quit [Read error: Connection reset by peer]
12:22<@Alberth>My openttd does use => /lib64/
12:25<ANIKHTOS>i do nto seem to find this fikles
12:27<ANIKHTOS>also nto foudn allegro and sdl
12:27<@Alberth>you don't need allegro
12:27<Eddi|zuHause>you don't really need those
12:27<nielsm>you shouldn't need allegro or sdl to build on windows
12:28<ANIKHTOS>well when i run the ./configure i get a 40 line list and there is a mention that this 2 not found
12:29<Eddi|zuHause>yes. but unless it warns at the end, it's not important
12:29<Eddi|zuHause>not all things that configure looks for are necessary. they might be alternatives
12:30-!-Gja [] has joined #openttd
12:30-!-Gja is "Martin" on #ceph #bcache #openttd
12:30-!-Stimrol [~Stimrol@] has joined #openttd
12:30-!-Stimrol is "Stimrol" on #openttd
12:31<ANIKHTOS>then i only have 1 warnign lzma not found
12:31<Eddi|zuHause>yes, and for that you need "liblzma-devel"
12:34<@Rubidium>... and whatever install pkg-config
12:34<ANIKHTOS>grrr and grr andmore grrr
12:34<ANIKHTOS>i install a libzma devel
12:34<ANIKHTOS>but still get the same error
12:35<ANIKHTOS>Packages (1) liblzma-devel-5.2.3-1 install this
12:35-!-Fuco [] has joined #openttd
12:35-!-Fuco is "O_o" on +#openttdcoop #openttd
12:35<ANIKHTOS>but still it says lzma not found or disabled
12:36<ANIKHTOS>checking liblzma... not found WARNING: lzma was not detected or disabled
12:38<ANIKHTOS>okey it says that i can do it wihtou the lzma but i will nto able to load save or enter network games
12:39<ANIKHTOS>try this option to compile without llzma??
12:40-!-supermop [] has quit [Ping timeout: 480 seconds]
12:45<ANIKHTOS>run it wihtou lzma it finsihed
12:45<ANIKHTOS>so what did it make??
12:47<Eddi|zuHause>"./configure" creates a "Makefile", now you can run "make"
12:48<ANIKHTOS>make not found
12:48<ANIKHTOS>run makefile??
12:50<Eddi|zuHause>no, install make
12:51<Eddi|zuHause>(and if you don't have make, you also probably miss lots of other important developer tools)
12:52<@Alberth>just type make
12:53<@Alberth>oh, you tried already, sorry
12:53<ANIKHTOS>well i download make
12:54<ANIKHTOS>now it is doign something
12:55<ANIKHTOS>its compiling
12:55<ANIKHTOS>nad got 1 warnign so far lol and i do tno even compile my code
12:55<andythenorth>ANIKHTOS: if this works, you win a prize :)
12:55<andythenorth>what you are doing is hard :)
12:56<andythenorth>although I can do it, so not very hard :P
12:56<nielsm>it's a huge number of things you need to get right at once
12:56<ANIKHTOS>be broud andy
12:56<ANIKHTOS>you are doignit because you are good
12:56<ANIKHTOS>in all the languages the beginign is so hard
12:57<ANIKHTOS>then everythign becomes esier and easier
12:57<andythenorth>btw what's your native language ANIKHTOS ?
12:57<ANIKHTOS>but the introduction is liek trwoing in a block of ice water
12:57<ANIKHTOS>you get a shock
12:57<ANIKHTOS>greek why??
12:58<ANIKHTOS>i can not use the laptop keubord used my dektop one and now this one is so small and crumpy grrr
12:58<ANIKHTOS>R:/ottd/src/crashlog.cpp:62:10: fatal error: lzo/lzo1x.h: No such file or directory #include <lzo/lzo1x.h>
12:59<ANIKHTOS>it not finished fatal error
13:00<Eddi|zuHause>your setup is strange
13:01<Eddi|zuHause>because that kind of error should not happen if configure succeeded
13:01<ANIKHTOS>so problem in compiler or the files??
13:01<ANIKHTOS>i will get the files for 1.8.0
13:01<ANIKHTOS>and try there
13:02<Eddi|zuHause>most likely your path
13:02<andythenorth>ANIKHTOS: I was just curious, I guess greek from name, but wasn't sure :)
13:02<ANIKHTOS>what the problem with my path?
13:02-!-Wolf01 [] has joined #openttd
13:02-!-Wolf01 is "Wolf01" on #openttd
13:03<LANJesus>ANIKHTOS: if you'd like, you can help others like you by writing up how you got it compiled (when you're done of course) and update the wiki
13:03<Eddi|zuHause>"#include <blah>" looks for the file "blah" in the include path. but if configure found the file, and the "#include" doesn't, it means you are missing a path in your library/include paths
13:04<ANIKHTOS>i need to download something else??
13:04<Eddi|zuHause>i'd say no
13:04<Eddi|zuHause>but look for the file first
13:07<ANIKHTOS>a bit confuse now
13:07<andythenorth>hi Wolf01
13:07<ANIKHTOS>look in ottd files?/
13:07<ANIKHTOS>or compiler files??
13:08-!-HerzogDeXtEr [] has joined #openttd
13:08-!-HerzogDeXtEr is "purple" on #openttd
13:09<ANIKHTOS>the only reason i write the name in caps so if you read it in greek it makes sence
13:09<ANIKHTOS>if you try to read my nick in english makes no sence lol
13:10<ANIKHTOS>in english it would be like anikitos
13:10-!-Wacko1976_ [] has joined #openttd
13:10-!-Wacko1976_ is "The Chat Cool People Use" on #openttd #/r/openttd
13:15-!-Wacko1976 [] has quit [Ping timeout: 480 seconds]
13:16<nielsm>btw could anyone on non-windows try this one out?
13:16<nielsm>mac and linux being most important
13:17*andythenorth tries
13:17<ANIKHTOS>invictus in latin
13:17<ANIKHTOS>ανίκητος? yes
13:18<ANIKHTOS>i try to compile the 1.8 version and got the same error
13:18<andythenorth>nielsm: 'ui design' isn't bikeshedding :)
13:19<andythenorth>unless it's UI design for a giant non-implemented feature
13:19*andythenorth compiling
13:19<ANIKHTOS>#include <lzo/lzo1x.h> this line tin the crashlog.cpp is causign the problem
13:20<nielsm>ANIKHTOS, try also adding --without-liblzo2 to configure
13:20<nielsm>(run configure again, but add that to the end of the commandline as well)
13:21<ANIKHTOS>first run configur ./configure --withoutlibzo2??
13:22<ANIKHTOS>so ,/configure --without-lzma-libzo2
13:22<ANIKHTOS>because i already take out lzma from configure
13:22<nielsm>./configure --without-liblzma --without-liblzo2
13:23<ANIKHTOS>now run make??
13:23<nielsm>yes then run make afterwards
13:24<andythenorth>nielsm: so how to enable FPS display? o_O
13:24<andythenorth>I didn't read src sorry
13:24<nielsm>andythenorth, "fps" in console
13:24<nielsm>I should maybe add a menu item to the ? menu
13:24<Eddi|zuHause>that would make some sense
13:25<andythenorth>nielsm: +1 to menu item
13:25<andythenorth>although we'll get lots of BS reports due to it :)
13:25<andythenorth>ok well it 'works'
13:25<andythenorth>whether it's accurate, I don't know yet
13:26-!-Flygon [] has quit [Remote host closed the connection]
13:27<nielsm>yeah my idea of putting it in a console command is that it should be easy to tell someone with speed problems "open console, type fps, press enter"
13:27<nielsm>but it's not something you stumble over as a casual player
13:27<andythenorth>it's reporting screen drawing as 1-3ms
13:28<nielsm>it is very technical and debugging-y when specified in components like this
13:28<nielsm>and easy to misunderstand
13:28<andythenorth>it's reporting FFWD at 333, 500, or 1000 frame/s
13:28<nielsm>yep that sounds about right
13:28<nielsm>I also added tooltips to all the lines
13:28<andythenorth>if I turn on full animation, FFWD dies :)
13:28<nielsm>trying to describe them a bit more
13:29<andythenorth>red, yellow, blue colours mean?
13:29<nielsm>blue is "normal" or "good"
13:29<nielsm>yellow is when it dips somewhat below
13:29<nielsm>and red is really bad
13:30<nielsm>yellow timings (ms) for all are above 10 ms
13:30<nielsm>since that's a third of the allotted time per tick (30 ms)
13:30<andythenorth>this sounds weird, but does the fps display kill the fps?
13:30<andythenorth>when I open it, game noticeably slows down
13:30<nielsm>the console does
13:30<nielsm>in my experience
13:31<nielsm>perhaps the additional text rendering every tick the fps window does also slows down things, it hasn't in my tests but those have mostly been with the original bitmapped font
13:32<andythenorth>I have original baseset font
13:32<andythenorth>I commented on the PR now
13:50<ANIKHTOS>it finsihed now
13:51<ANIKHTOS>so now eveythign is in folder bin??
13:52<LordAro>ANIKHTOS: woek something out for yourselr
13:52<LordAro>you don't need us to confirm absolutely everything for you
13:52<LordAro>use some common sense
13:54<ANIKHTOS>how do i open and edit a file??
13:55<@Alberth>does nano exist?
13:56<ANIKHTOS>well it exist now
13:56<andythenorth>LordAro: let him learn :)
13:56<@Alberth>google "msys2 how do i open and edit a file" works very well too
13:56<andythenorth>he's climbing a cliff
13:57<@Alberth>nano is somewhat usable :)
13:57<@Alberth>at least a few miles better than notepad
13:59<ANIKHTOS>well askign works even better alberth
13:59<andythenorth>'google x' works great when the top results aren't google groups pages from 2010
13:59<andythenorth>or ancient mailing lists
14:00<andythenorth>or bad answers on SO :)
14:01<ANIKHTOS>i am in nano
14:01<ANIKHTOS>but can nto exit nano
14:01<@Alberth>never heard of that
14:02<ANIKHTOS>yes its ctrl
14:02<andythenorth>standard nano exit no?
14:02<andythenorth>or is my nano weird?
14:02<ANIKHTOS>it had written ^X for exit
14:04<@Alberth>that's the nice thing about nano, it writes what keys it understands :)
14:04<ANIKHTOS>yes but the ^ translate into ctrl
14:04<ANIKHTOS>i was writing ^x
14:04<ANIKHTOS>and nothign wa happening
14:05<andythenorth>yes my ctrl is marked with the symbol
14:05<andythenorth>but the symbol isn't ^
14:07-!-Wacko1976_ [] has quit [Ping timeout: 480 seconds]
14:07<ANIKHTOS>waht keyboard you have??
14:09-!-gelignite [] has joined #openttd
14:09-!-gelignite is "gelignite" on #openttd #openttdcoop.devzone
14:10<andythenorth>some mac keyboard, UK layout
14:11<andythenorth>keyboards vary a lot
14:12<Eddi|zuHause>^X used to be a very common expression of "Ctrl+X"
14:13<Eddi|zuHause>and by "used to" i mean 20 years ago
14:15<ANIKHTOS>i bought this latpop in gemrnay it has german layout
14:15-!-Fuco [] has quit [Ping timeout: 480 seconds]
14:15<ANIKHTOS>the majority of keys are the same with english
14:15<ANIKHTOS>the z with y change
14:18<Wolf01>V453000: train valley 2 level editor, finally!
14:23<ANIKHTOS>typedef byte?/
14:25<Eddi|zuHause>ANIKHTOS: the bigger difference is usually the position of special characters often used for programming, like [] and {}
14:26<ANIKHTOS>i always have a doc and i have put this brackets there
14:26<ANIKHTOS>so when i need them i copy paste
14:31<ANIKHTOS>according to google the types i need for my variable s are unsigned char and unsigned short int
14:38-!-frosch123 [] has joined #openttd
14:38-!-frosch123 is "frosch" on #openttdcoop.devzone #openttd
14:42-!-Thedarkb1 [] has quit [Remote host closed the connection]
14:42<ANIKHTOS>LeapDay _leap; i have this variable to declare its type i will write unsigned char LeapDay???
14:45-!-Thedarkb [] has joined #openttd
14:45-!-Thedarkb is "realname" on #/r/openttd #openttd #oolite
14:49-!-glx [] has joined #openttd
14:49-!-mode/#openttd [+v glx] by ChanServ
14:49-!-glx is "Loïc GUILLOUX" on +#openttd
14:57-!-KouDy [] has quit [Remote host closed the connection]
14:58<ANIKHTOS>thanks guy
14:58<ANIKHTOS>i try to compile my changes
14:58<ANIKHTOS>and i get tons of errors
14:58<ANIKHTOS>but i will make it
15:06<LordAro>ANIKHTOS: when fixing c++ errors, start with the first one
15:06<LordAro>they normally cascade in some manner
15:07<LordAro>(so fixing earlier errors will also "fix" later ones)
15:07<ANIKHTOS>my nested if else is nto right
15:22-!-synchris [~synchris@] has quit [Quit: yeeha!]
15:31-!-tokai [] has joined #openttd
15:31-!-mode/#openttd [+v tokai] by ChanServ
15:31-!-tokai is "Christian Rosentreter" on +#openttd
15:36<ANIKHTOS>warning: this statement may fall through [-Wimplici t-fallthrough=] what this error means??
15:36<+glx>so it's a case in a switch without break or return
15:37<+glx>means this case can fallthrough the next case
15:37<+glx>if it's the desired behaviour you need to add a specific statement
15:38-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
15:38<+glx>check other switches in the code
15:38<+glx>some have explicit fallthroughs
15:38<ANIKHTOS>so i need to put the break; in evvery case??
15:38<+glx>yes unless you want to fall through
15:39<+glx>and BTW it's not an error but a warning ;)
15:40<ANIKHTOS>the tutorial i read did nto poitn out i need to put the break
15:40<ANIKHTOS>thank you
15:41<+glx>wasn't a C or C++ tutorial then
15:41<Eddi|zuHause>it's a common pitfall for people coming from other languages. that's why the compiler warns you
15:42-!-KouDy [] has joined #openttd
15:42-!-KouDy is "KouDy" on #openttd
15:43<Eddi|zuHause>if you actually meant it, you can write [[fallthrough]]
15:46<ANIKHTOS>you know what have kille dme the ; in every statmenet
15:46<ANIKHTOS>i have forgoten that in half cases
15:47<ANIKHTOS>half case i used = not ==
15:47<Eddi|zuHause>that can be annoying if you come from a language like basic
15:47<+glx>Eddi|zuHause: we have a define for that I think
15:49<ANIKHTOS>okey 4 more errors to fix
15:49<Eddi|zuHause>the = vs == happens to me pretty often
15:49<Eddi|zuHause>luckily, in python "if a=b" is an error
15:52<+glx>in C if (a=b) means a=b; if (a)
15:52-!-Wacko1976 [] has joined #openttd
15:52-!-Wacko1976 is "The Chat Cool People Use" on #openttd #/r/openttd
15:58<ANIKHTOS>if (_game_mode == GM_MENU) return; what the return means??
15:59<nielsm>exit the function
15:59<nielsm>the function in this case has to be of "void" return type, since there isn't any return value given after the "return"
16:01<ANIKHTOS>i am trying to find my last 4 errors
16:01<ANIKHTOS>in yet another nested if statement lol
16:01<+glx>nested if should be avoided if possible
16:03<+glx>and sometimes inverting the tests can simplify the flow
16:04-!-Wacko1976 [] has quit [Ping timeout: 480 seconds]
16:07-!-sla_ro|master [] has quit []
16:08-!-Gja [] has quit [Quit: Going offline, see ya! (]
16:10<ANIKHTOS>i unnest them
16:11<ANIKHTOS>R:/ottd2/src/date.cpp:396:1: error: a function-definition is not allowed here before '{' token {
16:11<+glx>missing } somewhere before this error I think
16:12-!-iSoSyS [~iSoSyS@2001:8a0:e96d:ca00:8637:9192:a54d:d96] has joined #openttd
16:12-!-iSoSyS is "realname" on #/r/openttd #openttd
16:12<+glx>anyway if it's not that the error is still probably before
16:13<ANIKHTOS>if (_dayh > _daym) { _dayh = 1; _monthn ++; OnNewMonth(); }
16:13<ANIKHTOS>is there wrogn in sysntax??
16:14<+glx>this line seems correct, check the previous lines
16:14<ANIKHTOS>same if stataments
16:14<nielsm>I think you have too many } somewhere before
16:14<nielsm>are you indenting your code properly?
16:15<ANIKHTOS>i think so but obivous not
16:15<ANIKHTOS>i havw 5 if statements
16:15<ANIKHTOS>1 after the other
16:15-!-Gja [] has joined #openttd
16:15-!-Gja is "Martin" on #ceph #bcache #openttd
16:16<ANIKHTOS>with {} for the statements
16:17<ANIKHTOS>does it need the else even if it is empty??
16:21-!-planetmaker_ [] has joined #openttd
16:21-!-planetmaker_ is "realname" on #openttd #openttdcoop
16:24-!-Supercheese [] has joined #openttd
16:24-!-Supercheese is "Supercheese" on #openttd
16:27<ANIKHTOS>static void OnNewMonthS() { }
16:27<ANIKHTOS>it does nto liek this
16:27-!-Alberth [] has left #openttd []
16:28<ANIKHTOS>i make a function that does nothing and it is empty for now
16:29<Eddi|zuHause>get an editor that highlights matching {} pairs if your cursor is over one of them
16:29<Eddi|zuHause>also, show us your code changes
16:31<ANIKHTOS>R:/ottd2/src/date.cpp:396:1: error: a function-definition is not allowed here before '{' token {}
16:31<ANIKHTOS>error message
16:32<ANIKHTOS>static void OnNewMonthS() { }
16:32<Eddi|zuHause>but that error message is not where you made the mistake
16:32<Eddi|zuHause>you must show us the whole code
16:32<Eddi|zuHause>all of it
16:32<Eddi|zuHause>the entire file
16:32<__ln__>Wolf01: o/
16:33<Wolf01>Hello ln, a bit of lag? :D
16:33<Eddi|zuHause>Wolf01: only like 3.5hours?
16:34<__ln__>i was busy, and while i could've o/'d before you were online, i didn't
16:34<LordAro>RFC 1149?
16:34<Eddi|zuHause>LordAro: i didn't want to say it outloud :p
16:34<ANIKHTOS>i uploaded in the forum
16:34<__ln__>Wolf01: anyway, the channel has chosen you to answer the question of: why do germans (and some others) call the french city Nice with its italian name, Nizza?
16:37<Eddi|zuHause>ANIKHTOS: missing attachment?
16:37<Eddi|zuHause>ANIKHTOS: for IRC discussion, it's better if you use a paste site
16:37<+glx>and what you are working on is way more complicated than what you may think ;)
16:38<ANIKHTOS>oh well i will go down with glory
16:39<andythenorth>glx sometimes it's better not to know :)
16:39<ANIKHTOS>well glx i have to fight with git new to it, c++ new to it, and c++ compiler
16:39<ANIKHTOS>so many new thigns to learn lol
16:40<Wolf01>Ha, another day lenght :D
16:40<ANIKHTOS>well its somethign i woudl like to exist
16:41<ANIKHTOS>so i will get my hands dirty
16:41<Wolf01>Yes, I do too, but I tried 2 times
16:41<+glx>first step, indent correctly your code
16:41<+glx>it's unreadable for now ;)
16:41-!-Gja [] has quit [Quit: Going offline, see ya! (]
16:41<ANIKHTOS>put comments??
16:41<+glx>tabs in line start
16:42<+glx>see how other functions are done
16:44<Eddi|zuHause>ANIKHTOS: above your OnNewMonthS line, there is a closing }, but this does not match the opening { of OnNewYearS. you are missing a } inbetween
16:44<+glx>if (_leap4 >3) {
16:44<Eddi|zuHause>ANIKHTOS: also, you are definitely NOT indenting your code properly
16:44<+glx>that sounds like a a modulo for me
16:45<+glx>_leap4 %= 4; I think
16:45<+glx>same for the 2 other if
16:48<nielsm>besides there already is a function that determines if a given year is a leap year
16:48<nielsm>it's called IsLeapYear()
16:48<+glx>that too :)
16:49<ANIKHTOS>yeah i knwo
16:49<ANIKHTOS>but i needed anew one
16:49<Wolf01>I think I'll lay on the bed and play spider
16:50<nielsm>what's wrong with the existing one?
16:50<+glx>anyway any sane editor should handle the indenting for you
16:50<Eddi|zuHause>nielsm: NIH syndrome
16:50-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
16:50<Eddi|zuHause>glx: i think we established that he does not have a sane editor
16:50<nielsm>let me recommend notepad++ again
16:50<+glx>yes good suggestion
16:51<ANIKHTOS>i have 2 years now
16:51<ANIKHTOS>so i can not use that to get the leap year
16:51<LANJesus>isn't the whole date system in ottd NIH? : x
16:51<+glx>why can't you ?
16:51<Eddi|zuHause>LANJesus: no, it was inherited
16:51<LordAro>LANJesus: as opposed to?
16:52<LANJesus>it's seconds since 1 AD right?
16:52<+glx>the arg is a year, you can give it any year you want
16:52<LANJesus>or days rather
16:52<Eddi|zuHause>LANJesus: well, technically, 0AD
16:52<LANJesus>there is no 0AD
16:52<LANJesus>that's 1BC
16:52<LANJesus>meh, not here to argue semantics ; )
16:53<Eddi|zuHause>there is no 0AD, but OpenTTD could represent it
16:53<Eddi|zuHause>it's a "backdated 0-based gregorian calendar"
16:53<LANJesus>it could display 0AD and mean 1BC
16:54<LANJesus>yes. .NET can represent such times, back to but not including 1BC
16:54<LANJesus>i opted to use .NET functions over porting the ones from C++ for one of my projects ; )
16:54<LANJesus>there was parity, so wooooo
16:54<LordAro>pretty sure ottd predates .NET, quite apart from actually being able to use it
16:55<Eddi|zuHause>LANJesus: but our date system predates most of these .NET functions
16:55<ANIKHTOS>okey i got notepad ++
16:55<LANJesus>yes i'm not saying .... ugh. C/C++ standard is archaic. just ignore me.
16:55-!-iSoSyS [~iSoSyS@2001:8a0:e96d:ca00:8637:9192:a54d:d96] has quit [Read error: No route to host]
16:55-!-iSoSyS [~iSoSyS@2001:8a0:e96d:ca00:8637:9192:a54d:d96] has joined #openttd
16:55-!-iSoSyS is "realname" on #/r/openttd #openttd
16:55<Eddi|zuHause>LANJesus: it's not really a case of NIH, but rather NIY :p
16:56-!-iSoSyS [~iSoSyS@2001:8a0:e96d:ca00:8637:9192:a54d:d96] has quit []
16:56<LANJesus>i realize my perspective is anachronistic. I AM THE GRAND GALACTIC INQUISITOR. IGNORE ME.
16:57<Eddi|zuHause>LANJesus: fun fact: Jesus wasn't actually born in 1AD. the monk that did that calculation in the 4th century was probably off by about 7 years
16:57<LANJesus>close enough for government work
16:59<Eddi|zuHause>LANJesus: other fun fact, there was never a person called "Jesus" back then. the name was probably closer to "Jashwa", which was mangled from hebrew through greek into latin
16:59<ANIKHTOS>thank you eddi you found themistake
16:59<LANJesus>yes yes, hence jaweh, joshua etc
16:59<LANJesus>i am LAN heyzooz
17:04<ANIKHTOS>vicotry code is clear of errors and compiled
17:04<Eddi|zuHause>you mean "clear of syntax errors"...
17:05<Eddi|zuHause>i'm sure there are like 100 other errors in there :p
17:06-!-Thedarkb-X40 [] has joined #openttd
17:06-!-Thedarkb-X40 is "realname" on #oolite #/r/openttd #openttd
17:06-!-iSoSyS [~iSoSyS@2001:8a0:e96d:ca00:8637:9192:a54d:d96] has joined #openttd
17:06-!-iSoSyS is "realname" on #/r/openttd #openttd
17:06<ANIKHTOS>well at least now i can test it
17:06-!-iSoSyS [~iSoSyS@2001:8a0:e96d:ca00:8637:9192:a54d:d96] has quit []
17:07<+glx>I still don't understand why you would need another IsLeapYear()
17:07<ANIKHTOS>because i have 2 clocks
17:08<ANIKHTOS>and i can not call the leap year for one of the clocks
17:08<+glx>IsLeapYear() is independant
17:08<ANIKHTOS>or any other function
17:08<LordAro>yes you can
17:08<ANIKHTOS>the seond clock is a bit crazy
17:08<+glx>you can use it with any year
17:08<LordAro>have you tried?
17:09-!-andythenorth [] has quit [Quit: andythenorth]
17:09<ANIKHTOS>that the problem the secodn clock does nto ahve a year
17:09-!-Progman [] has quit [Remote host closed the connection]
17:10<ANIKHTOS>i merged the clocks so they are syncronized
17:10<ANIKHTOS>there is a true day and a fake day
17:10<ANIKHTOS>a true motnh and a fake motnh
17:10<ANIKHTOS>a true year and a fake year
17:10<ANIKHTOS>fake year month day is a mall number 1-20 depent what you choose
17:11<ANIKHTOS>you can not use leap year for that
17:11<+glx>then you are not doing it right
17:11<+glx>a month should always have the right number of days
17:12<ANIKHTOS>it does have the right number of days
17:12<ANIKHTOS>it just not store them as that
17:13<ANIKHTOS>i add days in the year to make it last longer
17:14<ANIKHTOS>but this days are not seen by you
17:14<ANIKHTOS>every 30 days we will have a month which you will not see since the game is slower
17:15<ANIKHTOS>so you will have to pass some motnhs before you actual see the ew month
17:15<ANIKHTOS>the same for the year there wukk be years passed before you see an actual year pass
17:15<ANIKHTOS>but for the gmae mechanics the days months years will be pass and trigger the events
17:15<ANIKHTOS>the date will be slower
17:16-!-gelignite [] has quit [Quit: Match found!]
17:16<ANIKHTOS>and also the introduction date for cehciels wil come alter
17:17<ANIKHTOS>all the game meahcincs are still runnign at the nromal speed
17:17<ANIKHTOS>i disconect the dispaly date with the game running date
17:18-!-nielsm [] has quit [Ping timeout: 480 seconds]
17:19<ANIKHTOS>thats the goa of day lenght right??
17:19<ANIKHTOS>delay the introduction of vehicels but keep everythign else runnign the same?/
17:19<Eddi|zuHause>it's certainly one way of approaching it
17:19<ANIKHTOS>thats way there are 2 clocks
17:20<ANIKHTOS>for the test setup to see if ti works i slow down everythign by 2
17:20<+glx>but you will totally destroy the displayed yearly economy I think
17:20<ANIKHTOS>maning i will have double day in a year
17:20<Eddi|zuHause>some people will want other things to scale with daylength as well, like industry production, cargo aging, ...
17:20<ANIKHTOS>double months
17:20<ANIKHTOS>and of course 2 years before i year pass in dispaly
17:21<ANIKHTOS>if you do you break the game
17:21<ANIKHTOS>if i just double the days then in 1 day the vehicel could travel 2 times the distance thus i made it 2 times faster
17:22<ANIKHTOS>but now i have a second day in each day the vehicle still moves the same speed
17:22<ANIKHTOS>the cargo age the same
17:22<ANIKHTOS>everythign moves the same rate
17:22<ANIKHTOS>apart for the dispaly date
17:22<ANIKHTOS>later on if peopel want we can make flags
17:23<ANIKHTOS>and put even on normal speed or slower speed
17:23<+glx>means you double the income per month then
17:23<ANIKHTOS>because the month in game is still 30 normal days
17:23<+glx>for the displayed time you do
17:23<ANIKHTOS>but dispay month it iwll be 2 motnhs
17:23<ANIKHTOS>yess for the dispay time
17:23<Eddi|zuHause>which will mess up all the statistics/graphs
17:23<+glx>the player only sees the displayed time
17:24<ANIKHTOS>well thats why i will also move the graph to slow time
17:24<Eddi|zuHause>have we mentioned yet that this is a really difficult topic?
17:24<+glx>I mentioned it I think
17:24<ANIKHTOS>well iti is
17:24<ANIKHTOS>but i i want it
17:25<ANIKHTOS>so why nto give it a go??
17:25<ANIKHTOS>and eventually someoen may solve it
17:26<ANIKHTOS>okey 1 question
17:26<ANIKHTOS>the vehicels you want them to age normal rate
17:26<ANIKHTOS>or slow rate??
17:26<+glx>age related to display time I think
17:27<ANIKHTOS>then you will in effect make it cost less
17:27<ANIKHTOS>because you will have to repalce it less
17:27<Eddi|zuHause>i would go further than that, and also reduce the maintenance cost to the display date
17:28<+glx>but for me all economy should be scaled to match vanilla
17:28<Eddi|zuHause>(this would be balanced out by making the industry production to display date as well)
17:28<Eddi|zuHause>(but not all people will want that)
17:30<ANIKHTOS>the godo with my code is you can choose speed
17:30<ANIKHTOS>with 1 the normal speed
17:30<ANIKHTOS>and above 1 it will be slower
17:31<ANIKHTOS>if i make it work
17:32<ANIKHTOS>i will change the dispaly to show also time of date
17:32<ANIKHTOS>thus you can see the normal days passing as horus
17:39<ANIKHTOS>that was my dies 2 clocks
17:40<ANIKHTOS>1 to keept the game mechanics as is
17:40<ANIKHTOS>and 1 for display purposes and for the vehicel introduction date
17:51-!-KouDy [] has quit [Remote host closed the connection]
17:55-!-KouDy [] has joined #openttd
17:55-!-KouDy is "KouDy" on #openttd
18:01<ANIKHTOS>glx sucess :-)
18:01<ANIKHTOS>eddi success
18:05<ANIKHTOS>perfect all seems workign as planned
18:06<ANIKHTOS>i need to fix a syncro problem with the clock for slow year
18:06<ANIKHTOS>but it works as it was supposed to work
18:17<__ln__>there's a problem; OpenTTD is not "optimized" for "your Mac".
18:42-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
18:44-!-Eddi|zuHause [] has quit [Read error: Connection reset by peer]
18:44-!-Eddi|zuHause [] has joined #openttd
18:44-!-Eddi|zuHause is "Johannes E. Krause" on #openttd
18:49-!-Wormnest [] has quit [Quit: Leaving]
18:50<ANIKHTOS>eddi it worked
18:50<ANIKHTOS>ike a charm
18:59-!-chomwitt [~chomwitt@2a02:587:dc0d:6600:cc38:b729:fd8c:e751] has quit [Quit: WeeChat 1.0.1]
19:06-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
19:18<ANIKHTOS>glx what is vanilla??
19:19<+glx>unmodified version
19:19<ANIKHTOS>well my go keep the economy the same as vanilla
19:19<ANIKHTOS>does nto effect it
19:20<ANIKHTOS>you only see the date goign slower
19:30-!-D-HUND [~debdog@2a02:8070:4198:100:7a24:afff:fe8a:d04d] has joined #openttd
19:30-!-D-HUND is "Wowbagger" on #openttd
19:34-!-debdog [~debdog@2a02:8070:4198:100:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
19:42-!-planetmaker_ [] has quit [Ping timeout: 480 seconds]
19:49-!-ToffeeYogurtPots_ [] has quit [Remote host closed the connection]
19:49-!-ToffeeYogurtPots_ [] has joined #openttd
19:49-!-ToffeeYogurtPots_ is "realname" on #debian-hurd #tor #tor-onions #i2p #https-everywhere #privacybadger #openttd #oftc
20:07<ANIKHTOS>glx do you know the compiler msys64??
20:07<+glx>I never used it
20:07<ANIKHTOS>i install lzma but it can not use it
20:07<ANIKHTOS>i get error not found
20:08<+glx>bin package and dev package ?
20:08<ANIKHTOS>both of them
20:09<ANIKHTOS>the simple and the devl version
20:09<+glx>you may need to tell configure where to find it
20:10<ANIKHTOS>teh configure fo the compiller??
20:10<+glx>no openttd configure
20:11<+glx>or something like that
20:14<+glx>on windows it's easier to use visual studio
20:18<Eddi|zuHause>so, steam sent me a coupon, 70% off for $game where you own $game-predecessor
20:19<Eddi|zuHause>where i think i got $game-predecessor for free recently
20:19<Eddi|zuHause>but i never got to try it, because it's windows-only
20:20<Eddi|zuHause>so i don't know if i actually want $game, because it's also windows-only
20:20<+glx>same here Eddi|zuHause
20:21<+glx>but I haven't tried it because my library is already too big
20:21<ANIKHTOS>ROOT_DIR="`cd $ROOT_DIR && (pwd -W 2>/dev/null || pwd 2>/dev/null)`"
20:21<Eddi|zuHause>my library is actually rather tiny
20:21<ANIKHTOS>this is the line in ottd configure
20:22<+glx>don't touch the configure internal
20:22<+glx>it accepts flags to tell it where the lib is
20:23<Eddi|zuHause>hm, steam thinks i have 44 games
20:24<+glx>total includes dlc I think
20:24<ANIKHTOS>pwd -W
20:24<ANIKHTOS>this does nto work
20:25<Eddi|zuHause>my "recently played" library has 46 entries, where 2 are from games that had a free weekend but expired
20:25<+glx>it's a bash command
20:27<+glx>and it works, just not in windows cmd
20:27<Eddi|zuHause>ANIKHTOS: type "bash" and try again
20:28<ANIKHTOS>what hash does??
20:28<Eddi|zuHause>bash, not hash
20:29<+glx>it's a shell
20:29<Eddi|zuHause>btw that line you pasted above, that says "if 'pwd -W' doesn't work, try 'pwd' instead"
20:30<Eddi|zuHause>(the || does that)
20:30<ANIKHTOS>glx you did nto suggest open configure file of opetttd and see whre it looks for lzma??
20:31<ANIKHTOS>there is a section dedicated for msys the one i use
20:31<+glx>no I told you to tell configure where lzma is
20:31<+glx>using a flag
20:32<+glx>should be --with-lzma if I'm not wrong
20:32<ANIKHTOS>i do not find any lzma
20:32<ANIKHTOS>i search the doc and search say no lzma found
20:33<+glx>because all configure stuff is in config.lib ;)
20:33<+glx>but you don't have to look in openttd files
20:33-!-KouDy [] has quit [Remote host closed the connection]
20:34<+glx>you just need to know where lzma lib is on your HDD
20:35<+glx>in msys world it should be something like /usr/lib
20:36<+glx>translated in windows to <msys install>\lib
20:36<+glx>but lzma is not vital for openttd
20:38<ANIKHTOS>i can load a save game in the compiled version i done
20:39<+glx>your compiled version will be able to load game it saved
20:39<+glx>but it may have problems to load other saves
20:41<ANIKHTOS>i ckeck usr'lib an di see liblzma.a and liblzma.dll.a
20:42<+glx>then try "configure --with-lzma=/usr/lib/liblzma.a"
20:44<ANIKHTOS>i found a lzma.exe in usr/bin
20:44<Eddi|zuHause>that doesn't matter
20:46<Eddi|zuHause>btw have you done this? [12.06.18 18:34] <Rub.idium> ... and whatever install pkg-config
20:48<ANIKHTOS>this is nto the full coomand
20:48<Eddi|zuHause>what do you mean?
20:49<ANIKHTOS>install: missing destination file operand after 'pkg-config'
20:49<ANIKHTOS>i type that and i got this meessage
20:49<+glx>install it like you did install lzma
20:50<ANIKHTOS>i used pacman -S liblzma-deve tto install it
20:50<Eddi|zuHause>so do that same thing, just with pkg-config
20:52<+glx>and I stand with "[02:14:19] <+glx> on windows it's easier to use visual studio" ;)
20:52<+glx>especially for a beginner
20:52<Eddi|zuHause>glx: i think when we discussed that the problem was that he doesn't have enough space for that
20:53<+glx>indeed that can be a problem
20:53<ANIKHTOS>to do the studio i nedd the sp1
20:53<ANIKHTOS>which i do nto have the space to install
20:53<ANIKHTOS>okey i install pkg-config
20:53<ANIKHTOS>what next??
20:54<Eddi|zuHause>now run configure again
20:54<+glx>you can type "pkg-config --modversion liblzma" for a test too
20:54<+glx>just to check it works
20:54<ANIKHTOS>lzma not found grrr
20:58<ANIKHTOS>i run pkg config nto found
20:59<+glx>it says "command not found" ?
21:00<ANIKHTOS>Package liblzma was not found in the pkg-config search path.
21:01<Eddi|zuHause>so you need to set up the search path?
21:01<Eddi|zuHause>can you restart the cmd window and try again?
21:03<ANIKHTOS>google is no friend i foudn a similar problme back in 2014
21:04<+glx>check in /usr/lib/pkgconfig, there should be liblzma.pc
21:05<+glx>else lzma install is broken
21:07<ANIKHTOS>i found the lzma .pc
21:07<+glx>ok so try "pkg-config --modversion lzma"
21:08<ANIKHTOS>Perhaps you should add the directory containing `lzma.pc'
21:08<ANIKHTOS>to the PKG_CONFIG_PATH environment variable
21:09<ANIKHTOS>No package 'lzma' found
21:09<Eddi|zuHause>ANIKHTOS: try this: type "bash" and then type "echo $PKG_CONFIG_PATH"
21:10<+glx>it's empty for me but it works
21:10<ANIKHTOS>i got /mingw64/lib/pkgconfig:/mingw64/share/pkgconfig
21:11<+glx>check the .pc present in these dirs then
21:13<ANIKHTOS>first location no lzma.pc
21:13<+glx>hmm maybe you installed msys version of lzma
21:13<ANIKHTOS>secodn there is no pkgconfig folder to look
21:13<+glx>you need mingw version
21:16<ANIKHTOS>i was running mingw64
21:16<Eddi|zuHause>well, i would just try adding /usr/lib/pkgconfig to that
21:17<+glx>try "pacman -Ss liblzma"
21:18<+glx>I think no mingw lizma is installed
21:19<ANIKHTOS>i copy lzma.pc to the other folder
21:19<ANIKHTOS>it worked
21:19<+glx>but it will probably fail to link openttd
21:20<ANIKHTOS>well configure pass the test
21:20<+glx>because if it's the msys package it's not the right one
21:22<ANIKHTOS>well we will see in 5 min if compile finish
21:24<+glx> <-- I suggest you use pacboy when installing packages for mingw
21:25<+glx>because msys packages are only useful to build msys tools
21:25-!-Supercheese [] has quit [Quit: Valete omnes]
21:31<ANIKHTOS>1 person download my patched game
21:31<ANIKHTOS>maybe soon i hear some feed back
21:35<ANIKHTOS>well it was a good day today
21:35<ANIKHTOS>install a compiler with ome success
21:35<ANIKHTOS>i compile my code
21:35<ANIKHTOS>it works
21:35<ANIKHTOS>i call it a victory
21:44-!-supermop [] has joined #openttd
21:44-!-supermop is "A CIRC user" on #openttd
21:52-!-supermop [] has quit [Ping timeout: 480 seconds]
21:59<ANIKHTOS>wow compiling is slow
21:59<ANIKHTOS>or my machine is slow
22:14-!-snail_UES_ [] has joined #openttd
22:14-!-snail_UES_ is "Jacopo Coletto" on #openttd
22:21<ANIKHTOS>good night all
22:21<ANIKHTOS>see you laterrrrrrrrrrrrr
22:21<ANIKHTOS>thank you eddi
22:21<ANIKHTOS>thank you glx for the help
22:22-!-ANIKHTOS [] has quit [Quit: Page closed]
22:31-!-glx [] has quit [Quit: Bye]
22:36-!-Supercheese [] has joined #openttd
22:36-!-Supercheese is "Supercheese" on #openttd
22:45-!-muffindrake2 [] has joined #openttd
22:45-!-muffindrake2 is "muffindrake" on #openttd
22:47-!-muffindrake1 [] has quit [Ping timeout: 480 seconds]
22:58-!-Suprcheese [] has joined #openttd
22:58-!-Suprcheese is "Supercheese" on #openttd
23:01-!-ToffeeYogurtPots_ [] has quit [Remote host closed the connection]
23:02-!-ToffeeYogurtPots_ [] has joined #openttd
23:02-!-ToffeeYogurtPots_ is "realname" on #debian-hurd #tor #tor-onions #i2p #https-everywhere #privacybadger #openttd #oftc
23:04-!-Supercheese [] has quit [Ping timeout: 480 seconds]
23:04-!-Suprcheese is now known as Supercheese
23:10-!-Flygon [] has joined #openttd
23:10-!-Flygon is "Flygon" on #openttd
23:11-!-ToffeeYogurtPots_ [] has quit [Ping timeout: 480 seconds]
23:11-!-ToffeeYogurtPots_ [] has joined #openttd
23:11-!-ToffeeYogurtPots_ is "realname" on #debian-hurd #tor #tor-onions #i2p #https-everywhere #privacybadger #openttd #oftc
23:18-!-Supercheese [] has quit [Read error: Connection reset by peer]
23:18-!-Supercheese [] has joined #openttd
23:18-!-Supercheese is "Supercheese" on #openttd
23:33-!-Thedarkb-X40 [] has quit [Ping timeout: 480 seconds]
23:53-!-OsteHovel [] has quit [Ping timeout: 480 seconds]
23:55-!-OsteHovel [] has joined #openttd
23:55-!-OsteHovel is "Hovel on the Ost" on #openttd
23:58-!-KouDy [] has joined #openttd
23:58-!-KouDy is "KouDy" on #openttd
---Logclosed Wed Jun 13 00:00:51 2018