MudaeAutoBot icon indicating copy to clipboard operation
MudaeAutoBot copied to clipboard

py file opens and closes instantly

Open orytel opened this issue 3 years ago • 22 comments

i guess i ve done everything right this is what is shown on idle file its probably a dumb mistake by me but if you can help thx a lot.

py idle error.txt

orytel avatar Aug 29 '22 15:08 orytel

Post a screenshot I would Rather avoid downloading things

vivinano avatar Aug 29 '22 18:08 vivinano

mudaebot

orytel avatar Aug 29 '22 18:08 orytel

Incorrect json settings

vivinano avatar Aug 29 '22 18:08 vivinano

uhm how exactly do i fix that ?

orytel avatar Aug 29 '22 19:08 orytel

That answer is on the readme

Sent from my iPhone

On Aug 29, 2022, at 3:01 PM, orytel @.***> wrote:

 uhm how exactly do i fix that ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

vivinano avatar Aug 29 '22 20:08 vivinano

oh my bad seems to work now but im getting this which says just to type $settings on the server and i did but still not working after restarting

Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x000001FBE55B7BA0>> Traceback (most recent call last): File "C:\Users\Orytel\AppData\Roaming\Python\Python310\site-packages\discum\gateway\gateway.py", line 299, in _response_loop func(resp) File "C:\Users\Orytel\Desktop\MudaeAutoBot-4\MudaeAutoBot.py", line 686, in on_message user = bot.gateway.session.user File "C:\Users\Orytel\AppData\Roaming\Python\Python310\site-packages\discum\gateway\session.py", line 42, in user return self.settings_ready['user'] KeyError: 'user' 2022-08-29 22:03:46,278:Could not find settings for 992425198789873687, please trigger the '$settings' command in the server and run the bot again.

orytel avatar Aug 29 '22 21:08 orytel

The channeldata folder is empty obtain the $setting text block from mudae

Sent from my iPhone

On Aug 29, 2022, at 5:04 PM, orytel @.***> wrote:

 oh my bad seems to work now but im getting this which says just to type $settings on the server and i did but still not working after restarting

Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x000001FBE55B7BA0>> Traceback (most recent call last): File "C:\Users\Orytel\AppData\Roaming\Python\Python310\site-packages\discum\gateway\gateway.py", line 299, in _response_loop func(resp) File "C:\Users\Orytel\Desktop\MudaeAutoBot-4\MudaeAutoBot.py", line 686, in on_message user = bot.gateway.session.user File "C:\Users\Orytel\AppData\Roaming\Python\Python310\site-packages\discum\gateway\session.py", line 42, in user return self.settings_ready['user'] KeyError: 'user' 2022-08-29 22:03:46,278:Could not find settings for 992425198789873687, please trigger the '$settings' command in the server and run the bot again.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

vivinano avatar Aug 29 '22 21:08 vivinano

so i use $settings and copy and paste the result on channeldata folder ?

orytel avatar Aug 29 '22 21:08 orytel

With the bold asterisk and the correct naming scheme

Sent from my iPhone

On Aug 29, 2022, at 5:11 PM, orytel @.***> wrote:

 so i use $settings and copy and paste the result on channeldata folder ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

vivinano avatar Aug 29 '22 21:08 vivinano

i guess the issue is because the $lang aint eng have u tried it on other lenguages ?

orytel avatar Aug 29 '22 21:08 orytel

No it works in any language there are several mudae players that are playing non English version of mudae

Sent from my iPhone

On Aug 29, 2022, at 5:31 PM, orytel @.***> wrote:

 i guess the issue is because the $lang aint eng have u tried it on other lenguages ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

vivinano avatar Aug 29 '22 21:08 vivinano

so now this should be a discum issue ?

Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x0000018161A87CD0>> Traceback (most recent call last): File "C:\Users\Orytel\AppData\Roaming\Python\Python310\site-packages\discum\gateway\gateway.py", line 299, in _response_loop func(resp) File "C:\Users\Orytel\Desktop\MudaeAutoBot-4\MudaeAutoBot.py", line 686, in on_message user = bot.gateway.session.user File "C:\Users\Orytel\AppData\Roaming\Python\Python310\site-packages\discum\gateway\session.py", line 42, in user return self.settings_ready['user'] KeyError: 'user'

