{"action":"opened","issue":{"url":"https://api.github.com/repos/RigsOfRods/rigs-of-rods/issues/457","labels_url":"https://api.github.com/repos/RigsOfRods/rigs-of-rods/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/RigsOfRods/rigs-of-rods/issues/457/comments","events_url":"https://api.github.com/repos/RigsOfRods/rigs-of-rods/issues/457/events","html_url":"https://github.com/RigsOfRods/rigs-of-rods/issues/457","id":118155754,"number":457,"title":"Invalid terrn2 file shuts RoR down on cache regen.","user":{"login":"only-a-ptr","id":491088,"avatar_url":"https://avatars.githubusercontent.com/u/491088?v=3","gravatar_id":"","url":"https://api.github.com/users/only-a-ptr","html_url":"https://github.com/only-a-ptr","followers_url":"https://api.github.com/users/only-a-ptr/followers","following_url":"https://api.github.com/users/only-a-ptr/following{/other_user}","gists_url":"https://api.github.com/users/only-a-ptr/gists{/gist_id}","starred_url":"https://api.github.com/users/only-a-ptr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/only-a-ptr/subscriptions","organizations_url":"https://api.github.com/users/only-a-ptr/orgs","repos_url":"https://api.github.com/users/only-a-ptr/repos","events_url":"https://api.github.com/users/only-a-ptr/events{/privacy}","received_events_url":"https://api.github.com/users/only-a-ptr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RigsOfRods/rigs-of-rods/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/RigsOfRods/rigs-of-rods/labels/crash","name":"crash","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-21T00:33:33Z","updated_at":"2015-11-21T00:33:33Z","closed_at":null,"body":"If you add a .terrn2 file without valid *GeometryConfig = YourMap.otc* declaration, RoR will display error message and exit.\r\n\r\nThis is not an optimal solution. The message is obviously intended to show during map loading, which is also not optimal (it should return user to menu rather than shutting down RoR) but tolerable.\r\n\r\nDecent solution: Skip map with invalid terrn2 files and report the action to RoR.log\r\n\r\nIdeal solution: Implement a \"mod cache report\" feature, much like the \"Spawner report\" feature. Draft: when any change to cache content is made, a notification box will appear somewhere in main menu screen, perhaps top right corner, informing that cache has been updated and eventually how many errors/warnings were yielded. The box will contain a button opening a report window showing all messages.\r\n>> I'll open a new \"enhancement\" issue for this."}}