Giter VIP home page Giter VIP logo

Comments (11)

gabeaventh avatar gabeaventh commented on September 24, 2024 1

Ok, sorry for that, I'll add a check to set the dispatcher a dormant state when the receiver is not ready. When possible try the latest version to see if the guild problem is solved. Anyways thanks for your patience and help.

well it's okay, don't be sorry for me that I got banned, my fault anyway, I will try the latest state after the ban lifted

no problem! I actually learned a lot from this project source code and will try to contribute in the near future

actually, I wanted to try to fork for Virtual Farmer Bot later

from autofishbot.

thejoabo avatar thejoabo commented on September 24, 2024

Hello @gabeaventh ,

About the error:

50035 Invalid form body (returned for both application/json and multipart/form-data bodies), or invalid Content-Type provided

The thing is: sometimes the error detail that comes with the response isn't that accurate, so I need the full output to figure out what really happened to the request. Please enable DEBUG in your config file and run the bot again to reproduce the error, then copy (or screenshot) your terminal output and send it in my email: [email protected] .

The interactions requests need the "guild_id" and "channel_id" field, as you can see, I didn't request the user to provide the guild id manually, so instead when the websocket respond with the "READY" state (which contains the user and guilds information), it searches every channel id in every guild to find a match. So, for example, if I provide an incorrect channel id, it won't find a match and therefore all requests will be invalid.

Also, can you check if:

  • your config file is properly set up (according to FAQ)
  • the provided channel id is correct
  • the provided channel id is not public (this means, if only you are sending/receiving messages in that channel)

About the commands:

  • the "%verify" was replaced by "/verify" (except in the captcha detection, but since it was there as redundancy it didn't become noticeable - or impactful - in the testing).
  • the "%stats" command was - apparently - completly removed when I inspected the commands object retrieved from the server, but when I checked their website, was still there, so I left an "/stats" query to be sent either way (in case they added it back).

from autofishbot.

gabeaventh avatar gabeaventh commented on September 24, 2024

sure sure, ill send you later, DEBUG MODE already on for me to debug

for config i already checked it the 4th times that my config is correct, including the channel_id

isnt it easier that we put the guild_id to the config, rather than searching it?

from autofishbot.

gabeaventh avatar gabeaventh commented on September 24, 2024

confirmed

i change the guild_id manually and disable the auto guild_id

it worked flawlessly

image

ill send you the full request soon

from autofishbot.

thejoabo avatar thejoabo commented on September 24, 2024

Great, I might give the option to manually insert the guild id in the config.
Two things:

  • Did you tried to run it with the patch (1.2.1.1) ? It might have fixed this issue, I was accidentally overwriting the "guild" variable, but for some weird reason it didn't cause any error using my config.
  • How often are you getting code 429 ?

from autofishbot.

gabeaventh avatar gabeaventh commented on September 24, 2024

Great, I might give the option to manually insert the guild id in the config. Two things:

  • Did you tried to run it with the patch (1.2.1.1) ? It might have fixed this issue, I was accidentally overwriting the "guild" variable, but for some weird reason it didn't cause any error using my config.
  • How often are you getting code 429 ?
  • i haven't tried it with 1.2.1.1, ill try later after my ban is lifted tomorrow, I accidentally left it while meeting

  • quite often, I think after resupply will always get 429

from autofishbot.

thejoabo avatar thejoabo commented on September 24, 2024

Ok, 429s are a bad sign, they are related with Discord's Rate Limits, but since there is an sleep there, it shouldn't be a problem. Also, about your ban, was it the autobot's fault ? Like, it missed captcha detection or something like that ?

from autofishbot.

gabeaventh avatar gabeaventh commented on September 24, 2024

Ok, 429s are a bad sign, they are related with Discord's Rate Limits, but since there is an sleep there, it shouldn't be a problem. Also, about your ban, was it the autobot's fault ? Like, it missed captcha detection or something like that ?

Yes it missed the autodetection, to be exact , it used /fish command about 13 times before I got banned

don't worry it was working flawlessly, I think it succeed about 8-10 verify when I last check

when I check the logs I found these:
I think there's a time when the bot attempted to reconnect, and the captcha appeared, and the bot solved it
but cannot verify due to the bot still attempting to reconnect and proceed to do /fish command after it reconnected

unfortunately, I have to restart my PC to update windows because I postponed it too many times

here's the image of /fish command spam
image

from autofishbot.

thejoabo avatar thejoabo commented on September 24, 2024

Ok, sorry for that, I'll add a check to set the dispatcher a dormant state when the receiver is not ready. When possible try the latest version to see if the guild problem is solved. Anyways thanks for your patience and help.

from autofishbot.

gabeaventh avatar gabeaventh commented on September 24, 2024

Ok, sorry for that, I'll add a check to set the dispatcher a dormant state when the receiver is not ready. When possible try the latest version to see if the guild problem is solved. Anyways thanks for your patience and help.

everything is working as expected, no need to override the guild_id, it automatically did it, but just to be safe you can give an option to override the guild_id

image

from autofishbot.

thejoabo avatar thejoabo commented on September 24, 2024

Great then, I'll add a config parameter to set manually the guild id.

from autofishbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.