KyleH112 Posted May 17, 2010 Posted May 17, 2010 I have a mod request, that im willing to pay for if not free. I am looking for a reward system mod. That gives out a reward automatically or they can claim it. For example, when a player hits 1,000 of each stat. For example, when a player gets 10 referrals. For example, when a player does 500 crimes. Quote
rulerofzu Posted May 17, 2010 Posted May 17, 2010 Perhaps post in the Wishes for new modifications or the market place :D Quote
ddgamedesign Posted May 17, 2010 Posted May 17, 2010 Yep, or sometimes called Merits. It's already available, and can be heavily modified for personal goals, etc. I've done it myself. Quote
Technologiic Posted May 17, 2010 Posted May 17, 2010 Yep, your definitely talking about a merit system there. there are plenty about, just take a look. Quote
KyleH112 Posted May 19, 2010 Author Posted May 19, 2010 Cool thanks, unless someone has a paid one that also does referrals, and rewards are easly added. Quote
Nicholas Posted May 21, 2010 Posted May 21, 2010 Yep, or sometimes called Merits. It's already available, and can be heavily modified for personal goals, etc. I've done it myself. it is the merit system your talking about but its techically same as the honor system honor system is click link and get reward (used on http://criminals-nightmare.co.uk/) merit system is a automatic credit with insertation querys on like index.php (used on http://criminal-madness.co.uk/) merit system can be brought here, http://www.cronwerks.com/forum/cronwerks-mccode-mccodes-mods/merits-($5)/ merit system on criminal madness tho is a highly revamped verison its nothing like Cronus's now. coding and sql is different. ive added a system where you can exchange them for upgrades but only max of 10 times. here is an example Quote
Nicholas Posted May 21, 2010 Posted May 21, 2010 Cool thanks, unless someone has a paid one that also does referrals, and rewards are easly added. referrals one you cant really do unless you add alter table users add referrals int(11) not null default 0; and in register add this query $db->query("UPDATE users SET referrals=referrals+1 WHERE userid={$_POST['ref']}"); under $db->query("INSERT INTO referals VALUES('', {$_POST['ref']}, $i, unix_timestamp(),'{$r['lastip']}','$IP')"); and then edit all the users that have referrals in phpmyadmin to the number it shows on viewuser.php and replace Referals: "; $rr=$db->query("SELECT * FROM referals WHERE refREFER={$r['userid']}"); print $db->num_rows($rr); print " with Referrals: ".number_format($r['referrals'])." Quote
Jordan Palmer Posted May 22, 2010 Posted May 22, 2010 @Nick - You could very easily count how many time's the userid has referred someone without adding to the Users table.. Quote
Curt Posted May 22, 2010 Posted May 22, 2010 @Nick - You could very easily count how many time's the userid has referred someone without adding to the Users table..you wouldnt be suggestiong a num_rows query now are you ? :D heres an example just incase its needed... $xx = $db->query("SELECT 'refREFER' FROM 'referals' WHERE refREFER=$userid"); $x = $db->num_rows($xx); now you can display how many referals the person with $x :) lol...i probably just wasted my time doing this but it might help someone...lol cheers Quote
Jordan Palmer Posted May 22, 2010 Posted May 22, 2010 You've got the right idea, I'm not sure how I'd go about it. I'm re-writing my ref script so ;P 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.