![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
![]()
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!
|
#2
|
||||
|
||||
![]()
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. |
#3
|
||||
|
||||
![]()
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.
|
#4
|
||||
|
||||
![]()
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:
|
#5
|
||||
|
||||
![]()
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.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#6
|
||||
|
||||
![]()
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
__________________
![]() ![]() ![]() asp.net stole my soul. |
#7
|
||||
|
||||
![]()
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.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#8
|
||||
|
||||
![]()
*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.)
__________________
Avatar courtesy of Doll Divine. |
#9
|
||||
|
||||
![]()
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.
|
#10
|
||||
|
||||
![]()
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!
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Have Adoptables Grow after a certain amount of time? | rosepose | Questions and Supports | 1 | 02-11-2009 03:26 PM |
What's New? |
What's Hot? |
What's Popular? |