# GoW Database: Invasion Leaderboard

**URL:** https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679
**Category:** Community Content
**Created:** [August 9, 2017, 8:11pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679 "2017-08-09T20:11:33Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![Lyya](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/lyya/32/3650_2.png) [@Lyya](https://community.gemsofwar.com/u/Lyya)
#### Post date: [August 10, 2017, 8:02pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/61 "2017-08-10T20:02:00Z")

</div>

It’s no worries!

I’ve incorporated the total invasion counts from the profile data instead of trying to infer it myself, as @yonizaf suggested. The total invasion counts should be much more accurate as a result.

I’ve also changed the leaderboard code so that, if you view a leaderboard while you are signed in, it will update your own value only (as if you had accessed My Collection). That way, you can check and update your position on the leaderboard without having to go to My Collection (which was pretty unintuitive).

As a side effect of all this, once again I am operating only with a subset of user data; if you find yourself missing in the leaderboard, visit either your My Collection page or one of the leaderboards to get your info to update.

---

<div class="post-metadata">

### Author: ![Strawnyy](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/strawnyy/32/30688_2.png) [@Strawnyy](https://community.gemsofwar.com/u/Strawnyy)
#### Post date: [August 10, 2017, 8:04pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/62 "2017-08-10T20:04:09Z")

</div>

Ahhhh okay okay, makes sense. Yeah when I looked and saw I was 2nd, was just a little shocked! 😮

Yes thank you for these updates. Seriously much appreciated! 🙂

---

<div class="post-metadata">

### Author: ![Macawi](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/macawi/32/21289_2.png) [@Macawi](https://community.gemsofwar.com/u/Macawi)
#### Post date: [August 10, 2017, 8:17pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/63 "2017-08-10T20:17:28Z")

</div>

Something seems a bit off to me. I’m not nit-picking or anything but my invasions have gone down by more than 1,000 while others that I noticed have stayed about the same.  
Wouldn’t it be the same for everyone if the data was correct?

---

<div class="post-metadata">

### Author: ![Stan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/stan/32/29888_2.png) [@Stan](https://community.gemsofwar.com/u/Stan)
#### Post date: [August 10, 2017, 8:18pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/64 "2017-08-10T20:18:25Z")

</div>

I think data for other people will only update to the correct values when they actually visit the site to either check their collection or the leaderboards.

---

<div class="post-metadata">

### Author: ![Lyya](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/lyya/32/3650_2.png) [@Lyya](https://community.gemsofwar.com/u/Lyya)
#### Post date: [August 10, 2017, 8:24pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/65 "2017-08-10T20:24:39Z")

</div>

I’m not sure why invade counts are decreasing; I would have expected me to be lowballing results based on the fact that you can invade with less than 4 troops. At this point I’m at the whim of the GoW team’s data handling. The invade counts you now see are coming directly out of your profile and aren’t being inferred by individual troop invade counts.

---

<div class="post-metadata">

### Author: ![Macawi](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/macawi/32/21289_2.png) [@Macawi](https://community.gemsofwar.com/u/Macawi)
#### Post date: [August 10, 2017, 8:32pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/66 "2017-08-10T20:32:20Z")

</div>

Ok ,thanks for the explanation @Lyya and @Stan.

---

<div class="post-metadata">

### Author: ![Strawnyy](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/strawnyy/32/30688_2.png) [@Strawnyy](https://community.gemsofwar.com/u/Strawnyy)
#### Post date: [August 10, 2017, 9:06pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/67 "2017-08-10T21:06:47Z")

</div>

So I was looking… And it seems like if its by invades… I’ve invaded this many times… ![image](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/f/9/f9c191179c331ec3f3d9a7eb992247b0be6debcb.jpg)

But shows that I have ![image](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/6/1/612a797bcc13beb36a88395e192f453d5514b976.png) Just a little confused now

---

<div class="post-metadata">

### Author: ![Lyya](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/lyya/32/3650_2.png) [@Lyya](https://community.gemsofwar.com/u/Lyya)
#### Post date: [August 10, 2017, 9:15pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/68 "2017-08-10T21:15:31Z")

</div>

I’m tracking total invades; what you see is total invade _wins._ I could change my leaderboard to wins only if y’all like, or put in both columns (though it’d only sort by one).

---

<div class="post-metadata">

### Author: ![Macawi](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/macawi/32/21289_2.png) [@Macawi](https://community.gemsofwar.com/u/Macawi)
#### Post date: [August 10, 2017, 9:16pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/70 "2017-08-10T21:16:59Z")

</div>

I feel that I must clarify myself. I hope that you didn’t think that I was being critical of you @Lyya, that was not my intention, I’m not the best at expressing myself. I actually think that you bring a lot to these forums and you’re worth your weight in gold to the community.

---

<div class="post-metadata">

### Author: ![Strawnyy](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/strawnyy/32/30688_2.png) [@Strawnyy](https://community.gemsofwar.com/u/Strawnyy)
#### Post date: [August 10, 2017, 9:19pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/71 "2017-08-10T21:19:19Z")

</div>

Ah by total. Sorry didn’t even use my brain. Though did not include loses. Makes a bit more sense.

---

<div class="post-metadata">

### Author: ![Lyya](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/lyya/32/3650_2.png) [@Lyya](https://community.gemsofwar.com/u/Lyya)
#### Post date: [August 10, 2017, 9:35pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/72 "2017-08-10T21:35:03Z")

</div>

No offense taken – you are right to wonder why your total suddenly decreased! I wonder that too :S

---

<div class="post-metadata">

### Author: ![Drathas](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/drathas/32/7344_2.png) [@Drathas](https://community.gemsofwar.com/u/Drathas)
#### Post date: [August 10, 2017, 9:36pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/73 "2017-08-10T21:36:13Z")

</div>

Maybe creatures summoned in were/are counted in the original invade numbers.  
That would explain a decrease when switching to the new calculation?

@Strawnyy If that little pic is from the stats page after you click the pvp button, then that one won’t count casual pvp invades, which I’m assuming Lyya’s data does. Certainly they are for the amount of creature invades.

---

<div class="post-metadata">

### Author: ![beanie42](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/beanie42/32/19802_2.png) [@beanie42](https://community.gemsofwar.com/u/beanie42)
#### Post date: [August 10, 2017, 10:58pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/74 "2017-08-10T22:58:33Z")

</div>

Possibly teams with duplicate troops?

And as always, great work @Lyya!

---

<div class="post-metadata">

### Author: ![ONOPALAVER](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/onopalaver/32/46403_2.png) [@ONOPALAVER](https://community.gemsofwar.com/u/ONOPALAVER)
#### Post date: [August 10, 2017, 11:03pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/75 "2017-08-10T23:03:40Z")

</div>

Yes impressive numbers

🕶

---

<div class="post-metadata">

### Author: ![Lyya](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/lyya/32/3650_2.png) [@Lyya](https://community.gemsofwar.com/u/Lyya)
#### Post date: [August 10, 2017, 11:56pm UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/76 "2017-08-10T23:56:55Z")

</div>

Finally promoted leaderboards into sort and filter tables.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/e/e/eef019d7e949fff83bb1c9bef4e72b39acf08a96.png)

