Log for on 27th May 2013:
Times are UTC Toggle Colours
08:23:45  *** Supercheese has quit IRC
10:16:35  *** Ristovski has joined
11:34:05  *** LordAro has joined
11:34:06  *** ChanServ sets mode: +v LordAro
13:23:27  *** ntoskrnl has joined
15:50:02  *** FLHerne has joined
16:04:34  *** FLHerne has quit IRC
16:21:39  *** ntoskrnl has quit IRC
16:41:00  *** FLHerne has joined
16:50:09  *** Zuu has joined
16:50:09  *** ChanServ sets mode: +v Zuu
17:11:42  *** frosch123 has joined
17:11:42  *** ChanServ sets mode: +v frosch123
17:20:36  <frosch123> planetmaker: thanks, i totally forgot nforenum again :)
17:41:04  <michi_cc> Zuu: Late reply: The memory for the objects in a Pool is only allocated on demand. Their metadata (one pointer per item) grows dynamically by the grow step (1 in your patch, which I would increase to maybe 4 or so to avoid overhead), but doesn't shrink if items get freed.
17:41:57  <michi_cc> Or in short: crank that max up all you want :)
17:42:28  <Zuu> Ok
17:42:52  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r25298 || Logs: || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
17:42:56  <Zuu> Not late at all, I got distracted by somewhat more dificult bug. :-)
17:43:30  <Zuu> Well, the goal limit is not exactly a bug..
17:44:23  <michi_cc> If you make the max even higher, I'd increase the grow step as well. Each time the metadata has to be grown it costs an ReAlloc(), so better make it worthwhile.
17:45:20  <frosch123> typedef Pool<Town, TownID, 64, 64000> TownPool; <- usually the max is some power of two, rounded down
17:45:34  <frosch123> to keep some free ids at the top for INVALID and other special ids
17:47:17  <michi_cc> And even more usually, it's not just some power of two but the size of the ID type ;) (which again is mostly limited by space in p1/p2).
18:00:14  <Rubidium> aren't vehicles roughly the only thing that runs against the limit
18:00:21  <Rubidium> besides the goals and #companies
18:00:38  <Rubidium> although, for vehicles it's more like ran
18:04:10  <frosch123> orders :)
18:04:16  <frosch123> if you don't use shared ones
18:16:23  <Zuu> Or if you try to set up your company as the reverse travle salesman problem. :-)
18:17:22  <Zuu> Hmm, my visual studio keeps freezing when debugging the Squirrel code :-)
18:48:37  *** Alberth has joined
18:48:37  *** ChanServ sets mode: +v Alberth
20:11:23  *** Supercheese has joined
20:33:51  *** Ristovski has quit IRC
21:14:51  <Zuu> I think that I've now found a quite short and working solution on the problem:
21:15:05  <Zuu> See also my monologue here:   :-p
21:17:51  <Alberth> if (this->IsSuspended()) { /* Called before resuming a suspended script? */  <-- comment at the end is written with //
21:18:47  <Zuu> Ok
21:19:45  <Alberth> it looks like magic to me, sorry
21:19:53  <Zuu> I should have remembered that, but was mostly focusing on actually adding a comment to a part of OpenTTD that is barely commented at all :-)
21:20:46  <Zuu> I guess only Yexo or Truebrain might maybe be able to say something. And still both of them probably need to spend some time to read up on it.
21:21:31  <Alberth> and both are not likely to turn up here :(
21:22:05  <Zuu> I've fixed the comments now (same URL)
21:22:52  <Zuu> Hmm, one thing that might not be covered is test mode in world gen.
21:24:12  <Zuu> hmm, no. It should already be covered earlier in ScriptObject::DoCommand.
21:24:23  <Zuu> as an earlier return path
21:25:49  <Zuu> I leave it for a day or so to see if anyone has anything to add.
21:26:01  <Alberth> good plan :)
21:26:05  <Alberth> good night
21:26:09  <Zuu> night Alberth
21:26:15  *** Alberth has left
21:26:15  <planetmaker> ah, no problems, frosch123
21:26:19  <planetmaker> and good evening everyone
21:26:27  <Zuu> Hello planetmaker
21:26:30  <planetmaker> As I found out, half my town seems flooded :O
21:26:45  <planetmaker> I'm living in the right place though... hardly noticed until I visited friends this evening
21:27:15  <planetmaker> They seemed to have every fireworker and whatever operating pumps ... or bringing sand whereever
21:27:35  <planetmaker> and... wrong channel... but yeah ;-)
21:27:50  <Zuu> Ah, you mean your IRL town?
21:27:57  <planetmaker> yes
21:28:26  <Zuu> heavy rains?
21:28:44  <frosch123> it's been raining all week :p
21:28:48  <planetmaker> not anymore. But till midday it rained for like ... 70 hours non-stop
21:28:58  <planetmaker> and before that it rained half-time, too
21:29:00  <frosch123> it's all flowing north :p
21:29:24  <frosch123> planetmaker: would you mind if i change the def-size icon again? :p
21:29:36  <planetmaker> This city has one big river and several small... now we have... two big and an intermediate one in some places :-P
21:29:37  <frosch123> i think i want to make it slightly bigger
21:29:47  <planetmaker> no, I don't mind
21:31:40  <Zuu> planetmaker: I'm glad you have not got flooded so far. I guess usually you don't really care if you live high or not, but when it rains, it do matter.
21:31:57  <planetmaker> yeah :-)
21:34:25  <planetmaker> when I tried to cycle to my friends to a village just outside town, I had to go 5 detours due to flooding :D
21:35:00  <Zuu> So you take it mostly with joy as long as you are not affected? :-)
21:37:42  <planetmaker> and on-topic: Zuu, the "library" or what it might be of a select goals game script might be a very good idea
21:37:49  <planetmaker> and get people actually use it more
21:39:48  <Zuu> Now with musa, the blocking stone that stopped users from uploading their creations has also been removed/reduced.
21:41:40  <planetmaker> ah, yes. Though I recall that some GS thread it was reported that the dep for library was wrongly set. Not sure how much people are aware of musa...
21:46:03  <Zuu> I though earlier today about picking up the new FAQ item that refer users to musa for setting dependencies not possible using the web UI that has losely been discussed.
21:46:25  <Zuu> Updated more goals patch:
21:46:39  <planetmaker> I just saw another sticky in the OpenTTD problems section
21:46:40  <Zuu> Following from the discussion yesterday, I don't bump the savegame version.
21:47:06  <planetmaker> One thing I actually wondered: shouldn't *every* FAQ in the forums not simply be put into our wiki? And then the forums just link to the appropriate wiki pages?
21:47:18  <frosch123> zuu 15 looks fine :)
21:47:24  <frosch123> i understand that patch :p
21:47:26  <planetmaker> (it's a bit beside the point you asked, I know)
21:47:35  <Zuu> frosch123: :-D
21:48:05  <frosch123> planetmaker: likely. f.e. the stickies in newgrf dev forum are all old nonsense
21:48:30  <planetmaker> ^^ exactly the point. And there's sooo many of the stickies to maintain. All useless. All outdated
21:48:33  <planetmaker> Wiki has already enough
21:50:58  <Zuu> Should I add to the "other changes" section of 1.4 API changes, that more goals are possible?
21:51:42  <Zuu> It may be good information to keep if anyone in the future thinks about supporting 1.3 to know that only 256 concurent goals are possible there.
21:51:58  <Zuu> concurrent*
21:52:20  <planetmaker> yes, that makes sense
21:56:08  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r25299 || Logs: || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
22:05:31  *** frosch123 has quit IRC
23:16:44  *** Zuu has quit IRC

Powered by YARRSTE version: svn-trunk