GithubHelp home page GithubHelp logo

league-of-dae-legends / squadforger Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 143 KB

Tool for League of Legends Custom ARAM's to solve the issue of not having rerolls

License: MIT License

C# 100.00%
aram custom league-of-legends reroll discord

squadforger's Introduction

SquadForger - ARAM Team Builder for League of Legends

Resolve the no rerolls issue in custom ARAM games with this tool! This GitHub repository houses a C#-based solution that takes the teams participating in a custom ARAM match as input and dynamically generates a pool of 15 champions for each team. The generated champion pools are then displayed and can be shared on Discord.

Features:

  • Champion Pool Generation: Automatically generate X amount of champions for each team.
  • Discord Integration: Post the generated champion pools directly to a designated Discord channel.

Usage:

1. Download the Latest Release

Optional: Edit PrivateData.config if you intend on using Discord Integration. If you are not familiar with Webhooks, this article will come in handy :)

2. Open SquadForger.exe

3. Input the participating teams.

This can be done manually, or by parsing a csv. Currently we have 1 simple version of CSV parser, but you can add your own parser by implementing ITeamNamesRepository interface. This is what our CSVTeamParser.cs can handle: image

Very simple :)

Gif3

4. Run the script to generate champion pools.

Here we have 2 options:

Safe Generate

  • Uses a local json that contains info about the champions. (Up to date with patch 14.1.1)

Custom Generate

  • Gets the champion info directly from Riot's Data Dragons. Take a look at the Data Dragons documentation for more info.
  • Needs a valid patch number to do so

Gif3

5. Discord integration automatically shares the pools.

  • If you didn't specify a Discord webhook in PrivateData.config, then this will do nothing
  • If you did specify this, Send to Discord button will produce the following result:

image

Extending the functionality

If you would like to use SquadForger's Discord integration, you must integrate your own Discord Webhook into the project. You can achieve that by doing the following:

  1. Create a PrivateData.config file in your directory

image

  1. Add your Webhook ID to PrivateData.config

image

  1. Set the Copy to output directory property to Copy always

Gif3

From this point on the project is ready to be extended :)

squadforger's People

Contributors

hovo-hakobyan avatar wardergrip avatar

Watchers

 avatar

squadforger's Issues

Better info tab

Info tab should give the following info:

  • Link to Github
  • Invite users to document issues on the issues tab on Github
  • Current version

Update preview automatically

Updating preview is only needed after a generate so the button can be removed and the updating of the preview can happen automatically

image

UI doesn't update when new teams are added

In SquadVM The following function gets executed when Add button is pressed:
image
Which gets rid of the commas and creates new teams. The only issue is the UI doesn't show those changes.
The code inside SquadView, responsible for showing it
image

Improved webhook integration

Currently you are forced to give in the webhook in a file, this is not user friendly at all.

Make it possible to put it as a input field in the discord tab and saved to file for easy use between sessions.

More accurate preview

It would be nice if we could preview the text better. That **text** gets turned to bold and # headers are actually larger.

In general this text can be way smaller.

image

Configurable: number of champions per team to generate

The number of champions that each team will get when generation happens should be changeable by the user. Default value should be 15 as in ARAM if all players get 2 rerolls they have access to 15 champions in total

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.