![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
![]()
Since the images are gone, here's supplementary instructions:
Post 1: Assigning Stats to Created Adoptables Open the owned_adoptables table in your database, go to the second tab at the top, which is Structure, at the bottom right of the page there is a Go button that will, by default, add 1 column at the end of the table. Press it, and on the next page it will ask for field data. For stats that will have number values, intergers, that is, Type INT will suffice: Name: statname, Type: INT, Length/Values: 11(If you want a default value, then select 'As defined' in the Default dropdown and supply a value in the new text box provided below it. This will ensure this default value to all pre-existing adoptables.) Reminder: Whatever statname you choose, you will need to change it in ALL files we're changing, so search for 'statname' in the material this mod is adding and replace it with your own stat's name. Continue following the steps on Post 1, starting with Step 2. Post 2: Display Stats on an Adoptable's Click Page For Mysidia v1.3.3, follow instructions in the original Post 2. For Mysidia v.1.3.4, the line numbers are wrong, and some things may be difficult to find. If there are questions on the instructions here, let me know and I'll add a write up. Post 3: Creating Items to Raise Stats Open up your database. In the items_functions table, make note of how many rows there are (check out the ifid column for help), hit the word Copy on the row holding the Level1 function. Fill in the first blank with the next number. If you had 13 item functions, this will be 14. Since this is a copy of Level1, rename it. The original instructions imply naming it Statname. The description you can fill in here is mostly for your sake on the admin side of things, and won't be seen by your users. Continue following the steps on Post 3, starting with Step 2. Post 4: Rewards Through Training Open the owned_adoptables table in your database, go to the second tab at the top, which is Structure, at the bottom right of the page there is a Go button that will, by default, add 1 column at the end of the table. Press it, and on the next page it will ask for field data. I'm not exactly sure on the data being inserted here, but I think this will do it??? Name: statnamemedalstatus, Type: VARCHAR, Length/Values: 11Continue on starting at Step 2, however, Wallie's Step 3 is just an example with a statname of Obedience, yours should be: public function getAdoptStatNameMedalStatus(){return $this->statnamemedalstatus;} Best of luck!
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 12-11-2014 at 12:32 PM. |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trade System | Kyttias | Questions and Supports | 4 | 05-29-2016 12:29 AM |
Making v.1.3.3 Stat Mod Compatible with V.1.3.4 | Hwona | Questions and Supports | 0 | 07-08-2014 01:37 PM |
Stat Inheritance Mod * thanks to Wallie! * | Missy Master | Mys v1.3.x Mods | 0 | 06-30-2014 02:23 PM |
Anyone Want to Have a Stat System | Hwona | Feedback and Suggestions | 12 | 06-30-2014 09:30 AM |
Basic Stat System | Hedgen | Questions and Supports | 3 | 03-10-2013 02:47 PM |
What's New? |
What's Hot? |
What's Popular? |