Closed axsddlr closed 7 years ago
Is your bot editor of channel?
Yes. I read through the faq
On Apr 26, 2017 3:14 AM, "sogehige" notifications@github.com wrote:
Is your bot editor of channel?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sogehige/SogeBot/issues/204#issuecomment-297261078, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3SM7rAUadp5d4PJI4rLOWix8jwoX69ks5rzu7DgaJpZM4NIW_x .
Is there anything in a log? does !title, !game command work?
Those commands work fine.. just changing them via panel does not
On Apr 26, 2017 5:23 AM, "sogehige" notifications@github.com wrote:
Is there anything in a log? does !title, !game command work?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sogehige/SogeBot/issues/204#issuecomment-297315207, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3SM9jsiQakEruCvY9AQT8YDBzjB2W0ks5rzw0ugaJpZM4NIW_x .
That is strange, basically what webpanel does is that it uses !title and !game commands. So, I cannot reproduce it, thats not good :) If you click save changes, what happens? Dialog window should be closed and after a while (generally 1-2s) title and game should be changed.
Also, if dialog is opened again. Game and Title should be saved here
Applying different game and title and pressing save changes does not result in it applying. Tried both source and latest release source code with same result.
On Apr 26, 2017 5:49 AM, "sogehige" notifications@github.com wrote:
That is strange, basically what webpanel does is that it uses !title and !game commands. So, I cannot reproduce it, thats not good :) If you click save changes, what happens? Dialog window should be closed and after a while (generally 1-2s) title and game should be changed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sogehige/SogeBot/issues/204#issuecomment-297325194, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3SMxx6xWOpTPkCXDbiP2suqHDR9VMUks5rzxNAgaJpZM4NIW_x .
May I ask what game and title are you changing to?
Game: overwatch title: test
On Apr 26, 2017 8:07 AM, "sogehige" notifications@github.com wrote:
May I ask what game and title are you changing to?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sogehige/SogeBot/issues/204#issuecomment-297383317, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3SMxZsvQ_Bj1ZjkEPtxN9oPGoU0Kg5ks5rzzOegaJpZM4NIW_x .
That is strange, damn cant figure that out :)
So, if you are selecting game, is its input box green? Is Change title for Overwatch underneath?
Yes. But doesn't apply
On Apr 26, 2017 8:49 AM, "sogehige" notifications@github.com wrote:
That is strange, damn cant figure that out :)
So, if you are selecting game, is its input box green? Is Change title for Overwatch underneath?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sogehige/SogeBot/issues/204#issuecomment-297396717, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3SM5igL2yT3WHrly5jXvjsajImu8nZks5rzz13gaJpZM4NIW_x .
What browser are you using?
Chrome.
On Apr 26, 2017 6:44 PM, "sogehige" notifications@github.com wrote:
What browser are you using?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sogehige/SogeBot/issues/204#issuecomment-297562614, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3SM3ZO7njOUCdg2c5wlK4iDHa8i-Ltks5rz8jkgaJpZM4NIW_x .
Can you please try latest master? If you look in developers console, set to verbose, you should see EMIT messages. If you click on save changes, there should be something like
EMIT [updateGameAndTitle] Object {game: "Overwatch", title: "Test"}
Alright
On Apr 27, 2017 5:26 AM, "sogehige" notifications@github.com wrote:
Can you please try latest master? If you look in developers console, set to verbose, you should see EMIT messages. If you click on save changes, there should be something like
EMIT [updateGameAndTitle] Object {game: "Overwatch", title: "Test"}
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sogehige/SogeBot/issues/204#issuecomment-297662458, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3SM7RAYEbIsULUvLeM6OHwwryZ9uNfks5r0F9VgaJpZM4NIW_x .
how do I access dev console
Right click anywhere on page -> inspect, new frame will open. there is console tab and on right side of Filter input there is 'Info' -> change it to Verbose
showing the title is being changed and title updated but not reflecting on webpanel and twitch
Ok, so I can exclude webpanel error, thanks
yes it showing its being changed but its not applying to twitch or showing in webpanel
Ok, can you please test latest master? set in your config.ini
debug = true
And change your title and game in webpanel
In console you should see something like:
2017-04-27T14:33:35.209Z DEBUG: Updating game and title
2017-04-27T14:33:35.209Z DEBUG: {"url":"https://api.twitch.tv/kraken/channels/96965261","payload":{"channel":{"game":"Dota 2","status":"test"}},"headers":{"Accept":"application/vnd.twitchtv.v5+json","Authorization":"OAuth XXXX","Client-ID":"1wjn1i3792t71tl90fmyvd0zl6ri2vg"}}
2017-04-27T14:33:36.812Z DEBUG: Response updating game and title
2017-04-27T14:33:36.812Z DEBUG: {"mature":true,"status":"test","broadcaster_language":"cs","display_name":"soge__","game":"Dota 2","language":"en","name":"soge__","created_at":"2015-07-23T13:14:02Z","updated_at":"2017-04-27T14:33:35Z","_id":"96965261","logo":"https://static-cdn.jtvnw.net/jtv_user_pictures/soge__-profile_image-4e8858e230651746-300x300.png","video_banner":"https://static-cdn.jtvnw.net/jtv_user_pictures/soge__-channel_offline_image-597601dbb7c4a865-1920x1080.png","profile_banner":"https://static-cdn.jtvnw.net/jtv_user_pictures/soge__-profile_banner-e14e07c2efb6cbf2-480.png","profile_banner_background_color":"#000000","partner":false,"url":"https://www.twitch.tv/soge__","views":7415,"followers":326}
2017-04-27T14:33:36.814Z >>> @null, hra byl nastavena na: Dota 2
2017-04-27T14:33:36.814Z DEBUG: {"username":null}
2017-04-27T14:33:36.817Z >>> @null, titulek byl nastaven na: test
2017-04-27T14:33:36.817Z DEBUG: {"username":null}
Also, check if your Authorization oauth code is correct (and remove it so nobody can use it)
Also don't forget to restart bot after change to debug mode
2017-04-27T15:21:01.200Z DEBUG: Response: Get API connection status 2017-04-27T15:21:01.200Z DEBUG: {"identified":true,"token":{"valid":false,"auth$ 2017-04-27T15:21:01.350Z DEBUG: Response: Get current channel data from twitch 2017-04-27T15:21:01.350Z DEBUG: {"mature":false,"status":"NEW CPU","broadcaster$ 2017-04-27T15:21:01.660Z DEBUG: Updating game and title 2017-04-27T15:21:01.660Z DEBUG: {"url":"https://api.twitch.tv/kraken/channels/9$ 2017-04-27T15:21:01.988Z DEBUG: Response: Updating game and title ^_�^H^@]^L^B$ 2017-04-27T15:21:02.105Z >>> @null, something went wrong. Current game is still$ 2017-04-27T15:21:02.106Z DEBUG: {"username":null} 2017-04-27T15:21:02.113Z >>> @null, something went wrong. Current title is stil$ 2017-04-27T15:21:02.114Z DEBUG: {"username":null} 2017-04-27T15:21:10.548Z DEBUG: Get current channel data from twitch 2017-04-27T15:21:10.548Z DEBUG: {"url":"https://api.twitch.tv/kraken/channels/9$ 2017-04-27T15:21:10.574Z DEBUG: Get current hosts
I will need full lines for
2017-04-27T15:21:01.660Z DEBUG: {"url":"https://api.twitch.tv/kraken/channels/9$ 2017-04-27T15:21:01.988Z DEBUG: Response: Updating game and title ^_�^H^@]^L^B$
But ^_�^H^@]^L^B is bad :D
all im getting is
2017-04-27T15:47:45.216Z DEBUG: Updating game and title
2017-04-27T15:47:45.216Z DEBUG: {"url":"https://api.twitch.tv/kraken/channels/98058047","json":true,"qs":{"_method":"put","channel":{"game":"Overwatch","status":"test"$
2017-04-27T15:47:45.540Z DEBUG: Response: Updating game and title ^_�^H^@�^R^BY^@^C^L�1^N�0^H^@��^P�^N�8�^N}@cI%ZPh^]4�]o�^G�L^MG�%����M ^Cz��9�C�^G,�^^3�kҍ^DX�$
2017-04-27T15:47:45.662Z >>> @null, something went wrong. Current game is still set to: undefined
2017-04-27T15:47:45.663Z DEBUG: {"username":null}
2017-04-27T15:47:45.670Z >>> @null, something went wrong. Current title is still set to: undefined
2017-04-27T15:47:45.670Z DEBUG: {"username":null}
2017-04-27T15:49:05.094Z >>> @null, something went wrong. Current title is still set to: undefined
2017-04-27T15:49:05.094Z DEBUG: {"username":null}
2017-04-27T15:49:05.105Z DEBUG: Response: Get current hosts
2017-04-27T15:49:05.105Z DEBUG: {"hosts":[]}
Ok, I am starting to be at loss Can you please try this steps?
Can you try latest master? Can you try remove node_modules and reinstall it by npm install? Do you have correct oauth? Can you recreate your oauth token in oauth.sogehige.tv? Be sure to keep format oauth:XXXXX and to use a bot one. Is ClientId default one?
And what is your version of Node.js?
node 7.8.0
sorry still have not resolved this issue, so i have to discontinue to use this bot until changing title and game save works/applies
Well, cannot help if you dont try what I suggested :) I just cannot reproduce it and others using bot doesn't have this issue.
I am able to look up game and enter a new title however, when saving changes, the changes do not reflect