Pikka's Basic Industries (PBI) - 1.5 6th of September 2008
Moderator: Graphics Moderators
Re: Pikka's Basic Industries (PBI)
Change the GRF order. Part of PBI gets loaded into TTD's memory space[0], and somewhere it contains something that looks like a pointer to whatever variable Patch wants to find/fix.
[0] PBI in particular in this case. In the general case, the GRFs located earlier in newgrf[w].cfg.
[0] PBI in particular in this case. In the general case, the GRFs located earlier in newgrf[w].cfg.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: Pikka's Basic Industries (PBI)
Oh yea! Now you tell me!DaleStan wrote: ...

Well, at least I got a fresh GameGFX.exe, ttdpatch.cfg, clean registry and a bleeding ulcer out of the deal.
Ok ... easy enough as there are only three grf's to contend with. I moved pikkindw.grf and pikbrikw.grf above ttdpbasew.grf and that fixes it.
Thanks DaleStan.

Now the question is (Note that I did NOT say "This begs ..."


wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Pikka's Basic Industries (PBI)
There are two ways that it could be "fixed":
1) Pikka may change the offending sprite(s). This is unlikely to be intentional, but may happen as a side effect of something else.
2) Non-nightly versions of TTDPatch are compiled with version information. The search will then not find the offending sprite(s), since it won't be looking.
For some searches, a third solution (Have Patch search for a longer string.) is possible, but that can't be done in this case, and it is generally frowned upon anyway.
1) Pikka may change the offending sprite(s). This is unlikely to be intentional, but may happen as a side effect of something else.
2) Non-nightly versions of TTDPatch are compiled with version information. The search will then not find the offending sprite(s), since it won't be looking.
For some searches, a third solution (Have Patch search for a longer string.) is possible, but that can't be done in this case, and it is generally frowned upon anyway.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: Pikka's Basic Industries (PBI)
I know little about coding grf's but just a thought:
One of the two industry grf's knows that pikkindw.grf must be loaded before pikbrikw.grf . In coding this, could the issue I confronted have inadvertently been implemented?
One of the two industry grf's knows that pikkindw.grf must be loaded before pikbrikw.grf . In coding this, could the issue I confronted have inadvertently been implemented?
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
-
- Tycoon
- Posts: 5954
- Joined: 27 Apr 2005 07:09
- Contact:
Re: Pikka's Basic Industries (PBI)
[hassle with nightlies]
Oh yeah.
Are we waiting for Josef for a new Beta? Or could a Beta be produced and uploaded by some other developer?
Just asking.
regards
Michael
Possibly, or maybe not. Was that the first time you had this encounter? I have it all the time whenever new nightlies are released. It´s quite annoying, especially when testing .grfs. Some time back, Csaboka supplied me with a couple of "nightlies" including version information to make the testing procedure smoother. But meanwhile, these are outdated as well ...wallyweb wrote:In coding this, could the issue I confronted have inadvertently been implemented?
Oh yeah.
Are we waiting for Josef for a new Beta? Or could a Beta be produced and uploaded by some other developer?
Just asking.
regards
Michael
Re: Pikka's Basic Industries (PBI)
This was the first and only time. The last time I placed these industries in a newgrf.cfg was back in September for the Nars Valley Project. where you can see the grf configuration. The last post in that series was December 8 and was without issues. I installed r1793 about 2 hours before the last run of that game. I just now reran that game without issue and Pikka's industries are loaded near the end. So why does the issue occur with Pikka's industries in other configurations, including the one where Pikka's industries and the ttdpbase grf are the only ones loaded?michael blunck wrote:Was that the first time you had this encounter?
Right question, wrong thread?Are we waiting for Josef for a new Beta? Or could a Beta be produced and uploaded by some other developer?

wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Pikka's Basic Industries (PBI)
How can I use UKRSI in OpenTTD? I tried, but quarry and clay pit produce nothing.
Re: Pikka's Basic Industries (PBI)
the brick chain works for me fine on openttd
the only poroblem is quarries seem to be so rare that you are hard pushed to get one on a map smaller then 2048x2048
the only poroblem is quarries seem to be so rare that you are hard pushed to get one on a map smaller then 2048x2048
Re: Pikka's Basic Industries (PBI)
The quarry wasn't designed for the "smoother" land generation algorithm in OTTD.
Re: Pikka's Basic Industries (PBI)
Thanks. The wrong grf order was the problem. But I have another question. I've tried the Modified Building Cost grf, but it doesn't change the railway building cost...
Re: Pikka's Basic Industries (PBI)
Don't think that works on OTTD either (?)
Official TT-Dave Fan Club
Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr
Why be a song when you can be a symphony? r is a...
Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr
Why be a song when you can be a symphony? r is a...
Re: Pikka's Basic Industries (PBI)
It does, i have used it many times on my servers in the past, and so have others.
- Raichase
- Moderizzle
- Posts: 11509
- Joined: 15 Dec 2002 00:58
- Location: Sydney, Australia. Usually at work in the underground railway station...
- Contact:
Re: Pikka's Basic Industries (PBI)
Can confirm that, have been... erm... cajoled into using it myself, and it's less than excitingVemarkis wrote:It does, i have used it many times on my servers in the past, and so have others.

Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon


Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon


Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
Re: Pikka's Basic Industries (PBI)
I'm trying to use PBI in nightly r11798, in the scenario editor. Every time I try to place "Many random industries" the game crashes. If I remove PBI, it works. I also have the brick chain grf loaded, but removing it doesn't fix the problem.
Update: I just made it crash a different way too.
I removed the PBI grf, and applied the changes. I then did "Many random industries", and they all showed up fine. I added the PBI grf back, and when I applied changes, the game crashed.
I'm happy to provide a copy of the scenario I was editing, or any other info that might help diagnose the problem.
Update: I just made it crash a different way too.
I removed the PBI grf, and applied the changes. I then did "Many random industries", and they all showed up fine. I added the PBI grf back, and when I applied changes, the game crashed.
I'm happy to provide a copy of the scenario I was editing, or any other info that might help diagnose the problem.
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
Re: Pikka's Basic Industries (PBI)
Problem has been fixed not too long ago, on revision r11804.
You would have to wait for next nightly to be build, or compile the sources yourself
Yes, it was a bug in OpenTTD, not in Pikka's excellent work
You would have to wait for next nightly to be build, or compile the sources yourself

Yes, it was a bug in OpenTTD, not in Pikka's excellent work

If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Re: Pikka's Basic Industries (PBI)
Oh, ok, great, thanks.
I'll wait until the next nightly is built.

Re: Pikka's Basic Industries (PBI)
It should double the cost of building ordinary track. Assuming you don't have another grf which also doubles the cost?albion wrote:Thanks. The wrong grf order was the problem. But I have another question. I've tried the Modified Building Cost grf, but it doesn't change the railway building cost...
Re: Pikka's Basic Industries (PBI)
I like this set a lot for the variation of industries, but there remain some problems which make it next to unplayable for me:
- Basic industries (mines) will disappear once they're exhausted. Can't a parameter be implemented to control whether a mine will exhaust or not, and if it will at how much?
- There's a maximum amount of resources a production industry can stockpile. Can't this limit at least be made optional or controllable (via a parameter)?
- Raichase
- Moderizzle
- Posts: 11509
- Joined: 15 Dec 2002 00:58
- Location: Sydney, Australia. Usually at work in the underground railway station...
- Contact:
Re: Pikka's Basic Industries (PBI)
Funny thing is, thats the most attractive part of the set to meExpresso wrote:I like this set a lot for the variation of industries, but there remain some problems which make it next to unplayable for me:
- Basic industries (mines) will disappear once they're exhausted. Can't a parameter be implemented to control whether a mine will exhaust or not, and if it will at how much?

Again, thats a feature to me, but I see a lot of people commenting on it, so I'd support it as far as the idea goes, but I wouldn't use it[*]There's a maximum amount of resources a production industry can stockpile. Can't this limit at least be made optional or controllable (via a parameter)?[/list]

Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon


Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon


Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
- George
- Tycoon
- Posts: 4364
- Joined: 16 Apr 2003 16:09
- Skype: george-vb
- Location: Varna, Bulgaria
- Contact:
Re: Pikka's Basic Industries (PBI)
ECS industries also have the same problems, but amount are much higher (up to 20 times higher for some industries). Is it playable for you, or even these huge stockpiles are unacceptable for you?Expresso wrote:I like this set a lot for the variation of industries, but there remain some problems which make it next to unplayable for me:
- Basic industries (mines) will disappear once they're exhausted. Can't a parameter be implemented to control whether a mine will exhaust or not, and if it will at how much?
- There's a maximum amount of resources a production industry can stockpile. Can't this limit at least be made optional or controllable (via a parameter)?
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 16 guests