GithubHelp home page GithubHelp logo

lakeys / dishorde Goto Github PK

View Code? Open in Web Editor NEW
45.0 10.0 25.0 397 KB

A Discord bridge bot for 7 Days to Die. Dishorde integrates a dedicated server with Discord, allowing players to access the game's chat from any device or location. Powered by discord.js.

Home Page: http://lakeys.net/dishorde

License: MIT License

JavaScript 96.39% Batchfile 0.81% Shell 2.80%
7daystodie 7dtd nodejs node-js discord discord-bot discord-js telnet bot dedicated-server

dishorde's People

Contributors

dependabot[bot] avatar lakeys 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dishorde's Issues

Bot says discord chat back to discord channel as part of in-game chat

Steps:

  1. Configure Bot per instructions and use bot in discord
  2. Bot will correctly pass discord chat to in-game
  3. Chat will show up in-game (also correctly)
  4. Bot will now repeat chat back on discord channel.

e.g.

SCNikon - Today at 8:25 PM
So you can see this discord channel ingame?

ZombiotBOT - Today at 8:25 PM
Server: [SCNikon] So you can see this discord channel ingame?

Expected Behavior would be for any Server: prefixed message not to be parsed to discord chat or at least for any message transmitted by the bot.

Discord client error 'undefined'

Closed because this could not be replicated after two weeks of usage.

There was no server activity prior to the error. The error continued after a restart and stopped after updating to 1637c8b.

Add a command to show server information (max players, difficulty, world type, etc.)

This could be linked in with 7dtd!info or made its own command.

Also add an option to automatically PM this info to players when they initially join the Discord.

To get the game's preferences, send 'getgamepref' to the server via telnet. It may be best to do this on startup and cache the result to prevent repeated queries.

EDIT1: An experimental/proof-of-concept version of this has been implemented in dedce20

UNKNOWN_ERROR

Hi There,

I put the bot on my Discord server, couldnt get it to work, removed it and tried to re-create it and re add it but now i get an error every time i put in my Client ID. I have cleared my internet History and cache but still no luck, Please Help

Thanks in advance

Telnet connection does not close occasionally; results in crash when messages or commands are sent

This can also be replicated using the Microsoft telnet client, indicating that it is not exclusive to the NodeJS telnet client.

To replicate, comment out "connection.destroy();" around line 406 and shut the server down remotely.

Have confirmed that this can occur without the server shutting down, so simply checking for a shutdown is not a suitable fix and is only considered a workaround. (See bc0d469)

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.