Skip to content

How it works

KurwaClown edited this page Jun 2, 2023 · 2 revisions
  1. How does it communicate with the client
  2. Checking for the client
  3. Start-up
  4. In champion select

How does it communicate with the client

The League of Legends Client serves as the main interface for players to interact with the game. Through its API (Application Programming Interface), developers can access and utilize key functionalities of the client, such as retrieving lobby data, managing matchmaking, and perform actions for the player. By using such capabilities, applications like KALUS, are able to automate actions, streamline processes, and provide additional features to optimize gameplay.

Checking for the client

To verify if the League of Legend Client is open, KALUS search for multiple running processes named LeagueClientUxRender. Searching for multiple runs of this process allows the application to make sure the client is fully loaded and not still in a loading state at start-up.

Start-up

On start-up, the application initialize the main KALUS window with it's content and start two threads. One handles the authentication process, which is necessary to communicate with the client. The other handles the client, if the authentication process is a success it checks for different phases of the client and act accordingly.

KALUS also retrieves different information locally, or online if needed :

  • Your auto pick and ban preferences
  • Your features preferences
  • Informations about the League of Legends' champions
    • They are retrieved online if the client isn't opened
    • They are necessary for to build up the list of champions used in the Characters Tab

In champion select

The way KALUS handles champion select is simple :

  • When a game is found, it determines if it's either a Classic Game or an ARAM Game
  • Once in selection it checks for the different phases : Pick, Ban, Finalization, ...
  • Depending on the phase, KALUS will perform its actions according to your preferences