![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
![]()
Thanks for the update! How would 'true addon scripts' be created? I'm worried there's gonna be a massive learning curve.
__________________
Avatar courtesy of Doll Divine. |
#2
|
||||
|
||||
![]()
A true addon script is a hook/plugin event like script that does not require modification of core script files. This way its very easy to install, all you have to do is to upload the plugin files and install it through ACP(you can manage all plugins/mods through ACP with Mys v1.4.0). It will make lives easier for non-coders, and moreover the plugin is most likely to be effective even after you upgrade to a newer version of the script.
The way it works is that the script keeps track of a list of plugins at a certain location, they are saved as collection of event-like objects(or callback objects) that are executed before or after a certain point in program flow. One example of such 'plugin-point' is before/after loading data from database. A plugin would possibly modify the SQL query so if you add a new column to a database table, this column will be loaded and later saved properly. Without a plugin/hook system, you have to edit the query in the core script file, and this change will not last once you upgrade your site. It should have a learning curve for those of you not familiar with OOP and how design patterns like observer/event works, but it should not be a massive learning curve. I will provide guidelines for creating plugins once the system is complete, so it will not give you too much headache.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
||||
|
||||
![]()
That's wonderful! I think this would be amazing. If you feel like explaining it now (you don't have to!)...would it be like taking current mods and copy-pasting the code into the new format? How much do you think we'd need to modify the mods?
__________________
Avatar courtesy of Doll Divine. |
#4
|
||||
|
||||
![]()
Well yeah, a good addon plugin should require absolutely no change in files from Mysidia Adoptables' official package, and you only have to download the new files and upload them to your server, then install the plugin through ACP. In Mys v1.4.0 chances are there will still be non-addon mods made by users since it will take time for people to get used to making addons. Also the plugin system will be improved over time. For me though, I will try to make sure to release some of my mods as addons to give you all examples of how it can be done.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
||||
|
||||
![]()
I am very surprised that pet grouping isn't on the list for this upcoming update? x) It is probably one of my favorite features out of all of the sites I go on. Having all of my adopts in one place just seems really messy and unorganized to me. c:
(Also, maybe make it so users cannot adopt more of a pet after they send their original to the pound? So for instance, if they adopted 2/2 allowed of a pet, and they were both the same outcome, they send one of the two to the pound and then they adopt a new pet. There might be a way to fix this, but as of right now I've figured it out before any of my users have, so..xD) I am extremely excited about the multi-alternate images!! :D |
#6
|
||||
|
||||
![]()
tbh I dont really quite get what pet grouping is supposed to look like, can you actually describe it in detail so I can see what you want?
umm I thought in Mys v1.3.4 the adoptables number/owned-number conditions are working properly even with the pound system. Are you saying that the number restrictions do not hold if users pound their pets? Weird, if so I will definitely look into the script and see what it does wrong.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#7
|
||||
|
||||
![]()
It's basically putting pets in groups and being able to see those groups, instead of all pets together in a huge table. So if we had "cats" and "dogs" we'd be able to separate the cats from the dogs. Or the adults from the eggs. Or the rare breeds from the common ones. I've seen dropdown menus (like Tale Of Dragons) and also tabs (like World Of Umbria)to be able to navigate from group to group
__________________
![]() ![]() ![]() asp.net stole my soul. Last edited by IntoRain; 02-15-2014 at 10:50 AM. |
#8
|
||||
|
||||
![]()
Pet grouping is either done manually by the user or automatically through the coding (which may be based on species, sex, level, etc). When done by the user, as it is often preferred, it allows the user to create a new "Adopt Group" from their "Myadopts" page. They should be able to name the group, and decide what the trade settings are for it (commonly allows other users to make trade offers on pets in that group, or not, and some sites make it so you can create a group that only you- and no other users- can see).
After the new group(s) are created users can then select the pets they'd like to move, then move them to the chosen group. They can also, once going to their page, choose which group they see. Essentially it's a way to organize pets.
__________________
My Mods Site (1.3.4, 2020 Mods) |
#9
|
||||
|
||||
![]()
^^These two have explained it perfectly. c:
Yes, at least they are not holding for me. c: I pounded my extras on my site, and when I went back to the adopt page, I could adopt more of the pet of which I had just pounded. c: |
#10
|
||||
|
||||
![]()
I see, so its just like categories for items? In Mys v1.4.0 there is a field called 'family' which specifies what family the adoptables species belong to. Its used to replace the 'class' field since 'class' is a keyword in PHP and its easy to cause confusion. Do you like to group adoptables by their family field or do you prefer a different field rather than the family field? Note the family field is tied to breeding, since by default only adoptables belong to the same family can breed.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Official ACP Overhaul Thread for Mys v1.4.0 | Hall of Famer | Suggestions and Feature Requests | 24 | 05-14-2013 03:23 PM |
The official itemshop thread | Hall of Famer | Suggestions and Feature Requests | 12 | 08-26-2011 06:43 AM |
The official Zune/Ipod thread.. But mainly Zune because I'm biased. | shiann | Other Chat | 4 | 03-20-2011 07:19 PM |
The Official Mys v1.2.0 Thread[Beta available in Premium Members Forum now!] | Hall of Famer | Mysidia Adoptables Official Announcement | 86 | 03-12-2011 04:53 AM |
Suggestions Thread: | RoconzaArt | Adoptables Buzz | 3 | 01-18-2011 06:55 PM |
What's New? |
What's Hot? |
What's Popular? |