GithubHelp home page GithubHelp logo

sky-csc / osl Goto Github PK

View Code? Open in Web Editor NEW
19.0 4.0 0.0 32.27 MB

Overlay Spectator Live (For League of Legends)

Home Page: https://sky-csc.github.io/OSL/

License: MIT License

C# 58.19% HTML 32.52% CSS 8.72% PowerShell 0.02% JavaScript 0.56%
csharp league-of-legends league-of-legends-api overlay riot-games riot-games-api streaming champ-select ingame post-game

osl's Introduction

OSL : Overlay Spectator Live

work-in-progress GitHub Release Stargazers Issues

language .Net-6.0 framework platform

MIT Licensed

LoL1 LoL2 LoL3 LoL4 LoL4 riot1 riot2

This project allows you to display an overlay with additional information for your League of Legends games

Applications use various APIs to collect information about the game, champions, players, .....

Features

Champ Select :

  • 4 view
  • Champ ban/select
  • Summoners names
  • Team name
  • Number of victory/lose teams
  • Timer ban/select/waiting
  • Summoners Spell

In Game :

With riot overlay :

  • 4 view
  • Team/Dragon/Baron/Elder frame
  • Team name
  • Number of victory/lose teams
  • Frame for video/logo/player picture ...
  • Items buy
  • Dragon kill

End Game :

  • 3 view
  • Team name
  • Team score
  • Team win loose
  • Général information : assists, barracks killed, champions killed, gold earned, largest critical strike, largest killing spree, largest multi kill, level, magic damage dealt player, magic damage dealt to champions, magic damage taken, minions killed, num deaths, physical damage dealt player, physical damage dealt to champions, physical damage taken, total damage dealt, total damage dealt to buildings, total damage dealt to champions, total damage dealt to objectives, total damage dealt to turrets, total damage self mitigated, total damage shielded on teammates, total damage taken, total heal, total heal on teammates, total time crowd control dealt, true damage dealt player, true damage dealt to champions, true damage taken, turrets killed, vision score, ward killed, ward placed
  • Bans
  • KDA/Gold/Tower/Dragon/Elder Dragon/Herald/Baron
  • Gold Diff

Runes :

  • 7 view
  • Top
  • Jungle
  • Mid
  • Adc
  • Support
  • Adc and support
  • All

Documentation

Applications, riot api and installation documentation. Link documentation

Getting Started

Installation

Link to OSL-Web installation (Read the index web page when OSL-Web is launched)

Link to OSL-Client installation

A summary of the process to be followed :

  1. Download last release
  2. Unzip release to desired install folder
  3. Run OSL-Web.exe
  4. Change the Web Riot Api key in the web interface configuration Riot Developer page (take your api key) Login and copy past your "Development API Key"
  5. Get IP of your computer where OSL-Web.exe is running (windows+r, cmd, ipconfig, field IPv4) and copy this ip on ip field on OSL-CLient-vx.x.x/Configuration/server-socket.json
  6. If you understand what you are doing, add this information in this file C:/Riot Games/League of Legends/Config/game.cfg
[General]
EnableReplayApi=1

[Spectator]
eSportsNeutralTimers=1

[LiveEvents]
Enable=1
Port=34243
  1. If you understand what you are doing, create file C:/Riot Games/League of Legends/Config/LiveEvents.ini and copy on it
OnKill
OnKillDragon_Spectator
OnNeutralMinionKill
OnMinionKill
OnSummonRiftHerald
OnKillWorm_Spectator
OnTurretDie
OnMinionKill
OnChampionKill
  1. If you don't understand what you are doing download game.cfg and replace the file on C:/Riot Games/League of Legends/Config/game.cfg
  2. If you don't understand what you are doing download LiveEvents.ini and replace the file on C:/Riot Games/League of Legends/Config/LiveEvents.ini
  3. Run OSL-Client.exe on the computer where the spectator game is running
  4. Add http://ip:4141/champselect/view1 and/or http://ip:4141/champselect/view2 and/or http://ip:4141/champselect/view3 and/or http://ip:4141/champselect/view4 as a browser source in OBS in your ban pick scene
  5. Add http://ip:4141/ingame/view1 and/or http://ip:4141/ingame/view2 and/or http://ip:4141/ingame/view3 as a browser source in OBS in your in game scene
  6. Add http://ip:4141/endgame/view1 and/or http://ip:4141/endgame/view2 and/or http://ip:4141/endgame/view3 as a browser source in OBS in your in game scene
  7. Add http://ip:4141/runes/view1/top and http://ip:4141/runes/view1/jungle and http://ip:4141/runes/view1/mid and http://ip:4141/runes/view1/adc and http://ip:4141/runes/view1/supp and http://ip:4141/runes/view1/adcsupp and http://ip:4141/runes/view1/all as a browser source in OBS in your in game scene
  8. Have fun

