Uridium Posted December 13, 2008 Share Posted December 13, 2008 ALWAYS BACKUP YOUR OLD COPIES BEFORE INSTALLING THIS MOD Files to backup are as follows. staff_courses.php education.php Call this file staff_courses.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Call this file education.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. call this file school_cron.php << This is to reset the clicks data You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. PART 2 SQLS... Quote Link to comment Share on other sites More sharing options...
raushan2007 Posted December 13, 2008 Share Posted December 13, 2008 Re: [mccodes v2] Advanced Schooling includes days, clicks, money or crystals U missing the sql as per me :mrgreen: Quote Link to comment Share on other sites More sharing options...
Uridium Posted December 13, 2008 Author Share Posted December 13, 2008 Re: [mccodes v2] Advanced Schooling includes days, clicks, money or crystals Yep had to dig them out ;) SQLS You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. WHATS IT DO ? When you create a course you can EITHER Create a Course to Accept Crystals as payment or money.. Create a Course to Accept days or number of clicks before course is complete... or add all 4 together to Accept all options... Its up to your what you add your cron as either hourly or every 30 mins... Courses will be complete in the same way as normal.... EXCEPT The clicks option must be physically taken and will only be updated whilst a user is online to take them.. No need to alter any of your exsisting courses they will work with ths addition... Quote Link to comment Share on other sites More sharing options...
Miniman Posted December 13, 2008 Share Posted December 13, 2008 Re: [mccodes v2] Advanced Schooling includes days, clicks, money or crystals Hmm, I can't seem to do the clicks... I select a course with clicks. Then you can't click them lol, There is nothing to click. Quote Link to comment Share on other sites More sharing options...
Uridium Posted December 13, 2008 Author Share Posted December 13, 2008 Re: [mccodes v2] Advanced Schooling includes days, clicks, money or crystals Hmm, I can't seem to do the clicks... I select a course with clicks. Then you can't click them lol, There is nothing to click. When you start a course for the first time that counts as 1 click it will renew when your cron has expired to display the click here function again... Quote Link to comment Share on other sites More sharing options...
Miniman Posted December 13, 2008 Share Posted December 13, 2008 Re: [mccodes v2] Advanced Schooling includes days, clicks, money or crystals Ah! Ok I'll give it a go ;) Quote Link to comment Share on other sites More sharing options...
Miniman Posted December 13, 2008 Share Posted December 13, 2008 Re: [mccodes v2] Advanced Schooling includes days, clicks, money or crystals Na, Ir's not working for me, It's not updating cclicks or taken in the DB. And it will always display You are currently doing the blah course, you have 0 DAYS remaining Even if the course is for clicks. Quote Link to comment Share on other sites More sharing options...
Uridium Posted December 13, 2008 Author Share Posted December 13, 2008 Re: [mccodes v2] Advanced Schooling includes days, clicks, money or crystals Na, Ir's not working for me, It's not updating cclicks or taken in the DB. And it will always display You are currently doing the blah course, you have 0 DAYS remaining Even if the course is for clicks. Mail me a link to your game plz Quote Link to comment Share on other sites More sharing options...
jds137 Posted December 13, 2008 Share Posted December 13, 2008 My Modification of Illusions Modification Ok all, I went and modified this mod, to work with education as it is now. That way if you want you can have 2 education systems. 1 donator, and 1 non donator. Please check www.mobslife.net for the working version. First of all, leave your education alone, and do not add the following crons: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Also do not make the file called staff_courses.php Follow the steps outlined here and you will be just fine. With both working. Quote Link to comment Share on other sites More sharing options...
jds137 Posted December 13, 2008 Share Posted December 13, 2008 Re: [mccodes v2] Advanced Schooling includes days, clicks, money or crystals #1 add this to your DB: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then add this code: schooling.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
jds137 Posted December 13, 2008 Share Posted December 13, 2008 Re: [mccodes v2] Advanced Schooling includes days, clicks, money or crystals Next step add: staff_clicks.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and the working cron: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
jds137 Posted December 13, 2008 Share Posted December 13, 2008 Re: [mccodes v2] Advanced Schooling includes days, clicks, money or crystals All I basically have done, is split schooling into separate areas. courses, and course By renaming the scripts, I have enabled another education system to be added. I like having a donator, and non donator school system. Hopefully my game feels the same. Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted May 10, 2016 Share Posted May 10, 2016 Any way to have sub-course? like you must have complete course 101 before trying course 102? 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.