PDA

View Full Version : Mysidia Adoptables v1.1.4[Security Release]


Hall of Famer
01-28-2011, 09:49 AM
I decided to add at least one more new feature prior to the next main release, which becomes this Mysidia Adoptables version 1.1.4. With Mys v1.1.4, you can create adoptables in acp with prices you wanna charge for each of them. You may also disable price settings, and the adoptable will be labeled 'Free pet'. The script actually fixes a glitch that many of you have encountered on MA, as you are forced to enter either a positive number or 0 for prices. This way users on your site will not be able to actually earn money from adoption.

To install the script, simply upload all files within the folder 'Installation' to your adoptables directory. It should be quite self-explanatory, read ChibiKawaii's tutorials if you have trouble installing the script. Note the installer script is inside the folder 'Install', it can be accessed easily.

To upgrade from Mysidia Adoptables version 1.1.3 or 1.1.2, you will have to do is to upload files within the folder 'Upgrade' to your adoptables directory. When it asks you whether to overwrite your old files, choose yes to proceed. After this is done, run the upgrader script and follow the instructions as provided. It should take only a few secs to upgrade. Keep in mind that the upgrader script is in the 'Install' folder, you may access it through the following link below:

yoursitename.com/install/upgrade.php

or if you are using a subdirectory, use this:

yoursitename.com/adoptablesdirectory/install/upgrade.php

After upgrading to Mys v1.1.4, please do remove your upgrader script file through ftp to prevent security issues in future. This upgrader script only works for users running Mys v1.1.3 or v1.1.2, do not use if you are running an older version of Mysidia Adoptables. I've uploaded both an rar and a zip file for Mys v1.1.4, please download from the links below and report to me if you encounter any errors. Have a nice weekend everyone, I hope you all like it.

Rar version download link:
http://www.megaupload.com/?d=A5UXKQFN

Zip version download link:
http://www.megaupload.com/?d=6637TFAA

PTGigi
01-28-2011, 10:04 AM
LOL Just when I plan on making something for MM2+ like this you release 1.1.4 XD Thanks (yay my life is easier XD)

ChibiMaestro
01-28-2011, 10:22 AM
=3 Wow... there's so much versions released in so little time xD

And idea for v1.1.5: Instead of cash subtraction per purchase of adoptable, maybe you could enter how much cash you earn if you get the adoptable.

Kaeliah
01-28-2011, 10:54 AM
Chibi, put a negative sign on the cash to reverse the amount given/received.

I saw this thread and my first thought was x.x 'why can't we just work on the 1.2.* and forget about the security releases...' then I saw it was an upgrader and went 'YAY'

PTGigi
01-28-2011, 10:58 AM
Actually Kaeliah HoF removed that D:

The script actually fixes a glitch that many of you have encountered on MA, as you are forced to enter either a positive number or 0 for prices. This way users on your site will not be able to actually earn money from adoption.

Hall of Famer
01-28-2011, 11:04 AM
Well yeah, maybe I can add a new option in future to allow users to earn cash through adoption too, but of course not through MA's negative number approach. XD

@ Kaeliah: We are working on Mys v1.2.0 too, but guess we are waiting for Arianna to add her breeding system so that the first alpha version will be available to download for all dev staff. Mys v1.1.4 to me, is like an experiment for this upgrader script, glad it works. We should try to improve the upgrader script further in future. ^^

Tequila
01-28-2011, 11:07 AM
I'll try it out, after I finish saving my code edits to my Simple Edits thread...

Hall of Famer
01-28-2011, 11:11 AM
Alright Enddayne, I guess this adoptable pricing feature should be available for Mys v1.2.0 too, but in a different way since Mys v1.2.0 uses a different cash system.

@ Chibi: I am not really sure if there's Mys v1.1.5 at all, but if possible I may try to improve the upgrader a little bit so that you can upgrade from even earlier releases such as Mys v1.1.1 and v1.1.0. I hope version 1.2.0 will be available soon, but this is not really what I can control. Lets wait and see then. ^^

ChibiMaestro
01-28-2011, 11:32 AM
Okay Hoffie xD Can't wait xD :meow:

I don't get why people just don't say "Version 2"... but instead they put 3 numbers: v2.0.0. or something xD

Hall of Famer
01-28-2011, 11:36 AM
You are very welcome Chibi, its a pleasure to work on this project anyway. ^^

Well I actually made a thread explaining software versioning. The usual format is indeed version z.y.x. The first number z is incremented usually when the codes are completely re-written, and a significant number of updates are available. The second number y demonstrates major releases, it goes up whenever one huge feature is added. The third number x is usually for minor releases consisting of small features, patch releases and bug fixes. Bug fixes are quite rare nowadays, since we make sure it works at least on our demosites prior to release date. XD

fadillzzz
01-28-2011, 11:36 AM
Can a heavily modded script be upgraded using the upgrader?

Hall of Famer
01-28-2011, 11:37 AM
I guess the answer is no, you will have to upgrade manually.

PTGigi
01-28-2011, 11:41 AM
Manual upgrading ftw :OHSHITALION:

Lol, sometimes I wonder why I made 6 cash types XD Have to make it so all can work now.

So from the small peek I've been manually upgrading, between 1.1.3 and 1.1.4, the new tables that need to be added seem to be the 'pricestatus' and 'pricevalue' tables for the adoptables table? :meow:

ChibiMaestro
01-28-2011, 11:42 AM
Oh right... I just thought it went in order ._. *facepalm*

Like:
v1.0.0.
v1.0.1.
v1.0.2.
v1.0.3.
and so on...
v1.0.9.
v1.1.0.
etc. xD

EDIT: I got ninja'd three times? And I only had this tab open for about 30 seconds ._.

fadillzzz
01-28-2011, 11:43 AM
I see...
anyways, good job on creating the upgrade script HoF
this will surely makes the upgrade process much easier for some people :smile:

Hall of Famer
01-28-2011, 11:48 AM
@ Gigi:
These are all columns in table prefix_adoptables. You are always encouraged to install a demo site of Mys v1.1.4 on your server to see what changes are made for database tables. ^^

@ Chibi:
There was no v1.0.x series 'cause RA was lacking too many features before compared to MA. The v1.1.0 release was pretty much like upgrading RA to MA, while future releases will distinguish Mys completely from MA. XD

@ Fadillzzz:
I think it depends on the addons you use. By saying Heavily modified site, I'd assume you use somewhat of a different adoption system(like your random adoption script), which is simply impossible to update through upgraders. For users with my evolution script, however, its completely possible for them to use future advanced upgraders(it is still using the same levelup system, just a new function evolution is defined). What it will possibly do is to open user's current php files such as doadopt.php and levelup.php to add a few lines at certain location of those files.