[GS] Renewed Village Growth 12.1 (RVG)

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

How would you rate this game script?

5★ Lev4 'Chimaera'
38
78%
4★ "AsiaStar"
7
14%
3★ Floss "47"
3
6%
2★ Ploddyphut Choo-Choo
1
2%
1★ Kirby Paul Tank
0
No votes
 
Total votes: 49

Malcolm
Engineer
Engineer
Posts: 14
Joined: 26 Feb 2011 14:25

Re: [GS] Renewed Village Growth 11.0 (RVG)

Post by Malcolm »

Firrel wrote: 08 Dec 2024 21:37 It may have been a savegame just interrupting the process of starting the monitoring of the town or something done in the scenario editor.
I haven't used a editor, so it's something else.

In my save, I fixed this problem by adding a couple of my bus stops and starting the bus. When the first passengers arrived, the script worked as it should.

Now I will sometimes check other cities on the map.
It is not possible to continue running a savegame with GS in the exact state at which it was saved on another PC (for some reason), so when I checked the save you provided, it loaded the GS from start.
Understood. And what potential problems can be caused by transferring the save to another computer? I haven't done this with this save yet, but sometimes I need it.
_______________

One more question. Has anyone tried to combine this script with ITL Houses NewGRF?

Now I have both of them turned on and so far I like it. But I foresee a problem.:
Both RVG and ITL Houses are slowing down the growth of cities.

Has anyone chosen the optimal settings for their collaboration?
Or maybe I'm trying to solve a problem that doesn't exist? And I don't need to fix anything?

If not, tell me if I understood correctly what the following settings are responsible for:
  • Town Growth Factor is a limiter of the city's growth rate. The smaller the faster, according to the exponential graph published a few pages ago.
  • Category #: minimum population demand - the limit for the appearance of the next category of goods? Since cities with ITL will have a smaller population, it is worth putting numbers less than the default in GS
In general, where can I read a more detailed description of the script options?
Last edited by Malcolm on 10 Dec 2024 19:38, edited 1 time in total.
joehtosis
Engineer
Engineer
Posts: 5
Joined: 25 Nov 2024 04:44

Re: [GS] Renewed Village Growth 11.0 (RVG)

Post by joehtosis »

I've been doing some test runs running ITL with RVG as well as Full English (I use default houses on with ITL to resolve an issue with stagnant growth in Full English prior to the introduction of larger buildings in the 1900s). I think they run together just fine. I always use the lowest growth factor setting because I want town growth to be limited by the speed of infrastructure development (AI/player driven), not an arbitrary time limit. I haven't noticed any sort of growth stagnation that isn't connected to a need for improved transportation services in the town, which drives incentive to engage with the core gameplay.
Malcolm
Engineer
Engineer
Posts: 14
Joined: 26 Feb 2011 14:25

Re: [GS] Renewed Village Growth 11.0 (RVG)

Post by Malcolm »

It seems that the script has not started again. But now the behavior is different. For many cities on the map, the script turned out to be missing. And this is not fixed by running buses.
is there any way to fix this? Maybe you can restart the script manually?
Снимок.PNG
Снимок.PNG (76.47 KiB) Viewed 12477 times
UPD: it seems that the script still works, but for a specific city it is launched only when the city gains 100+ inhabitants.
In this case, the problem is only in these two missing strings.
Attachments
Лучшие гужевые перевозки Барда, 1808.sav
(478.95 KiB) Downloaded 129 times
Vi3D
Engineer
Engineer
Posts: 2
Joined: 21 Dec 2024 20:26

Re: [GS] Renewed Village Growth 11.0 (RVG)

Post by Vi3D »

I tried playing with RVG using a small set of NewGRFs and the mod doesn't appear to be working properly. No matter how many trains I have doing passenger and mail work on a city it always stays in "Not Growing" mode.
Image
I don't really know why this is happening, I made sure the required libraries are downloaded through OTTD's online content manager and everything.
WenSim
Engineer
Engineer
Posts: 43
Joined: 02 Sep 2023 08:38
Location: Wenzhou

Re: [GS] Renewed Village Growth 11.0 (RVG)

Post by WenSim »

kamnet wrote: 21 Dec 2024 20:48 Has RVG been thoroughly tested against FIRS 5 yet?
It's working fine for me
Find me on GitHub or on Discord (wensimehrp, or WenSim)
Also find me via QQ: 1049170778, or email: wensimehrp@gmail.com
Green stuff here, may be helpful for content creators.
Vi3D
Engineer
Engineer
Posts: 2
Joined: 21 Dec 2024 20:26

