A feature rich league client written in TypeScript, with basic scripting & more
Just download the client from the releases tab & run 'lcts.exe'
A stylish clean ui, for ease of use
Your game has to be in borderless (or windowed) to work, (can be turned off)
- automatically
- accept the match
- pick
- a champion to play
- a champion to ban
- set runes (runes do change you might not be able to see the changes when editing)
- set summoner spells
- check if you got the lane you want
- scripting
- toggleable overlay
- config
The config is located in resources/data/config.json, here you can customize everything
{
"auto": {
"acceptMatch": true, // automatically accepting a match
"champion": {
"set": true, // "hovering" of your pick/ban
"lock": true, // lock-in the selected champion
"ban": true, // ban the selected champion
"checkLane": true, // check if the lane you got was the lane you chose in the lobby (primary lane only), for picking/banning
"defaultLane": "utility", // if you didn't choose a lane this will be the lane it uses instead
"lanePick": {
"top": [
"Gwen" // the list of champion you want to pick on the top lane
],
"jungle": [
"Lilia" // the list of champion you want to pick in the jungle
],
"middle": [
"Irelia" // the list of champion you want to pick on mid
],
"bottom": [
"Caitlyn" // the list of champion you want to pick as the adc
],
"utility": [
"Renata" // the list of champion you want to pick as the support
]
},
"laneBan": {
"top": [
"Garen" // the list of champion you want to ban on the top lane
],
"jungle": [
"Belveth" // the list of champion you want to ban in the jungle
],
"middle": [
"Akali" // the list of champion you want to ban on mid
],
"bottom": [
"Ezreal" // the list of champion you want to ban as the adc
],
"utility": [
"Leona" // the list of champion you want to ban as the support
]
}
},
"runes": {
"set": true, // automatically set the runes of the locked in champion
"prefix": "[u.gg]" // change the runes that start with this
},
"spells": {
"set": true, // automatically set you summoner spells
"defaultLane": "utility", // if you didn't choose a lane this will be the lane it uses instead
"lane": {
"top": [
"Teleport", // *D*
"Flash" // *F*
],
"jungle": [
"Smite", // *D*
"Flash" // *F*
],
"middle": [
"Ignite", // *D*
"Flash" // *F*
],
"bottom": [
"Heal", // *D*
"Flash" // *F*
],
"utility": [
"Ignite", // *D*
"Flash" // *F*
]
}
}
},
"misc": {
"status": {
"text": "default-status", // what to set the status to
"set": false // auto set it
},
"rank": {
"tier": "diamond", // for storing your tier so you can use it in a script
"rank": "III", // for storing your rank so you can use it in a script
"set": false // auto set it
},
"userScript": true // make use of the user made script (script.js)
},
"overlay": true // enable in game overlay
}
LCTS doesn't have any scripts, it only support "scripts" for automating the client
The client allows for function scripting (within LCTS itself), the script is located in resources/data/script.js.
- The script has to be called "script.js" so the client can find it.
There are some default scripts available just rename the one you want to "script.js", and restart the LCTS to run them.
- The default script are located in the "examples" folder
class LCScript {
// when the game launches
async onUserConnect(user, lobby, config) {
// your code goes here
return true
}
// when user joins a party
async onPartyJoin(user, lobby, config) {
// your code goes here
return true
}
}
Methods are called like this
await user.setStatus("example")
Some functions return data, they look like this:
async function setStatus(status: string): Promise<IUser>
async function setRank(tier: string, rank: string): Promise<IUser>
async function setLanes(first: string, second: string): Promise<void>
async function create(queueId: number): Promise<ILobby>
async function leave(): Promise<void>
async function setPartyType(type: string): Promise<void>
async function startSearch(): Promise<void>
async function stopSearch(): Promise<void>
If you want to run the client from source make sure you have:
- TypeScript - Download & Install TypeScript. Used for compiling and the TypeScript enviroment
$ npm install -g typescript
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
$ git clone https://github.com/cactoes/lcts.git
$ cd lcts
$ npm install
Run the client directly from source
$ npm run test
Compile / build the client from source
$ npm run package:win
The logo isn't mine it was made by surgingpink