encratite / RiotControl

An elaborate statistics tracking system for League of Legends. It used to be a centralised PostgreSQL based system but now it's a stand-alone SQLite application. It was written in C# and makes use of the LibOfLegends RTMP library. It is licensed under the terms of the GPLv3. Unfortunately I stopped working on it in 2013-08. Check out the website for a longer explanation.
http://riot.cont.ro.lt/
GNU General Public License v3.0
33 stars 15 forks source link

Offline mode #64

Open worm929 opened 12 years ago

worm929 commented 12 years ago

im not really sure if this is possible. i know the program access the client and retrieve the information from there but still, the problem with that is there is no way of looking up your database if, like today, the servers are down (or there is a problem with the login, program update, etc). because it just gives you "Invalid region specified." error

so thats basically it, an offline mode where you can see your already saved matches.

encratite commented 12 years ago

The application already supports this and there are several people who host all the files locally. In the past I decided to choose the current model with a centralised content server to be used by default as it would allow me to update the browser GUI easily.

worm929 commented 12 years ago

how can i access this? i mean, how can i see my data without connecting to the server?

encratite commented 12 years ago

You need to set up a local HTTP server that serves the JavaScript file(s), the CSS file, all the image files and the region client version file. There's a bundle for the images available at the Github downloads section but I haven't updated it in a while because demand for this is low.

After setting up the server with compatible paths (i.e. like on the main server), you can edit the Configuration.xml to have the versions URL changed to your 127.0.0.1 one (or whatever address it might be using) and you also need to modify the Index.html.template file to change the URL it pulls the script from - again, to your local address.

Use the Riot Control IRC chat channel to talk to me in case you have more detailed questions.