{"action":"created","issue":{"url":"https://api.github.com/repos/tomjn/Shard/issues/123","repository_url":"https://api.github.com/repos/tomjn/Shard","labels_url":"https://api.github.com/repos/tomjn/Shard/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/tomjn/Shard/issues/123/comments","events_url":"https://api.github.com/repos/tomjn/Shard/issues/123/events","html_url":"https://github.com/tomjn/Shard/issues/123","id":226895533,"number":123,"title":"my personal unstable dev status","user":{"login":"pandaro","id":3462182,"avatar_url":"https://avatars1.githubusercontent.com/u/3462182?v=3","gravatar_id":"","url":"https://api.github.com/users/pandaro","html_url":"https://github.com/pandaro","followers_url":"https://api.github.com/users/pandaro/followers","following_url":"https://api.github.com/users/pandaro/following{/other_user}","gists_url":"https://api.github.com/users/pandaro/gists{/gist_id}","starred_url":"https://api.github.com/users/pandaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandaro/subscriptions","organizations_url":"https://api.github.com/users/pandaro/orgs","repos_url":"https://api.github.com/users/pandaro/repos","events_url":"https://api.github.com/users/pandaro/events{/privacy}","received_events_url":"https://api.github.com/users/pandaro/received_events","type":"User","site_admin":false},"labels":[{"id":602343500,"url":"https://api.github.com/repos/tomjn/Shard/labels/support","name":"support","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-05-07T21:20:55Z","updated_at":"2017-05-11T09:59:44Z","closed_at":null,"body":"At moment I'm a bit lost, \r\nMy situation is this:\r\ni have installed springlobby 2 years ago;\r\nthen installed engine 103.0 via springlobby\r\nnow the source code of shard is behind the dev version.\r\nSo in order to test myself PR and your upgrading at the code to see what is change and understand the situation, i try to put the last `data/ai` folder inside my engine installation.\r\nThe predictable result was a complete fail:\r\nwhen i try to launch a game i receive the fallow error:\r\n```\r\nLoading Skirmish AIs\r\n[f=-000001] <SkirmishAI: Shard dev (team 0)>: ....spring/engine/103.0/AI/Skirmish/Shard/dev/ai/ai.lua:1: attempt to call global 'class' (a nil value)\r\nstack traceback:\r\n        [C]: ?\r\n        [C]: in function 'class'\r\n        ....spring/engine/103.0/AI/Skirmish/Shard/dev/ai/ai.lua:1: in main chunk\r\n[f=-000001] SkirmishAI (ID = 0, team ID = 0) is using cheats!\r\n[f=-000001] ResourceMapAnalyzer by Krogothe, initialized for resource 0(Metal)\r\nPANIC: unprotected error in call to Lua API (attempt to index a nil value)\r\nAL lib: (EE) alc_cleanup: 1 device not closed\r\npure virtual method called\r\nterminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'\r\n  what():  boost: mutex lock failed in pthread_mutex_lock: \r\nSegmentation fault (core dumped)\r\n```\r\n\r\nthis is happened with shard dev version, with shardLua bundled with BA work as well.\r\n \r\n\r\nWhat do you suggest to do?\r\nMy goal is try myself PR in order to improve it"},"comment":{"url":"https://api.github.com/repos/tomjn/Shard/issues/comments/300743120","html_url":"https://github.com/tomjn/Shard/issues/123#issuecomment-300743120","issue_url":"https://api.github.com/repos/tomjn/Shard/issues/123","id":300743120,"user":{"login":"pandaro","id":3462182,"avatar_url":"https://avatars1.githubusercontent.com/u/3462182?v=3","gravatar_id":"","url":"https://api.github.com/users/pandaro","html_url":"https://github.com/pandaro","followers_url":"https://api.github.com/users/pandaro/followers","following_url":"https://api.github.com/users/pandaro/following{/other_user}","gists_url":"https://api.github.com/users/pandaro/gists{/gist_id}","starred_url":"https://api.github.com/users/pandaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandaro/subscriptions","organizations_url":"https://api.github.com/users/pandaro/orgs","repos_url":"https://api.github.com/users/pandaro/repos","events_url":"https://api.github.com/users/pandaro/events{/privacy}","received_events_url":"https://api.github.com/users/pandaro/received_events","type":"User","site_admin":false},"created_at":"2017-05-11T09:59:44Z","updated_at":"2017-05-11T09:59:44Z","body":"anyway this is the code i have made that cause the loop but resolve the `require` problem:\r\n`BAR5868.sdd/luarules/gadgets/ai/`\r\n`if ShardSpringLua then\r\n\tVFS.Include(\"luarules/gadgets/ai/preload/spring_lua/boot.lua\")\r\nelseif game_engine then\r\n\trequire \"spring_cpp/boot\"\r\nelse\r\n\trequire \"preload/shard_null/boot\"\r\nend\r\nVFS.Include( \"luarules/gadgets/ai/ai.lua\" )\r\n-- create and use an AI\r\nif ShardSpringLua then\r\n\treturn ShardAI()\r\nelse\r\n\tai = ShardAI()\r\nend\r\n`"}}
{"actor":{"display_login":"pandaro"}}