Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#11
|
||||
|
||||
Okay, so I tried this out since it was exactly what I was looking for.
First of all, I get "templates/icons/delete.gif" as the adopt image on level up and on myadopts.php?act=manage/stats but they show up on myadopts.php I'm guessing this is due to the modification in the getcurrentimage function. I'll be having a look over it to learn how it's done. I've had a go at adding an adoptable and read the instructions|FAQ but it's a little confusing and doesn't seem to be working, so I'm humbly asking for some clarification. Here's what I done and perhaps you can tell me where I'm going wrong: 1. I created a new adoptable through admin.php, enabled the alternate images and filled in [Start using the alternate outcome at level number:] as 0 while the alternate outcome chance I put as 2. Though these number don't really matter and are just satisfying checks, right? 2. I added another level to the adopt I just made (Which was an egg by the way) through admin.php. This was level 1 and I added (one of) the alt image(s) for this level while I was at it; I also input 1 as the required number of clicks- for the sake of testing. 3. Next, it was my understanding that I then go to maiadmin.php and select "Add Alternate Image". I filled out the form as follows: - Uploaded Image: I selected the same alt image as I used in the creation of level 1. - Select Adopt: Selected the adopt I'd made, of course (I only have one in the database). - Entry Level: This was a tad confusing despite your best efforts at explaining. My understanding at first was that it was supposed to be an integer that relates to the level (or stage) that the non-alt is at if it's the first in the alt line. So I input 1 as my value (I then tried again later with "yes" and got no different results) - Replace Level: I thought this was self explanatory and was asking which level this alt will relate to in the level table. So I input 1. - Path: I believe I understand this... I input 2 because it would be the 2nd path that that can start at. - Subpath: I left this blank for the time being - Select Adopt: Well I believe this was supposed to be called "Method" - and I chose "Random Method" from the drop down. - Data: I input 2 to represent a 1 in 2 chance. I then adopted 20 of my adoptable and proceeded to level them into the next stage. None of them returned as the alt. I then created another alt image with maiadmin.php and used my 3rd alt (I want the egg to hatch into 3 different things- with one of them being significantly rarer). I input 3 for Path while keeping all the other variables the same. I adopted another 20 and proceeded to level them but I still got the standard one. Am I misunderstanding something? I also tried selecting as the alt image nothing when creating level 1 in admin.php Last note: The "return" link on maiadmin.php?do=addnew takes you to www.$domain/'maiadmin.php/' |
#12
|
|||
|
|||
I'm having the same issue with everything turning out standard, but I also get this error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /inc/functions.php on line 460 when I adopt or level a creature. Not sure what to make of it since I'm still a newb to PHP. I've looked at both the original and modified codes and they're the same aside from the rows underneath... Great script, though. I'll be in heaven once I can get it to work. :D |
#13
|
||||
|
||||
Quote:
Quote:
It's a big script which is why there are so many bugs and glitches in it. I will be working on an updated version soon that will simplify things quite a bit and also hopefully work more reliably. |
#14
|
|||
|
|||
PHP Code:
I'll bet anything I pasted it in wrong. Last edited by Kaeliah; 04-30-2011 at 07:04 PM. |
#15
|
||||
|
||||
I don't see why it wouldn't be working unless the query is failing for some reason. =/
|
#16
|
|||
|
|||
I keep trying multiple things but nothing's worked yet. Maybe I'll get it eventually.
|
#17
|
||||
|
||||
haha how i used to do things, just ram the code in there lol, great way to learn. just try and understand what its doing and look up things you don't know. good luck with your site, and i can't remember if you were like some of us trying to learn php through this project or just want your site working
|
#18
|
|||
|
|||
Quote:
I taught myself CSS and HTML by doing that exactly, haha. And I'm new to the forum so you probably haven't heard anything of me, but I do hope to learn a lot from it. I'm a pretty self-sufficient person and like doing absolutely everything on my own. I try to avoid asking for help unless I really really need to. But I still can't fix this error... I've even tried deleting everything and reuploading the site with the scripts already modded. Same error. I also noticed the original script has mysql_numrows and the modded version has mysql_num_rows, but changing the latter to the former still did nothing. I'm honestly stumped. Watch it turn out to be some huge problem caused just because I misplaced one thing on accident. (It happens often) Is nobody else getting the error I'm getting? |
#20
|
|||
|
|||
The newest one. I think I might re-download it and try from a fresh download, though.
I've been looking for anything that might be wrong but so far I've seen nothing that looks out of place. I've even looked the error up on Google but none of others' solutions have been able to fix it. Definitely gonna keep trying until I figure it out, though. This script is worth it. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
alternate outcomes | Nemesis | Questions and Supports | 3 | 07-03-2012 01:36 PM |
EpicStats Plugin [by Kae] | Kaeliah | Mys v1.2.x Mods | 9 | 04-10-2011 07:46 PM |
View Active Promocodes Plugin | HIddenPanda | Mys v1.1.x Mods | 11 | 01-25-2011 05:10 PM |
Alternate adopt | RipJawWolfFang | Questions and Supports | 10 | 02-03-2010 09:41 PM |
Multiple multiple outcomes..? | Quillink | Suggestions and Feature Requests | 5 | 05-31-2009 07:14 AM |
What's New? |
What's Hot? |
What's Popular? |