Jump to content
MakeWebGames

Reward System [Mod Request] [V2]


Recommended Posts

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.

Link to comment
Share on other sites

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

merit-system.png

Link to comment
Share on other sites

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'])."
Link to comment
Share on other sites

@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

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.

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.

×
×
  • Create New...