MehulKhanna / PokeGrinder

An Auto-Grinding Bot for PokéMeow with Slash Commands! With a free Captcha Solver!
MIT License
12 stars 7 forks source link

Fishing not working #69

Closed Kraker01 closed 3 months ago

Kraker01 commented 3 months ago

While the bot is working fine and grinding pokemon, i can't fix the fact that fishing is not working. This is the error i receive:

ERROR    discord.client Ignoring exception in on_ready
Traceback (most recent call last):
  File "/usr/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
    return fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 210, in _wrapped_interaction
    i = await state.client.wait_for(
  File "/usr/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/discord/client.py", line 637, in _run_event
    await coro(*args, **kwargs)
  File "/content/PokeGrinder/cogs/startup.py", line 71, in on_ready
    await self.bot.fishing_channel_commands["fish spawn"]()
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 784, in __call__
    return await super().__call__(options, files, attachments, channel)
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 269, in __call__
    return await super().__call__(data, files, channel)
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 140, in __call__
    return await _wrapped_interaction(
  File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 216, in _wrapped_interaction
    raise InvalidData('Did not receive a response from Discord') from exc
discord.errors.InvalidData: Did not receive a response from Discord

This is my config:

{
  "CaptchaRetries": 3,
  "ClearConsole": true,
  "CaptchaSolver": true,
  "SuspicionAvoidance": 250,
  "Cooldowns": {
    "RetryCooldown": 1,
    "HuntingCooldown": 10.4,
    "FishingCooldown": 25.4
  },
  "Discord Token": {
    "HuntingChannel": Channel 1,
    "FishingChannel": Channel 2,
    "ExceptionBalls": {
      "Crystal Onix": "mb"
    },
    "Balls": {
      "Common": "pb",
      "Uncommon": "pb",
      "Rare": "gb",
      "Super Rare": "ub",
      "Legendary": "mb",
      "Shiny": "mb",
      "Shiny Event": "mb",
      "Shiny Full-odds": "prb"
    },
    "FishBalls": {
      "Common": "pb",
      "Uncommon": "gb",
      "Rare": "ub",
      "Super Rare": "ub",
      "Legendary": "db",
      "Shiny": "mb",
      "Golden": "mb"
    },
    "AutoBuy": {
      "pb": 5,
      "gb": 5,
      "ub": 1,
      "mb": 0
    },
    "AutoReleaseDuplicates": 100
  },
  "": {
    "HuntingChannel": 0,
    "FishingChannel": 0,
    "ExceptionBalls": {
      "Crystal Onix": "mb"
    },
    "Balls": {
      "Common": "pb",
      "Uncommon": "pb",
      "Rare": "gb",
      "Super Rare": "ub",
      "Legendary": "mb",
      "Shiny": "mb",
      "Shiny Event": "mb",
      "Shiny Full-odds": "prb"
    },
    "FishBalls": {
      "Common": "pb",
      "Uncommon": "gb",
      "Rare": "ub",
      "Super Rare": "ub",
      "Legendary": "db",
      "Shiny": "mb",
      "Golden": "mb"
    },
    "AutoBuy": {
      "pb": 50,
      "gb": 25,
      "ub": 5,
      "mb": 1
    },
    "AutoReleaseDuplicates": 100
  }
}

Bot is working, only fishing isn't working.

MehulKhanna commented 3 months ago

While the bot is working fine and grinding pokemon, i can't fix the fact that fishing is not working. This is the error i receive:

ERROR    discord.client Ignoring exception in on_ready
Traceback (most recent call last):
  File "/usr/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
    return fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 210, in _wrapped_interaction
    i = await state.client.wait_for(
  File "/usr/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/discord/client.py", line 637, in _run_event
    await coro(*args, **kwargs)
  File "/content/PokeGrinder/cogs/startup.py", line 71, in on_ready
    await self.bot.fishing_channel_commands["fish spawn"]()
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 784, in __call__
    return await super().__call__(options, files, attachments, channel)
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 269, in __call__
    return await super().__call__(data, files, channel)
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 140, in __call__
    return await _wrapped_interaction(
  File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 216, in _wrapped_interaction
    raise InvalidData('Did not receive a response from Discord') from exc
discord.errors.InvalidData: Did not receive a response from Discord

This is my config:

{
  "CaptchaRetries": 3,
  "ClearConsole": true,
  "CaptchaSolver": true,
  "SuspicionAvoidance": 250,
  "Cooldowns": {
    "RetryCooldown": 1,
    "HuntingCooldown": 10.4,
    "FishingCooldown": 25.4
  },
  "Discord Token": {
    "HuntingChannel": Channel 1,
    "FishingChannel": Channel 2,
    "ExceptionBalls": {
      "Crystal Onix": "mb"
    },
    "Balls": {
      "Common": "pb",
      "Uncommon": "pb",
      "Rare": "gb",
      "Super Rare": "ub",
      "Legendary": "mb",
      "Shiny": "mb",
      "Shiny Event": "mb",
      "Shiny Full-odds": "prb"
    },
    "FishBalls": {
      "Common": "pb",
      "Uncommon": "gb",
      "Rare": "ub",
      "Super Rare": "ub",
      "Legendary": "db",
      "Shiny": "mb",
      "Golden": "mb"
    },
    "AutoBuy": {
      "pb": 5,
      "gb": 5,
      "ub": 1,
      "mb": 0
    },
    "AutoReleaseDuplicates": 100
  },
  "": {
    "HuntingChannel": 0,
    "FishingChannel": 0,
    "ExceptionBalls": {
      "Crystal Onix": "mb"
    },
    "Balls": {
      "Common": "pb",
      "Uncommon": "pb",
      "Rare": "gb",
      "Super Rare": "ub",
      "Legendary": "mb",
      "Shiny": "mb",
      "Shiny Event": "mb",
      "Shiny Full-odds": "prb"
    },
    "FishBalls": {
      "Common": "pb",
      "Uncommon": "gb",
      "Rare": "ub",
      "Super Rare": "ub",
      "Legendary": "db",
      "Shiny": "mb",
      "Golden": "mb"
    },
    "AutoBuy": {
      "pb": 50,
      "gb": 25,
      "ub": 5,
      "mb": 1
    },
    "AutoReleaseDuplicates": 100
  }
}

Bot is working, only fishing isn't working.

How frequent is this? Does this error appear everytime you start the bot?

Kraker01 commented 3 months ago

Completely random, i can't reproduce it.

Il giorno ven 26 apr 2024 alle 11:36 Mehul Khanna @.***> ha scritto:

While the bot is working fine and grinding pokemon, i can't fix the fact that fishing is not working. This is the error i receive:

ERROR discord.client Ignoring exception in on_ready Traceback (most recent call last): File "/usr/lib/python3.10/asyncio/tasks.py", line 456, in wait_for return fut.result() asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 210, in _wrapped_interaction i = await state.client.wait_for( File "/usr/lib/python3.10/asyncio/tasks.py", line 458, in wait_for raise exceptions.TimeoutError() from exc asyncio.exceptions.TimeoutError

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/discord/client.py", line 637, in _run_event await coro(*args, **kwargs) File "/content/PokeGrinder/cogs/startup.py", line 71, in on_ready await self.bot.fishing_channel_commands["fish spawn"]() File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 784, in call return await super().call(options, files, attachments, channel) File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 269, in call return await super().call(data, files, channel) File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 140, in call return await _wrapped_interaction( File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 216, in _wrapped_interaction raise InvalidData('Did not receive a response from Discord') from exc discord.errors.InvalidData: Did not receive a response from Discord

This is my config:

{ "CaptchaRetries": 3, "ClearConsole": true, "CaptchaSolver": true, "SuspicionAvoidance": 250, "Cooldowns": { "RetryCooldown": 1, "HuntingCooldown": 10.4, "FishingCooldown": 25.4 }, "Discord Token": { "HuntingChannel": Channel 1, "FishingChannel": Channel 2, "ExceptionBalls": { "Crystal Onix": "mb" }, "Balls": { "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 5, "gb": 5, "ub": 1, "mb": 0 }, "AutoReleaseDuplicates": 100 }, "": { "HuntingChannel": 0, "FishingChannel": 0, "ExceptionBalls": { "Crystal Onix": "mb" }, "Balls": { "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 50, "gb": 25, "ub": 5, "mb": 1 }, "AutoReleaseDuplicates": 100 } }

Bot is working, only fishing isn't working.

How frequent is this? Does this error appear everytime you start the bot?

— Reply to this email directly, view it on GitHub https://github.com/MehulKhanna/PokeGrinder/issues/69#issuecomment-2079012792, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4RWZBFJRPARGATS4THF6DY7IN2BAVCNFSM6AAAAABG2NDO6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZGAYTENZZGI . You are receiving this because you authored the thread.Message ID: @.***>

MehulKhanna commented 3 months ago

Completely random, i can't reproduce it. Il giorno ven 26 apr 2024 alle 11:36 Mehul Khanna @.> ha scritto: While the bot is working fine and grinding pokemon, i can't fix the fact that fishing is not working. This is the error i receive: ERROR discord.client Ignoring exception in on_ready Traceback (most recent call last): File "/usr/lib/python3.10/asyncio/tasks.py", line 456, in wait_for return fut.result() asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 210, in _wrapped_interaction i = await state.client.wait_for( File "/usr/lib/python3.10/asyncio/tasks.py", line 458, in wait_for raise exceptions.TimeoutError() from exc asyncio.exceptions.TimeoutError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/discord/client.py", line 637, in _run_event await coro(args, kwargs) File "/content/PokeGrinder/cogs/startup.py", line 71, in on_ready await self.bot.fishing_channel_commands["fish spawn"]() File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 784, in call return await super().call(options, files, attachments, channel) File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 269, in call return await super().call(data, files, channel) File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 140, in call return await _wrapped_interaction( File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 216, in _wrapped_interaction raise InvalidData('Did not receive a response from Discord') from exc discord.errors.InvalidData: Did not receive a response from Discord This is my config: { "CaptchaRetries": 3, "ClearConsole": true, "CaptchaSolver": true, "SuspicionAvoidance": 250, "Cooldowns": { "RetryCooldown": 1, "HuntingCooldown": 10.4, "FishingCooldown": 25.4 }, "Discord Token": { "HuntingChannel": Channel 1, "FishingChannel": Channel 2, "ExceptionBalls": { "Crystal Onix": "mb" }, "Balls": { "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 5, "gb": 5, "ub": 1, "mb": 0 }, "AutoReleaseDuplicates": 100 }, "": { "HuntingChannel": 0, "FishingChannel": 0, "ExceptionBalls": { "Crystal Onix": "mb" }, "Balls": { "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 50, "gb": 25, "ub": 5, "mb": 1 }, "AutoReleaseDuplicates": 100 } } Bot is working, only fishing isn't working. How frequent is this? Does this error appear everytime you start the bot? — Reply to this email directly, view it on GitHub <#69 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4RWZBFJRPARGATS4THF6DY7IN2BAVCNFSM6AAAAABG2NDO6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZGAYTENZZGI . You are receiving this because you authored the thread.Message ID: @.***>

If it isn't too frequent then it is an issue from discord. Discord sometimes doesn't send a response after clicking a discord button. This shouldn't be that much of a problem as the bot is made to resume grinding when this happens.