KebsCS / KBotExt

All-in-one application that sends custom requests to League of Legends LCU api
467 stars 76 forks source link

The app doesn't recognize the accounts I'm on, so it won't work. #80

Closed reacter1 closed 1 year ago

reacter1 commented 1 year ago

I've used the app before on my old laptop, but now that I have a new PC it stopped recognizing the accounts I'm on and therefore not working.

I've tried two things: Disabling windows defender and turning Valorant anti-cheat off.

This is how I see the app: image

I would like to know if you have a "fix" to this problem!

KebsCS commented 1 year ago

Hi, version 0.0.0 happens when the app can't send any http request. That means something is blocking it, most likely it's antivirus or firewall

reacter1 commented 1 year ago

I didn't mess with the firewall do you have any clue what to do?

KebsCS commented 1 year ago

I didn't mess with the firewall do you have any clue what to do?

image

Also, you can try redownloading it and then making exceptions for it on antivirus and firewall

reacter1 commented 1 year ago

edownloaded it did the firewall thing, widowns defender is off and no luck.

behrouzi123 commented 1 year ago

Is this tool bannable since it injects into the client?

KebsCS commented 1 year ago

edownloaded it did the firewall thing, widowns defender is off and no luck.

Then it has to he something else blocking it. Error 12158 means ERROR_INTERNET_UNABLE_TO_CACHE_FILE

Is this tool bannable since it injects into the client?

No it's not bannable and it doesn't inject anything

reacter1 commented 1 year ago

The funny thing is I can click on "blind pick" and it will create one. Keep in mind that it still says that it isn't connected to any accounts.

KebsCS commented 1 year ago

The funny thing is I can click on "blind pick" and it will create one. Keep in mind that it still says that it isn't connected to any accounts.

That's weird, maybe it didn't run as administrator?

reacter1 commented 1 year ago

It has the thing that makes it run every time, I'm reinstalling league atm to see if it fixes.

reacter1 commented 1 year ago

It has the thing that makes it run every time, I'm reinstalling league atm to see if it fixes.

Did not work and still doesn't connect to the account I'm on, very sad.

reacter1 commented 1 year ago

Tried another feature that works, I can log in through the app and it still does not connect

Is this the thing firewall thing you were talking about? Screenshot_2

And is it normal for it to show that the version is 0.0.0? image

KebsCS commented 1 year ago

Tried another feature that works, I can log in through the app and it still does not connect

Is this the thing firewall thing you were talking about? Screenshot_2

And is it normal for it to show that the version is 0.0.0? image

Version 0.0.0 means it can't send a request to https://ddragon.leagueoflegends.com/api/versions.json

Could you send in Custom Tab request like this one and post here the result? Method: GET Url: https://ddragon.leagueoflegends.com/api/versions.json Body: empty Port: 443 Headers: empty

antonkostas commented 1 year ago

Could you send in Custom Tab request like this one and post here the result? Method: GET Url: https://ddragon.leagueoflegends.com/api/versions.json Body: empty Port: 443 Headers: empty

I can. Got the same issue.

HttpSendRequestA failed. Last error: 12158

KebsCS commented 1 year ago

There's almost no information on the internet about that error. It might have something to do with the pc being unable to cache if the file exceeds some size, but honestly I have no idea. If it's a fresh pc, maybe you're missing some drivers or some configuration. Let me know if you manage to fix it

antonkostas commented 1 year ago

Alright, here's a list of things I tried to no avail:

Hope someone figures it out.

Vinositel commented 1 year ago

Hi there! I have the same problem it shows version 0.0.0 and it doesnt connect. It is mainly multi-search that doesnt work, other stuff like dodge, pick role, switch from ranked to normal or aram works, but multi search doesnt

HalfDragonLucy commented 1 year ago

Same problem here. Only a few features works now because of this. I tried:

Note: The problem has been appearing since january on my side, was working fine before.

