Giter Club home page Giter Club logo

lolfire-source's People

Contributors

jyrno42 avatar perezpaya avatar

Stargazers

 avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lolfire-source's Issues

aggregatedstats and stats working ?

aggregatedstats and stats not working for me at now for euw (other things works fine.)

{
"err": {
"type": 17,
"name": "_error",
"id": 4,
"data": null,
"args": []
}
}

Login Que Loop

Good Evening,

I have everything installed correctly, or so it seems, however I am in an unending loop, what am I missing?

Logging in..
Checking Login Queue
connect.staticCache() is deprecated and will be removed in 3.0
use varnish or similar reverse proxy caches.
Logging in..
Checking Login Queue
Logging in..
Checking Login Queue
Logging in..
Checking Login Queue

I would gladly help write up some documentation

How do I host this on windows?

I really need some kind of league of legends api for my application but I don't have the knowledge to host this on my pc. Can you help me out?

Change Main server

Hey Your script works with Na and euw very well . But I wanna change base region to Brazil. How can I do that ? is it so hard to do or easy ? I can wait if you are busy.
I try to do change something but failed

"BR", "prod.br.lol.riotgames.com", "https://lq.br.lol.riotgames.com/");

Thanks to you

Socket times out after error

Hello!
When I try to call getInProgressMatch with a summoner that isn't currently playing I get a GameNotFoundException from riot servers, the problem is that after that, the connection is closed ("Timeout reached, closing socket") so I have to re-login again in order to keep making calls.
Is there a way to handle this error so that the socket doesn't time out?

Thanks

Several API Calls result in crash

I've changed the Login Credentials as needed to let the API Log into the EUW Server, added the newest Version string and everything seems to be just fine, except when I try several calls the whole thing crashes / forces an automated relog:

Retrieving Summoner Name(/api/v1/euw/summoner/xxx) when summoner xxx does not exsit the whole process crashes, first line of the stacktrace:

TypeError: Cannot read property 'object' of null
at D:\Users\XXX\Documents\lolfire\lolfire-source-master\api.js:33:56

The "stats" aswell as "aggregatedstats" returns the following and forces the client to relog:

{
"err": {
"type": 17,
"name": "_error",
"id": 4,
"data": null,
"args": []
}
}

Anyone got ideas?

(Solved) No puedo instalarlo

Intente probar en windows pero me salieron algunos errores después de hacer npm install, entonces tuve que hacerlo desde mi servidor, pero pues sigue mostrando el siguiente error, espero y me puedas orientar:

root~/lolfire2#

module.js:340
throw err;
^
Error: Cannot find module 'request'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/lolfire2/lolrmtp/matches.js:1:77)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)

Edit2:

Bueno retomando el error hice un npm install request, pues tenía ese error, pues ahora tengo el siguiente error al escribir node main:

root:~/lolfire# node main
Logging in..
connect.staticCache() is deprecated and will be removed in 3.0
use varnish or similar reverse proxy caches.

events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE
at errnoException (net.js:901:11)
at Server._listen2 (net.js:1039:14)
at listen (net.js:1061:10)
at Server.listen (net.js:1127:5)
at Function.app.listen (/root/lolfire/node_modules/express/lib/application.js:533:24)
at Object. (/root/lolfire/main.js:116:7)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

Edit 3: Listo lo que hace ese error es que el puerto ya estaba ocupado como por default viene el 80, entonces pues cambie el puerto en main.js, hasta todod funciona bien el template, pero los valores como por ejemplo status me arroja null. ¿a que se debe? pero ya ví que es por la versión 3.12.13_10_08_16_20 entonces la cambie y ya me arroja todo perfecto. ahora a testear un saludo!

Invalid Credential

Ih and sorry if I did a stupid request.
I try to start the code but I have that error:

Credentials:  {"rate":0,"reason":"invalid_credentials","status":"FAILED","delay":5000}

Where can I change the credential or what am I doing wrong?
Thank you in advice.

cant install it :(

after using npm install at directory . it is installing all dependencies. but when I try to do "node main" it says

(someproject)[root@server lolfire]# node main

/root/lolfire/lolfire/connections.js:31
async.map(Object.keys(regions), function (region, callback){
^^^^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/lolfire/lolfire/main.js:8:5)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

I am missing something but what :) ty for help

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.