Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2011, 10:35 AM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 28,402
kristhasirah
Default Max level?

im using the latest version of Mysidia... and i found that when i check the stats of my adoptables it says that is at the max level


is this normal? i know that all my adoptables have at least 10 levels, still it says that is at the max level....

like i say in my other post... i dont know anything about coding and i have tried to copy and paste the code of an older script... and it says the level and how many click needs to level up, but the clicks dont change it stays the same... so i changed back to the new one... and im out of ideas... already tried searching the forum and found nothing about this... so im wondering if i did something wrong...

sorry if i dont explained well my problem... and hope someone can help me.

Thanks
Reply With Quote
  #2  
Old 09-14-2011, 11:39 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 333,452
Hall of Famer is on a distinguished road
Default

I see, well this is a minor glitch with the myadopts.php script file. It says your adoptables are at their maximum levels even if they are not. Such glitches were resulted from our optimizing the script by replacing poor-designed loops with mysql_fetch_array() but forgot to edit the variable name. The good thing is that you can still level up your adoptables regardless of this 'max-level warning', but yes it is indeed annoying and needs to be fixed. I will be sure to resolve this minor bug in Mys v1.2.4 release.

For now, just go to myadopts.php and find these following lines:

PHP Code:
            if($row['aid'] == $id)
            {
                
// The adoptable exists, so we show the stats for it...

                
$image getcurrentimage($id);
                
$nextlevelexists getnextlevelexists($type$currentlevel);

                
// If a higher level exists, get that level's information...

                
if($nextlevelexists == "true")
                {
                    
$nextlevel $currentlevel 1;

                    
$query "SELECT * FROM {$prefix}levels WHERE adoptiename='{$type}' and thisislevel='{$nextlevel}'";
                    
$result runquery($query);
                    
$requiredclicks=@mysql_result($result,0,"requiredclicks"); //The adoptable's ID

                
// End grab next level info... 
Replace with:

PHP Code:
            if($row['aid'] == $id)
            {
                
// The adoptable exists, so we show the stats for it...

                
$image getcurrentimage($id);
                
$nextlevelexists getnextlevelexists($row['type'], $row['currentlevel']);

                
// If a higher level exists, get that level's information...

                
if($nextlevelexists == "true")
                {
                    
$nextlevel $row['currentlevel'] + 1;

                    
$query "SELECT * FROM {$prefix}levels WHERE adoptiename='{$row['type']}' and thisislevel='{$nextlevel}'";
                    
$result runquery($query);
                    
$requiredclicks=@mysql_result($result,0,"requiredclicks"); //The adoptable's ID

                
// End grab next level info... 
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 09-14-2011, 01:41 PM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 28,402
kristhasirah
Default

=D THANKS!!!!!!!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Level-up SkyWing Feedback and Suggestions 5 10-20-2013 08:17 AM
Max level? RipJawWolfFang Questions and Supports 1 04-17-2009 09:13 AM
max level trainerluke Questions and Supports 11 04-16-2009 01:09 AM
Max Level (v2) LilPixie Questions and Supports 4 02-17-2009 08:15 PM
Max level? LilPixie Questions and Supports 2 02-15-2009 08:41 PM


All times are GMT -5. The time now is 06:16 AM.

Currently Active Users: 9791 (0 members and 9791 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636