Re: [GS] Renewed Village Growth 11.0 (RVG)

Post by Vi3D »

Image

Tested without it, I'm guessing it may be Iron Horse or Total Town Replacement Set.
Detig
Engineer
Engineer
Posts: 4
Joined: 11 Sep 2008 16:40

Re: [GS] Renewed Village Growth 11.0 (RVG)

Post by Detig »

I'm having some trouble with RVG 11 on both 14.1 and the 15 beta 1 + FIRS 5. For whatever reasons the only cargoes that the script chooses are only alcohol and coal, both on the temperate and hot maps. No amount of randomisation changes on the settings seems to lead to a different result.
WendellSenior
Engineer
Engineer
Posts: 5
Joined: 28 Feb 2022 07:27

Re: [GS] Renewed Village Growth 11.0 (RVG)

Post by WendellSenior »

Detig wrote: 22 Jan 2025 15:48 I'm having some trouble with RVG 11 on both 14.1 and the 15 beta 1 + FIRS 5. For whatever reasons the only cargoes that the script chooses are only alcohol and coal, both on the temperate and hot maps. No amount of randomisation changes on the settings seems to lead to a different result.
Same here! :(


EDIT: I think I fixed it by manually removing FIRS and RVG, then re-adding the definitely updated FIRS, then re-adding the definitely updated RVG. Unfortunately this does mean you may have to regenerate industries.
Last edited by WendellSenior on 13 Feb 2025 16:31, edited 1 time in total.
User avatar
Firrel
Traffic Manager
Traffic Manager
Posts: 145
Joined: 13 Aug 2019 17:06

Re: [GS] Renewed Village Growth 12.0 (RVG)

Post by Firrel »

New update for Renewed Village Growth 12.0 is available in BaNaNaS
  • new: AXIS Tropical Paradise support (skye0e)
  • mod: ITI 2.14 waste town cargo (2TallTyler)
    - ITI < 2.14 no longer supported
  • fix: Simplified Chinese translation (WenSimEHRP)
User avatar
mortiy
Engineer
Engineer
Posts: 1
Joined: 14 Jun 2025 09:00
Contact:

Re: [GS] Renewed Village Growth 12.0 (RVG)

Post by mortiy »

Hi Firrel,
Please check my pull request with Ukrainian translation:
https://github.com/F1rrel/RenewedVillageGrowth/pull/161
User avatar
Firrel
Traffic Manager
Traffic Manager
Posts: 145
Joined: 13 Aug 2019 17:06

Re: [GS] Renewed Village Growth 12.0 (RVG)

Post by Firrel »

mortiy wrote: 14 Jun 2025 09:12 Hi Firrel,
Please check my pull request with Ukrainian translation:
https://github.com/F1rrel/RenewedVillageGrowth/pull/161
Thanks! Will check it.
User avatar
Firrel
Traffic Manager
Traffic Manager
Posts: 145
Joined: 13 Aug 2019 17:06

Re: [GS] Renewed Village Growth 12.1 (RVG)

Post by Firrel »

New update for Renewed Village Growth 12.1 is available in BaNaNaS
  • new: Ukrainian translation (mortiy)
Pcrtje
Engineer
Engineer
Posts: 3
Joined: 22 Jun 2014 18:32

Re: [GS] Renewed Village Growth 12.1 (RVG)

Post by Pcrtje »

Hi Firrel, please find another translation in the private message I sent you.
Flocker
Engineer
Engineer
Posts: 2
Joined: 07 Aug 2025 22:00

Re: [GS] Renewed Village Growth 12.1 (RVG)

Post by Flocker »

Hi, any ideas why I can't get my tiny towns to grow? No issues whatsoever as of a few hundred people but below 100 it hardly ever works the way I'd expect it to do. Passengers and mail last minute stay above 50% almost all the time, and yet below that it says town is not growing with very rare exceptions. Sometimes it grows for a month, resulting in either growing or declining population, then it switches back to not growing although my trains pick up the stuff twice a minute/month.
In the current game I'm looking at the town started growing once or twice right at the start (usually happens like that), then stayed dormant for 17 years until it finally recognized it's being serviced all the time. For the past three years there was a growth timer of around 300 seconds, however, population went down as many times as it went up when "growth" happened so it still didn't change anything.

Any idea what's wrong here?
Last edited by Flocker on 07 Aug 2025 22:13, edited 1 time in total.
tweez
Engineer
Engineer
Posts: 1
Joined: 30 Nov 2025 19:15

Re: [GS] Renewed Village Growth 12.1 (RVG)

Post by tweez »

Hello,

I have a server running where I am attempting to run RVG 12.1 on a JGR version 68.1

I received the following logs when restarting the server:

Code: Select all

[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [this] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [try_count] 0
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [raw_count] 2104
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [ignore_list] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [built_count] 0
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [construction_type] 2
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [industry_count] 5949
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [industry_list] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [target_count] 4410
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [pause_level] 3
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [this] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [this] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [start_tick] 28
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [sysdate] 27
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [this] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] Your script made an error: excessive CPU usage in valuator function
[2025-11-30 19:00:57] dbg: [script:0] [18] [S]
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] *FUNCTION [GetRawIndustryToProspect()] /home/user/.openttd/content_download/game/RenewedVillageGrowth-master/industry.nut line [655]
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] *FUNCTION [ProspectRawIndustry()] /home/user/.openttd/content_download/game/RenewedVillageGrowth-master/industry.nut line [553]
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] *FUNCTION [Init()] /home/user/.openttd/content_download/game/RenewedVillageGrowth-master/main.nut line [206]
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] *FUNCTION [Start()] /home/user/.openttd/content_download/game/RenewedVillageGrowth-master/main.nut line [102]
[2025-11-30 19:00:57] dbg: [script:0] [18] [S]
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [industry_type_list] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [ignore_list] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [this] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [try_count] 0
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [raw_count] 2104
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [ignore_list] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [built_count] 0
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [construction_type] 2
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [industry_count] 5949
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [industry_list] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [target_count] 4410
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [pause_level] 3
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [this] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [this] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [start_tick] 28
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [sysdate] 27
[2025-11-30 19:00:57] dbg: [script:0] [18] [S] [this] INSTANCE
[2025-11-30 19:00:57] dbg: [script:0] The script died unexpectedly.
[2025-11-30 19:00:57] One of the running scripts crashed. Please report this to the script author with a screenshot of the AI/Game Script Debug Window
Please provide any advice!
User avatar
jfs
Tycoon
Tycoon
Posts: 1965
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: [GS] Renewed Village Growth 12.1 (RVG)