Roadmap

2.0.0 version are planned for April 2024 (end Q1 beginning Q2)

OSL-CDragon

  • Refactoring code (planned for 2.0.0)
  • Fix bugs, download and display errors (planned for 2.0.0)
  • No other features planned yet

OSL-Client

  • Refactoring code (planned for 2.0.0)
  • No other features planned yet

OSL-Common

  • Refactoring code (planned for 2.0.0)
  • No other features planned yet

OSL-Docfx

  • Write and enhanced documentation for 2.0.0

OSL-LcuApi

  • Refactoring code (planned for 2.0.0)
  • Cover all LcuApi request (not planned yet)

OSL-LiveEvents

  • Refactoring code (planned for 2.0.0)
  • No other features planned yet

OSL-ReplayApi

  • Refactoring code (planned for 2.0.0)
  • Cover all ReplayApi request (not planned yet)

OSL-Web

  • Refactoring code (planned for 2.0.0)

  • Enhanced web interface (planned for 2.0.0)

  • CDragon

    • Manuel download patch and language (planned for 2.0.0)
    • Manual select patch and language (planned for 2.0.0)
    • Enhanced web interface (planned for 2.0.0)
  • Champ Select

    • Enhanced customization web interface (planned for 2.0.0)
    • Display team logo (planned for 2.0.0)
    • Fix bugs, square, splash art not display (planned for 2.0.0)
    • Enhancing existing views (planned for 2.0.0)
    • Display stat winrate and pick champ (not planned yet)
    • New view (not planned yet)
  • Config

    • Enhanced web interface (planned for 2.0.0)
  • End Game

    • Enhanced customization web interface (planned for 2.0.0)
    • Display team logo on overlay (planned for 2.0.0)
    • Number of Voidgrubs killed (planned for 2.0.0)
    • Enhancing existing views (planned for 2.0.0)
  • In Game

    • Read information in memory (not planned yet, wait Riot Vanguard information)
      • HP/Mana/Dragon/Gold/Dega in fight/Champion stacks/XP/Level ...
    • Enhanced customization web interface (planned for 2.0.0)
    • Enhancing existing views (planned for 2.0.0)
      • Voidgrubs
        • Timer (planned for 2.0.0)
        • Number killed per team (planned for 2.0.0)
        • Logo (planned for 2.0.0)
        • Add your own logo (not planned yet)
      • Herald
        • Change timer (planned for 2.0.0)
        • Change default logo (planned for 2.0.0)
        • Add your own logo (not planned yet)
      • Baron
        • Change default logo for each baron (planned for 2.0.0)
        • Add your own logo (not planned yet)
      • Dragon
        • For fire add ash (planned for 2.0.0)
        • Add your own logos (not planned yet)
      • Items
        • Update list and fix bugs (planned for 2.0.0)
      • Display team logo (planned for 2.0.0)
      • Win lose display (planned for 2.0.0)
    • Add multiple overlay types (planned for 2.0.0)
  • Runes

    • Enhanced customization web interface (planned for 2.0.0)
    • Enhancing existing views (planned for 2.0.0)
    • Add multiple overlay types (not planned yet)

OSL-WebApiRiot

  • Refactoring code (planned for 2.0.0)
  • Cover all WebApiRiot request (not planned yet)

Thanks to these projets and community

LeagueBroadcast (League of Legends Spectate Overlay Tools )

league-prod-toolkit (Toolkit for League Productions with overlays for champion select, ingame events, end of game stats, and more)

