Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   A Different Way to Grow - Aging (http://www.mysidiaadoptables.com/forum/showthread.php?t=4433)

NobodysHero 03-19-2014 10:46 PM

A Different Way to Grow - Aging
 
Anyway someone could walk me through or point me in the direction of what I would need to do to make my pets age in time, instead of via clicks? For instance, Egg Stage at day 0, Baby stage at 15 days, adolescents at 30, and adult at 45. Anyone willing to help me with this, would be greatly appreciate it. ^.^ Thanks!

MikiHeart 03-20-2014 02:19 AM

It would take a lot to do this sort of thing. You would need a cron job to check the adoptables once a day. If you site ends up with a lot of adopts, this could become quite extensive, and cause a lot of server load.

I honestly would recommend this kind of feature. Because of the server load issues you may face, as well as the fact that it makes it so users don't have to login everyday to level up their pets. They may loose interests quickly. So really think about this.

NobodysHero 03-20-2014 09:42 AM

Myself and my co-owner don't want the click system at all. We'll have other things for our players to do. Other ways they'll be able to interact with their pets and the world around them. Quests, games, etc.

Pear 03-20-2014 11:19 AM

I just started using the by time, but I require users to click their pets at least once to get them into the growing stage. Then I just have the first level and I edit it whenever I want them to grow. Although I do retire the adopts after the month is over. c: I am at school at the moment so if you need a better explaination, I'll tell you more when I get home. c:

Hall of Famer 03-20-2014 01:13 PM

Actually in Mys v1.4.0 it will be possible to simulate cronjobs, the pseudo cronjob system executes scheduled tasks by searching pending events for every user visiting the page. It is not as effective as real cronjob and will need an active site to work properly(so if your site has like 1 visitor every 2-3 hours, it probably wont do anything), but for live sites the pseudo cronjob should be sufficient.

IntoRain 03-20-2014 01:53 PM

Multiple database queries, updates and deletes for all creatures at the same time will be hard on any server. I understand you don't want the click system, but keep in mind web performance costs money.

Maybe make the time update when the owner logs in or owner checks their myadopts page (and have a variable to control if it has been checked/updated on that day already, to avoid a bigger server load). It wouldn't be automatic and if the owner didn't visit they'd stay the same. Or create an admin-only page that updates the database when you command, but you or your other admins would have to do it

Hall of Famer 03-20-2014 02:32 PM

Actually clickpets games normally work fine if you have a shared hosting account. For freehosts they dont like it, but that perhaps cannot be helped.

squiggler 03-21-2014 03:17 AM

*only offering manual (non-coding) solutions, sorry*
The old way could always work. Just have the Blue Fish (example) be an egg and change the image/add a level when you want all the site's Blue Fish grow up. This is how people have been doing adoptables since ever.
Um, you could have an item that they could purchase which will grow their Blue Fish. (Either it gives needed clicks or just changes the image outright.)

MikiHeart 03-21-2014 07:16 AM

The only way to get what you want, is pay a pretty penny. Try and get some money together, and post an ad on freelancer. It's the cheapest way I can think of getting custom code. Hell, the IPN I got for the script (Before HoF brought it) only cost me 15 dollars. Included paypal and onebip.

NobodysHero 03-22-2014 09:41 AM

Yeah, I figured it'd be a lil above my head. And I've actually got a coder I'm talking over things with right now. I appreciate all of your answers! You are all a great support system. Thanks!


All times are GMT -5. The time now is 07:16 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.