Giter Site home page Giter Site logo

hit a 429 about zdiscord HOT 8 OPEN

sielski666 avatar sielski666 commented on August 25, 2024
hit a 429

from zdiscord.

Comments (8)

zfbx avatar zfbx commented on August 25, 2024

That means you hit a rate limit with discord. were you pushing a LOT of logs really quickly? discord isn't great to use for logging EVERYTHING really just important things like large monetary transactions, specific items, actions and such

from zdiscord.

sielski666 avatar sielski666 commented on August 25, 2024

I’ve been using your bot and jd_logs. I’ve had some problems setting up my fiveM server but all I’ve been doing is using the commands for both bots.

yours for whitelisting and server admin testing and the other is a bot for logs such as shooting, damage, logging in and out

from zdiscord.

zfbx avatar zfbx commented on August 25, 2024

So by shooting do you mean a log is sent every time a bullet is fired? so if there's a shootout or use of a machinegun or something it's sending 10-20 logs per second? cause logs like that can have your ip banned from the discord api for abuse. actions like that you'd want to save to memory temporarily for 30 seconds to a minute and dump all the logs you need in a single log.

from zdiscord.

sielski666 avatar sielski666 commented on August 25, 2024

Sorry I should of been clearer. From the testing I have done and that is with two bots; zdiscord and JD_Logsv3 running at the same time. Since moving to zaphosting the two bots seem to reach rate limit and zdiscord gives out the error about that.

After about two outs the bots will reconnect and work but only at 994/1000 limit. When that is reached they disconnect again.

Since last night I have stopped using the latter bot and only have yours running and I've seen a better stability. However; now there is a Event Code: 4000 now happening.

This is now causing the bot to reconnect and it repeats doing this. I don't know if that's normal for zdiscors to be doing but so far I haven't reached a rate limit.

JD_ logs was the bot that was sending events to certain channels and I feel if I had a busy server that would be spamming a lot ( regardless it's now offline and no longer used ).

Zap hosting typically replied just now to my ticket only seeing the Event Code: 4000 and has totally disregarded the rate limit. I'm about to inform them that it was happening beforehand.

from zdiscord.

zfbx avatar zfbx commented on August 25, 2024

4000 is an unknown error if it's coming from discord's api o.o really weird you'd get that unless something is wrong on zap? Also could try to reset your token and see if that makes any difference

from zdiscord.

sielski666 avatar sielski666 commented on August 25, 2024

No problem I'll
Give that a try and get back to you. Zap are surely going to say it's not them lol.

The funny thing is I have a rocket node server that I moved from and I've got it on there working no problem, same key.

I feel it's zap, they have been getting ddosed lately

from zdiscord.

sielski666 avatar sielski666 commented on August 25, 2024

Also to go with the error 4000 it keeps sending heartbeat if that's anything

from zdiscord.

zfbx avatar zfbx commented on August 25, 2024

That's normal. The heartbeat is how the script keeps in touch with the bot api and keeps it active, as long as heartbeats keeps pinging every 20 seconds discord keeps the session active. when heartbeats stop it assumes the bot is offline and stops sending events.

from zdiscord.

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.