AnonymousUser Posted March 6, 2013 Share Posted March 6, 2013 I was just looking around browsing, being bored. You know, lol the usual. Well i've seen this in other games just haven't got around to making it myself so here we go... add sqls for rewards you want to give out for suchas crimes SQLS You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. once that is done all you need to do is add a query to update the users crcount by 1 each file where said reward is given on the hour... for our case its crimes so... edit docrime.php Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add afterwards or wherever it dont really matter... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. now we give rewards... in this case it will be crystals You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. --Credit goes to Guest for writing this cronjob Quote Link to comment Share on other sites More sharing options...
newttster Posted March 6, 2013 Share Posted March 6, 2013 Have an accumulation field. Once they get to a certain number ... award them with a weapon/armour/whatever that can't be purchased in game. Maybe donator days. There are tons of things that you could award them with. Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted March 6, 2013 Author Share Posted March 6, 2013 if you read carefully i have already stated what i wanted to give :D its crystals... and i want it to give to person with the most crimes done within that hour +10 preferably Quote Link to comment Share on other sites More sharing options...
newttster Posted March 6, 2013 Share Posted March 6, 2013 My apologies but that is not what I understood from that. Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted March 6, 2013 Author Share Posted March 6, 2013 just want the cron to set the user with the highest crime count for that hour an event + reward of the event for winning most crimes this hour and resetting counts for the next hour of course Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted March 6, 2013 Author Share Posted March 6, 2013 lol thanks a lot guest!! +2min for you! :D Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 14, 2013 Share Posted March 14, 2013 once that is done all you need to do is add a query to update the users crcount by 1 each file where said reward is given on the hour... for our case its crimes so... edit docrime.php Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add afterwards or wherever it dont really matter... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I wouldnt just add this where ever then it seems like your going to be getting double everything if im not mistaken Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted March 19, 2013 Author Share Posted March 19, 2013 I wouldnt just add this where ever then it seems like your going to be getting double everything if im not mistaken you just find the place where you succeed the crime and add in the crcrount = crcount + 1 :/ Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 20, 2013 Share Posted March 20, 2013 you just find the place where you succeed the crime and add in the crcrount = crcount + 1 :/ Much better explanation :p Quote Link to comment Share on other sites More sharing options...
dnenb Posted March 26, 2013 Share Posted March 26, 2013 I really like this addon guys - thanks! Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted August 8, 2014 Author Share Posted August 8, 2014 so glad i am able to recover some of my old stuff :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.