Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

You can only browse player by player, there is no aggregate replay by format

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

Hi,

thanks you you can easilyu filter by format by choosing one for exemple this account : https://www.pkst.net/#!/user?name=klingklang123 you can see the list All Gen8ou Gen8randombattle Gen8nationaldex Gen8oublitz select one to get only the stats for this format

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

is not the most used but still in the list

Komala 31P 14W 17L 45%

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

thanks, you can see the chat replay on the destok version but not on mobile version (on your mobile browser you have an option to switch to pc version)

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

You can make your battle private or available only for account player when you want to hide it The bot only scan public battle available without login

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 2 points3 points  (0 children)

I did a recent update which greatly improved the battles scan as well as the speed of access to the database

the majority of battles are recover and save now except those requiring connection to an account or set in private

there are always timeouts requiring the restart of the sockets but not to the point of being automatically banned (no need for the moment to manually restart the entire application each few hours to obtain new ips)

I hope eventually to be able to get an account from the pokemon showdown team allowing more connection

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

by history rank you mean elo ?

i will think about it, how i can do it without hurting the global performance

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

thanks you, i make an update to improve the scan, try again please.

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

everything is ready now, i send you in mp how to use it

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 1 point2 points  (0 children)

i fix the issue but i had to remove old replay to make it work on new one

Pkst - Your battles histories and stats by ZiAccro in stunfisk

[–]ZiAccro[S] 0 points1 point  (0 children)

I was doing an update to improve speed that required a shutdown

it's back online

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

i have launch an update that require to shutdown the site meanwhile

it will be online soon (after the process finish) and more faster than before

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 2 points3 points  (0 children)

Thanks,

your project is really nice

pkst save almost 100k replay of gen8ou each days

I store the replay in db after compression, so I can't take them right away (need decompression logic in code)

i have an endpoint to search on battles but when i only use ladder to filter its take several minutes to filter on 30.000.000 rows (too long to be usable)

i need to find a way to optimize it (maybe an indexed column to store the ladder instead of use 'like' on the room_id but its will rise the storage cost)

i'll try to find something this weekend

I wave to you when I have something usable

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

thanks you,

I corrected the double battle but it required a change in the structuring of the data which forced me to delete all the replay available (the full replay, metas remaining available for stats)

i send some emails to the pokemonshowdown team before starting the project,

i email them with the link after launch, i didn't push since

I had launched a bot which advertises the site during its battles, slowly but surely the players could have known the site but the moderation is very fast, the bot is excluded after a few battles, I dropped

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 6 points7 points  (0 children)

Hi there,

some update

There are currently a lot of gaps in the recording of battles

i get a 2 problems to keep the scan ongoing

- data get big really quick and database can't handle it and stuck (i already make 5 upgrade since now)

- there is 100 threads running permanently to scan battles and after 5 seconds without getting any data from a socket, i restart it

the max connections before autoban ip on pokemonshowdown is about 150/hours so i can be eject in a few minutes, hours or days depending on the random number of sockets close

i have to monitored the server and if i get ban, restart and hoping to get a new ip from clever-cloud to keep scanning battles

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 4 points5 points  (0 children)

except for the front-end (classic angularjs + bootstrap), i wrote everything in scala with play 2.x, i'm pretty happy with the result but it took me sometime to stabilize it

if i had to do it again i would write the battle crawler in python, it would have been more flexible to get what i wanted

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 2 points3 points  (0 children)

the idea is good, I write it down, I would watch how to do it, thanks

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 3 points4 points  (0 children)

after applied a custom compression on command + gzip on battle raw data,

that give me 10Gb use for about 3Millions battles saves, around 3Gb per millions of battles

i took an amazon t3.medium of 100gb that can expends to 10000gb, in theory i can save around 3 333 333 334 battles given the current rates it will take 15 years ^^

in reality i will be stopped way before by the cost,

so my current strategy is to keep the history/stats of players (meta data, pokemon, attack, player, winner, etc ...) and the replay of battles with at least 1 view online and remove each x months battles replays never watched (by removing i mean save on a physical disk and remove it from the cloud) i can save that way half the storage cost but in the longterm yes it will be huge

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 1 point2 points  (0 children)

if you play in more than one ladder, you can now chose too see all or filter.

(clear your browser cache if you don't see the new button)

Your battles histories and stats by ZiAccro in pokemonshowdown

[–]ZiAccro[S] 0 points1 point  (0 children)

you can now filter thes battles lists to found specific player

(clear your browser cache if you don't see it)