sniko Posted September 11, 2014 Posted September 11, 2014 (edited) Congratulations to Tangled for earning my attention by completing my requests! Here is the reward. Mugger of the hour. Original thread Thread created in 2010. Author last active on 07-05-2013 11:12 PM Run this SQL statement; You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. mugger_leaderboard.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. cron_mugger.php Set this up so it runs every hour, on the hour You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add this is the end of attack won.php Code mucked up? You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. If there are any bugs, reply and I'll sort them. This wasn't tested on a game with multiple users - I was alone, so test results may be not near perfect. There is a bug with the attack won.php query - I'll continue work on it tomorrow :D Would recommend installing it on your test server until I can fully test this and fix the issue with attackwon.php file Edited September 28, 2014 by sniko Fixed a few bugs. Quote
gamble Posted September 11, 2014 Posted September 11, 2014 Cute pic man! Haha nice job bud thanks! Quote
Tangled Posted September 12, 2014 Posted September 12, 2014 Cute pic man! Haha nice job bud thanks! oh gawd...:o I look absolutely horrible! Quote
sniko Posted September 13, 2014 Author Posted September 13, 2014 Updated main post to fix the attack won bug to not account for separate days/hours. Quote
Samurai Legend Posted September 14, 2014 Posted September 14, 2014 Wow +1 Ill be using this in the feature! Quote
Tangled Posted September 27, 2014 Posted September 27, 2014 Updated main post to fix the attack won bug to not account for separate days/hours. Sniko you are awesome!!!! thank you very much! Quote
Samurai Legend Posted October 2, 2014 Posted October 2, 2014 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Line 97 - You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Help please! Quote
KyleMassacre Posted October 2, 2014 Posted October 2, 2014 Try changing it to: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Samurai Legend Posted October 2, 2014 Posted October 2, 2014 I get this :( You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
G7470 Posted October 3, 2014 Posted October 3, 2014 [MENTION=70283]Samurai Legend[/MENTION] use the most recent version of that file on Sniko's github here. There's a change on there to that update statement that should fix your problem. ~G7470 Quote
The Phantom Posted November 13, 2014 Posted November 13, 2014 Thanks for this Sniko! However I want to add all the money in one total and all the mugs in another total. As now its on different columns. I tried this - You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Still does the same thing Quote
WarMad Posted May 22, 2016 Posted May 22, 2016 i will be turning this into v1 some time soon and giving it a try i like this idea Quote
KyleMassacre Posted May 24, 2016 Posted May 24, 2016 If you click the quote button the SQL show Quote
Magictallguy Posted May 26, 2016 Posted May 26, 2016 For anyone else having an issue with the lack of SQL tag support... *glares at MWG admins* You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 2 1 Quote
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.