Jump to content
Parabot - Bot for Ikov, DreamScape, SoulPlay, RuneWild, and more
Sign in to follow this  
BigShot

Weekly Exp Gains in Highscores

Recommended Posts

Hey, guys. I'm pretty much clueless when it comes to PHP. I can edit existing code and write mediocre and simple things, but everything I've learned so far is just from browsing through files every now and then. 

 

Well I'm attempting to add weekly exp gains to highscores for a project I'm working on. I'd assume I need to create some sort of database archive that it'd compare to, but I have no idea how to do that and if it's even the right way to go about this issue!

 

If anyone here has any idea or can set me on the right path, I'd be very grateful. Thanks in advance!

Share this post


Link to post
Share on other sites

Managed to do it on my own. I created a CRON script that copies over the database every week. Then I simply compare the exp differences to get the weekly exp gain.

 

This thread can be closed!

Share this post


Link to post
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.

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.

Sign in to follow this  

×
×
  • Create New...