GithubHelp home page GithubHelp logo

wwevo / chrani-bot-tng Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.19 MB

Attempt to build a flexible, modern and easy to extend bot/webinterface for the game 7 Days to Die

License: GNU General Public License v3.0

Python 73.81% HTML 15.08% CSS 6.83% JavaScript 4.28%
flask flask-socketio real-time webinterface flexible 7dtd server-manager 7-days-to-die sdtd

chrani-bot-tng's People

Contributors

wwevo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

chrani-bot-tng's Issues

all stuff inside the dom module really should be a mixin

the dom is required by every part of the bot, it simply has no use being optional. will take some doing to move it out as a lot of calls directly path to module.dom.data, and other dom functions, so they all have to be refactored to cut out the .dom part ^^
makes more sense to make it a mixin for the general module

Empty player-entries sometimes pop up in the player_table widget

I sometimes encounter an empty player entry, without any content or ID elements.
They are probably created because I barely check for data integrity now and get sent by mistake. They are not saved in the database either, afaik

The causing module or modules have to be identified and found, i suspect any of the methods acting on new players joining.

Fix empty class attribute appearing in the player_table widget

Sometimes after modifying a players dataset, the player_widget table row class might not get set correctly. You can witness it for players logging out. Their table_row will get an empty "class" attribute without any content whatsoever.
This throws off the not(class) css selector causing a wrong color for the entry.

Customizable module actions

The actions performed in the modules main loop shouldn't be hardcoded, but rather set in the default options, or config file. That way, the modules become easier to extend and configure.
I could then easily switch out methods of collecting authentication information for example, by loading the admin table from a file instead of the games list admins command, which is currently hardcoded to run once to success.
This should make changes to the environment much easier, with an upcoming alpha or mods changing. A bot user can then just use the settings he wants.

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.