peterisgb Posted November 10, 2012 Share Posted November 10, 2012 hello i am looking for a referral system which the person who referred a person would only receive there referral prize once the player they referred hit a certain level. I believe there use to be one in the free modification area but i am unable to find it either by looking through the forums and using the search Could someone put me in the right direction please Thanks in advance Quote Link to comment Share on other sites More sharing options...
Djkanna Posted November 10, 2012 Share Posted November 10, 2012 http://www.mccodemods.com/mods.php?ID=69 Not exactly free (unless there is a free version of it, on MCCodesMods), but it's only $5, and offers what you require. :) Quote Link to comment Share on other sites More sharing options...
lucky3809 Posted November 11, 2012 Share Posted November 11, 2012 (edited) In the referral table add Level... then make a cron or timestamp and execute it I would say every hour, make a query of the referral table and the field level of that user,then execute a query to update the level field when user is level 10. then make an if statement if (level =>10){execute Update user with whatever it is the prize is.... Not real hard to do... Edited November 11, 2012 by lucky3809 Quote Link to comment Share on other sites More sharing options...
Djkanna Posted November 11, 2012 Share Posted November 11, 2012 In the referral table add Level... then make a cron or timestamp and execute it I would say every hour, make a query of the referral table and the field level of that user,then execute a query to update the level field when user is level 10. then make an if statement if (level =>10){execute Update user with whatever it is the prize is.... Not real hard to do... Create the logic, and call it within the check_level function, would make more sense. :) 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.