---

<div class="post-metadata">

### Author: ![Strat](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@Strat](https://community.gemsofwar.com/u/Strat)
#### Post date: [August 11, 2017, 12:22am UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/77 "2017-08-11T00:22:55Z")

</div>

@Lyya Good grief, you keep out doing yourself every few days with adding more functionality! Very Nice!!!

---

<div class="post-metadata">

### Author: ![Ozball](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/ozball/32/36110_2.png) [@Ozball](https://community.gemsofwar.com/u/Ozball)
#### Post date: [August 11, 2017, 12:23am UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/78 "2017-08-11T00:23:45Z")

</div>

And here was me thinking she was on holiday 😛

---

<div class="post-metadata">

### Author: ![Hoop](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/hoop/32/34118_2.png) [@Hoop](https://community.gemsofwar.com/u/Hoop)
#### Post date: [August 11, 2017, 12:38am UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/79 "2017-08-11T00:38:20Z")

</div>

I haven’t checked mine yet, but I just wanted to say thank you for all your work, and you are appreciated.

---

<div class="post-metadata">

### Author: ![Macawi](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/macawi/32/21289_2.png) [@Macawi](https://community.gemsofwar.com/u/Macawi)
#### Post date: [August 11, 2017, 2:08am UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/80 "2017-08-11T02:08:33Z")

</div>

> [@Santandrix](#):
>
> Ok, thx. So ppl who farm casual aren’t included?

I told you wrong. I have been testing tonight playing both casual and ranked pvp, After playing casual my invasions are not being counted towards my overall invasions in-game. So if you want to progress on the leaderboard you need to be playing ranked pvp. I just thought I would let people know my findings.

---

<div class="post-metadata">

### Author: ![Lyya](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/lyya/32/3650_2.png) [@Lyya](https://community.gemsofwar.com/u/Lyya)
#### Post date: [August 11, 2017, 2:09am UTC](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679/81 "2017-08-11T02:09:57Z")

</div>

I think that might be the cause of the discrepancy between the old numbers and the new. The total I’m now displaying (that came directly from the game API itself) is **ranked only**. When I was totaling up the troop invade counts and dividing, that was **ranked and casual.**

Sorry for the confusion. ☹

[Previous page](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679.md?page=3)

[Next page](https://community.gemsofwar.com/t/gow-database-invasion-leaderboard/28679.md?page=5)
