JGR's Patch Pack
Moderator: OpenTTD Developers
Re: JGR's Patch Pack
Greate patch pack, using it from v 0.5.0, many thanks!
I saw, question about Terminus Airports patch was already asked. Any news about possible integration into patchpack?
Kind regards.
I saw, question about Terminus Airports patch was already asked. Any news about possible integration into patchpack?
Kind regards.
- HackaLittleBit
- Director
- Posts: 550
- Joined: 10 Dec 2008 16:08
- Location: tile 0x0000
Re: JGR's Patch Pack
Nobody reported a bug after the last release.JGR wrote: I've looked at the chunnel patch(es) before and I'm not all that keen on the idea of merging it. Bugs and odd corner cases seemed to a persistent issue.
I can't find any, so please report.
Re: JGR's Patch Pack
tlpwka wrote:Greate patch pack, using it from v 0.5.0, many thanks!
I saw, question about Terminus Airports patch was already asked. Any news about possible integration into patchpack?
Kind regards.
I will take another look at these two when I get some time, not making any guarantees though.HackaLittleBit wrote:Nobody reported a bug after the last release.JGR wrote: I've looked at the chunnel patch(es) before and I'm not all that keen on the idea of merging it. Bugs and odd corner cases seemed to a persistent issue.
I can't find any, so please report.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: JGR's Patch Pack
Not sure if this has been posted before, but thought since I have documentation, might as well post it.
I've not gotten the templates to work yet, everytime I decide it may be useful and try to use it, my game crashed.
I've not gotten the templates to work yet, everytime I decide it may be useful and try to use it, my game crashed.
Re: JGR's Patch Pack
Thanks for reporting this. Can you post the crash log please?
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: JGR's Patch Pack
Since 13.2 i can't place houses ingame! Why? I need this feature!
Re: JGR's Patch Pack
It was removed because it caused desyncs in multiplayer, even when it wasn't being used.BW89 wrote:Since 13.2 i can't place houses ingame! Why? I need this feature!
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: JGR's Patch Pack
The latest version from the git repo (jgrpp branch) fails to compile with GCC 6.1.1 on 64bit Arch Linux:
EDIT: Added distro/compiler details.
EDIT: Added distro/compiler details.
Last edited by archy on 19 May 2016 18:16, edited 1 time in total.
Re: JGR's Patch Pack
Which distro, compiler and configure flags are you using out of curiosity? As best I can tell trunk OpenTTD will not compile either if you get that error.archy wrote:The latest version from the git repo fails to compile on Linux:
Can you try the "crashlog_header_compile_fix_tmp" branch on github and let me know if that fixes it?
Thanks for reporting this.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: JGR's Patch Pack
With that branch, crashlog.o seems to compile fine and the compilation process gets quite a bit farther, but then fails for newgrf.o with a different error:
The configure and make command used:
PS: You were right, the original "SAFEGUARD_DO_NOT_USE_THIS_METHOD" error for crashlog.o happens with the latest official OpenTTD from SVN trunk, too.
The configure and make command used:
PS: You were right, the original "SAFEGUARD_DO_NOT_USE_THIS_METHOD" error for crashlog.o happens with the latest official OpenTTD from SVN trunk, too.
Re: JGR's Patch Pack
I've added another commit which should fix that issue.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: JGR's Patch Pack
It still fails at the same spot, although the error message slightly changed:
Re: JGR's Patch Pack
Edit:
This is a measurement tool patch bug, which should be straightforward to fix.
I'll upload a fix shortly.
This is a measurement tool patch bug, which should be straightforward to fix.
I'll upload a fix shortly.
Last edited by JGR on 20 May 2016 15:52, edited 1 time in total.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: JGR's Patch Pack
Hi, JGR. Thank you for patchpack. I really like to play it. You please add the patch calculate the rating at the stations as in spring patchpack. Personally, I like this patch. Convenient .
[OpenTTD] STD screenshots
----------------------------------------------------------------------------------------------------------------------------------
[OpenTTD] STD saved games - My finished scenarios and saves from the game
My Youtube channel - OpenTTD | Wiki xUSSR set (RU) | Wiki xUSSR set (EN) | Download the latest version of the xUSSR set
TT Screenshot of the Month - the page editor | Screenshot Of The Month Contest Winner: August 2017
----------------------------------------------------------------------------------------------------------------------------------
[OpenTTD] STD saved games - My finished scenarios and saves from the game
My Youtube channel - OpenTTD | Wiki xUSSR set (RU) | Wiki xUSSR set (EN) | Download the latest version of the xUSSR set
TT Screenshot of the Month - the page editor | Screenshot Of The Month Contest Winner: August 2017
Re: JGR's Patch Pack
@JGR
I've investigated the issue a bit further:
1) I found the following document, which confirms that these are indeed intentional changes to GCC 6, and that we'll have to adapt to them: Porting to GCC 6
2) I found that Linux distros are already applying a patch on their end, to make the official OpenTTD compile with GCC 6: openttd-1.5.3-gcc6.patch
I've confirmed that this patch makes both the 1.6.0 release and trunk compile just fine.
3) However, when applied to your OpenTTD-patches (jgrpp branch), it only fixes the "SAFEGUARD_DO_NOT_USE_THIS_METHOD" error. The "call of overloaded ‘abs(int8&)’ is ambiguous" error still shows up. Since it doesn't show up with trunk, there must be something your patch pack could do differently to avoid the error as well, right?
I've investigated the issue a bit further:
1) I found the following document, which confirms that these are indeed intentional changes to GCC 6, and that we'll have to adapt to them: Porting to GCC 6
2) I found that Linux distros are already applying a patch on their end, to make the official OpenTTD compile with GCC 6: openttd-1.5.3-gcc6.patch
I've confirmed that this patch makes both the 1.6.0 release and trunk compile just fine.
3) However, when applied to your OpenTTD-patches (jgrpp branch), it only fixes the "SAFEGUARD_DO_NOT_USE_THIS_METHOD" error. The "call of overloaded ‘abs(int8&)’ is ambiguous" error still shows up. Since it doesn't show up with trunk, there must be something your patch pack could do differently to avoid the error as well, right?
Re: JGR's Patch Pack
I've pushed an update to the jgrpp branch on github including the previous fix for the SAFEGUARD_DO_NOT_USE_THIS_METHOD issue, and another fix for the abs issue.archy wrote:@JGR
I've investigated the issue a bit further:
1) I found the following document, which confirms that these are indeed intentional changes to GCC 6, and that we'll have to adapt to them: Porting to GCC 6
2) I found that Linux distros are already applying a patch on their end, to make the official OpenTTD compile with GCC 6: openttd-1.5.3-gcc6.patch
I've confirmed that this patch makes both the 1.6.0 release and trunk compile just fine.
3) However, when applied to your OpenTTD-patches (jgrpp branch), it only fixes the "SAFEGUARD_DO_NOT_USE_THIS_METHOD" error. The "call of overloaded ‘abs(int8&)’ is ambiguous" error still shows up. Since it doesn't show up with trunk, there must be something your patch pack could do differently to avoid the error as well, right?
The abs problem was introduced by the measurement tool patch, as it added a math.h include to a header, which I've now moved. I previously thought that that bug was also in trunk which threw me off for a while.
I'm not really convinced about the need for this patch. This sort of thing should go in the cheats menu rather than in the settings.STD wrote:Hi, JGR. Thank you for patchpack. I really like to play it. You please add the patch calculate the rating at the stations as in spring patchpack. Personally, I like this patch. Convenient .
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: JGR's Patch Pack
Isn't it also a parameter in FIRS? Maybe make a little GRF with that feature. Shouldn't be too difficult to c&p the code.
Re: JGR's Patch Pack
It works, thanks!JGR wrote:I've pushed an update to the jgrpp branch on github including the previous fix for the SAFEGUARD_DO_NOT_USE_THIS_METHOD issue, and another fix for the abs issue.
Re: JGR's Patch Pack
It's removed in the latest FIRS. The default ratings is terrible.Pyoro wrote:Isn't it also a parameter in FIRS? Maybe make a little GRF with that feature. Shouldn't be too difficult to c&p the code.
Re: JGR's Patch Pack
I would like a setting like daylength but only for stations ratings, like 2x, 4x+ more slow decay of ratings. Or this or play with DL on.
Who is online
Users browsing this forum: No registered users and 20 guests