Git Product home page Git Product logo

Comments (10)

iholston avatar iholston commented on June 5, 2024

To change the game mode from beginner to intro simply change line 32 in constants.py from 'GAME_LOBBY_ID = BEGINNER_BOTS_GAME_LOBBY_ID' to 'GAME_LOBBY_ID = INTERMEDIATE_BOTS_GAME_LOBBY_ID'

from lol-bot.

Mewspoop1 avatar Mewspoop1 commented on June 5, 2024

How do i open constants.py? every time I try and open it, it quickly opens some sort of window but immediately closes it before it shows anything

from lol-bot.

iholston avatar iholston commented on June 5, 2024

right click on it and try and open it in notepad

from lol-bot.

Mewspoop1 avatar Mewspoop1 commented on June 5, 2024

Oh awesome! Thanks so much!

and to be certain this changes it to intro bots, not intermediate right? I just ask because I see "intermediate" in the line of code.

Thanks for being so patient!

from lol-bot.

iholston avatar iholston commented on June 5, 2024

my apologies, that will create an intermediate game. If you want to create an intro game lobby change line 32 in constants.py from 'GAME_LOBBY_ID = BEGINNER_BOTS_GAME_LOBBY_ID' to 'GAME_LOBBY_ID = 830'. 830 is the id for intro bots.

Intro bots is typically only filled with other bots which can lead to longer game times than beginner games and sometimes even losses, but there should be no issue overall.

from lol-bot.

Mewspoop1 avatar Mewspoop1 commented on June 5, 2024

from lol-bot.

Mewspoop1 avatar Mewspoop1 commented on June 5, 2024

One more question! How can I change the champion it picks? Currently it picks Ahri 99% of the time, and the 1% is Ziggs.

from lol-bot.

iholston avatar iholston commented on June 5, 2024

In constants.py, line 36, you can add or remove champion numbers to the array and the bot will attempt to select them first.

If you do not have the champion or they are all picked by other players the bot will then pick a free to play champion.

from lol-bot.

Mewspoop1 avatar Mewspoop1 commented on June 5, 2024

from lol-bot.

iholston avatar iholston commented on June 5, 2024

the first google search i did led to https://github.com/ngryman/lol-champions/blob/master/champions.json, you should be able to find the champ ur looking for and then use the "key" value in the array. this particular list is old though so it won't have some champs.

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.