Transport Fever 2

Transport Fever 2

Enhanced terrain generator (tropical)
39 条留言
Grizz 2 月 4 日 上午 3:08 
Getting an error too when trying to generate the map:


Error message: error: [string "C:/Games/Steam/steamapps/workshop/content/1066780/1960762394/res/config/terrain_generators/tropical_ext.gen.lua"]:118: attempt to perform arithmetic on field 'land' (a nil value)
stack traceback:
=[C](-1): __div
C:/Games/Steam/steamapps/workshop/content/1066780/1960762394/res/config/terrain_generators/tropical_ext.gen.lua(118): ?


Key: game/res/terrain_generator/tropical_ext.gen.lua

Minidump: C:/Games/Steam/userdata/72854613/1066780/local/crash_dump/ddb35107-fbf0-4281-ae98-e2d6bdd4b38c.dmp

In file: urban_games/train_fever/src/Lib/lua/State.cpp:753

In function: void __cdecl lua::State::Call(int,int)
tommi2032 2024 年 12 月 25 日 上午 11:57 
@tille
@charly-o
the error appeared today when I moved my account to another computer. Thanks for giving clear ionstructions, your solution worked.
tille 2023 年 11 月 7 日 上午 10:53 
charly-o fix is working, here is a more detailed approach:

go to \steamapps\workshop\content\1066780\1960762394\res\config\terrain_generators
open the file tropical_ext.gen.lua with a text editor
find the following:

line 118
local land = params.land / 4 (delete the /4)

line 120
local islands = params.islands / 7 (delete the /7)