Post by jfs »

How large is the map? The debug output says there are nearly 6000 industries on it, so I'm guessing it's a very large map.
I'm guessing there is no good way for the script to improve on this, however I know that the main development branch of OpenTTD has someone making experiments with letting script valuator functions be split across several game ticks, which will completely avoid this class of errors.
ashe.bluemei
Engineer
Engineer
Posts: 1
Joined: 08 Dec 2025 01:48

Re: [GS] Renewed Village Growth 12.1 (RVG)

Post by ashe.bluemei »

Image
anyone know why my town is growing even though im supplying with it with acid?
im using FIRS 5 steeltown. im kind of thinking my game is bugged because shouldnt the first requirement for growing towns mail and passengers?
mmtunligit
Engineer
Engineer
Posts: 5
Joined: 10 Jun 2019 17:13

Re: [GS] Renewed Village Growth 12.1 (RVG)

Post by mmtunligit »

ashe.bluemei wrote: 08 Dec 2025 01:53 im using FIRS 5 steeltown. im kind of thinking my game is bugged because shouldnt the first requirement for growing towns mail and passengers?
I have also just tested FIRST 5.1.0 steeltown and can confirm that RVG is broken with that economy
hype
Engineer
Engineer
Posts: 1
Joined: 23 Dec 2025 19:20

Re: [GS] Renewed Village Growth 12.1 (RVG)

Post by hype »

Hi guys,

I have a question regarding city growth.
This town for example says I'm not transporting enough passengers and mail.
But how exactly do I know how much I have to transport?
In the window it says 382 / 114, so it sounds to me I'm already transporting way more than what is needed?
The city has a train station with 5 trains serving it and lots of buses and trucks transporting passengers and mail to two other cities.
How can I optimize this?

Cheers
Attachments
20251223_201538_openttd_gEw3py1gmh.jpg
20251223_201538_openttd_gEw3py1gmh.jpg (136.73 KiB) Viewed 659 times
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: BW89 and 0 guests