Uridium Posted February 21, 2009 Posted February 21, 2009 This script when completed will allow a member/s to be on holiday for 30 or 3 x 10 day sessions so how does it work 1 = Only 10 Users can be on holiday at any one time 2 = Users can set their holiday to max of 30 days or 3 x 10 day sessions 3 = Whilst on holiday Users cannot be attacked or have cash, crystals, items sent to them. 4 = Users may come back off holidays but remaining days will be lost for that duration. 5 = If a user fails to come back at the end of the expiration date. Their status will become active and can then be attacked. 6 = Cost for a holiday will be set at $10.000 per day and in the event the user fails to return on the set day their account balance will be deducted by $15.000 for every day they go over and any current days they had left will be deducted for that period.. I'm about 25% into this but i thought id post now for feedback on what you think would be an advantage addition to the script.... Quote
Djkanna Posted February 21, 2009 Posted February 21, 2009 Re: [MCCODES V2] User Holidays script Sounds like a good idea mate :wink: Quote
Haunted Dawg Posted February 21, 2009 Posted February 21, 2009 Re: [MCCODES V2] User Holidays script 1 question. Why only allow 10 people to go on holiday? Quote
Uridium Posted February 21, 2009 Author Posted February 21, 2009 Re: [MCCODES V2] User Holidays script 1 question. Why only allow 10 people to go on holiday? Fir question if it was set to all then no-body would be in the game to attack so i thought 10 was better than having nobody to attack Quote
POG1 Posted February 21, 2009 Posted February 21, 2009 Re: [MCCODES V2] User Holidays script say your game was really successful 10 isn't a lot, on the other hand if you had 100 people 10 is a lot. You should do a percentage... Quote
Uridium Posted February 21, 2009 Author Posted February 21, 2009 Re: [MCCODES V2] User Holidays script say your game was really successful 10 isn't a lot, on the other hand if you had 100 people 10 is a lot. You should do a percentage... Good point i could always just do it so admins can set a percentage for their game Quote
HITMAN 17 Posted February 21, 2009 Posted February 21, 2009 Re: [MCCODES V2] User Holidays script also do it like tc where you can only do some stuff when on holiday like hunting Quote
Uridium Posted February 21, 2009 Author Posted February 21, 2009 Re: [MCCODES V2] User Holidays script also do it like tc where you can only do some stuff when on holiday like hunting last bit removed ;) The more ideas that arrive now the easier it is for me to try install... Quote
Gangsta Posted February 21, 2009 Posted February 21, 2009 Re: [MCCODES V2] User Holidays script Yes the idea is brilliant and you should make it similar to Tc 8-) Quote
champs08 Posted February 21, 2009 Posted February 21, 2009 Re: [MCCODES V2] User Holidays script OK ADnan Quote
POG1 Posted February 21, 2009 Posted February 21, 2009 Re: [MCCODES V2] User Holidays script Yes the idea is brilliant and you should make it similar to Tc 8-) there is no holiday on tc :S Quote
HITMAN 17 Posted February 21, 2009 Posted February 21, 2009 Re: [MCCODES V2] User Holidays script i mean travel what ever lol Quote
Uridium Posted February 21, 2009 Author Posted February 21, 2009 Re: [MCCODES V2] User Holidays script As with all my scripts from now on I will include an Installer if SQLS to be inserted are large if anyone has had a problem with any previous versions of the installer if you post here now i can sort out any bugs befoer i make this mod public..... Quote
Haunted Dawg Posted February 21, 2009 Posted February 21, 2009 Re: [MCCODES V2] User Holidays script Illusion's. Just forbid the user to use any ingame thing's while being on holiday, and they have to be on holiday for a week before they can come off holiday. this way the user can not use gym etc. Quote
Uridium Posted February 21, 2009 Author Posted February 21, 2009 Re: [MCCODES V2] User Holidays script Illusion's. Just forbid the user to use any ingame thing's while being on holiday, and they have to be on holiday for a week before they can come off holiday. this way the user can not use gym etc. Thats feasable but i also want the User to be able to return to the game. but i was also thinking that the user may want to continue the game maybe via a internet cafe so this script would be rather worthless... Quote
POG1 Posted February 21, 2009 Posted February 21, 2009 Re: [MCCODES V2] User Holidays script if they could play normally then people would just stay on holiday all the time. I think when they are in holiday mode it should be just some text saying like "You have X days till you return from holiday". Quote
jds137 Posted February 22, 2009 Posted February 22, 2009 Re: [MCCODES V2] User Holidays script Does this help? I could add the rest of it, but its forums, and we all need to work together. Besides some one will claim it as theirs, like always... Chuds... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Haunted Dawg Posted February 22, 2009 Posted February 22, 2009 Re: [MCCODES V2] User Holidays script You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add that to globals.php run query: ALTER TABLE `users` ADD `holiday` INT(11) NOT NULL DEFAULT '0'; ALTER TABLE `users` ADD `holiwait` INT(11) NOT NULL DEFAULT '0'; Add this to cron day: mysql_query("UPDATE `users` SET `holiwait` = `holiwait` + 1 WHERE `holiday` = 1"); And then the rest to actualy set the user to go on holiday. Thus will make the user wait 7 day's before he can come off holiday. Quote
POG1 Posted February 22, 2009 Posted February 22, 2009 Re: [MCCODES V2] User Holidays script Your thinking about it wrong. Use a timestamp! Have a form that you choose how many days to be on holiday, you will then work out what time they are back. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then to test if they are online, in globals.php or summin You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Haunted Dawg Posted February 22, 2009 Posted February 22, 2009 Re: [MCCODES V2] User Holidays script What's so wrong about my post? I am checking if there holiday wait is over 7 day's then show the link to come off holiday. Quote
POG1 Posted February 22, 2009 Posted February 22, 2009 Re: [MCCODES V2] User Holidays script my example will put no extra code into the cron, it will also be more acurate. If someone is to go on holiday just before the cron is set off they will loose a day, Other users will be able to see a more exact figure (2 days, 8 hours and 4 mins) as apposed to (3 days). :) Quote
Uridium Posted February 22, 2009 Author Posted February 22, 2009 Re: [MCCODES V2] User Holidays script Ive been inundated with emails for addons to this script. people feel that Holidays should be earned from the game. so my structuring would be 1 = 25 attacks would result in one holiday token 2 = 7 day successful voting would result in 2 holiday tokens 3 = Holiday Tokens cannot be baught for cash in the game 4 = 5 referrals to the game will also give you 5 holiday tokens and i'll think of more as i go along Quote
$$ ?????? $$ Posted February 22, 2009 Posted February 22, 2009 Re: [MCCODES V2] User Holidays script This modification sounds really cool. :-) Quote
Uridium Posted February 23, 2009 Author Posted February 23, 2009 Re: [MCCODES V2] User Holidays script Sorry this isnt ready yet its quite a complex script.. Ive done the admin section for it and the installer just a case now of going through files in order to pick the best locations for it to work Quote
Uridium Posted February 23, 2009 Author Posted February 23, 2009 Re: [MCCODES V2] User Holidays script heres a view of what to expect from the holiday script Just to note this layout is subject to change and may not be that of the final script Quote
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.