Jump to content

Leaderboards


Recommended Posts

Posted (edited)

This is a leaderboard I made for timberscape before it was released to the SDN. I was not good at writing when I wrote this so I am posting about it now, 2 years later lol.

This leaderboard requires 2 things, a lamp stack, and a post request made by your script to update these values.

an example of this post request would look like

 

http://127.0.0.1/upload3.php?name=OSBOTUSERNAME&logschopped=25&time=60000000&expgained=3&premium=no

 

the way this would look on the database end is

2024-05-12-22-36.png

 

after multiple runs it would look like

 

2024-05-12-22-36-1.png

 

if there is any interest in a project like this, please let me know, and i will release it. Just wanted to share as it has been sitting on a vm for 2+ years lol

 

also worth noting that this could all be hosted on a xampp stack locally if that was not obvious. or remotely. If you're doing remotely you may want to add some sanitation to the post request as I currently don't have anything in there for that. however its not like this database holds sensitive information.

Edited by BananaTown
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...