GithubHelp home page GithubHelp logo

hydractify / forgottenserver Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 142.73 MB

Repository for maintaing our custom open tibia server using forgottenserver.

License: GNU General Public License v2.0

CMake 6.38% Dockerfile 0.03% Lua 21.97% C++ 70.95% C 0.66%
forgottenserver orts mysql linux macos

forgottenserver's Introduction

Introduction

This is a Discord application for experimenting ideas on and serve our community needs.

Requirements

Getting started

Firstly what you want to do is clone this repository:

git clone https://github.com/Hydractify/hydractify.git

From here you will configure the application with config.toml, you can use config.example.toml as a reference. Here you will set:

  • The application's token (token);
  • The database URL (database_url), i.e. postgres://username:password@localhost/database_name;
  • Module configuration.

Once that's done, you need to install diesel_cli for automatically generating typings and running our SQL to make sure all tables are configured. You can install it through cargo:

cargo install diesel_cli --no-default-features --features postgres

Once that's done, ensure it's binary in your $PATH then run:

diesel migration run

Now you can just run the application! If you're not familiar with Rust, you can run it through your terminal with:

cargo run

Modules

Self Role

This module is configured via [self_roles] in config.toml, which has two fields:

  1. enabled
    • Whether the module is enabled or not. The commands are still registered, maybe they shouldn't.
  2. channel_id
    • The ID of the channel where the self role message should be deployed.

When enabled and the message is deployed then when a Discord user interacts with the module they will have that certain role added to them or removed.

Slash commands

To configure and manage the message with the self assignable roles you must use the /selfrole slash commands, these being:

  1. /selfrole show
    • Lists the registered self assignable roles.
  2. /selfrole deploy
    • Deploys the message with the self assignable roles, optionally receiving a message ID to edit an existing one.
  3. /selfrole cleanup
    • Removes from the list all roles that have been deleted.
  4. /selfrole remove
    • Removes a specific role from the self assignable role list.
  5. /selfrole add
    • Adds a specific role into the self assignable role list.

Starboard

This module is configured via [starboard] in config.toml, which has four fields:

  1. enabled
    • Whether the module is enabled or not.
  2. channel
    • The channel that starboard messages should go to.
  3. emojis
    • An array containing the emotes that trigger a starboard message, these can be an UTF-8 character like โญ or a custom emote like <a:a_kirbyStar:894087344909606912>.
  4. threshold
    • How many emotes are needed to trigger a starboard message.

Special thanks

This implementation is heavily based off of etternabot, it was a great starting point for me to understand how poise and serenity work!

forgottenserver's People

Contributors

asamy avatar comedinha avatar cosmosbr avatar dalkon avatar danyelvarejao avatar dbjorkholm avatar djarek avatar dspeichert avatar epuncker avatar evilhero90 avatar gugahoa avatar kornholi avatar marksamman avatar marmichalski avatar mkalo avatar nclx avatar nekiro avatar omarcopires avatar pegason avatar printerlua avatar ranisalt avatar raymondtfr avatar reyaleman avatar ronpetit avatar royalot avatar slavidodo avatar thesumm avatar wgrr avatar wibbenz avatar znote avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

legocro

forgottenserver's Issues

Implementation of the quest "The Rookie Guard"

Currently the whole quest is missing, nothing related to it is implemented.

Full walk-through can be found here, however I advise to create a Rookgaard character in the vanilla to have a better POV/understanding of the quest.

Venore implementation

Issue to centralize our efforts into implementing all content (NPCs, Quests, etc) related to Venore town.

Roadmap can be found in the project linked to this issue.

Status

  • ๐Ÿ”ด - Tested and developed;
  • โŒ - Has problems;
  • โญ• - Developed;
  • โ™จ๏ธ - In development;
  • โ“ - Unknown.

Issue

  • โ›” - No issue open.

NPCs

Inside town

Name Status Issue
Captain Fearless โŒ โ›”
Guide Elena โ“ โ›”
Uncle โ“ โ›”
Rodney โ“ โ›”
Rose โ“ โ›”
Livielle โ“ โ›”
Carina โ“ โ›”
Rokyn โ“ โ›”
Odemara โ“ โ›”
Allen โ“ โ›”
Yulas โ“ โ›”
Borkas โ“ โ›”
Frans โ“ โ›”
Digger โ“ โ›”
Smiley โ“ โ›”
Chatterbone โ“ โ›”
Vladruc โ“ โ›”
Warbert โ“ โ›”
Xed โ“ โ›”
Romella โ“ โ›”
Yanni โ“ โ›”
Abran Ironeye โ“ โ›”
Alwin โ“ โ›”
Shiantis โ“ โ›”
Nelliem โ“ โ›”
Chephan โ“ โ›”
Julian โ“ โ›”
Leeland โ“ โ›”
Cristoph โ“ โ›”
Dove โ“ โ›”
Dustrunner โ“ โ›”
Lightfoot โ“ โ›”
Nurik โ“ โ›”
Maria โ“ โ›”
A Strange Fellow โ“ โ›”
Zebron โ“ โ›”
Urkalio โ“ โ›”
Asrak โ“ โ›”
Arnold โ“ โ›”
Yberius โ“ โ›”

Remove premium unfairness

This issue is reserved to discussing the removal of premium features or "balancing" of such feature.

Aspects like premium only regions are to be removed as well as removing the limitations in certain places like the auction house which only premium members can add items into.

Rookgaard NPCs

We need to implement all the NPCs located in Rookgaard, a sum of 25 NPCs exist in the town.

All of these NPCs were implemented in orts/server but we have to update those files to the latest TFS version. Some of these NPCs also have flawed conversations, either lacking on dialog or just straight up no code for some dialog.

Here is the list of NPCs: https://tibia.fandom.com/wiki/Rookgaard#NPCs

Rookgaard implementation

Issue to centralize our efforts into implementing all content (NPCs, Quests, etc) related to Rookgaard.

Roadmap can be found in the project linked to this issue.

Status

  • ๐Ÿ”ด - Tested and developed;
  • โŒ - Has problems;
  • โญ• - Developed;
  • โ™จ๏ธ - In development;
  • โ“ - Unknown.

Issue

  • โ›” - No issue open.

Quests

Main quests

Name Status Issue
Bear Room โŒ โ›”
Captain Uglues Treasure โ“ โ›”
Child of Destiny โ™จ๏ธ โ›”
Combat Knife ๐Ÿ”ด โ›”
Doublet ๐Ÿ”ด โ›”
Dragon Corpse ๐Ÿ”ด โ›”
Goblin Temple ๐Ÿ”ด โ›”
Katana ๐Ÿ”ด โ›”
Minotaur Hell ๐Ÿ”ด โ›”
Minotaur Hell ๐Ÿ”ด โ›”
Rapier ๐Ÿ”ด โ›”
Sanctuary of the Lizard God โ“ โ›”
The Rookie Guard โ“ #13
The Beginning Quest โŒ #10

Exchange quests

Name Status Issue
Pick ๐Ÿ”ด โ›”
Present โ“ โ›”
Short Sword โ“ โ›”
Small Health Potion โ“ โ›”
Studded Legs โ“ โ›”
Studded Shield โ“ โ›”

Addon quests

Name Status Issue
Citizen Outfits โ“ โ›”
Druid Outfits โ“ โ›”

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.