For users who want to use this with Mys 1.3.4 there are some adjustments you'll need to make. Firstly, in the first post
step 3:
Instead of shop.php, you'll want to go into the file .../classes/class_stockadopt.php, and around line 66 you should see some variables being defined;
PHP Code:
$mysidia = Registry::get("mysidia");
$this->owner = (!empty($owner))?$owner:$this->owner;
$alts = $this->getaltstatus(0);
$code = codegen(10, 0);
$genders = array('f', 'm');
Below gender add this;
PHP Code:
$statname = rand(min,max) ;
(replace "statname" with the name of your stat, and min with the minimum possible level for the stat, and max with the maximum value)
And then in the string that starts with
PHP Code:
$mysidia->db->insert("owned_adoptables", array("aid" => NULL
Add this in somewhere in the array;
PHP Code:
"statname" => $statname
---
I will edit this post as I continue adapting it to 1.3.4 :)