league-observer-tool (An addition to the league-prod-toolkit for the observer PC)

lol-pick-ban-ui (Web-Based UI to display the league of legends champ select in esports tournaments)

lol-spectator-overlay-client (A client that produces an overlay similar to that of the one used in the broadcasts of LoL Esports during 2015-2017)

overlay (Customizable UI for League of Legends champion select spectating)

LiveEventsDocumentation (Minimalist documentation of live events)

License

Distributed under the MIT License. See LICENSE for more information.

Legal disclaimer

OSL isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.

OSL was created under Riot Games' "Legal Jibber Jabber" policy using assets owned by Riot Games. Riot Games does not endorse or sponsor this project.

osl's People

Contributors

sky-csc avatar

Stargazers

 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

osl's Issues

adjustment suggestion

synchronize the tags of post game teams with the endgame one, so you don't need to edit them on two separate pages, but do it on one page, or in the end game, change acronyms for the team logo and separate the victory/defeat of the teams so you can customize better, for example in my layout I can't move just the abbreviation to the space I made in the layout without moving the victory or defeat

image
image

already in the picks and bans, for the next update or I don't know the adjustment of the layouts to put the choice and banning of the teams the little arrow changing sides with support for the score of how many victories/defeats there are during the course of the championship, below there is a model drawn of how would it look with the adjustments, if possible add the spells after the end of the choices and banishments
image

I was forgetting, the whole system has a bug when changing fonts, I tried to change different forms of fonts and not one of them works. "/..assets/css/font/fonts <//> /..assets/css/font/fontLOL"

Riot Launcher Path not found

Captura

Complete all the steps of the "OSL-Web", start the league of legends client, and then start the "OSL-Client" and now I get this error, where is the problem coming from?

NO IMAGES

Good afternoon, you are not showing me the images of the champion selection, is there any step that can be done about it? thank you so much
image

possible adjustment in picks and bans?

if possible could you put these adjustments in the picks and bans in view 3, and also the arrow indicating each team that is banning or choosing?

adjust the ban to put it like this, I can put it in the champion selection, but not in the bans.

and the championship logo in the middle of the picks and bans.
and the removal of the bar where the players' nicknames are,
with custom color function.

image
image

Bug - images of picks and bans, e ingame

and < not only the images of picks and bans, the runes are also not being pulled, they are not even pulling a champion, it is as if they were not in the lobby with the message waiting for initiation.

Hello, the error is still on the streets as I said, there is only one but before it worked fine but now the other ingame api is buggy, which shows team scores the drakes for each team made is not displaying after this bug fix that occurred later of the patch update, and it's not showing the drake elder and nashor powerplayers either, I don't know how but it's interfering with the ingame api, the ingame api I use is the one from LeagueBroadcast > https://github.com/floh22/ LeagueBroadcast

Screenshot_1

LiveEvents.ini

Hi, I wanted to re-write the LiveEvents.ini, but I dont have it in my file. So I wanted to download it trough you link but then 404 error comes. Can you help me?

Can you help with this here?

How can I do this in my layout, put half of the champion's art in black and white and leave the rest in color?
Is there any way around here, with this type of filter?
image

can someone help me configure an api?

I have this error in the api in the ex of the OSL-client, since the OSL-WEB runs completely without errors, could someone help me solve this?, I already configured and reconfigured everything 3 times and I cannot run it anymore.

Would it be possible to have something like this layout?

Would it be possible to have something like this layout?
image

only with these adjustments here that I made in photoshop?
with custom colors in the teams add the camp logo in the middle on top of the patch and the timer will only be there in the middle of the bans in circular?
image

hm... not working

Getting Started
there is mistypo I think

  1. Run OSL-Client on the computer
  2. Run OSL-Client on the computer

I run server and client on same pc and I did edit appsettings.json file to http://0.0.0.0:4141
I run OSL-Server.exe, OSL-Client.exe in same pc and when I test to run with league client
made custom game and and it read lobby but once I start the OSL-Client.exe cmd closed

Question about design

Hi, I want to ask if there is some way to change the look of the "LCK" style pick ban? We have speciffic art style for league and it doesnt match.

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.