Uridium Posted December 15, 2008 Share Posted December 15, 2008 I wanted to do something for Xmas but couldnt think of anything so i came up with a Cunning plan lol.. Pass the Parcel.. How will it work Firstly Staff give out a random parcel to a random member The parcel when clicked on will remove a layer of wrapping. Then it will be sent to another member who again unwraps another piece of the wrapper. There is a cron job involved with a time scale of 10 minutes if someone fails to unwrap in that time it goes on its merry way to the next person. Until all the wrappers have been removed and the prize is unvailed to the final person... Admin Section.. From the admin Section you can do a fair few things 1 that a parcel only be sent to Donators 2 a parcel only be sent to none Donators 3 a Parcel be sent to both none and donating members. 4 Choose how many layers the parcel has. 5 Insert an item into the parcel as the prize 6 View number of layers Currently removed from the parcel 7 View winners of the parcel... will add more as i go on but you get the basics ive started the script for this. and it should be ready before Thursday at the latest....... Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa hmm sounds sweet but what if the person has it for more than 10 minutes and doesnt give it Quote Link to comment Share on other sites More sharing options...
Uridium Posted December 16, 2008 Author Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa hmm sounds sweet but what if the person has it for more than 10 minutes and doesnt give it if the user has it for more than 10 mins the cron job will randomly give it to someone else... Quote Link to comment Share on other sites More sharing options...
Savager Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa can you get the parcel more then one time Quote Link to comment Share on other sites More sharing options...
bigm Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa Love the idea, but would it be better to give back to staff, incase you have inactive players and it gives it to one of them ? Quote Link to comment Share on other sites More sharing options...
Uridium Posted December 16, 2008 Author Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa These are all obsticles im trying to overcome Its possible to use a time stamp for those that have been active in the last 10 days Just means im having to redo the whole staff_items script so its able to do what i want it to do. Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa Love the idea, but would it be better to give back to staff, incase you have inactive players and it gives it to one of them ? Unfortunaly... people like you don't read the full post before replying. There is a cron job involved with a time scale of 10 minutes if someone fails to unwrap in that time it goes on its merry way to the next person. Quote Link to comment Share on other sites More sharing options...
bigm Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa It says it goes on its merry way to another player not staff so who dont read ? Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa It goes on it's way to the user who does not unwrap in other word's who does not click and send to next user. And the course will do it the hole time till it send's to an active user will it not? Quote Link to comment Share on other sites More sharing options...
bigm Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa Yes eventually but would be quicker to go back to staff, anyways it was just a suggestion not critcism. Quote Link to comment Share on other sites More sharing options...
Uridium Posted December 16, 2008 Author Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa can you get the parcel more then one time This could well happen i was thnking of capping it when a user unwraps a sheet but if the game isnt as active as the amount of players registered then the parcel could end up never being opened Quote Link to comment Share on other sites More sharing options...
bigm Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa You could maybe add an if daysinactive < or offline ? Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa if($r['last_active'] > time()-1440*60) { send to user } else { dont send to user } Quote Link to comment Share on other sites More sharing options...
redsnake420 Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa its a nice mod but what does the secret santa part have to do with it? a secret santa would be players sending other players gifts and not know who sent them Quote Link to comment Share on other sites More sharing options...
zbirc3 Posted December 16, 2008 Share Posted December 16, 2008 Re: [Mccodes v2] Pass The Parcel / Secret Santa +1 for the GREAT IDEA ! :O and another +1 (when you release it) in time. 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.