Log in

View Full Version : More advanced breeding?


Silvercivet
02-14-2012, 02:14 PM
Sorry to ask so many questions, but PHP is completely alien to me, I'm more used to HTML.

I need a more advanced version of breeding, and if its already available how do I set it up?
Here's some examples
http://img.photobucket.com/albums/v481/Sango88/Tirnanog/horsebreeding.png
First the main species, horses. My lv 0 image is a foal, lv 1 is a yearling and lv 3 is an adult. I need a lv 3 mare and a lv 3 stallion to produce a foal, but what I also need it to do is if I breed a black paint(black and white spotted) with a brown solid mare, I'd need the foals to have a chance to be: Black paint, brown paint, black solid, bown solid

Another species: Unicorn and pegasus
These species do not have foal images, but if you breed the two together you have a percent chance of an alicorn. Same additional specs as horse through, combining color chances and patterns
http://img.photobucket.com/albums/v481/Sango88/Tirnanog/Alicornbreeding.png

Hall of Famer
02-17-2012, 05:48 AM
Well this would require some time to code, and for many programmers it can be quite difficult to grasp the concept. If you want to play with adoptables with multiple alternative forms, Id say suggest you install Kaeliah's Multi-alternate script. The trick is to manipulate the determination of adoptables alt in breeding.php or doadopt.php, which I see you sorta getting started already?

Silvercivet
02-17-2012, 04:15 PM
I'm pretty clueless when it comes to PhP coding, so I havent really gotten much done. I'm stll trying to figure out how to edit my pages XD

Is there a thread about how to go about doing that?

herbaceous
02-17-2012, 05:06 PM
I'm pretty clueless when it comes to PhP coding, so I havent really gotten much done. I'm stll trying to figure out how to edit my pages XD

Is there a thread about how to go about doing that?

Which pages are you trying to edit?
Index and ToS can be found in the MySQL table contents

AlexC
02-17-2012, 06:54 PM
You know you can edit your pages through the admin control panel right? That's really user friendly. :3 best place to start.

herbaceous
02-17-2012, 07:11 PM
I learned that the other day, but for some reason when I used the admin control panel, it changed some of my "" into weird codes. LOL

AlexC
02-18-2012, 06:58 PM
The admin control panel has a bunch of weird glitches. :/ all of the devolpers go through the phpadmin thing and don't realize 80% of people would much prefer to not have to pull open their host, log in, find the mysql section, login to that, find the correct table, edit, save, check the website to make sure you editted the right thing...

I think it's having an overhaul though, so perhaps they'll fix all that.

I use my control panel to edit pages, it's 110 times easier - I don't care about the lack of options or control, if I see a spelling mistake, I want to edit it right away, not crawl through the backend trying to find it!

Silvercivet
02-18-2012, 10:59 PM
You know you can edit your pages through the admin control panel right? That's really user friendly. :3 best place to start.

Yeah the phpmyadmin, I edited it in there but it doesnt show up edited in the site

herbaceous
02-18-2012, 11:27 PM
Oh, no there's another way to edit it through your adoptable site.
Go to your control panel, then change content in the top bar.
Then, click the little setting gear thing to edit the appropriate page. o vo;

Silvercivet
02-19-2012, 12:29 AM
Oh, no there's another way to edit it through your adoptable site.
Go to your control panel, then change content in the top bar.
Then, click the little setting gear thing to edit the appropriate page. o vo;

I've tried changing it there too and it still didnt change the acutal site info

AlexC
02-19-2012, 03:46 AM
I meant the site-based ACP.

Have you tried hard refreshing your site? Sometimes your browser can be finicky. What version of the script are you running?

Silvercivet
02-19-2012, 09:48 PM
whats the ACP?

I tried hard refresh, still hasnt changed

herbaceous
02-19-2012, 10:04 PM
ACP is probably admin control panel.

Tequila
02-20-2012, 08:49 AM
You can access your admin panel by going to http://yoursite.ext/admin.php.

Silvercivet
02-20-2012, 12:21 PM
When you go onto my site under admin or when I go into my x10host in the phpmyadmin? b/c I've tried doing both and no success

Tequila
02-20-2012, 02:06 PM
When you're at the main page, or index page, delete the part that says index.php and replace with admin.php. Should take you right there.

Silvercivet
02-20-2012, 02:43 PM
When you're at the main page, or index page, delete the part that says index.php and replace with admin.php. Should take you right there.

yeah, I've been there and edited the pages there and nothing changed

Tequila
02-20-2012, 04:32 PM
Odd, could I have your site link please? I'll see what I can find out. ;3

Silvercivet
02-22-2012, 11:53 AM
Odd, could I have your site link please? I'll see what I can find out. ;3
http://tirnanog.x10.mx/index.php

Tequila
02-22-2012, 02:03 PM
http://tirnanog.x10.mx/index.php

I've registered, would you mind making my account able to access the admin page? The username is tequila, I won't mess with anything unless I can find something wrong.

Silvercivet
02-22-2012, 05:25 PM
what number do I have to make you?

Tequila
02-22-2012, 06:38 PM
2 would be fine. ;3 1 = Root Admin, 2 = Admin.

Tequila
02-23-2012, 09:00 AM
I see what's wrong with changing your content. ;3 You have 5 copies of the "home/index" page, and 4 copies of the terms of service page. You will need to go into your cPanel through your website host to take care of it. ;3

First you'll want to enter your phpMyAdmin to delete the extra copies of the pages.
http://i40.tinypic.com/e7fnew.jpg

Then you want to find the entry in your database for *prefix.content:
http://i40.tinypic.com/2mcas5z.jpg

Click on the name and go in and delete the unneeded versions of the pages. ;3

That should solve it.

Silvercivet
02-23-2012, 11:45 AM
I deleted all the extra ones except for one of each and now the front page has nothing on it at all

Silvercivet
02-23-2012, 12:49 PM
cancel that, i fixed it! thanks so much for your help!

Silvercivet
02-23-2012, 03:33 PM
2 would be fine. ;3 1 = Root Admin, 2 = Admin.

another non subject related question, when I want to add a page, how do I get the new page to show up on the list of links on the side of my site? I made the page already but it doesnt show up on the site

Tequila
02-23-2012, 04:52 PM
another non subject related question, when I want to add a page, how do I get the new page to show up on the list of links on the side of my site? I made the page already but it doesnt show up on the site

Just go in under site settings and add it to the links at the top. For the sidebar you'll have to open inc/functions.php in a code editor and add it manually.