Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#11
|
||||
|
||||
You're right on both! You need to set the iterator index on whatever layer you want to use commands/filters on. For example, you set the index to 1 and apply stuff to that, then you would set the index to 2...etc.
Wolves is the same as owned_adoptables too, I just made a custom table since I use a custom class and stuff. If it's still showing a blank image, do your image names have spaces in them? It's weird, but on some hosts they can't have any spaces (that's what I just found out about mysidiahost). Some hosts do, while others don't, so it's something to try.
__________________
Last edited by Dinocanid; 11-06-2017 at 02:03 PM. |
#12
|
||||
|
||||
Awesome, thanks!
Every folder and image name is a single word (black, white, tan, blue, inner1 etc). The body part names match the DB columns exactly. Imagick is enabled. I'm lost. ^^' Earlier I naively thought you'd need access to the x10hosting cpanel to do anything for us, but just realised FTP could be used to poke around, to an extent. If it would help here, I can send you details for that? (and if you feel like it, maybe do the other mods while you're in there... my paypal is ready lol. I'm just not sure which tasks will require DB access. Guess I'll send you a PM in a few minutes and you can decide.) edit: oh, another thing that must be asked. How does this script work on pages with multiple creatures? Like the main myadopts page, breeding, user profiles. I'm guessing it doesn't. So we would need to save each griffin's image (or at least a thumbnail-sized version) into a folder somehow, to fetch from... or is there another way? Last edited by gwynmil; 11-06-2017 at 02:55 PM. |
#13
|
||||
|
||||
You can send me FTP details and I can see what I can do ^^ (It's also waaay more secure, some people just send their login details)
You're right about it not working on pages that show multiple creatures at once, but you could save each generated image; the only thing is that I can see that taking up a whole lot of disk space in the long run. I haven't looked into saving the images with imagick specifically, but I'm sure it can be done if you're willing to go that route.
__________________
|
#14
|
||||
|
||||
... OK, I kept trying to send the message last night and now tonight, but it gives an error. Not the first time Mysidia forum has done this.
So the list is posted for you here, and I'm not sure how to securely send the FTP info. Sorry about this. ^^' |
#15
|
||||
|
||||
It's fine! I just sent you an email.
__________________
|
#16
|
||||
|
||||
I updated the code. Now it should work fine as an image by using:
HTML Code:
<img src='/yourfilename/{$adoptIDevariable}'>
HTML Code:
<img src ='/wolfimage/{$wid}' height='auto' width='75%'>
__________________
|
#17
|
||||
|
||||
!! Excite !!
Okay so I am just hoping you could help me understand this; Code:
$composed_image->setIteratorIndex(2); $composed_image->compositeImage( new \Imagick($images[1]), \Imagick::COMPOSITE_DSTIN, 0, 0 ); Then for the layer labels, is it descending from top-down? So for you example is this layer "2"? Code:
'http://wild-souls.mysidiahost.com/picuploads/wolf_images/adult/shade.png' Code:
'http://wild-souls.mysidiahost.com/picuploads/wolf_images/adult/lineart.png' Thank you, and happy holidays!
__________________
My Mods Site (1.3.4, 2020 Mods) |
#18
|
||||
|
||||
1. Yep! So layer 2 would appear within layer 1
2. It ascends from top to down. So the first in the array is 0, the second would be layer 1, etc. In short, the items in the bottom of the array appear on top of the items in the top of the array, if that makes sense.
__________________
|
#19
|
||||
|
||||
Alright, that absolutely answers my questions! Thanks!
(Trying to use this to create a geno/pheno system...it's...tedious lol)
__________________
My Mods Site (1.3.4, 2020 Mods) |
#20
|
||||
|
||||
How would I tailor the script to allow multiple different species of breedable animals?
Let's say I wanted to make a site where the user could breed snakes and lizards.. and I wanted to use the random image generator. If a user bred two snakes together, how would the script know not to put a lizard marking on the new baby snake, and only use snake images? I really love this idea, I sometimes think too hard about the logic though... |
|
|
What's New? |
What's Hot? |
What's Popular? |