save and have fun :)
Castorsao 2023 年 7 月 7 日 上午 8:53 
@charly-o
which file and location should i edit?
Tks
Xann 2023 年 7 月 6 日 下午 2:19 
derelict
captain403 2023 年 6 月 24 日 上午 10:33 
Abandoned mod. :(
Serialtasted 2023 年 5 月 14 日 下午 12:43 
@charly-o thanks! it works
and with a brief analysis those two variables are not even being used
Dr_Sascha 2023 年 5 月 12 日 下午 11:16 
I got both map editor for temperate and tropical , while temperate works perfect
the Tropical always causes an Error and can't create a map...

Someone got an Idea why it doesn't work?
charly-o 2023 年 4 月 15 日 上午 11:40 
There are two divisions in Line 118 an 120 which causes the error. I deleted these two and the mod works. I don't know what was the sense of the two division. I do not notice any changes.
Spinix 2023 年 2 月 19 日 上午 5:30 
fail generater error.... :(:steamsad:
Globetrotter 2023 年 2 月 19 日 上午 4:02 
@henning.schaefer . I really like this idea but, as mentioned earlier, it needs updating / fixing. I and others would really appreciate it if you could find the time.
AverageEuropeanTramEnjoyer 2022 年 12 月 28 日 上午 9:04 
@henning.schaefer Could you update this? It only gives a error, no matter what setting I use, it will always give a error.
TonyMontana 2022 年 10 月 8 日 下午 9:13 
Generates an error
DrunkenPenguin 2022 年 10 月 3 日 上午 5:13 
Gives an error regardless of settings.
Sparkster 2022 年 7 月 7 日 上午 8:01 
Any plans for an enhanced generator working for the dry climate?
steenjsj 2022 年 6 月 17 日 上午 7:58 
Returns errors on all settings. Maybe an update is needed.
Sea Fairy 2022 年 4 月 4 日 上午 7:48 
I like so much these generators! Thank you so much for making this :Yonah:
Sumadisi 2021 年 12 月 10 日 上午 5:56 
Im sorry but wen I want to use the extended version it doesnt show me the map
How can I fix it?
Adroitly Absurd 2021 年 11 月 24 日 上午 11:55 
Gave @Duckboot's workaround a try - sadly it didn't work for me but I'm glad it worked for others! Hopefully we'll get an official fix!
charly-o 2021 年 11 月 21 日 上午 6:12 
@Duckboot: Your workaround works. Great!
Adroitly Absurd 2021 年 11 月 8 日 下午 12:19 
I've also found this mod no longer works - any suggestions? It's fantastic and I'd really like to use it again!
charly-o 2021 年 10 月 30 日 上午 5:20 
I tried to use the mod today and I got the same error.

Is there any reaction from the developer?
Skara-Baeus 2021 年 8 月 5 日 上午 12:12 
This error it shows up

Exception type: Lua exception

This error is usually caused by modding. Some game resources contain incorrect data.

Details:

Error message: error: [string "C:/Games/Steam/steamapps/workshop/content/106..."]:118: attempt to perform arithmetic on field 'land' (a nil value)
stack traceback:
=[C](-1): __div
G:/Games/Steam/steamapps/workshop/content/1066780/1960762394/res/config/terrain_generators/tropical_ext.gen.lua(118): ?


Key: game/res/terrain_generator/tropical_ext.gen.lua

Minidump: C:/Games/Steam/userdata/username/1066780/local/crash_dump/6f1f51ee-6221-4263-82b6-b03758540f1e.dmp

In file: ..\..\src\Lib\lua\State.cpp:592

In function: void __cdecl lua::State::Call(int,int)
Skara-Baeus 2021 年 8 月 5 日 上午 12:07 
After Summerupdate this Mod seems to be out of Order. :steamsad:
Ipak 2021 年 8 月 1 日 下午 5:16 
looks like this mod is dead.......
Gru Lightyear 2021 年 7 月 31 日 上午 8:04 
@DiscoDave i have the same problem
DiscoDave 2021 年 7 月 10 日 下午 11:12 
Not working with latest update. Get this message:
Map generation failed: Internal error.
Huperspace 2021 年 7 月 8 日 上午 3:59 
@Skara-Baeus: after that fix, there is no difference between that and the vanilla generator.
Skara-Baeus 2021 年 7 月 1 日 上午 2:25 
@Boontee: just get this marked out of "tropical_ext.gen.lua"

"-- local islands = params.islands / 4"
"-- local islands = params.islands / 7"

at Line 118 and 120
tis how to marked out with "--"

for me it works now
iDontlikeTheworld 2021 年 5 月 25 日 下午 10:59 
I want to create one with a round center, as shown in your mod picture in the mod list.
iDontlikeTheworld 2021 年 5 月 25 日 下午 10:58 
how to generate an island ring (atoll) with the sea in the middle?
Godric Whiffindor 2021 年 4 月 24 日 下午 7:21 
Really like this generator but I'm wondering if there's a way to smooth out the edges of land masses and cut down on the 'island fragments' when you make a smaller main island and several outer islands. (see pic) There's lots of little bits of land that get generated making the map look messy. It's like it's using a fractal equation to generate the map and leaving random bits in the water. https://i.imgur.com/jhCp9uc.jpg
Boontee 2021 年 4 月 16 日 上午 9:40 
This mod does not work for me. Error message

"Error message: error: [string "E:/SteamLibrary/steamapps/workshop/content/10..."]:118: attempt to perform arithmetic on field 'land' (a nil value)
stack traceback:
=[C](-1): __div
E:/SteamLibrary/steamapps/workshop/content/1066780/1960762394/res/config/terrain_generators/tropical_ext.gen.lua(118): ?"
Lasergeezer1 2020 年 11 月 2 日 上午 9:01 
Flipping marvellous. I've spent days messing around with Gimp and PaintShopPro trying to edit my own heightmaps, but with this mod I had what I wanted in 15 minutes. Brilliant, mate!
Zyntax 2020 年 8 月 16 日 上午 2:46 
How did you manage to get a stand alone island? My creations always have some kind of connection to the borders.
GUIJA 2020 年 8 月 7 日 上午 12:45 
Thank you so much! I wanted to create a map with a really huge and isolated big island in the center. With the default Terrain Generator it's impossible, but with this tool it's so easy! After a couple of tries I finally got what I exactly wanted.
Spectre 2020 年 7 月 9 日 下午 3:26 
also could you publish a tutorial on how to get different island/atolls? I'm mainly just randomly guessing on what sliders effects are
Spectre 2020 年 7 月 9 日 下午 3:23 
this is great, any advice on slider settings to make multiple large disconnected islands?
StopNLean 2020 年 3 月 6 日 上午 1:42 
AWESOMEEEEEEEEEEEEEEEEEEEEEEEEEEE