Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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)
@charly-o
the error appeared today when I moved my account to another computer. Thanks for giving clear ionstructions, your solution worked.
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 :)
which file and location should i edit?
Tks
and with a brief analysis those two variables are not even being used
the Tropical always causes an Error and can't create a map...
Someone got an Idea why it doesn't work?