Author Topic: Status checker tools  (Read 54 times)

Offline Ghosthack

  • Rotator
  • Bytecruncher
Status checker tools
« on: November 03, 2019, 08:13:40 pm »
Here's two tools I've created for retrieving the uptime and number of active players of a remote FOnline server.

One is written in bash and the other for Node.js. There's also an unfinished FASM version, but it's not bundled.

[Download] [Github]

Example usage
Code: [Select]
./ping.sh play.fonline-reloaded.net 2238
Result:
Code: [Select]
Players: 36
Uptime: 103831 seconds

Code: [Select]
node ping.js play.fonline-reloaded.net 2238Result:
Code: [Select]
Connected to play.fonline-reloaded.net:2238
Players: 8
Uptime: 6 days, 8 hours, 5 minutes