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
2021-12-26T11:27:22.9723891+01:00 failed to invoke ui callback
C:\Steam\steamapps\workshop\content\585420\2434420628\main.lua:(1818,20-59): Unexpected token : '3411865234375'
2021-12-26T11:27:39.0518119+01:00 failed to invoke ui callback
do you have a solution ?
It looks like the mod can see your track files but then fails to load them. It is not clear why but it could be a folder permissions issue, or maybe something has corrupted the track files.
You could try going to the data_dynamic folder where all your tracks are stored and move them all out into a new folder somewhere else as a backup. Then copy just one track file back into the data_dynamic folder and see if that one will load in the game.
The track files themselves can be opened in a text editor if you want to check them out.
Let me know how it goes.
I've been looking into this further and I think this issue could be to do with the region your system is set to. This can affect the symbol used for the decimal point. I was able to replicate your error by changing a decimal point in one of my saved tracks from a full-stop (.) to a comma (,).
If your computer is set to a non-English region then it may be using the comma instead of a full-stop for decimal points in numbers and currency.
You can check this in the "Region" control panel in Windows. Just type intl.cpl in the Windows 10 search box, press Enter and then click "Additional Settings". Here you can see what the decimal symbol is set to. If it is set to a comma then that is the problem.
You could also check this by opening up one of your saved tracks in a text editor (if you don't know where they are saved, follow the instructions in this mod's description to find your files). Check the numbers in the file to see if they have commas for the decimal point symbol. If they do then that is the problem.
If you use that control panel to change the decimal symbol to a full-stop in your system it will mean your new tracks will save and re-open but I don't know what other problems that may cause in your system.
To fix your existing tracks the decimal symbol would need to be changed to the full-stop in almost every number in each file. A carefully constructed Regular Expression Search & Replace operation might be able to do that but it's a tricky problem.
I'm not yet sure how to overcome this issue in mods as the Trailmakers modding API is very limited so we have no way to check a player's region. I'll look further into it in case other modders have found a way to solve it.
I have examined your explanation, and indeed I am not in English windows, but in French version, so I am in decimal symbol "," instead of ". "
I went to see a file of my track, and I have the wrong encoding for the coordinates like this for example :
{
"gates":{
"0":{
"positionX":-97,3411865234375,
"positionY":203,0076904296875,
"positionZ":-261,31985473632813,
"rot":348,54891967773438
},
so I tested creating a very small track of a few meters, then save, open this file and edit manually the "," to replace them by the ".
result after that : I manage to load it well :) but it is very tedious
I then tried to modify as you described in your explanation the decimal symbol of my region in windows from "," to ".
but after that the game Trailermakers makes me an error of recognition at the starting (in my opinion as if I did not have a key of the game for my region), and I can only solve that if I put back this decimal symbol on "," then my game launches without problem.
I also tested once launched the game to change this symbol "," to the "." it does not change anything for the creation of tracks, because at the time of saving the file will be made of ","
hoping that it will be possible to remedy this problem of region.
Greetings.
thank you.
v0.3.4 Hotfixes
- possible fix for non-english region based bug causing failed loading of track files that have a comma as the decimal separator. These tracks should load now without needing to be hand edited first.
I put myself back in the original "regional setting" (on Belgium for me) and I tried with your update 0.3.4.
everything is working perfectly now :), saving and loading the track is ok.
thanks for your attention, I'm satisfied to have helped to fix this problem.
goodbye.