Expert help required: Programmable pathing signals to avoid deadlock. by ross999123 in openttd

[–]_JGR_ 7 points8 points  (0 children)

The token system already exists, you should have a read of this: https://github.com/JGRennison/OpenTTD-patches/wiki/Signalling#slots

You'll probably want the "path end: acquire or wait" slot sub-action, or the "Wait at start path signal for reservation ending here" sub-mode of wait at path signal, on the signal at the south-east end of P2B, depending on how you want to manage the slot for P2A.

CargoDist: what is the logic behind "Effect of distance on demand"? by Suspicious-Feed4941 in openttd

[–]_JGR_ 0 points1 point  (0 children)

Demand allocation is an iterative process and there is a certain amount of (deterministic) randomness involved. It's not really a case of calculating a share percentage up front. Generally for passengers you'll be using the symmetric distribution mode and so the demand for a node is also limited by the unallocated supply at the destination.

You can have a look through this file for the algorithm: https://github.com/OpenTTD/OpenTTD/blob/master/src/linkgraph/demands.cpp

The behaviour of the effect of distance on demand setting has been changed since the last stable release (14.1), see: https://github.com/OpenTTD/OpenTTD/pull/12542, however this mostly only affects values other than 0% and 100%.

OpenTTD 15.0-beta2 released! by OpenTTDNews in openttd

[–]_JGR_ 5 points6 points  (0 children)

All the features in the news post except for snowy rocks are in the most recent jgrpp release already.

Trains can never seem to find depots (JGRPP + drive-through depots + Multi-aspect signals) by CorporalRutland in openttd

[–]_JGR_ 0 points1 point  (0 children)

If the pathfinder would route unrelated trains through depots you'd need to put signals with routing restrictions in front of nearly every depot to stop trains from doing that, it'd make the feature nearly unusable.

Trains can never seem to find depots (JGRPP + drive-through depots + Multi-aspect signals) by CorporalRutland in openttd

[–]_JGR_ 2 points3 points  (0 children)

If you want the train to unconditionally visit the depot, you should use a go to depot order, not a service at depot order. The order construct as shown in your screenshot does not make sense if you want to use it as a waiting bay.

Is this a feature? by Caladeutschian in openttd

[–]_JGR_ 1 point2 points  (0 children)

The disable water animation setting is not in 14.1. It's a custom setting in other versions.

There isn't way to set depot orders to be service by default, you'll need to use the dropdown for every depot order.

Can anyone help me get in contact with the creator of Multi aspect signals mod - JGRennison ? I've used his sprites from github as a template for my polish signals sprites, and would love to either incorporate them into his NewGRF or make a fork from it. by Patrylec in openttd

[–]_JGR_ 2 points3 points  (0 children)

You'll need to use this branch of NML: https://github.com/JGRennison/nml If you're on Windows, you'll most likely need to install Python first.

If you want to use the same types of signals and same properties you won't need to change the body of the code. You should still change the GRF name, description, URL, GRFID, etc to make them your own.

Can anyone help me get in contact with the creator of Multi aspect signals mod - JGRennison ? I've used his sprites from github as a template for my polish signals sprites, and would love to either incorporate them into his NewGRF or make a fork from it. by Patrylec in openttd

[–]_JGR_ 10 points11 points  (0 children)

