{"action":"created","issue":{"url":"https://api.github.com/repos/Rinnegatamante/lpp-3ds/issues/40","repository_url":"https://api.github.com/repos/Rinnegatamante/lpp-3ds","labels_url":"https://api.github.com/repos/Rinnegatamante/lpp-3ds/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/Rinnegatamante/lpp-3ds/issues/40/comments","events_url":"https://api.github.com/repos/Rinnegatamante/lpp-3ds/issues/40/events","html_url":"https://github.com/Rinnegatamante/lpp-3ds/issues/40","id":172320869,"number":40,"title":"Network functions broken on .3dsx builds","user":{"login":"Wolvan","id":1437010,"avatar_url":"https://avatars.githubusercontent.com/u/1437010?v=3","gravatar_id":"","url":"https://api.github.com/users/Wolvan","html_url":"https://github.com/Wolvan","followers_url":"https://api.github.com/users/Wolvan/followers","following_url":"https://api.github.com/users/Wolvan/following{/other_user}","gists_url":"https://api.github.com/users/Wolvan/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolvan/subscriptions","organizations_url":"https://api.github.com/users/Wolvan/orgs","repos_url":"https://api.github.com/users/Wolvan/repos","events_url":"https://api.github.com/users/Wolvan/events{/privacy}","received_events_url":"https://api.github.com/users/Wolvan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-21T13:23:24Z","updated_at":"2016-08-22T02:12:08Z","closed_at":null,"body":"Attempting to use Network functions with the .3dsx build fails. It works on .cia and .3ds builds though.\r\nA simple test I put together:\r\n```\r\nlocal WHITE = Color.new(255,255,255)\r\nlocal pad = Controls.read()\r\nlocal oldpad = pad\r\nScreen.refresh()\r\nScreen.clear(TOP_SCREEN)\r\nScreen.clear(BOTTOM_SCREEN)\r\nScreen.waitVblankStart()\r\nScreen.flip()\r\nScreen.debugPrint(5, 5, \"Network: \"..tostring(Network.isWifiEnabled()), WHITE, TOP_SCREEN)\r\nwhile true do\r\n\tpad = Controls.read()\r\n\tif Controls.check(pad, KEY_A) and not Controls.check(oldpad, KEY_A) then\r\n\t\tSystem.exit()\r\n\tend\r\n\toldpad = pad\r\nend\r\n```\r\nThis code is run in both .cia and .3dsx builds. The following results are achieved\r\n\r\n| Build | Wifi ON | Wifi OFF |\r\n| --- | --- | --- |\r\n| .cia/.3ds | `Network: true` | `Network: false` |\r\n| .3dsx | `Network: true` | `Network: true` |\r\n\r\n`Network.downloadFile` and `Network.requestString` seem to be having similar problems.\r\nFurthermore, I observed that Homebrew Launcher or Gridlauncher both show the Network as disabled after exiting the application.\r\n\r\nI am using the lpp-3ds build 26b96a2"},"comment":{"url":"https://api.github.com/repos/Rinnegatamante/lpp-3ds/issues/comments/241300572","html_url":"https://github.com/Rinnegatamante/lpp-3ds/issues/40#issuecomment-241300572","issue_url":"https://api.github.com/repos/Rinnegatamante/lpp-3ds/issues/40","id":241300572,"user":{"login":"Wolvan","id":1437010,"avatar_url":"https://avatars.githubusercontent.com/u/1437010?v=3","gravatar_id":"","url":"https://api.github.com/users/Wolvan","html_url":"https://github.com/Wolvan","followers_url":"https://api.github.com/users/Wolvan/followers","following_url":"https://api.github.com/users/Wolvan/following{/other_user}","gists_url":"https://api.github.com/users/Wolvan/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolvan/subscriptions","organizations_url":"https://api.github.com/users/Wolvan/orgs","repos_url":"https://api.github.com/users/Wolvan/repos","events_url":"https://api.github.com/users/Wolvan/events{/privacy}","received_events_url":"https://api.github.com/users/Wolvan/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T02:12:08Z","updated_at":"2016-08-22T02:12:08Z","body":"OK, Network.isWifiEnabled returns the right version with the XML, but downloadFile and requestString still do not seem to work.\r\n\r\nI used the examples in the example folder of this repo. downloadFile does not seem to download the file and requestString returns the URL that you pass it. I tried using requestString(\"HelloWorld\") and got `Hello World` back. I also tried `http://www.msftncsi.com/ncsi.txt` as url, but again, I got that as a result"}}
{"actor":{"display_login":"Wolvan"}}