Jump to content
MakeWebGames

Recommended Posts

Posted

Thought id do an Easter Egg event seeing as its drawing near Very basic uses the Streets system. The cron will give each user 10 egg Tokens The player then searches the Basket with their 10 tokens to try dig out the 10 eggs Hidden in the basket some results are Red Herrings and others will reward the player with an egg after the 24 hour even the person with the most eggs collected will be rewarded with a desired item chosen by the game admin.

Its about 75% complete just making a few improvements

Posted

Re: [Mccodes V2] Easter Egg Events

Ok i kinda went a bit mental i was sat here working out the sqls when i decided to alter it a bit and save me a lot of time doing a mod for every festivity of the year.

So the updated version will let you name your festivity event

example easter, christmas, blah, blah, blah.

Pages can be linked to any page that you already have on your game.

even if your pages require an action.

I'll post up an image in about 5 mins so you get the idea. as always ive included an installer for easy installation.

Posted

Re: [Mccodes V2] Easter Egg Events

INSTALLER FIRST

SQLS ( DONT SEND DIRECTLY TO PHPMYADMIN JUST UPLOAD TO YOUR SITE AS holiday_event.sql )

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Call this file holiday_event.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now goto your site and run the holiday_event.php remember the holiday_event.sql needs to be on your server

PART 2 BELOW

Posted

Re: [Mccodes V2] Easter Egg Events

Holiday Creator

call this file holiday_creator.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now open up global_func.php and just after...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

ADD THIS

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now open up smenu.php and add

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

And your done This is just the Creator for the Holidays you will need to Alter your scripts if you want an event to take part,,,,

Posted

Re: [Mccodes V2] Easter Egg Events

It was giving me an error whilst editing a holiday.

so find this in holiday_creator.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and replace it with

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

+1 illusions as always.

Posted

Re: [Mccodes V2] Easter Egg Events

 

+1 but more explaination about the mod might be needed for some people

This just the basis of the holiday even creator where by you can change your seasonal event to do what ever you want. its merely a sript to keep your members happy for a few days over the holidays its up to you what you want it to do and how its run.

Example

The streets.php offers a player between 25-50 searches a day finding items going to hosp or jail. You can include the $ functions from the holiday creator so members can find eggs for easter or presents for xmas although they dont gain anything from finding these items it just adds a bit of fun to your games/

Posted

Re: [Mccodes V2] Easter Egg Events

If you don't have your game installed in the root directory, replace holiday_event.php with below code.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

  • 1 year later...
Posted

This is a Mod that creates a Mod it isnt a running Mod its one that will allow you to setup Features on your game using the Script ive written for you.

There after its up to you to continue the script on your own for it to work on your site....

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