Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is a feeling I've recently come across as well. While playing ARK: Survival Evolved, I came across the ARKServers.net server page, which shows the Steam name and play time of players on the server, to generate interest. I started scraping this into an Excel spreadsheet, and combined this with player ingame names, and also their tribe names. This gave me a basic report of tribe strength on the server, which I could share in my tribe's Skype chat.

After reading about tracking your Facebook friends on HN, I pressed F12 on ARKServers.net, waited for a request, then right clicked this and copied the cURL link. This returns a JSON payload of user names and play times. I used this as the foundation of a Powershell static site generator, with an HTML boilerplate generating a report every 60 seconds. I registered a domain cheaply with Google and host the site with IIS on my home internet.

I soon learned that any Steam server will return a list of players and play times when queried with the correct UDP packet. The ARKServers site was just running a PHP application called SteamQuery that performs the UDP call and turns it into the JSON payload. I'm still working to port this to Powershell.

After some time, I expanded the website. Now, the static site includes an HTML5 canvas that combines 3 JSON payloads (server, tribe, map) to show tribe base locations on a rotating map background, with player and tribe listed in menus.

The project is pre-3.0, needing bug fixes and a true dynamic map. But making the site has actually been more fun than playing ARK.

Code on Github: https://github.com/Gilgamech/ARKScrape

Demo site (Currently inactive): http://gilgamech.com/ARKData/_Wiped_2_4__NoobFriendly_8xT_3x...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: