iholston / lol-bot

An account leveling bot for League of Legends written in Python
MIT License
294 stars 48 forks source link

define account username as nickname automatically #83

Closed stxnflx closed 11 months ago

stxnflx commented 11 months ago

I recently discovered that if you don't set a nickname for the account before using it in the bot, it stops earning XP and doesn't level up. In the case of using a VPS with multiple accounts simultaneously, it would be a lot of work to set a nickname for each account individually. Is there any way to implement this with the 'launcher.py' code and automatically set the nicknames as the account's own usernames?

iholston commented 11 months ago

I'm not sure if I understand your question. But you may be using an older version of the bot. The newest version will continue to level up even if the username does not match whatever account is logged in.

stxnflx commented 11 months ago

like, i just wanted to know if you can set an account nickname as the username of it, automatically

Example:

Username:Stmaiscarvin

so when you log-in you can automatically set the nickname as Stmaiscarvin, to prevent the account from not leveling up

stxnflx commented 11 months ago

an account can't level up if the username is not set, atleast on my virtual machine it happened, to prevent this i was thinking in a way to just set an nickname automatically, for example using the username, sorry for my bad english, it is not my first language, hope you can understand

iholston commented 11 months ago

I still don't quite understand so let me just clarify some things.

If you want the username to be set automatically to the Windows username, I'm sure there is some pythonic way of doing it but either way you would still need to provide the password to the bot so it seems pointless to do unless the password was set to the username as well.

stxnflx commented 11 months ago

I want to set the account nickname automatically, not the username

stxnflx commented 11 months ago

the nick showed ingame

stxnflx commented 11 months ago

I want to automatically set the account username as the ingame nickname

stxnflx commented 11 months ago

For example, my username to log-in in the account is Xanevivaddom, so i want that to be my nick showed ingame, like this image

stxnflx commented 11 months ago

but to have this i had to do this manually, i was thinking in a way to set it automatically

iholston commented 11 months ago

oh i see what you are saying, so the short answer to that is no this bot currently does not do that. You would need to set the account name that is shown in game manually.

It is definitely possible to do, but is outside the scope of this particular bot. You could fork the repo and add the functionality yourself if you wanted.

stxnflx commented 11 months ago

Alright, thank you for the patience man, u're doing a great job