<< Back to Help Forum   Search

Posts 1 - 14 of 14   
How works the territory win on clan war map ?: 2025-05-16 14:44:48


Rex Imperator 
Level 59
Report
On season 62, The Empire Of Antarctica had 12 wins and one territory.

On season 63, The Empire Of Antarctica has 16 wins and 3 territories.
But at 12 wins, we already had 2 territories.

Can someone explain me ?
How works the territory win on clan war map ?: 2025-05-17 18:12:49


JK_3 
Level 63
Report
Did you have a bunch more people in your clan last season? The number of people in the clan has a significant effect on how many CW points you can earn (which is what the territories are based on).

The CW points are based on the following logic:
if (clan_size > 50): 
    points = daily_wins * 25 / (clan_size - 25) 
else: 
    points = daily_wins * 25 / Math.max(daily_players, 25)

If that's not it, then perhaps Fizzer changed how many points you need to get a new territory in an effort to speed up the season?

Edited 5/17/2025 18:12:53
How works the territory win on clan war map ?: 2025-05-17 18:26:53


Farah♦ 
Level 61
Report
Given that JK_3's code is quite hard to read, here's a way easier x86-style Assembly version of the code:

    ; eax = clan_size
    ; ebx = daily_wins
    ; ecx = daily_players

    cmp eax, 50              ; if (clan_size > 50)
    jg  .above_50

.below_or_equal_50:
    ; Compute max(daily_players, 25)
    mov esi, 25              ; esi = 25
    cmp ecx, 25
    jge .use_ecx
    mov ecx, esi             ; ecx = max(daily_players, 25)
.use_ecx:
    mov edi, ebx             ; edi = daily_wins
    imul edi, 25             ; edi = daily_wins * 25
    cdq                     ; sign-extend edi to edx:eax for idiv
    mov eax, edi            ; move numerator to eax
    idiv ecx                ; eax = points
    mov edx, eax            ; store result in edx (points)
    jmp .done

.above_50:
    ; Compute daily_wins * 25 / (clan_size - 25)
    mov edi, ebx            ; edi = daily_wins
    imul edi, 25            ; edi = daily_wins * 25
    mov esi, eax            ; esi = clan_size
    sub esi, 25             ; esi = clan_size - 25
    cdq                     ; sign-extend edi to edx:eax for idiv
    mov eax, edi            ; move numerator to eax
    idiv esi                ; eax = points
    mov edx, eax            ; store result in edx (points)

.done:


At least, that's what ChatGPT says, I have no idea what this means.

I hope this clears up any ambiguities in JK's honestly quite unreadable code!
How works the territory win on clan war map ?: 2025-05-18 08:03:12


Rex Imperator 
Level 59
Report
To say true, I find the Farah code quite more complex that the JK's one but OK.

And to answer your question JK, I got the same number of people in the two seasons.
How works the territory win on clan war map ?: 2025-05-18 09:44:18


JK_3 
Level 63
Report
sounds like a case of #blameFizzer
How works the territory win on clan war map ?: 2025-05-18 09:48:40


JK_3 
Level 63
Report
maybe ask Fizzer in the AMA thread?
How works the territory win on clan war map ?: 2025-05-23 15:39:32


Rex Imperator 
Level 59
Report
Why not lol
How works the territory win on clan war map ?: 2025-05-23 15:40:05


JK_3 
Level 63
Report
Well the reason for "why not" is that the AMA was last monday, so you're only about a week too late.
How works the territory win on clan war map ?: 2025-05-23 15:50:26


Rex Imperator 
Level 59
Report
The forum still exist ?
How works the territory win on clan war map ?: 2025-05-23 16:04:17

Widzisz 
Level 62
Report
But I see The Empire Of Antarctica have two territories in season 62 map?
How works the territory win on clan war map ?: 2025-05-23 16:15:56


Rex Imperator 
Level 59
Report
Yes !
How works the territory win on clan war map ?: 2025-05-25 16:34:46


Rex Imperator 
Level 59
Report
Well Fizzer said that :

It goes 3, 8, 15, 24, 34, then by increments of 15 after that
How works the territory win on clan war map ?: 2025-05-26 07:47:39


JK_3 
Level 63
Report
On season 62, The Empire Of Antarctica had 12 wins and one territory.


So was this just a counting error by you and did EoA actually have 2 territories in S62?
Last time I asked my computer, it said 12 > 8.
How works the territory win on clan war map ?: 2025-05-26 12:15:16


Rex Imperator 
Level 59
Report
lol maybe Fizzer changed it after.
Posts 1 - 14 of 14