orytel avatar Aug 29 '22 22:08 orytel

so now this should be a discum issue ?

Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x0000018161A87CD0>> Traceback (most recent call last): File "C:\Users\Orytel\AppData\Roaming\Python\Python310\site-packages\discum\gateway\gateway.py", line 299, in _response_loop func(resp) File "C:\Users\Orytel\Desktop\MudaeAutoBot-4\MudaeAutoBot.py", line 686, in on_message user = bot.gateway.session.user File "C:\Users\Orytel\AppData\Roaming\Python\Python310\site-packages\discum\gateway\session.py", line 42, in user return self.settings_ready['user'] KeyError: 'user'

Go to your discum package folder: /discum/gateway/types.py. Add some type under channelTypes. For instance: channelTypes = { 0: "guild_text", 1: "dm", 2: "guild_voice", 3: "group_dm", 4: "guild_category", 5: "guild_news", 6: "guild_store", 10: "guild_news_thread", 11: "guild_public_thread", 12: "guild_private_thread", 13: "guild_stage_voice", 14: "type_14", 15: "type_15" } more info in here https://github.com/vivinano/MudaeAutoBot/issues/137 but that should fix it

CriticalMomento avatar Aug 30 '22 10:08 CriticalMomento

done but still getting same error aswell for the server $settings error shouldnt it look like smtg like this ?

