
YAPP - Yet Another PBS Patch (now in trunk!)
Moderator: OpenTTD Developers
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Linux 64 bit version, for those interested. 

- Attachments
-
- OTTD-linux-amd64-r13501M.tar.bz2
- Linux 64 bit 13501M build
- (2.57 MiB) Downloaded 158 times
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Because inexperienced users don't use the dynamite tool? I think you're a bit confused here.FooBar wrote:I think the way it is now is just fine. It prevents you from doing stupid things in the first place, but if you really want to, you can still grab the old dynamite in order to get things done. This way it's relatively safe for the inexperienced users
It was years before I figured what purpose that usually-disabled bulldozer tool served.
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: YAPP - Yet Another PBS Patch (New version 8 out!)
Good, so I wasn't the only person to take years to learn what the bulldozer wasDaleStan wrote:Because inexperienced users don't use the dynamite tool? I think you're a bit confused here.FooBar wrote:I think the way it is now is just fine. It prevents you from doing stupid things in the first place, but if you really want to, you can still grab the old dynamite in order to get things done. This way it's relatively safe for the inexperienced users
It was years before I figured what purpose that usually-disabled bulldozer tool served.

Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.
14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.
14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Probably because you didn't RTMDaleStan wrote:It was years before I figured what purpose that usually-disabled bulldozer tool served.

Anyways, you're probably right somewhere, so maybe that 'do you want to continue'-asking dialog isn't too bad after all.
Or forbidding to remove reserved track by default, and only allow it after enabling a patch option.
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
How about using the magic bulldozer cheat for that? Reversing a train should always free the current reservation, but if YAPP really f*** up some situation the magic bulldozer would help to clean the mess. Can't use cheats in network games though, IIRC, so maybe not the best solution.FooBar wrote: Or forbidding to remove reserved track by default, and only allow it after enabling a patch option.
-- Michael Lutz
-- Michael Lutz
- Beardie
- Tycoon
- Posts: 2029
- Joined: 12 Apr 2008 19:38
- Skype: rbeardwell91
- Location: Buckshaw Village, Lancashire, UK
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Hello wondering if anyone could help me i have used the patch and compiled it with v0.6.1 of OpenTTD using OTTDbuild. but when i come to look for any of the extra options in the configure patch menu it doesn't exist and does this patch include the PBS Signal GUI or do i get that separately, because that hasn't appeared either.
I am slightly confused by it all to be honest.
I am slightly confused by it all to be honest.
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account

Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
And, in your experience, users can be trusted to read the manual?FooBar wrote:Probably because you didn't RTM
I want your users.
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: YAPP - Yet Another PBS Patch (New version 8 out!)
You shouldn't compile with 0.6.1, but with r13495. 0.6.1 is far too old to support the current YAPP.Beardie27 wrote:compiled it with v0.6.1...
Users? No. You? Yes.DaleStan wrote:And, in your experience, users can be trusted to read the manual?

