wwevo / chrani-bot-tng Goto Github PK
View Code? Open in Web Editor NEWAttempt 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
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
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
With a fresh database, every first-time storage action needs to be done twice, like switching a view in a widget (which is done by storing a value in a monitored dict).
After that, it all works splendidly. Probably I'm doing something in the wrong order. Needs to be looked into.
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.
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.
Each module has its own template folder assigned to it
I have to reproduce the jinja2_macros file for each module I want to use the macros in. I'd rather have them stored globally, I have no idea on how to accomplish that.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.