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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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