Sign in to follow this  
ITalianBadBoy

Web Player's Statistic Calculator

Recommended Posts

06/09/2019 API Update:

  • Removed the "wavePve_maxWave" from the  daily and absolute rank. (the history for this variable will not be made)
  • Added the "wavePve_maxWave" to the pve rank.

Tomorrow from 00AM to 02AM the value will be updated.

Share this post


Link to post
Share on other sites

Given the large amount of data, the database requires a lot of space for a long history of 1 or 2 years.

Therefore, to expand the space will be used Raspberry Pi 4 (Ram 4 GB): https://www.raspberrypi.org/products/raspberry-pi-4-model-b/

 

It will be placed in my house and will work all day for an unlimited time as a server.

All data will be transmitted through the Aruba server and therefore Raspberry will remain "hidden".

To guarantee a rapid response and a stable service, the Aruba database will provide the requests for the last 30 days and Raspberry will provide only those with more than 30 days.

To ensure more stable operation, Raspberry will be connected to the UPS and will have 64 GB microSD (class 10 A2) as a hard disk and two Pendrive (64GB 3.1 - RAID 1) as a backup driver.

 

The community is reminded that the database, API and runtime are still under development and testing, which could cause data crashes, changes and deletions.

Share this post


Link to post
Share on other sites

12/09/2019 API Update:

  • Increased the limit for rank to 1000.
  • Implementation the printing for the player history of: "daily do".
  • Implementation the printing for the clan history of: "daily do".

Share this post


Link to post
Share on other sites

16/09/2019 API Update:

  • Significant improvement of the functions and the response times for the "Get the player's ranking".
  • Changed the structure of the response for: "Get the player's ranking"

 

INFO:

  • When two players have the same value, in the pvp ranking, the time in PVP battles will be evaluated for to determine the position.
  • When two players have the same value, in the pve ranking, the number of PVE battles will be evaluated for to determine the position.

Share this post


Link to post
Share on other sites

28/11/2019 Runtime Update:

  • Fixed a logical problem concerning the loading of data having the same nickname but with a different uid in the historical.

Now when will be found data with the same nickname but with a different uid all data with the old uid will be deleted.

Share this post


Link to post
Share on other sites

Of 3.4M players only 9K are in the top 1000 of the absolute ranking.

Of these 9k, 4k were not in the aruba's database and have been integrated. Their statistics are already available in the rankings.

 

Spoiler

ABSOLUTE RANKING: TOP 3

General:

effRating:

1° nickName: Cavi1 - value: 9695

2° nickName: karaED - value: 9665

3° nickName: Kastante - value: 9551

 

prestigeBonus:

1° nickName: Ben4ik - value: 245

2° nickName: Flibastier - value: 245

3° nickName: IAgent008 - value: 245

 

accountRank:

1° nickName: xLeonx - value: 25

2° nickName: Sparax - value: 25

3° nickName: VikRus - value: 25

 

karma:

1° nickName: unknown716500 - value: 2466896

2° nickName: zerg42rus - value: 2378539

3° nickName: NordSiberia - value: 1882321

 

PVP:

gamePlayed:

1° nickName: LEXXX - value: 58815

2° nickName: Alexorsk - value: 54969

3° nickName: DeleteD - value: 53719

 

gameWin:

1° nickName: DeleteD - value: 36368

2° nickName: LEXXX - value: 31224

3° nickName: Alexorsk - value: 28741

 

gameLoss:

1° nickName: LEXXX - value: 27591

2° nickName: Alexorsk - value: 26228

3° nickName: SerB - value: 21216

 

winRate:

1° nickName: saana777 - value: 108

2° nickName: erniks - value: 101

3° nickName: ViktorRr - value: 66.25

 

totalAssists:

1° nickName: DeleteD - value: 502606

2° nickName: LEXXX - value: 488253

3° nickName: RoguE - value: 430433

 

totalBattleTime:

1° nickName: LEXXX - value: 26484137290

2° nickName: Alexorsk - value: 25032774511

3° nickName: DeleteD - value: 23797553649

 

totalKill:

1° nickName: DeleteD - value: 283459

2° nickName: KAMA3 - value: 232293

3° nickName: NERW - value: 205549

 

totalDeath:

1° nickName: Alexorsk - value: 166544

2° nickName: LEXXX - value: 151420

3° nickName: DV969 - value: 138703

 

killRate:

1° nickName: AngryAnnihilator - value: 260

2° nickName: dsaaaa - value: 224

3° nickName: morion2 - value: 184

 

totalDmgDone:

1° nickName: DeleteD - value: 13955600522

2° nickName: KAMA3 - value: 10836120606

3° nickName: NERW - value: 9425339655

 

totalHealingDone:

1° nickName: DeleteD - value: 3219367279

2° nickName: Guf - value: 2553218060

3° nickName: Mzhelskii - value: 2521308823

 

totalVpDmgDone:

1° nickName: VikRus - value: 711953

2° nickName: Sonic89 - value: 682249

3° nickName: fix77 - value: 575328

 

vpRate:

1° nickName: ezekiiel - value: 300

2° nickName: BraXbS - value: 215

3° nickName: artemoke - value: 211.5

 

PVE:

gamePlayed:

1° nickName: MeGaVolt - value: 37371

2° nickName: PowerForce - value: 30108

3° nickName: Alkash - value: 29827

 

unlimPve_playerAttackLevel:

1° nickName: PowerForce - value: 130

2° nickName: Shazhenla - value: 130

3° nickName: XEIII - value: 130

 

unlimPve_playerDefenceLevel:

1° nickName: PowerForce - value: 150

2° nickName: Shazhenla - value: 150

3° nickName: XEIII - value: 150

 

COOP:

gameWin:

1° nickName: Aviation - value: 10567

2° nickName: steelkosack - value: 9587

3° nickName: papajoe8282 - value: 8930

 

gameLoss:

1° nickName: Chrumov - value: 563

2° nickName: Aviation - value: 420

3° nickName: papajoe8282 - value: 402

 

winRate:

1° nickName: Kvas - value: 1066

2° nickName: Meizu - value: 730

3° nickName: SpaceMonk - value: 679

 

gamePlayed:

1° nickName: Aviation - value: 10987

2° nickName: steelkosack - value: 9974

3° nickName: papajoe8282 - value: 9332

 

totalBattleTime:

1° nickName: Aviation - value: 3521686060

2° nickName: steelkosack - value: 3422399303

3° nickName: papajoe8282 - value: 3154773785

 

Share this post


Link to post
Share on other sites

18/12/2019  Runtime and API Update:

  • All ranking functions have been rebuilt
  • The ranking data is calculated and saved in the db for improve the performance
  • Added many parameters to the rankings
  • The player ranking position can be take with the "Get the player's history" request

Share this post


Link to post
Share on other sites

Fixed a logical problem due to which the story was no longer recorded if the player changed the name and then returned to the previous one.

When a request is made for a registered name that has changed in the past, it will be checked again the next day.

 

Thanks @Sshedi for the warning and sorry for the delay in reading the report.

Share this post


Link to post
Share on other sites

An irregularity was found with the character set of the API's input.

 

So strings like "конcтaнтинoполь" are considered errors.

For to manage the problem the input parameter was inserted: "charset".

"charset" indicates the set of characters used in the string.

 

example: http://www.badboytool.com/tool/sc/api.php?nickname=ItalianBadBoy&get=absolute&limit=1&charset=UTF-8


All strings are managed according to the standard in UTF-8
If the parameter is omitted the script will try to detect the character encoding and always it will try to convert in to UTF-8.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.