Jump to content
MakeWebGames

Advanced Schooling includes days, clicks, money or crystals


Uridium

Recommended Posts

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...

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 7 years later...

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...