robertabcd / lol-ob Goto Github PK
View Code? Open in Web Editor NEWa league of legends spectator mode game downloader
License: MIT License
a league of legends spectator mode game downloader
License: MIT License
League of Legends OB (spectator) mode downloader and utils ========================================================== * This project is written in perl, ruby, C. * Currently, it only supports Taiwan server. * Will work on other regions if I have time. * Includes some work notes for replay files.
Hello,
I'm trying to understand your blowfish decryption of the chunk
and keyframe
data. I had a few questions. The payload header contains an encryption key, but in decrypt.rb LN31-33 it looks like you're pulling the blowfish decryption key from the JSON metadata portion of the file.
To decrypt the keyframe and chunk data, we do not use the encryption key from the payload header, but instead we use a key derived from the JSON metadata - is this correct?
This is confusing me, because in the JSON metadata that I'm extracting from my own replay files, I do not see the gameKey.gameId
, or key
keys that you are using to extract the decryption key. I do see a gameId
, which I assume is the same as the first, but I do not see a JSON metadata property named key
. Have these changed, or am I not understanding your code? I'm not a Ruby programmer and your code is pretty straightforward, but I may be misinterpreting something.
Thanks!
I saw there an issue on decrypting this data. I made some code in PHP and now I am stuck at retrieving Gold, Kills and so on.
@trebonius2 related #1 (comment)
Can you provide more details on where I can find this "health"?
Best Regards.
When running replay-ob.pl and viewing a game in spectator mode, the client will work for only a small amount of time after requesting all of the chunks before crashing.
The requests received look like the following after the last chunk is requested
/observer-mode/rest/consumer/getLastChunkInfo/realm/gameid/0/token
This repeats for a period of time and eventually the request becomes:
/observer-mode/rest/consumer/end/realm/gameid/-3162076073045644424/token
The -316...is seemingly randomized.
If this request is sent I can continue to watch the replay normally unless I try to skip or go back in the replay timeline, at which point the client will give me the error along the lines of "Unable to download spectator data, the game will now exit"
toulouse @ ##loldev suggests that copying ROFL-Container-Node wiki page to leaguespec's repo.
As @lukegb did most of the work, I'd like to ask for your consent.
The wiki and license can be found at this url:
https://github.com/loldevs/leaguespec/wiki
Hello, under what license is this project released under ? Thank-you.
Greetings, I'm wondering if you've had any luck parsing the endOfGameStats results from e.g.:
http://spectator.na.lol.riotgames.com:8088/observer-mode/rest/consumer/endOfGameStats/NA1/1018346374/null (it has expired)
I'll continue working on it and update this if I make any progress.
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.