KebsCS commented 1 year ago

Is it also the case on the prerelease? https://github.com/KebsCS/KBotExt/releases/tag/prerelease

Also what features don't work, is it just multi-search and skin data fetching?

HalfDragonLucy commented 1 year ago

Is it also the case on the prerelease? https://github.com/KebsCS/KBotExt/releases/tag/prerelease

Also what features don't work, is it just multi-search and skin data fetching?

Upon trying the pre-release I tested all the features one by one to see which one did- did not work.

Status Bar

Game

Passed Failed Unknow
Blind Pick Practice Tool Nexus Blitz
Draft Pick
Solo/Duo
Flex
Aram
Arurf
TFT Normal
TFT Ranked
TFT Hyper Roll
TFT Double Up
TFT Tutorial
Practice Tool 5v5
Clash
Tutorial 1
Tutorial 2
Tutorial 3
Intro Bots
Beginner Bots
Intermediate Bots
Custom Blind
Custom Aram

Whatever I selected into the games selection gave me the error code 12158 despite working.

I couldn't test to add bots to the custom lobbies as the bot selection was showing no entry. image

Profiles

Champs

Skins

Misc

Upon force-forcing the client and restarting, KBotExt stopped answering completely until I shutted it down with task manager.

KebsCS commented 1 year ago

@HalfDragonLucy Thanks a lot for this. Seems like "GET" requests don't work on https requests, which doesn't make sense. Could you test it for me? In custom tab make a request with Method: GET or POST (test both) URL: /lol-lobby/v2/lobby Body: empty And what results do you receive?

HalfDragonLucy commented 1 year ago

@HalfDragonLucy Thanks a lot for this. Seems like "GET" requests don't work on https requests, which doesn't make sense. Could you test it for me? In custom tab make a request with Method: GET or POST (test both) URL: /lol-lobby/v2/lobby Body: empty And what results do you receive?

Both gave me the error 12007 but after restarting the app it gave me these:

GET /lol-lobby/v2/lobby

{
    "errorCode" : "RPC_ERROR",
    "httpStatus" : 404,
    "implementationDetails" : {},
    "message" : "LOBBY_NOT_FOUND"
}

POST /lol-lobby/v2/lobby

{
    "errorCode" : "RPC_ERROR",
    "httpStatus" : 400,
    "implementationDetails" : {},
    "message" : "A value for 'lobbyChange' is required."
}
KebsCS commented 1 year ago

Could you check the newest prerelease? https://github.com/KebsCS/KBotExt/releases/tag/prerelease I've disabled http caching so hopefully it fixes error 12158

HalfDragonLucy commented 1 year ago

I checked the features that showed up the error code 12158 and it is still displaying the same error code.

Whatever I selected into the games selection gave me the error code 12158 despite working. Launch legacy client started the default client with infinite loading, error code 12158 In-game minimap scale didn't worked, error code 12158 Check email of the account didn't worked, error code 12158

KebsCS commented 1 year ago

No idea then, what windows version are you on?

BennyExtreme commented 1 year ago

No idea then, what windows version are you on?

Windows 10 21H1 64-bit operating system (Build 19043.1149)

HalfDragonLucy commented 1 year ago

Thanks @BennyExtreme

BennyExtreme commented 1 year ago

Apparently we have found a solution to the problem

Steps:

KebsCS commented 1 year ago

@reacter1 @antonkostas @Vinositel Did it fix the problem?

KebsCS commented 1 year ago

Made an update https://github.com/KebsCS/KBotExt/releases/tag/prerelease Let me know if you get the pop-up window and it fixes the issue @reacter1 @antonkostas @Vinositel

antonkostas commented 1 year ago

Made an update Let me know if you get the pop-up window and it fixes the issue @antonkostas

Fixed it for me! 👍

KebsCS commented 1 year ago

Thanks a lot @HalfDragonLucy @BennyExtreme for the help