"Prefix":$ ("$prefix) Lang":"pt-br ($lang) Claim reset":"cada 120 min. ($setclaim) Minuto exato do reset":"xx":"28 ($setinterval) Reset alterada":"por +0 min. ($shifthour) Rolls por hora":"15 ($setrolls) Tempo antes da reação dos rolls sumir":"45 sec. ($settimer) Raridade de spawn para personagens já casados":"6 ($setrare) Server game mode":"1 ($gamemode) Channel instance":"1 ($channelinstance) Slash commands":"ativado ($toggleslash)

Ranking":"ativado ($toggleclaimrank/$togglelikerank) Ranks exibidos durante os rolls":"claims e likes ($togglerolls) Séries de Hentai":"desativado ($togglehentai) Séries com imagens""Gore":"ativado ($toggledisturbing) Rolls sniping":"0 ($togglesnipe) Kakera sniping":"0 ($togglekakerasnipe) Limite de caracteres por harém":"8100 ($haremlimit) Reacts":"apenas para wishes públicas ($togglereact) Reações personalizadas":"não ($claimreact)

Trade de Kakera":"ativado ($togglekakeratrade) Cálculo de Kakera":"claim e like rank (e número de personagens casados) ($togglekakeraclaim/$togglekakeralike) Valor de kakera exibido durante os rolls":"ativado ($togglekakerarolls) $kakeraloot wishprotect":"ativado ($togglewishprotect)"

orytel avatar Aug 30 '22 18:08 orytel

You need to the the bold asterisk as needed

Sent from my iPhone

On Aug 30, 2022, at 2:19 PM, orytel @.***> wrote:

 done but still getting same error aswell for the server $settings error shouldnt it look like smtg like this ?

"Prefix":$ ("$prefix) Lang":"pt-br ($lang) Claim reset":"cada 120 min. ($setclaim) Minuto exato do reset":"xx":"28 ($setinterval) Reset alterada":"por +0 min. ($shifthour) Rolls por hora":"15 ($setrolls) Tempo antes da reação dos rolls sumir":"45 sec. ($settimer) Raridade de spawn para personagens já casados":"6 ($setrare) Server game mode":"1 ($gamemode) Channel instance":"1 ($channelinstance) Slash commands":"ativado ($toggleslash)

Ranking":"ativado ($toggleclaimrank/$togglelikerank) Ranks exibidos durante os rolls":"claims e likes ($togglerolls) Séries de Hentai":"desativado ($togglehentai) Séries com imagens""Gore":"ativado ($toggledisturbing) Rolls sniping":"0 ($togglesnipe) Kakera sniping":"0 ($togglekakerasnipe) Limite de caracteres por harém":"8100 ($haremlimit) Reacts":"apenas para wishes públicas ($togglereact) Reações personalizadas":"não ($claimreact)

Trade de Kakera":"ativado ($togglekakeratrade) Cálculo de Kakera":"claim e like rank (e número de personagens casados) ($togglekakeraclaim/$togglekakeralike) Valor de kakera exibido durante os rolls":"ativado ($togglekakerarolls) $kakeraloot wishprotect":"ativado ($togglewishprotect)"

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

vivinano avatar Aug 30 '22 18:08 vivinano

can you show me what a functioning one looks like ?

orytel avatar Aug 30 '22 19:08 orytel

There is one in the code of a functioning settings I think but if not there several in closed issues

Sent from my iPhone

On Aug 30, 2022, at 3:00 PM, orytel @.***> wrote:

 can you show me what a functioning one looks like ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

vivinano avatar Aug 30 '22 19:08 vivinano

still gettings same error for these did i miss something ?

_ __ ** Configurações do Server**_ __ Server Premium I

· Prefix: $ ($prefix) · Lang: pt-br ($lang) · Claim reset: cada 120 min. ($setclaim) · Minuto exato do reset: xx:28 ($setinterval) · Reset alterada: por +0 min. ($shifthour) · Rolls por hora: 15 ($setrolls) · Tempo antes da reação dos rolls sumir: 45 sec. ($settimer) · Raridade de spawn para personagens já casados: 6 ($setrare) · Server game mode: 1 ($gamemode) · Channel instance: 1 ($channelinstance) · Slash commands: ativado ($toggleslash)

· Ranking: ativado ($toggleclaimrank/$togglelikerank) · Ranks exibidos durante os rolls: claims e likes ($togglerolls) · Séries de Hentai: desativado ($togglehentai) · Séries com imagens 'Gore': ativado ($toggledisturbing) · Rolls sniping: 0 ($togglesnipe) · Kakera sniping: 0 ($togglekakerasnipe) · Limite de caracteres por harém: 8100 ($haremlimit) · Reacts: apenas para wishes públicas ($togglereact) · Reações personalizadas: não ($claimreact)

· Trade de Kakera: disabled ($togglekakeratrade) · Cálculo de Kakera: claim e like rank (e número de personagens casados) ($togglekakeraclaim/$togglekakeralike) · Valor de kakera exibido durante os rolls: ativado ($togglekakerarolls) · $kakeraloot wishprotect: ativado ($togglewishprotect)

orytel avatar Aug 30 '22 20:08 orytel

u added ** for bold in txt file right?

CriticalMomento avatar Aug 31 '22 07:08 CriticalMomento

yeah the darker ones have the ** it might be something else causing it it's weird

orytel avatar Aug 31 '22 09:08 orytel

I guess what is the error currently ?

vivinano avatar Aug 31 '22 16:08 vivinano

image

orytel avatar Aug 31 '22 19:08 orytel

Issues with closing has been fixed now this is a keyword user error so will be closing to keep all user error under 1 issue

vivinano avatar Sep 15 '22 02:09 vivinano

If everything else is fixed then it would be a discum issue i haven’t encountered it to fix it

Sent from my iPhone

On Aug 29, 2022, at 6:02 PM, orytel @.***> wrote:

 so now this should be a discum issue ?

Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x0000018161A87CD0>> Traceback (most recent call last): File "C:\Users\Orytel\AppData\Roaming\Python\Python310\site-packages\discum\gateway\gateway.py", line 299, in _response_loop func(resp) File "C:\Users\Orytel\Desktop\MudaeAutoBot-4\MudaeAutoBot.py", line 686, in on_message user = bot.gateway.session.user File "C:\Users\Orytel\AppData\Roaming\Python\Python310\site-packages\discum\gateway\session.py", line 42, in user return self.settings_ready['user'] KeyError: 'user'

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

vivinano avatar Oct 11 '22 08:10 vivinano