RiotControl icon indicating copy to clipboard operation
RiotControl copied to clipboard

Offline mode

Open worm929 opened this issue 12 years ago • 3 comments

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.

worm929 avatar Jun 18 '12 10:06 worm929

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.

encratite avatar Jun 18 '12 19:06 encratite

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

worm929 avatar Jun 19 '12 01:06 worm929

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.

encratite avatar Jun 19 '12 01:06 encratite