PDA

View Full Version : Few Suggestions


Dakurai
08-16-2010, 08:54 AM
Here are a few suggestions:

A way to add a feature if the baby is an egg and when it levels up it adds a crack image to the egg instead of making levels for the cracking.

When you feed the pet it should show how many more clicks it needs to hatch.

PokePets
08-16-2010, 11:33 AM
You can make this by yourself ;).
example for clicks need to hatch;
$kliksneeded = $currentlevel - $totalkliks

HIddenPanda
08-19-2010, 11:05 PM
Here are a few suggestions:

A way to add a feature if the baby is an egg and when it levels up it adds a crack image to the egg instead of making levels for the cracking.

When you feed the pet it should show how many more clicks it needs to hatch.


For your first suggestion, all you would have to do is create the images (use the pencil tool and draw a zig-zag on the egg image) and add the levels.

Secondly,
FIND the following block of code in levelup.php (around line 223)
$query = "UPDATE ".$prefix."owned_adoptables SET usealternates='yes' WHERE aid='".$id."'";
mysql_query($query);


}

// Now we can see if the adoptable's owner gets a reward...
// The reward function will take care of sending out any reward that exists...

$rewardstatus = reward($id, $type, $nextlevel, $owner);



} // End the if statement if we are leveling the adoptable up

After that add this block of code

$moreclicks = $requiredclicks - $newclicks;
$article_content = "<br><br> $name needs $moreclicks for their next levelup";

Hope that helps :D