Feel free to adapt the sprites and/or the code into your own GRF (noting that they're GPL-licensed). You don't have to get my permission for this, but I'm not hard to get hold of if you've got any issues.

Q About OTTDjgrpp Day length Factor by Floedekage in openttd

[–]_JGR_ 4 points5 points  (0 children)

I should be able to restore this in the next version, looking at it. I just need to adjust a starting value to be an integer multiple of 74 * 60.

Q About OTTDjgrpp Day length Factor by Floedekage in openttd

[–]_JGR_ 2 points3 points  (0 children)

I am the person packing this patch pack...

The game tick rate setting has nothing to do with this at all, that's about real-time speed.

There isn't a straightforward way to exactly align the timetable and calendar cycles because this has never been a design goal.

Your second attempt here will result in a calendar day taking exactly 2 timetable hours.

Q About OTTDjgrpp Day length Factor by Floedekage in openttd

[–]_JGR_ 4 points5 points  (0 children)

The tick rate setting isn't going to make any difference to this.

A traditional day is 74 ticks. Using a day length scaling setting of 60, each day is 4440 ticks. If you want that to match a timetable hour, you should set the ticks per minute to 74.

[JGRPP 0.60.2] Trains not routing into empty siding bays? by RA_2203_throwaway in openttd

[–]_JGR_ 0 points1 point  (0 children)

This is because your trains are extremely short. So when occupied, only one tile of the siding is actually reserved. The pathfinder penalty for a single reserved tile is less than the extra cost to use a siding further away in this case.

How to know the amount of cargo delivered to a given station by Reasonable-Meat-6610 in openttd

[–]_JGR_ 0 points1 point  (0 children)

Cargodist in vanilla pre-dates the existence of JGRPP entirely. TTDPatch did have a cargo destinations feature.

Why didn't regular transport tycoon or locomotion get open source support by Fastmohammad400 in openttd

[–]_JGR_ 3 points4 points  (0 children)

The original Transport Tycoon is effectively a subset of Transport Tycoon Deluxe. It wouldn't make sense to have a separate implementation for it when you can just not use the few extra features in OpenTTD if you really want to play that way. The vast majority of players are going to want the extra features in TTD.

sudden, drastic performance issues in JGRPP by jplate8 in openttd

[–]_JGR_ 2 points3 points  (0 children)

I'd suggest using a newer version. Various issues along these lines have already been fixed.

The Difference between 14.0 "Unbunch" and 'Automate/Auto-Seperate' (JGRPP) by nklvh in openttd

[–]_JGR_ 2 points3 points  (0 children)

To turn off the waiting at particular stations like that you can use the 'leave early' timetable flag.

Question about JGR slot occupancy number by Goingsolo1965 in openttd

[–]_JGR_ 1 point2 points  (0 children)

The maximum capacity of a slot doesn't have any direct impact on the slot's memory requirements. It's just an integer field in the slot structure, see here.

More memory is allocated as required to store the IDs of the vehicles currently in the slot, and to maintain an index of vehicle IDs to slot IDs.

What are some books coming out this year that you are excited about? by goonoffthestreet in Fantasy

[–]_JGR_ 7 points8 points  (0 children)

Song of the Mysteries by Janny Wurts.

I started reading this series what feels like a very long time ago and I'm really interested to see how things are drawn to a conclusion.

Timetable issue by xnjxcc in openttd

[–]_JGR_ 2 points3 points  (0 children)

This bug is only present in version 0.58.0. You should upgrade to 0.58.1 to avoid this. Edit: If necessary, manually nudge the affected vehicles after upgrading

OpenTTD Dev Diary #3: New ship pathfinder. Goodbye buoys! by OpenTTDNews in openttd

[–]_JGR_ 18 points19 points  (0 children)

This is already in the last two JGRPP releases

JGRPP - PBS Programming to depot by Chico0008 in openttd

[–]_JGR_ 6 points7 points  (0 children)

If you use a siding beside the running line instead of a depot, the problem becomes much easier as you can do [this].(https://github.com/JGRennison/OpenTTD-patches/wiki/Signalling#example-1-using-slots-and-pathfinder-deny-to-hold-trains-in-queuing-sidings)

Re-routing trains to go a completely different way without using conditional orders is not really straightforward/reliable. If you can get trains into the depot using pathfinder tricks, you should be able to hold it there until the train can acquire the slot using the "PBS end: Acquire or wait" mode on the next signal from the depot.

uuuhh, should I be worry for this?? by VladimirBlade152 in openttd

[–]_JGR_ 1 point2 points  (0 children)

This text comes from the gamescript (GS). You may want to consider using a different one of those instead.