Add install instructions
It would be nice to have explicit install instruction.
(If I understand it correctly then the intended way to install this package is to do npm install https://github.com/floh22/native-farsight-module, but it would be nice if this was explicitly stated somewhere.)
Unfortunatly, npm install https://github.com/floh22/native-farsight-module is not working on my end, so here's how worked around.
How to use
- Download zip of project (i personally used main branch)
- Start a League Of Legends match
- From the
<root>/index.jscall theconnectToLeague()function. When its connected, you should be able to usemakeSnapshot()to retrieve datas from the game. Make it in a loop so you have constant updated datas and enjoy !
Warning
If you're restarting too much the program, you could have an error when setting offsets, it is caused by a ratelimit of the offsetRepository url (