GithubHelp home page GithubHelp logo

ponita0 / ponilcu Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 6.0 51 KB

A league of legends LCU library

License: MIT License

C# 100.00%
lcu lcu-api league-of-legends league-of-legends-api leagueoflegends

ponilcu's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @Ponita0
  • ๐Ÿ‘€ Iโ€™m interested in C# , kinda python , making diffrent types of Apps
  • ๐ŸŒฑ Iโ€™m currently learning C# , thinking about python
  • ๐Ÿ“ซ How to reach me { Email : [email protected] | twitter : https://twitter.com/Ponita0 }

stats

ponilcu's People

Contributors

bangingheads avatar mikaeldui avatar ponita0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ponilcu's Issues

[.NET6] Webscoekts issue

When using on .NET6 It does stack overflow exception when league client opens or closes when the app is opened.

Possible fixes

  • I tried to remove the line which connects to the websocket socketConnection.Send($"[5, \"OnJsonApiEvent\"]"); and it worked but no websockets support then.

  • Another possible fix is by waiting till the client is fully open and then send the subscribe string and send unsubscribe before the app closes

Websocket causing Stackoverflow

Whenever i join a Aram game the Websocket causing a Stackoverflow, this does not happen when i comment socketConnection.Send($"[5, "OnJsonApiEvent"]"); out but then i can not listen to websocket events. I tried Using .NET 7, .NET 6 and .Net Core 3.1. In all cases it resulted in a stackoverflow after the champion selection

It is possible that the HTTP Clinet connection was not reclaimed

Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at PoniLCU.LeagueClient.Request(requestMethod method, String url, Object body)
at lolData.LolClient.gameCollect() in F:\reps\lolData\LolClient.cs:line 261

My request rate is one per second

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.