![]() |
RE: Breeding System - Complete!
Thanks. :) I'm glad you got it working. The problem for me is I have so many columns in the database (dates, parents, lots of other stuff) that it's hard to make the code work for everyone on the first try.
|
RE: Breeding System - Complete!
Lol. Well, thanks for all the help. +repped. :D
|
RE: Breeding System - Complete!
Thanks. :)
|
RE: Breeding System - Complete!
Uhm...i have a question..is possible to make different character from the breeding?
Becuase in my site i want make a little difference... For esample: Elesis http://www.gca.netai.net/picuploads/...eb263c7fac.gif + Ronan http://www.gca.myadopts.com/picuploa...c7a07ebf8d.gif = http://www.gca.myadopts.com/picuploa...f72551de84.gif ??? |
RE: Breeding System - Complete!
I don't think so, no. Sorry.
|
RE: Breeding System - Complete!
Actually, it is possible, but requires quite a big code addition
probably it would be best to create a function which looks up the combination of the id's like pet 2+7 gives back pet 9 but that means you have to save those combinations somewhere(preferable the database) and when there is no combination it should say that the pets won't mate I'll take a look at it, but it seems to be annoyingly time-taking |
RE: Breeding System - Complete!
The point is - if you have 20 pets, that's an additional 400 pets you need to make. And what about if those 400 kinds can breed?
I won't code something like it, it's simply to hard. I guess you could check for certain situations (if ($kind="Kind1")) and then determine it, but I'm not in the mood for that. |
RE: Breeding System - Complete!
Yes, it would be pretty hard
It's just an idea, maybe there's some sort of way... I'll play with the code a bit, maybe I'll find some way anyway nice script, seems to work flawless on my server. |
RE: Breeding System - Complete!
maybe ill make in the future a nod on this mod to let the eggs breed once, im not sre if its gonna succeed but ill maybe gonna try :D
|
RE: Breeding System - Complete!
Ok, here is a question that has to do with the above asked question:
Can I in theory make a "group" if you will as a new attribute like "gender" or "species" and tell the script instead of species the parents from this "group" can breed despite species and produce a egg that's a random choice of the one of the parents species? I want to try this out it should work in theory but my php skill are very limited. |
All times are GMT -5. The time now is 01:00 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.