![]() |
|
#1
|
|||
|
|||
![]()
anyone have any ideas on how to do a delay of the actual birth? like how to write the timing for it?
thanks! |
#2
|
|||
|
|||
![]()
I think theres a part of the code that shows that... im trying to work on making a script with pet stats like on foopets:D
|
#3
|
||||
|
||||
![]()
redheadturkey:
To do that, you would have to look into timing. It would depend on how you want it done. But I would suggest a countdown on the breeding page. Then after that time, the user can get the pet. Just thinking on it a little, I think you would have to have the pet created instantly like the script does. But then have it so the pet isn't given to them, but the system. So you make a clone of the owned_adoptables. but called it something like bred_adoptables. You would have to add some extra fields, like who it belongs to and stuff. Then say, since it has a date on it. You'd need to have a script that checks that date, and compares it to today's date. Then if the right time has passed, it gives the adopable to right owner. Then updates the 'created date' to the date of the day you're getting it. Sounds really hard XD but I'm just bad at explaining things. I don't understand php with dates too much. But I'm sure you can do it. You'd need to set up a cron, and have it run like once a day. Which will do all this work for you XD Or, you could just have a countdown on the page, then once the countdown is over, it displays a button in which the user clicks, and it gives them their pet XD No need for cron then o-o |
#4
|
|||
|
|||
![]()
..I've tried several solutions suggested in this thread, and I just can't get the script to enter the new egg into the mysql database.
It works fine otherwise, and it's a really cool script! ..I'll go learn some PHP now, I hate not knowing anything about this XD |
#5
|
|||
|
|||
![]()
Look;
Quote:
;) |
#6
|
|||
|
|||
![]()
Thanks, but that's one of the solutions I tried..
the breeding now works correctly, the egg is being transferred into my adopts, but it keeps displaying the query on the new egg page and I can't get rid of it.. ..just a minor nuisance me and future users will just have to live with, I guess.. |
#7
|
|||
|
|||
![]()
Awesome script!
2 questions though. The first inquiry is just a small bug, but I thought I'd ask. If I try to mate without having a second gender I get error-messages. Is there some way to block this by adding a "No male/female co-breeder available" message or something like that in the textbox? Secondly, the new-born are born without names. It's really not a problem, I was just wondering if there's a way to put a placeholder name like 'Newborn' or something so it doesn't just say "Get stats for" and "Get BBCodes / HTML Codes for" in the pet management section. That's all. Thanks for all the walkthroughs and all the help. |
#8
|
|||
|
|||
![]()
The born name is - "Daughter of (mpther name) & (father name).
But if you haven't got gender system it doesn't work ;D |
#9
|
|||
|
|||
![]()
My mistake, used an old pet to breed, hence the no-name error. I did install the gender-system but I didn't change the old pets genders.
|
#10
|
|||
|
|||
![]()
Link to one I made.. It has some problems but, a look of how it looks. file:///C:/Users/admin/documents/my%20web%20sites/breeding%20test.php
|
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installation Complete: Site is Completely Blank? | Bhavani | Questions and Supports | 3 | 09-14-2014 06:43 PM |
a more advanced breeding system needed | maximillion | Questions and Supports | 11 | 06-28-2011 02:37 PM |
Help me with the breeding system of Arianna | Sensacionsk8 | Questions and Supports | 2 | 03-21-2011 11:54 AM |
Breeding System | Steelghost600 | Questions and Supports | 4 | 10-25-2009 02:38 PM |
How to make a breeding System? | SieghartZeke | Questions and Supports | 23 | 10-19-2009 06:11 PM |
What's New? |
What's Hot? |
What's Popular? |