Code Monkey home page Code Monkey logo

botflop's People

Contributors

akdukaan avatar bwmp avatar frerduro avatar granny avatar kakduman avatar minerpl avatar person0z avatar saboooor avatar whycarnage avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

botflop's Issues

Opt out of all commands

Need to find a way to prevent user data from being tracked for discord, so if someone runs /optout or something it should add them to a list of names that botflop will ignore. Ideally reversible

Spark support

Now, spark (the performance profiling plugin) also shows config options in its report. It would be cool to also add spark support to Botflop.

Add container support

Don't give Xms != Xmx warning if startup flags have the following:

-XX:+UseContainerSupport -XX:InitialRAMPercentage=[value] -XX:MaxRAMPercentage=[value]

where [value] is the same as [value]

Fetch is not defined

Issue with the /timings command on the latest master build. Forked it, configured it, and tried running the command but just ended up with an error instead.

All npm packages were installed, tried installing node-fetch thinking it was the issue but it doesn't seem like it.

[01:06:32 error]: ReferenceError: fetch is not defined
    at analyzeTimings (C:\Users\-\PC\Desktop\botflop-master\functions\analyzeTimings.js:46:23)
    at Object.execute (C:\Users\-\PC\Desktop\botflop-master\commands\timings.js:16:32)
    at module.exports (C:\Users\-\PC\Desktop\botflop-master\events\interactionCreate.js:22:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Add warning if using plugin AuctionHouse

Would it be possible to add the AuctionHouse plugin to the list of bad plugins when reviewing timings?
In addition to the performance problem there are other exploits that I will not explain here..

image

image

image

image

image

crash w/ binflop upload

[20:41:43 �[31merror�[39m]: unhandledRejection: Cannot read property 'split' of null
TypeError: Cannot read property 'split' of null
    at module.exports (/home/container/events/messageCreate.js:28:60)
    at Client.emit (node:events:394:28)
    at MessageCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/MessageCreate.js:26:14)
    at Object.module.exports [as MESSAGE_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
    at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:346:31)
    at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:478:22)
    at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:317:10)
    at WebSocket.onMessage (/home/container/node_modules/ws/lib/event-target.js:199:18)
    at WebSocket.emit (node:events:394:28)
    at Receiver.receiverOnMessage (/home/container/node_modules/ws/lib/websocket.js:1169:20)

Check wake-up-inactive.<mob>-max-per-tick

Check wake-up-inactive.<mob>-max-per-tick before suggesting to decrease wake-up-inactive.<mob>-for

Config Example:

      wake-up-inactive:
        animals-max-per-tick: 0
        animals-every: 1200
        animals-for: 100
        monsters-max-per-tick: 0
        monsters-every: 400
        monsters-for: 100
        villagers-max-per-tick: 0
        villagers-every: 600
        villagers-for: 100
        flying-monsters-max-per-tick: 0
        flying-monsters-every: 200
        flying-monsters-for: 100

Suggestion:
image

Cannot analyze timings reports

[07:42:50 error]: unhandledRejection: TIMINGS_CHECK.servers.forEach is not a function
TypeError: TIMINGS_CHECK.servers.forEach is not a function
    at analyzeTimings (/Users/primary/Documents/GitHub/botflop/functions/analyzeTimings.js:108:25)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports (/Users/primary/Documents/GitHub/botflop/events/messageCreate.js:98:25)

Make buttons only usable for creator

Currently, the pages buttons can be used by everyone, which makes it very annoying. Other people can switch pages when I'm trying to read my optimizations.

Maybe it's a good idea to add a check if the clicker (interaction user) also placed the timings url.

Ping again crashes the entire bot.

Executing /ping and then pressing the Ping Again button on the embedded messages crashes the whole bot. It just outputs an "Unknown Message" error into the console and just crashes the bot.

[01:14:28 error]: unhandledRejection: Unknown Message
DiscordAPIError[10008]: Unknown Message
    at SequentialHandler.runRequest (C:\Users\-\PC\Desktop\botflop-master\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:287:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async SequentialHandler.queueRequest (C:\Users\-\PC\Desktop\botflop-master\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:99:14)
    at async REST.request (C:\Users\-\PC\Desktop\botflop-master\node_modules\@discordjs\rest\dist\lib\REST.cjs:52:22)
    at async MessageManager.edit (C:\Users\-\PC\Desktop\botflop-master\node_modules\discord.js\src\managers\MessageManager.js:166:15)

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.