Mysidia Adoptables Support Forum  

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

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-05-2017, 12:21 PM
KatFennec's Avatar
KatFennec KatFennec is offline
Member
 
Join Date: Apr 2017
Posts: 57
Gender: Female
Credits: 11,752
KatFennec is on a distinguished road
Default

Now, log into your database, and browse to the prefix_items_functions table, and copy the row for "Level1", changing the name to "LevelCheck", and setting a description such as "This item checks the total clicks of your pet against the clicks required for a specified level."


Finally, you need to open levelup.php, found in the root of your mysidia install, and comment out or remove the following entry:
PHP Code:
if($this->adopt->hasNextLevel()){
$nextLevel $this->adopt->getNextLevel();
$requiredClicks $nextLevel->getRequiredClicks();
if(
$requiredClicks and $newClicks >= $requiredClicks$this->adopt
->setCurrentLevel($nextLevel->getLevel(), "update");

Now, all you need to do is to create the items you want to use, and remember to set their values to the level you want them to advance the pet to.
__________________
Reply With Quote
 

Thread Tools
Display Modes

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


All times are GMT -5. The time now is 02:25 AM.

Currently Active Users: 2241 (0 members and 2241 guests)
Threads: 4,081, Posts: 32,032, 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 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636