IRC logs for #openttd on OFTC at 2011-12-20
⏴ go to previous day
01:13:32 *** welshdragon has joined #openttd
01:49:59 *** welshdragon has joined #openttd
02:01:45 *** fjb|tab is now known as Guest20984
02:01:46 *** fjb|tab has joined #openttd
02:01:55 *** supermop_ has joined #openttd
02:02:58 *** andythenorth has joined #openttd
03:30:50 *** welshdragon has joined #openttd
04:23:38 *** XeryusTC has joined #openttd
04:25:26 *** dihedral has joined #openttd
04:58:21 *** RetiredNavyVet has joined #openttd
05:13:37 *** supermop_ has left #openttd
05:17:54 *** RetiredNavyVet has left #openttd
05:26:53 *** rhaeder1 has joined #openttd
05:56:23 *** Eddi|zuHause has joined #openttd
06:26:38 *** DayDreamer has joined #openttd
06:34:28 *** JVassie has joined #openttd
06:35:32 *** TomyLobo2 has joined #openttd
06:41:22 *** TomyLobo2 is now known as TomyLobo
06:48:37 *** KenjiE20 has joined #openttd
07:14:03 *** sla_ro|master has joined #openttd
07:45:14 *** Progman has joined #openttd
08:06:16 <dihedral> interesting commits lately ;-)
08:31:15 *** Kurimus has joined #openttd
09:01:27 *** Alberth has joined #openttd
09:01:27 *** ChanServ sets mode: +o Alberth
09:04:47 *** TGYoshi has joined #openttd
09:06:31 *** TGYoshi has joined #openttd
09:06:53 *** TGYoshi has joined #openttd
09:07:25 *** TGYoshi has joined #openttd
09:16:10 *** Oneiric_Soul has joined #openttd
09:18:10 *** Markavian` has joined #openttd
09:25:29 *** Markavian has joined #openttd
09:33:45 *** Markavian` has joined #openttd
09:45:33 *** Markavian has joined #openttd
10:02:37 *** Markavian` has joined #openttd
10:36:08 *** TheMask96 has joined #openttd
10:45:56 *** |Jeroen| has joined #openttd
11:08:30 *** welshdragon has joined #openttd
11:24:00 *** andythenorth has joined #openttd
12:07:44 *** tokai|mdlx has joined #openttd
12:11:27 *** TWerkhoven[l] has joined #openttd
12:57:39 *** TomyLobo has joined #openttd
13:14:32 *** andythenorth has joined #openttd
13:23:11 <andythenorth> they would be awesome
13:23:32 <andythenorth> and they're plausible
13:23:45 <planetmaker> plausibly deniable?
13:26:00 <andythenorth> it's a lock, with a longer sloped section
13:33:00 *** fjb|tab is now known as Guest21100
13:33:00 *** fjb|tab has joined #openttd
13:40:19 *** Devroush has joined #openttd
13:59:25 <Eddi|zuHause> # zieht euch warm an
14:05:43 <planetmaker> interesting image, andythenorth
14:13:15 <Eddi|zuHause> andythenorth: so, when do you plan to implement these? :)
14:52:08 *** Alberth has joined #openttd
14:52:08 *** ChanServ sets mode: +o Alberth
15:07:49 <andythenorth> boats should be able to traverse tiles with rapids
15:07:58 *** DayDreamer has joined #openttd
15:26:03 *** andythenorth has joined #openttd
15:33:49 * andythenorth contemplates cheating
15:36:53 <peter1138> andythenorth, that looks like a photoshop, i can tell from the pixels
15:37:11 <andythenorth> peter1138: you mean it's just an image? :O
15:41:18 *** sla_ro|master has joined #openttd
15:43:31 * andythenorth tries to figure out what cb148 is useful for
15:43:34 <andythenorth> must be something
15:46:07 *** Devroush has joined #openttd
15:46:34 <Eddi|zuHause> bah, it's 16:46 but it totally feels like 22:46
15:47:58 *** Pinuccio has joined #openttd
15:48:30 <Pinuccio> i have some little questions about cargodist
15:49:30 <DorpsGek> planetmaker: Don't ask to ask, just ask
15:49:33 <Eddi|zuHause> no. nobody is ever there.
15:51:52 <Pinuccio> i am on ubuntu 64bit
15:53:59 * TrueBrain holds his nerves ... waiting for a question :D
15:58:05 <dihedral> ... just kidding, Eddi|zuHause ;-)
15:58:07 *** WaveOfBabies has joined #openttd
15:59:22 <WaveOfBabies> Hey, I'm having trouble making my own AI. More specifically, I can't get the game to recognize my AI & let me use it in game
15:59:37 <WaveOfBabies> it doesn't show up in the list of AIs even though I followed the instructions on the wiki page
16:01:20 <Yexo> most likely you have an error in your info.nut
16:01:36 <andythenorth> (house) tiles can produce n cargos
16:01:52 <Yexo> WaveOfBabies: can you post your info.nut on paste.openttdcoop.org ?
16:02:00 <andythenorth> but can only accept 3 cargos afaict
16:02:07 <WaveOfBabies> I've got it up on a git repository
16:02:20 <Yexo> WaveOfBabies: that's fine, can I access that?
16:02:56 <Yexo> andythenorth: ah, I didn't know that :)
16:03:16 <andythenorth> but accepted limit is 3
16:03:27 <Eddi|zuHause> 3 simultaneously
16:03:39 <WaveOfBabies> hold on, gotta push the latest version :P
16:04:01 <andythenorth> when is cb 1F called?
16:04:50 <Yexo> WaveOfBabies: RegisterAI(MyNewAI()); <- MyNewAI doesn't exist anymore
16:05:02 <WaveOfBabies> how did I not see that
16:05:21 <Yexo> function GetAPIVersion() { return "1.0"; } <- you might want to change that to 1.1
16:05:31 <Yexo> if you're developing your AI against 1.1.x and using that documentation of course
16:06:04 <WaveOfBabies> it's working now
16:06:21 <Yexo> great :) Good luck writing your AI
16:07:46 * andythenorth is trying to have a town tile accept > 3 cargos
16:08:03 <andythenorth> strictly it's an industry tile, so cb1F doesn't apply anyway
16:26:01 *** TomyLobo has joined #openttd
16:48:55 *** HerzogDeXtEr has joined #openttd
16:55:30 <John> is it patched how the official relase?
16:55:36 <TrueBrain> an hour ago you were using cargodist .. now I am confused :)
16:55:38 *** TWerkhoven[l] has joined #openttd
16:56:20 <John> it use an old binary file?
16:57:06 <John> or the official patch have effect on files not used by cargodist?
16:57:49 <TrueBrain> cargodest and cargodist are two very different projects
16:57:53 <Belugas> there is an "official patch" ?
16:58:27 <John> "official patch" i mean the official relase
16:58:45 <planetmaker> a patched version obviously is not an official release...
16:58:54 <planetmaker> or what is your question?
16:59:09 <John> sorry, my english sucks XD
16:59:23 <TrueBrain> that is fine; we just keep asking questions till we understand your question :D
16:59:27 <planetmaker> if it is "is cargodist in the next official release" then the answer is still 'no'
16:59:34 <John> on openttd there is the official relase
16:59:43 <planetmaker> yes. That has no cargodist
17:00:11 <John> in the official rel bugs are corrected periodically
17:00:29 <John> happens the same thing on cargodist rel'
17:00:35 <planetmaker> but the maintainer of the cargodist patch updates it somewhat frequently, so that it contains the same elements as nightly OpenTTD
17:01:30 <John> the doubt was if the cargodist developer correct the bugs how the official rel
17:02:02 <John> ok, finally we have found the answer XD
17:02:04 <planetmaker> yes, he does that.
17:02:23 <planetmaker> by simply updating to the official code and adjusting the patches
17:02:34 *** Prof_Frink has joined #openttd
17:03:19 <CIA-6> OpenTTD: rubidium * r23638 /trunk/media/extra_grf/mono.png: -Fix [FS#4894]: glitch in the monospace font (PaulC)
17:04:09 <John> with cargodist there are not online server
17:04:26 <John> precisely, only one, and is not compatible
17:04:33 <CIA-6> OpenTTD: rubidium * r23639 /trunk/ (6 files in 2 dirs): -Fix [FS#4892]: fix transparency for steel mill, colour translations in some arctic buildings and a wrongly replaced sprites (PaulC)
17:07:06 <Yexo> there are indeed not many patches versions
17:10:58 <John> so you suggest me to keep the original version or try cargodist?
17:11:29 <John> there are a lot of advantages or not?
17:12:09 <John> i am really undecided :)
17:13:27 <Eddi|zuHause> you can have more than one version
17:13:49 <Eddi|zuHause> e.g. cargodist for offline play and official for online play
17:14:11 *** andythenorth has joined #openttd
17:14:30 <John> the same thing that i thinked
17:14:52 <John> ok guys thanks 4 your time and suggestions :)
17:18:56 <dihedral> that happens seldom that someone says "you are the best" ...
17:19:49 * Alberth wonders how he came to that conclusion
17:19:49 <andythenorth> you are the best
17:19:55 <TrueBrain> dihedral: really? Happens all the time to me
17:21:52 <Eddi|zuHause> recently i was told: "you're not as stupid as you act" :p
17:24:10 *** supermop has joined #openttd
17:27:19 *** Zeknurn has joined #openttd
17:30:35 *** Zeknurn` has joined #openttd
17:34:35 *** WaveOfBabies1 has joined #openttd
17:36:34 *** Zeknurn has joined #openttd
17:42:11 *** Zeknurn` has joined #openttd
17:46:06 *** Zeknurn has joined #openttd
17:47:18 *** TWerkhoven has joined #openttd
17:50:31 *** Zeknurn is now known as Zeknurn`
17:55:26 *** Zeknurn has joined #openttd
17:56:00 *** TheMask96 has joined #openttd
17:57:59 <CIA-6> OpenTTD: truebrain * r23640 /trunk/src/ (75 files in 9 dirs): -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
18:19:11 * andythenorth has a really excessive amount of farm supplies in a game
18:21:03 <Eddi|zuHause> what happened to the stockpile idea anyway?
18:25:58 <andythenorth> so my 256x256 map has about 14,000 crates of FMSP waiting on stations
18:26:09 <andythenorth> and most farms / forests are served
18:26:12 <Terkhen> give them to charity organizations
18:26:34 <Terkhen> blackhole industry that accepts everything giving you nothing in return :)
18:26:47 <Terkhen> oh, maybe rating in towns :D
18:27:02 <andythenorth> without wanting to brag...HEQS steam trams are fricking awesome
18:29:00 <Terkhen> yesterday I realized that with NoGo most of what I wanted to do for a martian sci-fi conversion set is now possible
18:29:12 <Terkhen> that got me thinking for a while before falling asleep :)
18:29:29 <andythenorth> talk to Pikka ;)
18:29:36 <TrueBrain> what have I done ...
18:33:42 <Terkhen> opening a door to madness? :)
18:33:53 * andythenorth ponders how to adjust station ratings
18:35:51 <andythenorth> Yexo: the FIRS station bonuses for 30 day / 60 day pickup seem generous?
18:38:36 *** fjb|tab has joined #openttd
18:40:48 <Zuu> Terkhen: Lots of questions can now be answered by "write a NoGo script" :-)
18:41:15 <planetmaker> Terkhen: what do you need for that set? :-)
18:41:42 <planetmaker> (except a slave andy :-P )
18:42:20 <andythenorth> however I am pretty certain that mars uses trucks
18:42:32 <andythenorth> and that they can have arbitrary number of trailing wagons
18:43:02 <Terkhen> planetmaker: the most important thing was town growth control
18:43:13 <Terkhen> besides that... random ideas :P
18:43:42 <planetmaker> I still want such thing, too...
18:43:55 <planetmaker> Only thing I did for that end was create the hightmap ;-)
18:44:56 <planetmaker> It would - for a nice sci-fi scene - need new graphics for many things.
18:45:37 <planetmaker> Though that certainly can be a gradual thing
18:47:04 <Terkhen> yes, mechanics first, graphics later
18:47:20 <planetmaker> What - except town growth - would you change?
18:47:21 <CIA-6> OpenTTD: translators * r23641 /trunk/src/lang/ (30 files in 2 dirs): (log message trimmed)
18:47:21 <CIA-6> OpenTTD: -Update from WebTranslator v3.0:
18:47:21 <CIA-6> OpenTTD: afrikaans - 98 changes by Maccie123, kdzar
18:47:21 <CIA-6> OpenTTD: bulgarian - 4 changes by Tvel
18:47:21 <CIA-6> OpenTTD: catalan - 44 changes by arnau
18:47:22 <CIA-6> OpenTTD: simplified_chinese - 62 changes by ww9980
18:47:22 <CIA-6> OpenTTD: traditional_chinese - 46 changes by elleryq, ww9980
18:47:26 <Terkhen> in my experience, graphics come when you show nice mechanics with ugly graphics
18:47:33 <andythenorth> Terkhen: you're doing it wrong
18:47:46 *** Zeknurn has joined #openttd
18:47:47 <andythenorth> the correct way is to draw sprites which are somewhere between nice and mediocre
18:47:53 <andythenorth> then argue for literally years
18:48:00 <andythenorth> meanwhile whining that you can't learn to code
18:48:02 <Terkhen> andythenorth: maybe, but it's the only right way to do it when I wouldn't be able to draw to save my life
18:48:40 <Terkhen> my main idea is that cargo delivery does something on the long run
18:48:51 <Terkhen> either to town, to industries or to the complete map itself
18:48:56 <planetmaker> well. Towns would require probably more cargos than now
18:49:08 <planetmaker> and maybe generally ^^
18:49:26 <planetmaker> i.e. total population can't get higher than oxygen production * 100 or so
18:49:30 <andythenorth> does station rating affect anything else beside amount of cargo supplied to station? (like town mechanics)
18:49:55 <Terkhen> that's the other missing thing, custom terrain types
18:49:56 <planetmaker> terraforming limit linked to production of vehicles?
18:50:28 <Terkhen> many things probably, depends on how overcomplicated we want it :P
18:51:02 <planetmaker> can terrain types just be optical?
18:52:16 <Terkhen> maybe ice could be hacked with newobjects
18:52:48 <andythenorth> is it wrong that FIRS now provides self-regulating stations
18:53:05 <Terkhen> what's a self regulating station?
18:53:10 <planetmaker> difficult to hack climates
18:53:16 <andythenorth> i.e. they seem to cap cargo waiting around 1,000t (for my play style)
18:53:30 <andythenorth> with a rather aggressive penalty for amount of cargo waiting
18:53:36 <Terkhen> they always cap at some limit for me too
18:53:48 <Terkhen> and I have not played with the new rating system
18:54:20 <andythenorth> basically, I want them to cap (using rating + amount supplied by industry), but still work with large, slow vehicles that pickup infrequently
18:56:16 <Terkhen> hmm... receding ice caps
18:56:31 <andythenorth> ships screw the ratings
18:56:58 <planetmaker> well... receeding ice caps could be done by means of normal snow line
18:57:27 <planetmaker> but with an average precipitation of 15µm there's not much... ;-)
18:58:15 <Terkhen> no, there are only snow at the poles, not at high mountains :)
18:59:01 <planetmaker> or deep in the valleys
18:59:14 <planetmaker> where there's never sun :-)
18:59:46 <Terkhen> we can't use the default mechanic
19:01:29 <Terkhen> that's probably the only missing stuff
19:03:08 <planetmaker> well, it basically is newgrf landscape type
19:04:24 <Terkhen> controllable by scripts :P
19:07:28 *** Zeknurn` has joined #openttd
19:10:49 *** Zeknurn has joined #openttd
19:11:51 <planetmaker> Actually I've been thinking about a global setting accessible to scripts: dissalow all industry closure and disallow all industry construction.
19:12:29 <Terkhen> industry NewGRFs might react strangely to that
19:14:01 <planetmaker> at least to 'disallow closure'
19:14:41 <planetmaker> it would actually suffice to disallow new construction. And react on a closure even with an immediate re-construction of a new industry of the same type in the same place
19:14:58 <planetmaker> It might ail of course still. But then it's really the NewGRF's fault
19:15:49 *** Zeknurn is now known as Zeknurn`
19:16:29 *** JVassie has joined #openttd
19:23:56 *** Zeknurn has joined #openttd
19:24:13 *** HerzogDeXtEr1 has joined #openttd
19:29:00 *** Zeknurn` has joined #openttd
19:30:51 *** LordPixaII has joined #openttd
19:32:49 *** Zeknurn has joined #openttd
19:37:21 *** Zeknurn is now known as Zeknurn`
19:39:32 *** Adambean has joined #openttd
19:48:34 <CIA-6> OpenTTD: rubidium * r23642 /trunk/ (bin/ai/regression/ src/window.cpp): -Fix [FS#4893]: OSK window got hidden by query window
19:48:35 *** Zeknurn has joined #openttd
19:56:32 *** mahmoud has joined #openttd
19:57:04 <CIA-6> OpenTTD: rubidium * r23643 /trunk/src/news_gui.cpp: -Fix [FS#4896]: dates cut off in the message history
19:57:36 *** Zeknurn has joined #openttd
20:00:43 *** Zeknurn` has joined #openttd
20:04:50 *** Phoenix_the_II has joined #openttd
20:05:41 *** Zeknurn` is now known as Zeknurn
20:08:53 *** Zeknurn` has joined #openttd
20:13:44 *** Zeknurn` is now known as Zeknurn
20:25:14 *** fjb|tab has joined #openttd
20:25:38 <Zuu> Can the C++/squrrel interface handle variable amount of arguments? If not, I forse a GS library that provides something like printf for GSText.
20:26:05 <Zuu> We need GS support in bananas :-)
20:27:05 * fjb|tab votes for fortran common blocks. :-)
20:30:43 *** Zeknurn` has joined #openttd
20:31:47 *** fonsinchen has joined #openttd
20:37:45 *** Zeknurn has joined #openttd
21:00:56 *** frosch123 has joined #openttd
21:01:29 <Zuu> Hmm, a GS can trigger "String 0x8D30 is invalid. You are probably using an old version of the .lng file"
21:01:51 <Zuu> And then a fatal crash/exit of OpenTTD.
21:02:31 <Zuu> I did what TrueBrain asked me to do - try out GSText. :-)
21:02:55 <Zuu> Although I did it by subclasing GSText and provide some syntax suggar :-)
21:03:56 <Rubidium> I'd be interested what you sent
21:05:19 <Rubidium> did you send a negative string ID by a chance?
21:05:27 <andythenorth> tram lines are a bit perpendicular-ish
21:05:38 <TrueBrain> show us your script :D
21:06:09 <andythenorth> are diagonals ruled out by map array? Or lack of anyone bothering?
21:06:47 <Rubidium> is sqrt(2)/2 wide enough to draw both sides of the tram track?
21:07:07 <Rubidium> including possible road + sidewalks ;)
21:11:39 <andythenorth> ok I see the issue :P
21:13:46 <Zuu> (GS)Text is used at line 147 in main.nut of the supplied GameScript.
21:15:37 * Rubidium doesn't have superlib 18 :(
21:15:58 <Rubidium> ah, but it's in the forum
21:16:06 <Zuu> I can attach that too. Although it only use it for Helper.SetSig.
21:16:26 <Zuu> You can just s/Helper\.SetSign/GSSign.BuildSign/g
21:16:48 <Zuu> The only side effect is that the API will put signs on top of each other on the same tile.
21:17:03 <Zuu> My function changes the sign if there is one already on the tile.
21:17:19 *** snorre_ has joined #openttd
21:18:18 <Zuu> So for the purpose of this bug, using GSSign.BuildSign is perfectly fine.
21:19:41 <Zuu> Is there any example of successfully using GSText out there?
21:23:13 <andythenorth> did ship clipping get worse recently?
21:24:04 <Rubidium> Zuu: what are you trying to pass to STR_SCORE as parameter?
21:24:09 <Rubidium> it looks like some number
21:24:28 <Rubidium> which is interpreted as a stringid
21:24:47 <Zuu> yes, so ideally I should use {NUM}, but at the point when I wrote the code I just used {STRING} and converted the data type to int.
21:25:13 <Rubidium> {STRING} is a stringid, not an actual "string of characters"
21:25:22 <TrueBrain> hehe, we should harden FormatString against that I geuss Rubidium ;)
21:25:53 <Zuu> I'm sure I have done something I shouldn't, still I shouldn't be able to crash OpenTTD.
21:26:17 <Rubidium> TrueBrain: or scan the types of the params and only allow STRINGs with goal string IDs
21:26:32 <TrueBrain> Rubidium: not very easy tbh
21:26:46 <Zuu> TrueBrain: Is something like my Text possible to do in the API?
21:26:48 <TrueBrain> maybe easiest to carry a flag (yes, another) to FormatString, which tells it is a GameString we are parsing
21:26:56 <TrueBrain> then disallow {STRING} indeed, and validate {STRINGn}
21:27:12 <Zuu> Hmm, I think so, as Valuate(..) have variable amount of arguments.
21:27:21 <TrueBrain> Zuu: no clue :P Can you paste in a pastebin in simple words what you are trying? Kinda lazy to open the tars and find the right pieces :P
21:27:23 <Rubidium> TrueBrain: but you can pass basically everything to it as string id
21:27:41 <TrueBrain> Rubidium: yes; so validate that in FormatString?
21:27:44 <Rubidium> meaning you can pass a string id with rawstring which then tries to dereference some other value
21:28:04 <Rubidium> and it's pretty hard to check between valid and invalid pointer
21:28:28 <TrueBrain> well, I guess it doesn't really matter where you validate, it will boil down to the same :)
21:28:43 <TrueBrain> either in FormatString based on DParam, or in receiving/sending, when making the parameters :)
21:29:23 <TrueBrain> Zuu: nothing wrong with that; why?
21:29:29 <TrueBrain> owh, you want it in the API itself?
21:29:45 <TrueBrain> not really possible, hence the AddParam
21:30:02 <TrueBrain> ctors are kinda tied up in their function, can't accept vaargs
21:30:43 <TrueBrain> Rubidium: you can also give a string to for example {COMPANY}
21:30:50 <TrueBrain> that won't crash anything, else I hardened these cases already
21:31:14 <TrueBrain> but hardening {STRING} and {STRINGn} is harder, because there is a difference between GameScript and normal OpenTTD
21:31:21 <TrueBrain> you still want that warning when you are not coming from a GameScript :)
21:32:12 <Zuu> Hmm, so using {NUM} and passing the parameter as int instead of string works.
21:32:18 <Rubidium> well, the {STRING}s and the likes aren't what bother me, it's the random string IDs being passed
21:32:25 <Zuu> including using my Text class.
21:32:28 <TrueBrain> Rubidium: what do you mean?
21:32:32 *** supermop has joined #openttd
21:32:37 <TrueBrain> Zuu: I wouldn't know why not
21:32:41 <TrueBrain> just {NUM} needs an integer, not a string :)
21:33:08 <Zuu> The problem would be if the API for some reason would not detect that Text is a subclass of GSText.
21:33:22 <TrueBrain> make sure it is a child of GSText :)
21:33:31 <TrueBrain> Squirrel (and our glue) do the rest (I hope)
21:33:45 <TrueBrain> else it will error/crash :P
21:33:46 <Rubidium> STR_FOO:{STRING1} (params: 0x8839, 0xDEADBEEF) (0x8839 translates to STR_JUST_RAW_STRING)
21:33:58 <TrueBrain> Rubidium: like I said: harden for gamescripts :)
21:34:10 <Zuu> So if it is hard/impossible to get Text into the API, I could add it as a library when we get bananas support for NoGo. ;-)
21:34:20 <TrueBrain> if (gamescript && (arg->ToInt() < GAME_TAB || arg->ToInt() > GAME_TAB + (1 << ??)) break;
21:34:36 <TrueBrain> Zuu: BaNaNaS supports NoGO
21:35:37 <Zuu> Oh, the website just don't show "tabs" for empty categories?
21:35:45 <TrueBrain> not for GameScripts atm
21:35:48 <TrueBrain> mostly because they would be empty
21:35:56 <TrueBrain> and because the navigation is full :P
21:36:31 <TrueBrain> Rubidium: {STRING1} should never receive a value outside the GAME_TAB .. GAME_TAB + (1 << ??), so we can just harden for it when it is a GameScript. That is what I meant with: we need an extra parameter in FormatString :)
21:36:33 <Zuu> So I can go ahead ad upload SuperLib then. :-)
21:36:42 <TrueBrain> or maybe check if the current string is within that range .. would do too I guess
21:36:52 *** fjb|tab is now known as Guest21151
21:36:53 *** fjb|tab has joined #openttd
21:38:23 <Zuu> TrueBrain: Could the dependency list by chance grow a couple of rows? Or is that a job for a local CSS modifier?
21:38:36 <TrueBrain> euh ... I guess that is fixable
21:38:41 <TrueBrain> too tired atm, sorry :)
21:41:47 <Zuu> Sorting by Type, Name would be useful too
21:43:36 *** Brianetta has joined #openttd
21:49:05 <Zuu> What is the best name "SuperLib for GameScript" or "SuperLib for NoGo"?
21:49:58 * Zuu guesses that GameScript will be recognized by more players as that is what it is labeled as in the GUI
21:50:20 <Zuu> On the other hand the framework is called NoGo..
21:50:50 <andythenorth> are we still thinking only one GS running per game?
21:50:56 <Terkhen> how did you call the one for NoAI?
21:51:19 <Terkhen> true, no need to specify back then :P
21:51:22 <Zuu> In the file name I use "nogo"
21:52:43 <Zuu> Xaroth: Not a bad suggestion :-)
21:53:13 <Xaroth> should've renamed SuperLib to SuperAILib .. but the rename period has passed :P
21:53:37 *** LordPixaII is now known as Pixa
21:53:52 <Zuu> Though, appending NoGo/GameScript/GS will make it more clear that they are related.
21:54:57 <Zuu> Or just plain "SuperLib GS"
21:54:58 <andythenorth> NoGo to fix industry openings ...wrong-headed?
21:57:18 <Zuu> What is the requirements for a GS Library file? - I get "Not a GS Library file" when trying to upload SuperLib 18 - NoGo eddition
22:03:22 <Zuu> 1.1 .. could be the problem?
22:07:22 <TrueBrain> Rubidium: your patch is what I had in mind; at least it would avoid most of the crashes :)
22:09:31 <TrueBrain> Zuu: no, shouldn't be the problem, but it also should be 1.2 of course :)
22:10:50 <Zuu> Ok, so that is not the problem.
22:11:24 <CIA-6> OpenTTD: rubidium * r23644 /trunk/src/ (strings.cpp strings_func.h):
22:11:24 <CIA-6> OpenTTD: -Fix [FS#4899]: prevent game scripts using StringIDs that are not coming from
22:11:24 <CIA-6> OpenTTD: themselves, so the game script doesn't "accidentally" try to display an invalid
22:11:24 <CIA-6> OpenTTD: string or try to display a town name in from an unknown town name generator
22:11:45 <TrueBrain> Zuu: how about now?
22:14:17 <TrueBrain> think I also fixed GS, but I am sure you will tell me if I didnt :)
22:14:58 <Zuu> The dependancy list is now however empty.
22:15:23 <Zuu> (that is when clicking to update a GS library)
22:15:48 <Zuu> No actual change, when uploading a completely new item, the full list is still displayed.
22:15:53 <TrueBrain> the GS library itself is not in the list of the GS library :P
22:16:14 <Zuu> Though, I wonder if a GS library should be allowed to depend on any files.
22:16:26 <TrueBrain> gs libs can only depends on gs libs for now
22:16:55 <TrueBrain> I might add grfs or scenarios in the future, but it will look very ugly and annoying atm
22:17:27 <Zuu> I think it is the scenarios that should depend on the GS and not the other way around.
22:17:52 <Zuu> At least with current OpenTTD.
22:18:34 <planetmaker> I agree there :-)
22:18:57 <Zuu> And a scenario shouldn't directly depend on a GS Library.
22:23:50 * Zuu the question machine asks: would it be possible to allow GSLog.Info() to take GSText instances and print the tarnsaltion rather than the memory address?
22:25:31 <Zuu> Or is it out of the scope to translate log messages?
22:25:42 <TrueBrain> it is not the intention to have logs translatable
22:25:49 <TrueBrain> for the same the AI cant translate strings
22:25:53 <TrueBrain> logs are for debugging purposes
22:26:01 <TrueBrain> not sure if you really want to receive screenshots in a strange language :D
22:26:02 <Zuu> Of course, I see the problem of debugging it if it is in Spanish
22:26:18 <TrueBrain> I leave which language is strnage up to you :P
22:29:23 * Zuu has made a mistake - picked the wrong license
22:29:33 <__ln__> even worse, it could be in swedish!
22:29:40 <Zuu> I guess I have to make 19.1
22:34:49 <Zuu> A library eddition that features extra indentation in a comment in main.nut :-)
22:38:55 <TrueBrain> again? You had your 1 question for the day already! :D
22:39:52 <John> i have setted up a bus network between 3 cities
22:40:12 <John> in one of the station appears 30 passengers
22:40:26 <John> oh god, my english teacher will kill me XD
22:40:53 <John> 30 passengers that wants to stay in the station XD
22:41:15 <John> it seems that they live there
22:41:27 <John> they dont want to go away
22:41:54 <John> it says "stopping at this station"
22:46:38 *** Kandri is now known as Mast3rPlan
22:49:27 <John> i dont know sorry, im a newbie :)
22:49:46 <John> but maybe you can help me ;)
22:50:06 <John> i have set up a bus network between 3 cities
22:50:24 <John> but 30 passengers wants to stay in the station XD
22:50:32 <John> it says "stopping at this station"
22:50:41 <John> it seems that they live there
22:50:51 <John> they dont want to go away
22:51:01 <Mast3rPlan> does the station accept passengers?
22:51:27 <John> is a feature of cargodist
22:51:44 <John> but the other stations send and receive passengers normally
22:52:16 <John> they come from another station, but seems that they havent a destination
22:52:27 <Mast3rPlan> I don't know cargodist
22:53:06 <Mast3rPlan> You might wanna see my transfer station I designed
22:53:17 <Yexo> John: upload your savegame to the cargodist topic
22:53:26 <John> is a version on openttd that increase the realism, giving a destination 4 passengers and cargos
22:53:49 <Yexo> Mast3rPlan: the depot is too far away from the normal route
22:54:08 <John> you dont see this never?
22:54:14 <Yexo> also: please make screenshots in png format (ctrl+s in-game), the quality is a lot better
22:55:36 <fjb|tab> Mast3rPlan: Your depot is to far away from the switch / signal where the trains have to decide where to go.
22:57:55 <Mast3rPlan> As you can see I added two depots
23:05:30 <Zuu> TrueBrain: bananas complain on english.txt in a GS
23:06:20 <TrueBrain> let me try to fix it :D
23:07:33 <TrueBrain> sadly, not that easy
23:11:47 <TrueBrain> k, put untested code online
23:11:50 <TrueBrain> give it a hit please :D
23:12:31 <Zuu> "Unknown file in pack: english.txt"
23:14:42 <Zuu> "Unexpected error while uploading."
23:17:00 <TrueBrain> now lets see if the upload was correct ....
23:17:58 <Zuu> The category labels looks strange in OpenTTD
23:18:16 <TrueBrain> Game Script and GS Library?
23:18:27 <Zuu> White text and not that text
23:18:29 <TrueBrain> what would you suggest?
23:18:49 <Zuu> but "Downloading content" and "Requesting files..."
23:19:08 <Zuu> Using last nightly "23641"
23:19:35 <TrueBrain> guess I forgot something somewhere
23:20:54 <TrueBrain> ah, 2 missing strings
23:20:57 <TrueBrain> undocumented features :D
23:23:12 <TrueBrain> such simpel patches ...
23:33:01 <CIA-6> OpenTTD: truebrain * r23645 /trunk/src/lang/english.txt: -Fix: missing 2 strings
23:44:57 *** supermop has joined #openttd
continue to next day ⏵