Hello everyone, I found in the code how the client calculate the number of players for each team
And it's pretty easy to understand+calculate, here is the code: https://pastebin.com/aYa2BYsw
Goto line: 3679 and 5062
(Btw if you know how to decompile .dat files here's the directory: \mod_man-1\com\riotgames\platform\gameclient\views\game\pra ctice\create\CreatePracticeGameView.class.asasm)
My question is:
Where is the file that checks the max players?
Here is how you can calculate the max players
Pushbyte/(Callprop+TeamSize)=FinalTeamSize
Pushbyte |
Callprop |
Teamsize (InGame) |
Allow Create Button |
Result |
ClientCrash |
12 |
1 |
1x1 |
No |
6x6 |
No |
6 |
2 |
1x1 |
|
|
Yes |
First example:
12/(1+1)=6x6
The game checks (in client side) if the lobby have more than 5 players selected and if it's true it simply disable the "Create Lobby" button
I have to find the code that checks for the MaxTeamSize (or something like that)
You can help me by: searching for the code inside the pastebin/file I gave you.
Thank you for your patience and I hope we can find something