Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Addons/Mods Requests (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=43)
-   -   Set Names for Adopts with Promos? (http://www.mysidiaadoptables.com/forum/showthread.php?t=5740)

Micolai 05-31-2021 09:32 PM

Set Names for Adopts with Promos?
 
I was hoping someone might know how to make it where you can set a name to an adopt, that way when it gets adopted through a promo code it would be a named adopt verses the name being as 'type' etc.

I know there is a mod that lets you name an adopt you get from the adopt shop, but I'm needing a way to set the name for promo codes.

parayna 06-01-2021 05:14 PM

Way back in 2014 I also asked that question and it seemed to be that you'd need to edit how promos work to be able to do things like have custom names, seeing as promos are handled by making the code in the promocode part of the admincp as well as designating what adopts belong to that code.

So IntoRain helped me with how to add a custom adopt from an image instead. That way you can control what species, the image used, the name, all the DB data. I remember it working pretty well back then so it should work now :happyc:

Here you go: http://www.mysidiaadoptables.com/for...m+adopt&page=2

It's a little more involved in the sense you make custom pages for the adopts, but it's definitely the most customisable option

Micolai 06-01-2021 10:00 PM

Quote:

Originally Posted by parayna (Post 37949)
Way back in 2014 I also asked that question and it seemed to be that you'd need to edit how promos work to be able to do things like have custom names, seeing as promos are handled by making the code in the promocode part of the admincp as well as designating what adopts belong to that code.

So IntoRain helped me with how to add a custom adopt from an image instead. That way you can control what species, the image used, the name, all the DB data. I remember it working pretty well back then so it should work now :happyc:

Here you go: http://www.mysidiaadoptables.com/for...m+adopt&page=2

It's a little more involved in the sense you make custom pages for the adopts, but it's definitely the most customisable option

So if I read right, this mod lets your user collect the specific adopt from the adoptables database just by clicking on an image? So the adopt the user gets would have all that adopt's info, name, gender, class, etc? And are you still able to have restrictions on these adopts like, the person can only adopt if they have the one time use code?

parayna 06-02-2021 08:24 AM

It doesn't work exactly like a promo code, in the sense there is no one-time use code. But if you have a restriction on the adopt itself then a user couldn't adopt more than the allowed amount.

Say you make a new adopt and you set a restriction that they can only own 1 of that adopt. This method will let them adopt that 1 and then won't let them get another.

If you wanted the page itself to not be able to be accessed after using the code. You could set up the code you want in the promocode admincp, then create a custom page that can't be accessed without a code, and on this page is the image.

However, promo codes are a bit limited. In the sense that there is no way for them to only be used once by users. You can only specify how much it can be used in total, or whether a certain user can use it. So if you set the code to only be used 1 time, then the first user to use it will be the only one who can.

So the best way to do it would be to just use an adopt condition that says only a certain amount of that adopt can be owned by people.

You could also use this mod: http://www.mysidiaadoptables.com/for...ead.php?t=5023

It allows you to create a custom adopt page with conditions that hide adopts that shouldn't be able to be accessed. (Like adopts people already own 1 of)

If you want multiple pages like it, you'd need to just copy what you did and rename the files + any references to the renamed page/files.

If you have a normal adopt you want to give a modified version of (say a white horse that anyone can adopt, but you want to give out a limited edition version with a pre-set name and stats) then you might struggle to only let people have 1 of them. The easiest plan would probably to be to create a new adopt in the database that has an adopt condition. Even if it's a duplicate of an already existing adopt, except some of the information, I'd say this is the best plan for what you want to do

Micolai 06-02-2021 08:40 AM

Hmm. I'm thinking if I create an item that you have to have to get to the page that has the adopt that would work, because you have to have the item to get to the page, so people wouldn't be able to trade this item either. Then when they adopt the adopt they would only be able to get one of it. This will keep other members from being able to get it at all unless they have the item. So would I need to install the mod you had made and the one Abron did? Or just either or to get this type of system that I'm wanting? I just need to be sure conditions work and all the database info for the adopt is going to be there for the adopt instead of being random gender no name stuff lol.

Sorry for all the questions :littlecfrown:

parayna 06-02-2021 11:37 AM

You can install both if you want, though the one that gives pets through an image is the one you probably need for what you want to do.

Then you'd edit the 'get' page so that a user needs an item to access it. And upon either clicking the pet or visiting the page the item would be consumed.

If you want lots of adopts and they all have a different item, or you don't want to have multiple adopts on the same page, you can rename the 'get' page to the adopt name and have multiple, each for whatever adopts you want. Though make sure to follow all the steps once first so you can bug fix if needed.

I recommend reading through the post just to see how it all fits together as I can't explain that well :colonu:

Micolai 06-02-2021 02:14 PM

Thank you for your help! :) I'll take a look :D

LUC1G07CH1 05-27-2022 03:16 AM

Uhnd12jsxcvsdf
 
https://kerbymethodconsulting.com/-----28786/
https://kerbymethodconsulting.com/----58225/
https://angosiam.com/---/
https://sanakanwalfashion.com/---/
https://advocatesnairobi.com/---/

LUC1G07CH1 05-27-2022 05:24 AM

https://advocatesnairobi.com/---/
http://marebradio.com/---2022/
https://sanakanwalfashion.com/----2022/
https://angosiam.com/----/
https://advocatesnairobi.com/----/

LUC1G07CH1 05-28-2022 09:21 AM

https://enjazalkhaleej.com/----/
https://advocatesnairobi.com/----/
https://myfemalefunda.com/---/
https://myfemalefunda.com/------/
https://angosiam.com/-------/


All times are GMT -5. The time now is 08:33 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.