Giter Club home page Giter Club logo

Comments (8)

iholston avatar iholston commented on July 17, 2024 1

So in broad terms what you should do is set your list of league of legends accounts up in json format or another similar format and look like
[
{"username":"name1", "password":"pass1", "level":0},
{"username":"name2", "password":"pass2", "level":0},
]

then in the accounts.py read in the file and return the username of an account that is not level 30, same for password, and then the setaccountsasleveled func should set the level of the particular account to 30. its relatively simple and should work for a small scale bot farm just fine.

from lol-bot.

kasperzi avatar kasperzi commented on July 17, 2024

I saw only one account/pw, any way to add more?

from lol-bot.

iholston avatar iholston commented on July 17, 2024

You need to do a little coding to add more, you can set up a database and have the bot retrieve credentials from the database or you can store them in a text file and read them in from a text file or you could hard code them into the accounts.py file.

from lol-bot.

markormega avatar markormega commented on July 17, 2024

Hi!

Can you give an example on how we can set up it? Sorry don't know how to code but i do know how things work.

from lol-bot.

iholston avatar iholston commented on July 17, 2024

@markormega do you have a database already set up or do just have a list of league of legends accounts?

from lol-bot.

markormega avatar markormega commented on July 17, 2024

i don't have a database yet, but i do have my complete list of League of Legends accounts

from lol-bot.

dio1rodrigues avatar dio1rodrigues commented on July 17, 2024

Can you give a guide on how to implement a database with the accounts in the bot?
I tried to do it in different ways but I couldn't.

Edit1

How do I make the bot jump to another account if the one he tried is level 30?

Edit2

Can I get the bot to view the account level and update the database and log into another account if it is level 30?

from lol-bot.

iholston avatar iholston commented on July 17, 2024

Setting up the database @dio1rodrigues is a bit involved. If you can't get it to work I would simply use a text file similar to my response to @markormega.

The bot will automatically log out when the account is level thirty. It is explained in the readme, if you implement the set-account-to-level-thirty method in account.py, then it should select a new account if implement the get username/password functions to select a non-level30 account

from lol-bot.

Related Issues (20)

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.