{"action":"created","issue":{"url":"https://api.github.com/repos/Frizz925/gbf-autopilot-core/issues/18","repository_url":"https://api.github.com/repos/Frizz925/gbf-autopilot-core","labels_url":"https://api.github.com/repos/Frizz925/gbf-autopilot-core/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Frizz925/gbf-autopilot-core/issues/18/comments","events_url":"https://api.github.com/repos/Frizz925/gbf-autopilot-core/issues/18/events","html_url":"https://github.com/Frizz925/gbf-autopilot-core/issues/18","id":303097637,"number":18,"title":"lua script problem(can' use skill or attack)","user":{"login":"cccwzi","id":30344685,"avatar_url":"https://avatars2.githubusercontent.com/u/30344685?v=4","gravatar_id":"","url":"https://api.github.com/users/cccwzi","html_url":"https://github.com/cccwzi","followers_url":"https://api.github.com/users/cccwzi/followers","following_url":"https://api.github.com/users/cccwzi/following{/other_user}","gists_url":"https://api.github.com/users/cccwzi/gists{/gist_id}","starred_url":"https://api.github.com/users/cccwzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cccwzi/subscriptions","organizations_url":"https://api.github.com/users/cccwzi/orgs","repos_url":"https://api.github.com/users/cccwzi/repos","events_url":"https://api.github.com/users/cccwzi/events{/privacy}","received_events_url":"https://api.github.com/users/cccwzi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-07T13:27:05Z","updated_at":"2018-03-08T04:08:29Z","closed_at":null,"author_association":"NONE","body":"### Summary\r\nSorry about here's an error occurred.\r\n\r\nThe event mode can't run properly.It will stop in the battle and do nothing until the error occurred.\r\n\r\nThank you for your helping indeed.\r\n### Branch\r\nmaster\r\n\r\n### Commit hash\r\nc4e600a7bdce061883979bffc6f400b2a067fe2f\r\n\r\n### Expected results\r\nUse skills and attack \r\n\r\n### Actual results\r\nDo nothing and get error\r\n\r\n## More Info\r\n### System information\r\nOS: Windows 10 Pro 64-bit\r\nScreen resolution: 2560x1440 @ 1.0x\r\nChrome version: 64.0.3282.186 (Official Build) (64-bit)\r\nNode.js version: v8.9.4\r\nPython version: 3.5.2\r\n\r\n### Configuration\r\n```\r\n[Server]\r\nListenerPort=49544\r\nProcessTimeoutInMs=60000\r\nWorkerTimeoutInMs=500\r\nWaitAjaxTimeoutInMs=5000\r\nJsonRpcEndpoint=/jsonrpc\r\n\r\n\r\n[Controller]\r\nListenerPort=49545\r\nMouseTween=easeInOutCubic\r\n\r\n[Debug]\r\nLogLevel=debug\r\nLogToFile=false\r\nLogToOutput=true\r\nLogToFileDirectory=log\r\nLogSocket=false\r\nThrowErrors=false\r\nTrialBattleMode=false\r\n\r\n[General]\r\nLanguage=en\r\nMaxNumActionRetries=3\r\nMinWaitTimeInMsAfterRefresh=2000\r\nTimeLimitInSeconds=3600\r\nUseViramate=true\r\nMaxNumPotionsToUse=999\r\nUseFullElixirsWhenNoRemainingHalfAPPotions=false\r\nUseFullElixirsFirst=false\r\nTreasure=\r\nTreasureTarget=\r\n\r\n[Inputs]\r\nDelayInMsBetweenMouseDownAndUp=40\r\nRandomDelayInMsBetweenMouseDownAndUp=20\r\nMouseSpeed=580\r\nMouseSpeedBase=150\r\nMouseScrollSpeed=250\r\nExitKeyCode=112\r\nWaitTimeInMsBeforeClickInput=50\r\n\r\n[PartySelection]\r\nPreferredPartyGroup=3\r\nPreferredPartyDeck=2\r\nPreferredPartySet=A\r\nPreferredNightmareModePartyGroup=2\r\nPreferredNightmareModePartyDeck=1\r\nPreferredNightmareModePartySet=A\r\n\r\n[Summons]\r\nOnlyRerollSummonsEnabled=false\r\nPreferredSummons=Kaguya\r\nDefaultSummonAttributeTab=Misc\r\nRerollSummonWhenNoPreferredSummonWasFound=false\r\n\r\n[Combat]\r\nMinWaitTimeInMsAfterAttack=500\r\nMinWaitTimeInMsAfterSummon=3000\r\nMinWaitTimeInMsAfterAbility=2200\r\nLuaScript=scripts/at.lua\r\n\r\n[PokerMode]\r\nEnabled=false\r\nChipAmount=1000\r\nWinningRoundCap=5\r\nWinningChipsCap=16000\r\nWinningRateBase=0.75\r\nWinningRateModifier=0.08\r\n\r\n[EventMode]\r\nEnabled=true\r\nEventRaidUrl=\"http://game.granbluefantasy.jp/#quest/supporter/510031/5\"\r\nEventRaidScript=scripts/at.lua\r\nNightmareModeUrl=\"http://game.granbluefantasy.jp/#quest/supporter/510031/5\"\r\nNightmareModeScript=scripts/at.lua\r\nEventPageUrl=\"http://game.granbluefantasy.jp/#quest/extra\"\r\nNightmareModePreferredSummons=\r\nNightmareModeSummonAttributeTab=\r\nRerollSummonWhenNoPreferredSummonWasFoundForNightmareMode=false\r\nNightmareModeAvailableAtStart=false\r\nWaitTimeInMsAfterEventPageIsLoaded=1000\r\n\r\n[EventTreasureMode]\r\nEnabled=false\r\nEventTreasureUrl=\r\nEventTreasureSoloUrl=\r\nEventTreasureSoloModeScript=\r\nEventTreasureRaidUrl=\r\nEventTreasureRaidModeScript=\r\nEventTreasureRaidItemRequiredCount=\r\nNightmareModeUrl=\r\nNightmareModeScript=\r\nNightmareModePreferredSummons=\r\nNightmareModeSummonAttributeTab=\r\nRerollSummonWhenNoPreferredSummonWasFoundForNightmareMode=true\r\nNightmareModeAvailableAtStart=false\r\n\r\n[RiseOfTheBeastsMode]\r\nEnabled=false\r\nRiseOfTheBeastsUrl=\r\nRiseOfTheBeastsLuaScript=\r\n\r\n[CoopSoloMode]\r\nEnabled=false\r\nLuaScript=\r\n\r\n[CoopGuestMode]\r\nEnabled=false\r\nLuaScript=\r\n\r\n[CustomizedScheduling]\r\nEnabled=false\r\nSchedulingLuaScript=\r\n\r\n[DimensionalHalo]\r\nRetreatWhenNoDimensionalHaloTransformation=true\r\n```\r\n### Extension.js\r\n```\r\nmodule.exports = [\"gbf-autopilot-core\"];\r\nmodule.exports = [\"gbf-autopilot-poker\"];\r\n```\r\n### Lua Script\r\n```\r\ncharacter_4:UseSkill(2)\r\nAttack()\r\n```\r\n### log\r\n```\r\n> gbf-autopilot@0.0.1 start D:\\WEB\\gbf\\gbf-autopilot\r\n> cross-env NODE_ENV=production concurrently \"node index.js\" \"python server.py\"\r\n\r\n[1]  * Running on http://localhost:49545/ (Press CTRL+C to quit)\r\n[0] 2018-03-07T12:58:40.548Z - debug: Started listening on localhost:49544\r\n[0] 2018-03-07T12:58:40.722Z - debug: Client 'TJQUGL_Dg6psBelWAAAA' connected!\r\n[0] 2018-03-07T12:58:41.695Z - debug: Socket 'TJQUGL_Dg6psBelWAAAA' started\r\n[1] 127.0.0.1 - - [07/Mar/2018 20:58:41] \"POST / HTTP/1.1\" 200 -\r\n[0] 2018-03-07T12:58:41.710Z - info: Autopilot started.\r\n[0] 2018-03-07T12:58:41.712Z - info: Using 'Event' mode.\r\n[0] 2018-03-07T12:58:41.722Z - debug: Location change: http://game.granbluefantasy.jp/#quest/extra\r\n[0] 2018-03-07T12:58:42.736Z - debug: Waiting element: .atx-lead-link\r\n[0] 2018-03-07T12:58:42.748Z - debug: Checking element: .ico-difficulty-5,.ico-difficulty-8\r\n[0] 2018-03-07T12:58:42.941Z - info: Using quest page: http://game.granbluefantasy.jp/#quest/supporter/510031/5\r\n[0] 2018-03-07T12:58:42.956Z - debug: Ajax: GET /quest/user_action_point\r\n[0] 2018-03-07T12:58:43.223Z - debug: Ajax: GET /quest/quest_data/510031/5\r\n[0] 2018-03-07T12:58:43.555Z - debug: Ajax: POST /quest/set_return_point\r\n[0] 2018-03-07T12:58:43.669Z - debug: Location change: http://game.granbluefantasy.jp/#quest/supporter/510031/5\r\n[0] 2018-03-07T12:58:44.695Z - debug: Waiting element: .atx-lead-link\r\n[0] 2018-03-07T12:58:44.703Z - debug: Checking element: .icon-supporter-type-7.unselected\r\n[0] 2018-03-07T12:58:44.707Z - debug: Timeout: 50\r\n[0] 2018-03-07T12:58:44.758Z - debug: Preferred summons: 0=Kaguya\r\n[0] 2018-03-07T12:58:44.923Z - info: Selected summon: Kaguya\r\n[0] 2018-03-07T12:58:44.924Z - debug: Timeout: 50\r\n[0] 2018-03-07T12:58:44.976Z - debug: Waiting element: .pop-deck.supporter,.pop-deck.supporter_raid\r\n[1] 127.0.0.1 - - [07/Mar/2018 20:58:45] \"POST / HTTP/1.1\" 200 -\r\n[0] 2018-03-07T12:58:45.470Z - debug: Timeout: 4000\r\n[0] 2018-03-07T12:58:46.050Z - debug: Timeout: 500\r\n[0] 2018-03-07T12:58:46.550Z - debug: Using party set: A\r\n[0] 2018-03-07T12:58:46.553Z - debug: Clicking with condition: .btn-deck-group\r\n[0] 2018-03-07T12:58:46.555Z - debug: Checking element: .btn-deck-group.type-groupA\r\n[0] 2018-03-07T12:58:46.566Z - debug: Using party group: 3\r\n[0] 2018-03-07T12:58:46.567Z - debug: Clicking with condition: .btn-select-group.id-3\r\n[0] 2018-03-07T12:58:46.568Z - debug: Checking element: .btn-select-group.id-3.selected\r\n[0] 2018-03-07T12:58:46.579Z - debug: Timeout: 500\r\n[0] 2018-03-07T12:58:47.081Z - debug: Using party deck: 2\r\n[0] 2018-03-07T12:58:47.082Z - debug: Clicking with condition: .prt-deck-slider li:nth-child(2) > a\r\n[0] 2018-03-07T12:58:47.082Z - debug: Checking element: .prt-deck-slider li:nth-child(2) > a.flex-active\r\n[0] 2018-03-07T12:58:47.094Z - debug: Starting battle...\r\n[0] 2018-03-07T12:58:47.094Z - debug: Clicking with condition: .btn-usual-ok\r\n[0] 2018-03-07T12:58:47.098Z - debug: Clicking element: .btn-usual-ok\r\n[1] 127.0.0.1 - - [07/Mar/2018 20:58:47] \"POST / HTTP/1.1\" 200 -\r\n[0] 2018-03-07T12:58:47.592Z - debug: Timeout: 750\r\n[0] 2018-03-07T12:58:48.344Z - debug: Clicking element: .btn-usual-ok\r\n[1] 127.0.0.1 - - [07/Mar/2018 20:58:48] \"POST / HTTP/1.1\" 200 -\r\n[0] 2018-03-07T12:58:48.832Z - debug: Timeout: 750\r\n[0] 2018-03-07T12:58:49.582Z - debug: Clicking element: .btn-usual-ok\r\n[1] 127.0.0.1 - - [07/Mar/2018 20:58:50] \"POST / HTTP/1.1\" 200 -\r\n[0] 2018-03-07T12:58:50.132Z - debug: Timeout: 750\r\n[0] 2018-03-07T12:58:50.883Z - debug: Clicking element: .btn-usual-ok\r\n[1] 127.0.0.1 - - [07/Mar/2018 20:58:51] \"POST / HTTP/1.1\" 200 -\r\n[0] 2018-03-07T12:58:51.379Z - debug: Timeout: 750\r\n[0] 2018-03-07T12:58:51.984Z - debug: Waiting element: .btn-attack-start.display-on,.btn-result,.cnt-result\r\n[0] 2018-03-07T12:58:58.231Z - debug: Viramate: type=getCombatState\r\n[0] 2018-03-07T12:59:58.235Z - info: AP potion used: 0\r\n[0] 2018-03-07T12:59:58.236Z - error:  Error: Action viramate({\"type\":\"getCombatState\"}) timed out after 60000ms!\r\n[0]     at Timeout._onTimeout (D:\\WEB\\gbf\\gbf-autopilot\\server\\dist\\server.js:403:43)\r\n[0]     at ontimeout (timers.js:475:11)\r\n[0]     at tryOnTimeout (timers.js:310:5)\r\n[0]     at Timer.listOnTimeout (timers.js:270:5)\r\n[0] 2018-03-07T12:59:58.237Z - debug: Stopping socket 'TJQUGL_Dg6psBelWAAAA'\r\n[0] 2018-03-07T12:59:58.235Z - info: BP berry used: 0\r\n[1] 127.0.0.1 - - [07/Mar/2018 20:59:58] \"POST / HTTP/1.1\" 200 -\r\n[0] 2018-03-07T12:59:58.252Z - info: Autopilot stopped.\r\n```"},"comment":{"url":"https://api.github.com/repos/Frizz925/gbf-autopilot-core/issues/comments/371372573","html_url":"https://github.com/Frizz925/gbf-autopilot-core/issues/18#issuecomment-371372573","issue_url":"https://api.github.com/repos/Frizz925/gbf-autopilot-core/issues/18","id":371372573,"user":{"login":"Frizz925","id":3439473,"avatar_url":"https://avatars1.githubusercontent.com/u/3439473?v=4","gravatar_id":"","url":"https://api.github.com/users/Frizz925","html_url":"https://github.com/Frizz925","followers_url":"https://api.github.com/users/Frizz925/followers","following_url":"https://api.github.com/users/Frizz925/following{/other_user}","gists_url":"https://api.github.com/users/Frizz925/gists{/gist_id}","starred_url":"https://api.github.com/users/Frizz925/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frizz925/subscriptions","organizations_url":"https://api.github.com/users/Frizz925/orgs","repos_url":"https://api.github.com/users/Frizz925/repos","events_url":"https://api.github.com/users/Frizz925/events{/privacy}","received_events_url":"https://api.github.com/users/Frizz925/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T04:08:29Z","updated_at":"2018-03-08T04:08:29Z","author_association":"OWNER","body":"Have you properly installed Viramate and enable its web API?"}}
{"actor":{"display_login":"Frizz925"}}