{"action":"created","issue":{"url":"https://api.github.com/repos/Courseplay/courseplay/issues/1413","repository_url":"https://api.github.com/repos/Courseplay/courseplay","labels_url":"https://api.github.com/repos/Courseplay/courseplay/issues/1413/labels{/name}","comments_url":"https://api.github.com/repos/Courseplay/courseplay/issues/1413/comments","events_url":"https://api.github.com/repos/Courseplay/courseplay/issues/1413/events","html_url":"https://github.com/Courseplay/courseplay/issues/1413","id":192997996,"number":1413,"title":"Error: Running LUA method 'update'","user":{"login":"Nicksil","id":1314502,"avatar_url":"https://avatars.githubusercontent.com/u/1314502?v=3","gravatar_id":"","url":"https://api.github.com/users/Nicksil","html_url":"https://github.com/Nicksil","followers_url":"https://api.github.com/users/Nicksil/followers","following_url":"https://api.github.com/users/Nicksil/following{/other_user}","gists_url":"https://api.github.com/users/Nicksil/gists{/gist_id}","starred_url":"https://api.github.com/users/Nicksil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nicksil/subscriptions","organizations_url":"https://api.github.com/users/Nicksil/orgs","repos_url":"https://api.github.com/users/Nicksil/repos","events_url":"https://api.github.com/users/Nicksil/events{/privacy}","received_events_url":"https://api.github.com/users/Nicksil/received_events","type":"User","site_admin":false},"labels":[{"id":60673231,"url":"https://api.github.com/repos/Courseplay/courseplay/labels/waitingForUserAnswer","name":"waitingForUserAnswer","color":"207de5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-02T00:04:28Z","updated_at":"2016-12-07T04:47:34Z","closed_at":"2016-12-07T04:47:34Z","body":"CoursePlay version: **5.00.00011** (latest at time of writing)\r\nGame Difficulty: **Normal**\r\nOther mods: **None**\r\n\r\nError:\r\n\r\n```\r\nError: Running LUA method 'update'.\r\ndataS/scripts/utils/Utils.lua(124) : attempt to perform arithmetic on local 'x' (a nil value)\r\nWarning (Script): Unknown entity id 69959 in method 'worldToLocal'.\r\nLUA call stack:\r\n  =C:/Users/[username]/Documents/My Games/FarmingSimulator2017/mods/ZZZ_courseplay/distance.lua (31) : worldToLocal\r\n  =C:/Users/[username]/Documents/My Games/FarmingSimulator2017/mods/ZZZ_courseplay/mode2.lua (131) : distanceToObject\r\n  =C:/Users/[username]/Documents/My Games/FarmingSimulator2017/mods/ZZZ_courseplay/drive.lua (299) : handle_mode2\r\n  =C:/Users/[username]/Documents/My Games/FarmingSimulator2017/mods/ZZZ_courseplay/base.lua (792) : drive\r\n  dataS/scripts/vehicles/Vehicle.lua (2579) : update\r\n  dataS/scripts/network/Server.lua (56) : update\r\n  dataS/scripts/BaseMission.lua (1509) : update\r\n  dataS/scripts/FSBaseMission.lua (2159) : update\r\n  dataS/scripts/missions/mission00.lua (333) : update\r\n  dataS/scripts/main.lua (1862) : update\r\n```\r\n\r\nI was actually just standing in the middle of a field when it began, so I can't say for-sure what caused this. I had 3 CP workers running:\r\n\r\n- Seeding/Fert w/stock starting machine\r\n- Cultivating w/stock starting machine\r\n\r\nThe third worker may be the culprit as it was the one doing something \"different\" at the time the error began. This one was on a run to dump wheat. It was in **combi mode** and I had just dispatched it while in a combine (using **send driver home** command)\r\n\r\nI had just parked the combine and was checking finances, I **clicked save game** and it was at around this time the error began. It brought the FPS to just about a standstill; I checked the log and exited the application.\r\n\r\nIf there's more info/details you need, don't hesitate to ask.\r\n\r\nAnd **thanks** again for all the work put into this excellent mod -- I've been a fan for years!"},"comment":{"url":"https://api.github.com/repos/Courseplay/courseplay/issues/comments/265355035","html_url":"https://github.com/Courseplay/courseplay/issues/1413#issuecomment-265355035","issue_url":"https://api.github.com/repos/Courseplay/courseplay/issues/1413","id":265355035,"user":{"login":"Nicksil","id":1314502,"avatar_url":"https://avatars.githubusercontent.com/u/1314502?v=3","gravatar_id":"","url":"https://api.github.com/users/Nicksil","html_url":"https://github.com/Nicksil","followers_url":"https://api.github.com/users/Nicksil/followers","following_url":"https://api.github.com/users/Nicksil/following{/other_user}","gists_url":"https://api.github.com/users/Nicksil/gists{/gist_id}","starred_url":"https://api.github.com/users/Nicksil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nicksil/subscriptions","organizations_url":"https://api.github.com/users/Nicksil/orgs","repos_url":"https://api.github.com/users/Nicksil/repos","events_url":"https://api.github.com/users/Nicksil/events{/privacy}","received_events_url":"https://api.github.com/users/Nicksil/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T04:47:34Z","updated_at":"2016-12-07T04:47:34Z","body":"I've been keeping up with the updates and have yet to run in to the same issue. It was kind of obscure to begin with, anyway.\r\n\r\nGreat work, and thanks again!"}}
{"actor":{"display_login":"Nicksil"}}