But please notice that I've written that "you're probably right somewhere". That somewhere is "users in general".
- Beardie
- Tycoon
- Posts: 2029
- Joined: 12 Apr 2008 19:38
- Skype: rbeardwell91
- Location: Buckshaw Village, Lancashire, UK
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Right i have compiled it with the lastest trunk and i still don't get the extra options in the "Configure Patches" menuFooBar wrote:You shouldn't compile with 0.6.1, but with r13495. 0.6.1 is far too old to support the current YAPP.Beardie27 wrote:compiled it with v0.6.1...
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account

Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Latest trunk might be too new for latest YAPP. Try compiling with r13495 (i.e. check 'use revision to match patch' in BOTTD). If it then still doen't work, there's something horribly wrong.
In that case, attach whatever output BOTTD has given you, as that might reveal what may be broken.
Also, sometimes it's useful to flush BuildOTTD's source cache. Just press the 'Purge' button in the interface before compiling. Sometimes that's required if there are major changes in trunk.
In that case, attach whatever output BOTTD has given you, as that might reveal what may be broken.
Also, sometimes it's useful to flush BuildOTTD's source cache. Just press the 'Purge' button in the interface before compiling. Sometimes that's required if there are major changes in trunk.
- Beardie
- Tycoon
- Posts: 2029
- Joined: 12 Apr 2008 19:38
- Skype: rbeardwell91
- Location: Buckshaw Village, Lancashire, UK
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Fixed it now, its the link on the first page of this topic that i used to download it, and i get a error were OTTDBuild doesn't like it but it says V8 werid? I donwloaded the from the link on this page instead it works now.
I would have the first page of the topic changed and fix it if i was you.
I would have the first page of the topic changed and fix it if i was you.
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account

Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
The patch available in the first post is a perfectly valid patch file. It's unfortunate that BuildOTTD doesn't like it, but that doesn't make it any less valid. I do provide an SVN-compatible patch file exactly for this reason.Beardie27 wrote:I would have the first page of the topic changed and fix it if i was you.
-- Michael Lutz
-- Michael Lutz
- Beardie
- Tycoon
- Posts: 2029
- Joined: 12 Apr 2008 19:38
- Skype: rbeardwell91
- Location: Buckshaw Village, Lancashire, UK
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
ok, but i was just thinking about people who first come on to this topic
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account

Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Michi_cc: Maybe you should state explicitly, that BuildOTTD users should download SVN compatible patch?
- Beardie
- Tycoon
- Posts: 2029
- Joined: 12 Apr 2008 19:38
- Skype: rbeardwell91
- Location: Buckshaw Village, Lancashire, UK
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
I Think it has already been done now, Ty for that. Just don't want anyone to have the same problem as me.Mchl wrote:Michi_cc: Maybe you should state explicitly, that BuildOTTD users should download SVN compatible patch?
Anyway just wondering why hasn't this patch been Incorporated into OpenTTD because i think it is one worth having it done.
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account

Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Having a savegame would certainly help... I especially don't have an idea how you managed to trigger that second assert. First one might be from demolishing some reserved tracks.Ammler wrote: Just for the logs, the assert we had so far:
src/pbs.cpp:137: void UnreserveRailTrack(TileIndex, Track): Assertion `(GetTileTrackStatus(tile, TRANSPORT_RAIL, 0) & TrakToTrackBits(t)) != 0' failed.
2x src/train_cmd.cppvoid FreeTrainTrackReservation(const Vehicle*, TileIndex, Trackdir): Assertion `IsFrontEngine(v)' failed.
-- Michael Lutz
-- Michael Lutz
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Developers seem to have mixed feelings about it. They're thinking about it, but haven't made a decision yet (neither positive nor negative).Beardie27 wrote: Anyway just wondering why hasn't this patch been Incorporated into OpenTTD because i think it is one worth having it done.
(At least that is what I know about the matter. I am in no way dev team's representative)
- Beardie
- Tycoon
- Posts: 2029
- Joined: 12 Apr 2008 19:38
- Skype: rbeardwell91
- Location: Buckshaw Village, Lancashire, UK
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
Well i would like to see it done, but were going to have to wait.Mchl wrote:
Developers seem to have mixed feelings about it. They're thinking about it, but haven't made a decision yet (neither positive nor negative).

Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account

Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
I'm not really sure what the negatives are of including it in trunk to be honest. It's not like it's an option that you HAVE to use, you can still use the regular old signals if you so please.Mchl wrote:Developers seem to have mixed feelings about it. They're thinking about it, but haven't made a decision yet (neither positive nor negative).Beardie27 wrote: Anyway just wondering why hasn't this patch been Incorporated into OpenTTD because i think it is one worth having it done.
(At least that is what I know about the matter. I am in no way dev team's representative)
I think it would be a great idea if it was put in the trunk.
- Phil
Re: YAPP - Yet Another PBS Patch (New version 8 out!)
One is using 10+% more CPU than a build without YAPP on a map with lots of trains that do not use YAPP signals. Progress is great, but does it warrant making OpenTTD run that much slower when you don't use the signals?phil88 wrote:I'm not really sure what the negatives are of including it in trunk to be honest. It's not like it's an option that you HAVE to use, you can still use the regular old signals if you so please.
Another thing is the desync issue that some people mention. My current hypothesis is that this is a cache mismatch in YAPF between the client and the server. I haven't had the time to actually look into that though.
Who is online
Users browsing this forum: No registered users and 4 guests